diff --git a/internal/pkg/expanders/swagger-armspecs.generated.go b/internal/pkg/expanders/swagger-armspecs.generated.go
index b203c751b..d5c394c2e 100644
--- a/internal/pkg/expanders/swagger-armspecs.generated.go
+++ b/internal/pkg/expanders/swagger-armspecs.generated.go
@@ -1823,17 +1823,6 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
}},
}},
}},
- },
- {
- Display: "apiCollections",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/providers/Microsoft.Security/apiCollections", "2023-11-15"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{apiId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/providers/Microsoft.Security/apiCollections/{apiId}", "2023-11-15"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/providers/Microsoft.Security/apiCollections/{apiId}", "2023-11-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/providers/Microsoft.Security/apiCollections/{apiId}", "2023-11-15"),
- }},
}},
SubResources: []swagger.ResourceType{
{
@@ -3440,156 +3429,160 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "operations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Kusto/operations", "2023-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Kusto/operations", "2024-04-13"),
},
{
Display: "clusters",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Kusto/clusters", "2023-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Kusto/clusters", "2024-04-13"),
},
{
Display: "{operationId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Kusto/locations/{location}/operationResults/{operationId}", "2023-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Kusto/locations/{location}/operationResults/{operationId}", "2024-04-13"),
},
{
Display: "skus",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Kusto/locations/{location}/skus", "2023-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Kusto/locations/{location}/skus", "2024-04-13"),
},
{
Display: "skus",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Kusto/skus", "2023-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Kusto/skus", "2024-04-13"),
},
{
Display: "clusters",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters", "2023-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters", "2024-04-13"),
SubResources: []swagger.ResourceType{
{
Display: "{clusterName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}", "2023-08-15"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}", "2023-08-15"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}", "2023-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}", "2023-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}", "2024-04-13"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}", "2024-04-13"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}", "2024-04-13"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}", "2024-04-13"),
Children: []swagger.ResourceType{
{
Display: "attachedDatabaseConfigurations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations", "2023-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations", "2024-04-13"),
SubResources: []swagger.ResourceType{
{
Display: "{attachedDatabaseConfigurationName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations/{attachedDatabaseConfigurationName}", "2023-08-15"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations/{attachedDatabaseConfigurationName}", "2023-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations/{attachedDatabaseConfigurationName}", "2023-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations/{attachedDatabaseConfigurationName}", "2024-04-13"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations/{attachedDatabaseConfigurationName}", "2024-04-13"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations/{attachedDatabaseConfigurationName}", "2024-04-13"),
}},
},
{
Display: "databases",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases", "2023-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases", "2024-04-13"),
SubResources: []swagger.ResourceType{
{
Display: "{databaseName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}", "2023-08-15"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}", "2023-08-15"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}", "2023-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}", "2023-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}", "2024-04-13"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}", "2024-04-13"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}", "2024-04-13"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}", "2024-04-13"),
Children: []swagger.ResourceType{
{
Display: "dataConnections",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/dataConnections", "2023-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/dataConnections", "2024-04-13"),
SubResources: []swagger.ResourceType{
{
Display: "{dataConnectionName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/dataConnections/{dataConnectionName}", "2023-08-15"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/dataConnections/{dataConnectionName}", "2023-08-15"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/dataConnections/{dataConnectionName}", "2023-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/dataConnections/{dataConnectionName}", "2023-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/dataConnections/{dataConnectionName}", "2024-04-13"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/dataConnections/{dataConnectionName}", "2024-04-13"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/dataConnections/{dataConnectionName}", "2024-04-13"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/dataConnections/{dataConnectionName}", "2024-04-13"),
}},
},
{
Display: "principalAssignments",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/principalAssignments", "2023-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/principalAssignments", "2024-04-13"),
SubResources: []swagger.ResourceType{
{
Display: "{principalAssignmentName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/principalAssignments/{principalAssignmentName}", "2023-08-15"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/principalAssignments/{principalAssignmentName}", "2023-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/principalAssignments/{principalAssignmentName}", "2023-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/principalAssignments/{principalAssignmentName}", "2024-04-13"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/principalAssignments/{principalAssignmentName}", "2024-04-13"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/principalAssignments/{principalAssignmentName}", "2024-04-13"),
}},
},
{
Display: "scripts",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts", "2023-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts", "2024-04-13"),
SubResources: []swagger.ResourceType{
{
Display: "{scriptName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}", "2023-08-15"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}", "2023-08-15"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}", "2023-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}", "2023-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}", "2024-04-13"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}", "2024-04-13"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}", "2024-04-13"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}", "2024-04-13"),
}},
}},
}},
},
+ {
+ Display: "listFollowerDatabases",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/listFollowerDatabases", "2024-04-13"),
+ },
{
Display: "managedPrivateEndpoints",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/managedPrivateEndpoints", "2023-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/managedPrivateEndpoints", "2024-04-13"),
SubResources: []swagger.ResourceType{
{
Display: "{managedPrivateEndpointName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/managedPrivateEndpoints/{managedPrivateEndpointName}", "2023-08-15"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/managedPrivateEndpoints/{managedPrivateEndpointName}", "2023-08-15"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/managedPrivateEndpoints/{managedPrivateEndpointName}", "2023-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/managedPrivateEndpoints/{managedPrivateEndpointName}", "2023-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/managedPrivateEndpoints/{managedPrivateEndpointName}", "2024-04-13"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/managedPrivateEndpoints/{managedPrivateEndpointName}", "2024-04-13"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/managedPrivateEndpoints/{managedPrivateEndpointName}", "2024-04-13"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/managedPrivateEndpoints/{managedPrivateEndpointName}", "2024-04-13"),
}},
},
{
Display: "outboundNetworkDependenciesEndpoints",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/outboundNetworkDependenciesEndpoints", "2023-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/outboundNetworkDependenciesEndpoints", "2024-04-13"),
},
{
Display: "principalAssignments",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/principalAssignments", "2023-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/principalAssignments", "2024-04-13"),
SubResources: []swagger.ResourceType{
{
Display: "{principalAssignmentName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/principalAssignments/{principalAssignmentName}", "2023-08-15"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/principalAssignments/{principalAssignmentName}", "2023-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/principalAssignments/{principalAssignmentName}", "2023-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/principalAssignments/{principalAssignmentName}", "2024-04-13"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/principalAssignments/{principalAssignmentName}", "2024-04-13"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/principalAssignments/{principalAssignmentName}", "2024-04-13"),
}},
},
{
Display: "privateEndpointConnections",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/privateEndpointConnections", "2023-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/privateEndpointConnections", "2024-04-13"),
SubResources: []swagger.ResourceType{
{
Display: "{privateEndpointConnectionName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}", "2023-08-15"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}", "2023-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}", "2023-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}", "2024-04-13"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}", "2024-04-13"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}", "2024-04-13"),
}},
},
{
Display: "privateLinkResources",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/privateLinkResources", "2023-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/privateLinkResources", "2024-04-13"),
SubResources: []swagger.ResourceType{
{
Display: "{privateLinkResourceName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/privateLinkResources/{privateLinkResourceName}", "2023-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/privateLinkResources/{privateLinkResourceName}", "2024-04-13"),
}},
},
{
Display: "sandboxCustomImages",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/sandboxCustomImages", "2023-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/sandboxCustomImages", "2024-04-13"),
SubResources: []swagger.ResourceType{
{
Display: "{sandboxCustomImageName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/sandboxCustomImages/{sandboxCustomImageName}", "2023-08-15"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/sandboxCustomImages/{sandboxCustomImageName}", "2023-08-15"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/sandboxCustomImages/{sandboxCustomImageName}", "2023-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/sandboxCustomImages/{sandboxCustomImageName}", "2023-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/sandboxCustomImages/{sandboxCustomImageName}", "2024-04-13"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/sandboxCustomImages/{sandboxCustomImageName}", "2024-04-13"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/sandboxCustomImages/{sandboxCustomImageName}", "2024-04-13"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/sandboxCustomImages/{sandboxCustomImageName}", "2024-04-13"),
}},
},
{
Display: "skus",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/skus", "2023-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/skus", "2024-04-13"),
}},
}},
},
@@ -3923,13 +3916,13 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
Children: []swagger.ResourceType{
{
Display: "benefitUtilizationSummaries",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.BillingBenefits/savingsPlanOrders/{savingsPlanOrderId}/savingsPlans/{savingsPlanId}/providers/Microsoft.CostManagement/benefitUtilizationSummaries", "2023-11-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.BillingBenefits/savingsPlanOrders/{savingsPlanOrderId}/savingsPlans/{savingsPlanId}/providers/Microsoft.CostManagement/benefitUtilizationSummaries", "2024-08-01"),
}},
}},
},
{
Display: "benefitUtilizationSummaries",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.BillingBenefits/savingsPlanOrders/{savingsPlanOrderId}/providers/Microsoft.CostManagement/benefitUtilizationSummaries", "2023-11-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.BillingBenefits/savingsPlanOrders/{savingsPlanOrderId}/providers/Microsoft.CostManagement/benefitUtilizationSummaries", "2024-08-01"),
}},
}},
},
@@ -4657,7 +4650,7 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "galleries",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/galleries", "2023-07-03"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/galleries", "2024-03-03"),
},
{
Display: "hostGroups",
@@ -4687,23 +4680,23 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "{publicGalleryName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}", "2023-07-03"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}", "2024-03-03"),
Children: []swagger.ResourceType{
{
Display: "images",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images", "2023-07-03"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images", "2024-03-03"),
SubResources: []swagger.ResourceType{
{
Display: "{galleryImageName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images/{galleryImageName}", "2023-07-03"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images/{galleryImageName}", "2024-03-03"),
Children: []swagger.ResourceType{
{
Display: "versions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images/{galleryImageName}/versions", "2023-07-03"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images/{galleryImageName}/versions", "2024-03-03"),
SubResources: []swagger.ResourceType{
{
Display: "{galleryImageVersionName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}", "2023-07-03"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}", "2024-03-03"),
}},
}},
}},
@@ -4786,27 +4779,27 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "sharedGalleries",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries", "2023-07-03"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries", "2024-03-03"),
SubResources: []swagger.ResourceType{
{
Display: "{galleryUniqueName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}", "2023-07-03"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}", "2024-03-03"),
Children: []swagger.ResourceType{
{
Display: "images",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images", "2023-07-03"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images", "2024-03-03"),
SubResources: []swagger.ResourceType{
{
Display: "{galleryImageName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}", "2023-07-03"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}", "2024-03-03"),
Children: []swagger.ResourceType{
{
Display: "versions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}/versions", "2023-07-03"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}/versions", "2024-03-03"),
SubResources: []swagger.ResourceType{
{
Display: "{galleryImageVersionName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}/versions/{galleryImageVersionName}", "2023-07-03"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}/versions/{galleryImageVersionName}", "2024-03-03"),
}},
}},
}},
@@ -4933,19 +4926,19 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "networkInterfaces",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/networkInterfaces", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/networkInterfaces", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{networkInterfaceName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/networkInterfaces/{networkInterfaceName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/networkInterfaces/{networkInterfaceName}", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "publicipaddresses",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{publicIpAddressName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses/{publicIpAddressName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses/{publicIpAddressName}", "2024-05-01"),
}},
}},
}},
@@ -4973,11 +4966,11 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "networkInterfaces",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/networkInterfaces", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/networkInterfaces", "2024-05-01"),
},
{
Display: "publicipaddresses",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/publicipaddresses", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/publicipaddresses", "2024-05-01"),
}},
}},
},
@@ -5041,65 +5034,95 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "galleries",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries", "2023-07-03"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries", "2024-03-03"),
SubResources: []swagger.ResourceType{
{
Display: "{galleryName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", "2023-07-03"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", "2023-07-03"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", "2023-07-03"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", "2023-07-03"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", "2024-03-03"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", "2024-03-03"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", "2024-03-03"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}", "2024-03-03"),
Children: []swagger.ResourceType{
{
Display: "applications",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications", "2023-07-03"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications", "2024-03-03"),
SubResources: []swagger.ResourceType{
{
Display: "{galleryApplicationName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}", "2023-07-03"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}", "2023-07-03"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}", "2023-07-03"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}", "2023-07-03"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}", "2024-03-03"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}", "2024-03-03"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}", "2024-03-03"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}", "2024-03-03"),
Children: []swagger.ResourceType{
{
Display: "versions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions", "2023-07-03"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions", "2024-03-03"),
SubResources: []swagger.ResourceType{
{
Display: "{galleryApplicationVersionName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions/{galleryApplicationVersionName}", "2023-07-03"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions/{galleryApplicationVersionName}", "2023-07-03"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions/{galleryApplicationVersionName}", "2023-07-03"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions/{galleryApplicationVersionName}", "2023-07-03"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions/{galleryApplicationVersionName}", "2024-03-03"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions/{galleryApplicationVersionName}", "2024-03-03"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions/{galleryApplicationVersionName}", "2024-03-03"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions/{galleryApplicationVersionName}", "2024-03-03"),
}},
}},
}},
},
{
Display: "images",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images", "2023-07-03"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images", "2024-03-03"),
SubResources: []swagger.ResourceType{
{
Display: "{galleryImageName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}", "2023-07-03"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}", "2023-07-03"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}", "2023-07-03"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}", "2023-07-03"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}", "2024-03-03"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}", "2024-03-03"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}", "2024-03-03"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}", "2024-03-03"),
Children: []swagger.ResourceType{
{
Display: "versions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions", "2023-07-03"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions", "2024-03-03"),
SubResources: []swagger.ResourceType{
{
Display: "{galleryImageVersionName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}", "2023-07-03"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}", "2023-07-03"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}", "2023-07-03"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}", "2023-07-03"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}", "2024-03-03"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}", "2024-03-03"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}", "2024-03-03"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}", "2024-03-03"),
+ }},
+ }},
+ }},
+ },
+ {
+ Display: "inVMAccessControlProfiles",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/inVMAccessControlProfiles", "2024-03-03"),
+ SubResources: []swagger.ResourceType{
+ {
+ Display: "{inVMAccessControlProfileName}",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/inVMAccessControlProfiles/{inVMAccessControlProfileName}", "2024-03-03"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/inVMAccessControlProfiles/{inVMAccessControlProfileName}", "2024-03-03"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/inVMAccessControlProfiles/{inVMAccessControlProfileName}", "2024-03-03"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/inVMAccessControlProfiles/{inVMAccessControlProfileName}", "2024-03-03"),
+ Children: []swagger.ResourceType{
+ {
+ Display: "versions",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/inVMAccessControlProfiles/{inVMAccessControlProfileName}/versions", "2024-03-03"),
+ SubResources: []swagger.ResourceType{
+ {
+ Display: "{inVMAccessControlProfileVersionName}",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/inVMAccessControlProfiles/{inVMAccessControlProfileName}/versions/{inVMAccessControlProfileVersionName}", "2024-03-03"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/inVMAccessControlProfiles/{inVMAccessControlProfileName}/versions/{inVMAccessControlProfileVersionName}", "2024-03-03"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/inVMAccessControlProfiles/{inVMAccessControlProfileName}/versions/{inVMAccessControlProfileVersionName}", "2024-03-03"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/inVMAccessControlProfiles/{inVMAccessControlProfileName}/versions/{inVMAccessControlProfileVersionName}", "2024-03-03"),
}},
}},
}},
}},
+ SubResources: []swagger.ResourceType{
+ {
+ Display: "versions",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/softDeletedArtifactTypes/{artifactType}/artifacts/{artifactName}/versions", "2024-03-03"),
+ }},
}},
},
{
@@ -5394,7 +5417,7 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "operations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.ComputeSchedule/operations", "2024-08-15-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.ComputeSchedule/operations", "2024-10-01"),
},
{
Display: "balances",
@@ -5790,77 +5813,97 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
}},
}},
},
+ {
+ Display: "operations",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Contoso/operations", "2021-10-01-preview"),
+ },
+ {
+ Display: "employees",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Contoso/employees", "2021-10-01-preview"),
+ },
+ {
+ Display: "employees",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Contoso/employees", "2021-10-01-preview"),
+ SubResources: []swagger.ResourceType{
+ {
+ Display: "{employeeName}",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Contoso/employees/{employeeName}", "2021-10-01-preview"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Contoso/employees/{employeeName}", "2021-10-01-preview"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Contoso/employees/{employeeName}", "2021-10-01-preview"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Contoso/employees/{employeeName}", "2021-10-01-preview"),
+ }},
+ },
{
Display: "operations",
Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.DocumentDB/operations", "2024-07-01"),
},
{
Display: "cassandraClusters",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/cassandraClusters", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/cassandraClusters", "2024-11-15"),
},
{
Display: "databaseAccounts",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/databaseAccounts", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/databaseAccounts", "2024-11-15"),
},
{
Display: "locations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations", "2024-11-15"),
SubResources: []swagger.ResourceType{
{
Display: "{location}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}", "2024-11-15"),
Children: []swagger.ResourceType{
{
Display: "restorableDatabaseAccounts",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts", "2024-11-15"),
SubResources: []swagger.ResourceType{
{
Display: "{instanceId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}", "2024-11-15"),
Children: []swagger.ResourceType{
{
Display: "restorableGraphs",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableGraphs", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableGraphs", "2024-11-15"),
},
{
Display: "restorableGremlinDatabases",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableGremlinDatabases", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableGremlinDatabases", "2024-11-15"),
},
{
Display: "restorableGremlinResources",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableGremlinResources", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableGremlinResources", "2024-11-15"),
},
{
Display: "restorableMongodbCollections",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableMongodbCollections", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableMongodbCollections", "2024-11-15"),
},
{
Display: "restorableMongodbDatabases",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableMongodbDatabases", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableMongodbDatabases", "2024-11-15"),
},
{
Display: "restorableMongodbResources",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableMongodbResources", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableMongodbResources", "2024-11-15"),
},
{
Display: "restorableSqlContainers",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableSqlContainers", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableSqlContainers", "2024-11-15"),
},
{
Display: "restorableSqlDatabases",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableSqlDatabases", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableSqlDatabases", "2024-11-15"),
},
{
Display: "restorableSqlResources",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableSqlResources", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableSqlResources", "2024-11-15"),
},
{
Display: "restorableTableResources",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableTableResources", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableTableResources", "2024-11-15"),
},
{
Display: "restorableTables",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableTables", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableTables", "2024-11-15"),
}},
}},
}},
@@ -5868,567 +5911,567 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "restorableDatabaseAccounts",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/restorableDatabaseAccounts", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/restorableDatabaseAccounts", "2024-11-15"),
},
{
Display: "cassandraClusters",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters", "2024-11-15"),
SubResources: []swagger.ResourceType{
{
Display: "{clusterName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}", "2024-08-15"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}", "2024-08-15"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}", "2024-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}", "2024-11-15"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}", "2024-11-15"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}", "2024-11-15"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}", "2024-11-15"),
Children: []swagger.ResourceType{
{
Display: "dataCenters",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/dataCenters", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/dataCenters", "2024-11-15"),
SubResources: []swagger.ResourceType{
{
Display: "{dataCenterName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/dataCenters/{dataCenterName}", "2024-08-15"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/dataCenters/{dataCenterName}", "2024-08-15"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/dataCenters/{dataCenterName}", "2024-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/dataCenters/{dataCenterName}", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/dataCenters/{dataCenterName}", "2024-11-15"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/dataCenters/{dataCenterName}", "2024-11-15"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/dataCenters/{dataCenterName}", "2024-11-15"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/dataCenters/{dataCenterName}", "2024-11-15"),
}},
},
{
Display: "status",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/status", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/status", "2024-11-15"),
}},
}},
},
{
Display: "databaseAccounts",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts", "2024-11-15"),
SubResources: []swagger.ResourceType{
{
Display: "{accountName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}", "2024-08-15"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}", "2024-08-15"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}", "2024-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}", "2024-11-15"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}", "2024-11-15"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}", "2024-11-15"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}", "2024-11-15"),
Children: []swagger.ResourceType{
{
Display: "cassandraKeyspaces",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces", "2024-11-15"),
SubResources: []swagger.ResourceType{
{
Display: "{keyspaceName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}", "2024-08-15"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}", "2024-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}", "2024-11-15"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}", "2024-11-15"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}", "2024-11-15"),
Children: []swagger.ResourceType{
{
Display: "tables",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables", "2024-11-15"),
SubResources: []swagger.ResourceType{
{
Display: "{tableName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}", "2024-08-15"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}", "2024-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}", "2024-11-15"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}", "2024-11-15"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}", "2024-11-15"),
Children: []swagger.ResourceType{
{
Display: "default",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}/throughputSettings/default", "2024-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}/throughputSettings/default", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}/throughputSettings/default", "2024-11-15"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}/throughputSettings/default", "2024-11-15"),
Children: []swagger.ResourceType{},
}},
}},
},
{
Display: "default",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/throughputSettings/default", "2024-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/throughputSettings/default", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/throughputSettings/default", "2024-11-15"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/throughputSettings/default", "2024-11-15"),
Children: []swagger.ResourceType{},
}},
}},
},
{
Display: "gremlinDatabases",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases", "2024-11-15"),
SubResources: []swagger.ResourceType{
{
Display: "{databaseName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}", "2024-08-15"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}", "2024-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}", "2024-11-15"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}", "2024-11-15"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}", "2024-11-15"),
Children: []swagger.ResourceType{
{
Display: "graphs",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs", "2024-11-15"),
SubResources: []swagger.ResourceType{
{
Display: "{graphName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}", "2024-08-15"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}", "2024-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}", "2024-11-15"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}", "2024-11-15"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}", "2024-11-15"),
Children: []swagger.ResourceType{
{
Display: "default",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}/throughputSettings/default", "2024-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}/throughputSettings/default", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}/throughputSettings/default", "2024-11-15"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}/throughputSettings/default", "2024-11-15"),
Children: []swagger.ResourceType{},
}},
}},
},
{
Display: "default",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/throughputSettings/default", "2024-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/throughputSettings/default", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/throughputSettings/default", "2024-11-15"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/throughputSettings/default", "2024-11-15"),
Children: []swagger.ResourceType{},
}},
}},
},
{
Display: "metricDefinitions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/metricDefinitions", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/metricDefinitions", "2024-11-15"),
},
{
Display: "metrics",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/metrics", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/metrics", "2024-11-15"),
},
{
Display: "mongodbDatabases",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases", "2024-11-15"),
SubResources: []swagger.ResourceType{
{
Display: "{databaseName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}", "2024-08-15"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}", "2024-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}", "2024-11-15"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}", "2024-11-15"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}", "2024-11-15"),
Children: []swagger.ResourceType{
{
Display: "collections",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections", "2024-11-15"),
SubResources: []swagger.ResourceType{
{
Display: "{collectionName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}", "2024-08-15"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}", "2024-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}", "2024-11-15"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}", "2024-11-15"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}", "2024-11-15"),
Children: []swagger.ResourceType{
{
Display: "default",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/throughputSettings/default", "2024-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/throughputSettings/default", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/throughputSettings/default", "2024-11-15"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/throughputSettings/default", "2024-11-15"),
Children: []swagger.ResourceType{},
}},
}},
},
{
Display: "default",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/throughputSettings/default", "2024-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/throughputSettings/default", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/throughputSettings/default", "2024-11-15"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/throughputSettings/default", "2024-11-15"),
Children: []swagger.ResourceType{},
}},
}},
},
{
Display: "mongodbRoleDefinitions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbRoleDefinitions", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbRoleDefinitions", "2024-11-15"),
SubResources: []swagger.ResourceType{
{
Display: "{mongoRoleDefinitionId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbRoleDefinitions/{mongoRoleDefinitionId}", "2024-08-15"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbRoleDefinitions/{mongoRoleDefinitionId}", "2024-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbRoleDefinitions/{mongoRoleDefinitionId}", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbRoleDefinitions/{mongoRoleDefinitionId}", "2024-11-15"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbRoleDefinitions/{mongoRoleDefinitionId}", "2024-11-15"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbRoleDefinitions/{mongoRoleDefinitionId}", "2024-11-15"),
}},
},
{
Display: "mongodbUserDefinitions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbUserDefinitions", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbUserDefinitions", "2024-11-15"),
SubResources: []swagger.ResourceType{
{
Display: "{mongoUserDefinitionId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbUserDefinitions/{mongoUserDefinitionId}", "2024-08-15"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbUserDefinitions/{mongoUserDefinitionId}", "2024-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbUserDefinitions/{mongoUserDefinitionId}", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbUserDefinitions/{mongoUserDefinitionId}", "2024-11-15"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbUserDefinitions/{mongoUserDefinitionId}", "2024-11-15"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbUserDefinitions/{mongoUserDefinitionId}", "2024-11-15"),
}},
},
{
Display: "notebookWorkspaces",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces", "2024-11-15"),
SubResources: []swagger.ResourceType{
{
Display: "{notebookWorkspaceName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces/{notebookWorkspaceName}", "2024-08-15"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces/{notebookWorkspaceName}", "2024-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces/{notebookWorkspaceName}", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces/{notebookWorkspaceName}", "2024-11-15"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces/{notebookWorkspaceName}", "2024-11-15"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces/{notebookWorkspaceName}", "2024-11-15"),
Children: []swagger.ResourceType{},
}},
},
{
Display: "metrics",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/percentile/metrics", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/percentile/metrics", "2024-11-15"),
},
{
Display: "privateEndpointConnections",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/privateEndpointConnections", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/privateEndpointConnections", "2024-11-15"),
SubResources: []swagger.ResourceType{
{
Display: "{privateEndpointConnectionName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}", "2024-08-15"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}", "2024-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}", "2024-11-15"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}", "2024-11-15"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}", "2024-11-15"),
}},
},
{
Display: "privateLinkResources",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/privateLinkResources", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/privateLinkResources", "2024-11-15"),
SubResources: []swagger.ResourceType{
{
Display: "{groupName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/privateLinkResources/{groupName}", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/privateLinkResources/{groupName}", "2024-11-15"),
}},
},
{
Display: "readonlykeys",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/readonlykeys", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/readonlykeys", "2024-11-15"),
},
{
Display: "services",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/services", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/services", "2024-11-15"),
SubResources: []swagger.ResourceType{
{
Display: "{serviceName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/services/{serviceName}", "2024-08-15"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/services/{serviceName}", "2024-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/services/{serviceName}", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/services/{serviceName}", "2024-11-15"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/services/{serviceName}", "2024-11-15"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/services/{serviceName}", "2024-11-15"),
}},
},
{
Display: "sqlDatabases",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases", "2024-11-15"),
SubResources: []swagger.ResourceType{
{
Display: "{databaseName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}", "2024-08-15"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}", "2024-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}", "2024-11-15"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}", "2024-11-15"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}", "2024-11-15"),
Children: []swagger.ResourceType{
{
Display: "clientEncryptionKeys",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/clientEncryptionKeys", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/clientEncryptionKeys", "2024-11-15"),
SubResources: []swagger.ResourceType{
{
Display: "{clientEncryptionKeyName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/clientEncryptionKeys/{clientEncryptionKeyName}", "2024-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/clientEncryptionKeys/{clientEncryptionKeyName}", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/clientEncryptionKeys/{clientEncryptionKeyName}", "2024-11-15"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/clientEncryptionKeys/{clientEncryptionKeyName}", "2024-11-15"),
}},
},
{
Display: "containers",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers", "2024-11-15"),
SubResources: []swagger.ResourceType{
{
Display: "{containerName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}", "2024-08-15"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}", "2024-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}", "2024-11-15"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}", "2024-11-15"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}", "2024-11-15"),
Children: []swagger.ResourceType{
{
Display: "storedProcedures",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/storedProcedures", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/storedProcedures", "2024-11-15"),
SubResources: []swagger.ResourceType{
{
Display: "{storedProcedureName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/storedProcedures/{storedProcedureName}", "2024-08-15"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/storedProcedures/{storedProcedureName}", "2024-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/storedProcedures/{storedProcedureName}", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/storedProcedures/{storedProcedureName}", "2024-11-15"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/storedProcedures/{storedProcedureName}", "2024-11-15"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/storedProcedures/{storedProcedureName}", "2024-11-15"),
}},
},
{
Display: "default",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/throughputSettings/default", "2024-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/throughputSettings/default", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/throughputSettings/default", "2024-11-15"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/throughputSettings/default", "2024-11-15"),
Children: []swagger.ResourceType{},
},
{
Display: "triggers",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/triggers", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/triggers", "2024-11-15"),
SubResources: []swagger.ResourceType{
{
Display: "{triggerName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/triggers/{triggerName}", "2024-08-15"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/triggers/{triggerName}", "2024-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/triggers/{triggerName}", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/triggers/{triggerName}", "2024-11-15"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/triggers/{triggerName}", "2024-11-15"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/triggers/{triggerName}", "2024-11-15"),
}},
},
{
Display: "userDefinedFunctions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/userDefinedFunctions", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/userDefinedFunctions", "2024-11-15"),
SubResources: []swagger.ResourceType{
{
Display: "{userDefinedFunctionName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/userDefinedFunctions/{userDefinedFunctionName}", "2024-08-15"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/userDefinedFunctions/{userDefinedFunctionName}", "2024-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/userDefinedFunctions/{userDefinedFunctionName}", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/userDefinedFunctions/{userDefinedFunctionName}", "2024-11-15"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/userDefinedFunctions/{userDefinedFunctionName}", "2024-11-15"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/userDefinedFunctions/{userDefinedFunctionName}", "2024-11-15"),
}},
}},
}},
},
{
Display: "default",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/throughputSettings/default", "2024-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/throughputSettings/default", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/throughputSettings/default", "2024-11-15"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/throughputSettings/default", "2024-11-15"),
Children: []swagger.ResourceType{},
}},
}},
},
{
Display: "sqlRoleAssignments",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlRoleAssignments", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlRoleAssignments", "2024-11-15"),
SubResources: []swagger.ResourceType{
{
Display: "{roleAssignmentId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlRoleAssignments/{roleAssignmentId}", "2024-08-15"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlRoleAssignments/{roleAssignmentId}", "2024-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlRoleAssignments/{roleAssignmentId}", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlRoleAssignments/{roleAssignmentId}", "2024-11-15"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlRoleAssignments/{roleAssignmentId}", "2024-11-15"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlRoleAssignments/{roleAssignmentId}", "2024-11-15"),
}},
},
{
Display: "sqlRoleDefinitions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlRoleDefinitions", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlRoleDefinitions", "2024-11-15"),
SubResources: []swagger.ResourceType{
{
Display: "{roleDefinitionId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlRoleDefinitions/{roleDefinitionId}", "2024-08-15"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlRoleDefinitions/{roleDefinitionId}", "2024-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlRoleDefinitions/{roleDefinitionId}", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlRoleDefinitions/{roleDefinitionId}", "2024-11-15"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlRoleDefinitions/{roleDefinitionId}", "2024-11-15"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlRoleDefinitions/{roleDefinitionId}", "2024-11-15"),
}},
},
{
Display: "tables",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables", "2024-11-15"),
SubResources: []swagger.ResourceType{
{
Display: "{tableName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}", "2024-08-15"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}", "2024-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}", "2024-11-15"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}", "2024-11-15"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}", "2024-11-15"),
Children: []swagger.ResourceType{
{
Display: "default",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}/throughputSettings/default", "2024-08-15"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}/throughputSettings/default", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}/throughputSettings/default", "2024-11-15"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}/throughputSettings/default", "2024-11-15"),
Children: []swagger.ResourceType{},
}},
}},
},
{
Display: "usages",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/usages", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/usages", "2024-11-15"),
}},
SubResources: []swagger.ResourceType{
{
Display: "metricDefinitions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/collections/{collectionRid}/metricDefinitions", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/collections/{collectionRid}/metricDefinitions", "2024-11-15"),
},
{
Display: "metrics",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/collections/{collectionRid}/metrics", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/collections/{collectionRid}/metrics", "2024-11-15"),
},
{
Display: "metrics",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/collections/{collectionRid}/partitionKeyRangeId/{partitionKeyRangeId}/metrics", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/collections/{collectionRid}/partitionKeyRangeId/{partitionKeyRangeId}/metrics", "2024-11-15"),
},
{
Display: "metrics",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/collections/{collectionRid}/partitions/metrics", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/collections/{collectionRid}/partitions/metrics", "2024-11-15"),
},
{
Display: "usages",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/collections/{collectionRid}/partitions/usages", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/collections/{collectionRid}/partitions/usages", "2024-11-15"),
},
{
Display: "usages",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/collections/{collectionRid}/usages", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/collections/{collectionRid}/usages", "2024-11-15"),
},
{
Display: "metricDefinitions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/metricDefinitions", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/metricDefinitions", "2024-11-15"),
},
{
Display: "metrics",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/metrics", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/metrics", "2024-11-15"),
},
{
Display: "usages",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/usages", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/usages", "2024-11-15"),
},
{
Display: "metrics",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/region/{region}/databases/{databaseRid}/collections/{collectionRid}/metrics", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/region/{region}/databases/{databaseRid}/collections/{collectionRid}/metrics", "2024-11-15"),
},
{
Display: "metrics",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/region/{region}/databases/{databaseRid}/collections/{collectionRid}/partitionKeyRangeId/{partitionKeyRangeId}/metrics", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/region/{region}/databases/{databaseRid}/collections/{collectionRid}/partitionKeyRangeId/{partitionKeyRangeId}/metrics", "2024-11-15"),
},
{
Display: "metrics",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/region/{region}/databases/{databaseRid}/collections/{collectionRid}/partitions/metrics", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/region/{region}/databases/{databaseRid}/collections/{collectionRid}/partitions/metrics", "2024-11-15"),
},
{
Display: "metrics",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/region/{region}/metrics", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/region/{region}/metrics", "2024-11-15"),
},
{
Display: "metrics",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sourceRegion/{sourceRegion}/targetRegion/{targetRegion}/percentile/metrics", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sourceRegion/{sourceRegion}/targetRegion/{targetRegion}/percentile/metrics", "2024-11-15"),
},
{
Display: "metrics",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/targetRegion/{targetRegion}/percentile/metrics", "2024-08-15"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/targetRegion/{targetRegion}/percentile/metrics", "2024-11-15"),
}},
}},
},
{
Display: "benefitUtilizationSummaries",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/providers/Microsoft.CostManagement/benefitUtilizationSummaries", "2023-11-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/providers/Microsoft.CostManagement/benefitUtilizationSummaries", "2024-08-01"),
},
{
Display: "benefitUtilizationSummaries",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.CostManagement/benefitUtilizationSummaries", "2023-11-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.CostManagement/benefitUtilizationSummaries", "2024-08-01"),
},
{
Display: "costAllocationRules",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.CostManagement/costAllocationRules", "2023-11-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.CostManagement/costAllocationRules", "2024-08-01"),
Children: []swagger.ResourceType{},
SubResources: []swagger.ResourceType{
{
Display: "{ruleName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.CostManagement/costAllocationRules/{ruleName}", "2023-11-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.CostManagement/costAllocationRules/{ruleName}", "2023-11-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.CostManagement/costAllocationRules/{ruleName}", "2023-11-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.CostManagement/costAllocationRules/{ruleName}", "2024-08-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.CostManagement/costAllocationRules/{ruleName}", "2024-08-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.CostManagement/costAllocationRules/{ruleName}", "2024-08-01"),
}},
},
{
Display: "operations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.CostManagement/operations", "2023-11-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.CostManagement/operations", "2024-08-01"),
},
{
Display: "scheduledActions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.CostManagement/scheduledActions", "2023-11-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.CostManagement/scheduledActions", "2024-08-01"),
SubResources: []swagger.ResourceType{
{
Display: "{name}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.CostManagement/scheduledActions/{name}", "2023-11-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.CostManagement/scheduledActions/{name}", "2023-11-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.CostManagement/scheduledActions/{name}", "2023-11-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.CostManagement/scheduledActions/{name}", "2024-08-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.CostManagement/scheduledActions/{name}", "2024-08-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.CostManagement/scheduledActions/{name}", "2024-08-01"),
Children: []swagger.ResourceType{},
}},
},
{
Display: "views",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.CostManagement/views", "2023-11-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.CostManagement/views", "2024-08-01"),
SubResources: []swagger.ResourceType{
{
Display: "{viewName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.CostManagement/views/{viewName}", "2023-11-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.CostManagement/views/{viewName}", "2023-11-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.CostManagement/views/{viewName}", "2023-11-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.CostManagement/views/{viewName}", "2024-08-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.CostManagement/views/{viewName}", "2024-08-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.CostManagement/views/{viewName}", "2024-08-01"),
}},
},
{
Display: "alerts",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.CostManagement/{externalCloudProviderType}/{externalCloudProviderId}/alerts", "2023-11-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.CostManagement/{externalCloudProviderType}/{externalCloudProviderId}/alerts", "2024-08-01"),
},
{
Display: "dimensions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.CostManagement/{externalCloudProviderType}/{externalCloudProviderId}/dimensions", "2023-11-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.CostManagement/{externalCloudProviderType}/{externalCloudProviderId}/dimensions", "2024-08-01"),
},
{
Display: "benefitRecommendations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{billingScope}/providers/Microsoft.CostManagement/benefitRecommendations", "2023-11-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/{billingScope}/providers/Microsoft.CostManagement/benefitRecommendations", "2024-08-01"),
},
{
Display: "alerts",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/alerts", "2023-11-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/alerts", "2024-08-01"),
SubResources: []swagger.ResourceType{
{
Display: "{alertId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/alerts/{alertId}", "2023-11-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/alerts/{alertId}", "2023-11-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/alerts/{alertId}", "2024-08-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/alerts/{alertId}", "2024-08-01"),
}},
},
{
Display: "budgets",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/budgets", "2023-11-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/budgets", "2024-08-01"),
SubResources: []swagger.ResourceType{
{
Display: "{budgetName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/budgets/{budgetName}", "2023-11-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/budgets/{budgetName}", "2023-11-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/budgets/{budgetName}", "2023-11-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/budgets/{budgetName}", "2024-08-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/budgets/{budgetName}", "2024-08-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/budgets/{budgetName}", "2024-08-01"),
}},
},
{
Display: "{operationId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/costDetailsOperationResults/{operationId}", "2023-11-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/costDetailsOperationResults/{operationId}", "2024-08-01"),
},
{
Display: "dimensions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/dimensions", "2023-11-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/dimensions", "2024-08-01"),
},
{
Display: "exports",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/exports", "2023-11-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/exports", "2024-08-01"),
SubResources: []swagger.ResourceType{
{
Display: "{exportName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/exports/{exportName}", "2023-11-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/exports/{exportName}", "2023-11-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/exports/{exportName}", "2023-11-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/exports/{exportName}", "2024-08-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/exports/{exportName}", "2024-08-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/exports/{exportName}", "2024-08-01"),
Children: []swagger.ResourceType{
{
Display: "runHistory",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/exports/{exportName}/runHistory", "2023-11-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/exports/{exportName}/runHistory", "2024-08-01"),
}},
}},
},
{
Display: "{operationId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/operationResults/{operationId}", "2023-11-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/operationResults/{operationId}", "2024-08-01"),
},
{
Display: "{operationId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/operationStatus/{operationId}", "2023-11-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/operationStatus/{operationId}", "2024-08-01"),
},
{
Display: "scheduledActions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/scheduledActions", "2023-11-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/scheduledActions", "2024-08-01"),
SubResources: []swagger.ResourceType{
{
Display: "{name}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/scheduledActions/{name}", "2023-11-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/scheduledActions/{name}", "2023-11-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/scheduledActions/{name}", "2023-11-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/scheduledActions/{name}", "2024-08-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/scheduledActions/{name}", "2024-08-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/scheduledActions/{name}", "2024-08-01"),
Children: []swagger.ResourceType{},
}},
},
{
Display: "settings",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/settings", "2023-11-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/settings", "2024-08-01"),
SubResources: []swagger.ResourceType{
{
Display: "{type}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/settings/{type}", "2023-11-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/settings/{type}", "2023-11-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/settings/{type}", "2023-11-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/settings/{type}", "2024-08-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/settings/{type}", "2024-08-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/settings/{type}", "2024-08-01"),
}},
},
{
Display: "views",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/views", "2023-11-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/views", "2024-08-01"),
SubResources: []swagger.ResourceType{
{
Display: "{viewName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/views/{viewName}", "2023-11-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/views/{viewName}", "2023-11-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/views/{viewName}", "2023-11-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/views/{viewName}", "2024-08-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/views/{viewName}", "2024-08-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.CostManagement/views/{viewName}", "2024-08-01"),
}},
},
{
@@ -11126,58 +11169,58 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "operations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.MachineLearningServices/operations", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.MachineLearningServices/operations", "2024-10-01"),
},
{
Display: "quotas",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/quotas", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/quotas", "2024-10-01"),
},
{
Display: "usages",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/usages", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/usages", "2024-10-01"),
},
{
Display: "vmSizes",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/vmSizes", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/vmSizes", "2024-10-01"),
},
{
Display: "registries",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/registries", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/registries", "2024-10-01"),
},
{
Display: "workspaces",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces", "2024-10-01"),
},
{
Display: "registries",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{registryName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}", "2024-04-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}", "2024-04-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}", "2024-04-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}", "2024-10-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}", "2024-10-01"),
Children: []swagger.ResourceType{
{
Display: "codes",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{codeName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}", "2024-04-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}", "2024-04-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}", "2024-10-01"),
Children: []swagger.ResourceType{
{
Display: "versions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}/versions", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}/versions", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{version}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}/versions/{version}", "2024-04-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}/versions/{version}", "2024-04-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}/versions/{version}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}/versions/{version}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}/versions/{version}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}/versions/{version}", "2024-10-01"),
Children: []swagger.ResourceType{},
}},
}},
@@ -11185,46 +11228,46 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "components",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{componentName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components/{componentName}", "2024-04-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components/{componentName}", "2024-04-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components/{componentName}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components/{componentName}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components/{componentName}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components/{componentName}", "2024-10-01"),
Children: []swagger.ResourceType{
{
Display: "versions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components/{componentName}/versions", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components/{componentName}/versions", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{version}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components/{componentName}/versions/{version}", "2024-04-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components/{componentName}/versions/{version}", "2024-04-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components/{componentName}/versions/{version}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components/{componentName}/versions/{version}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components/{componentName}/versions/{version}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components/{componentName}/versions/{version}", "2024-10-01"),
}},
}},
}},
},
{
Display: "data",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{name}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data/{name}", "2024-04-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data/{name}", "2024-04-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data/{name}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data/{name}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data/{name}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data/{name}", "2024-10-01"),
Children: []swagger.ResourceType{
{
Display: "versions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data/{name}/versions", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data/{name}/versions", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{version}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data/{name}/versions/{version}", "2024-04-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data/{name}/versions/{version}", "2024-04-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data/{name}/versions/{version}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data/{name}/versions/{version}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data/{name}/versions/{version}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data/{name}/versions/{version}", "2024-10-01"),
Children: []swagger.ResourceType{},
}},
}},
@@ -11232,46 +11275,46 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "environments",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{environmentName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}", "2024-04-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}", "2024-04-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}", "2024-10-01"),
Children: []swagger.ResourceType{
{
Display: "versions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}/versions", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}/versions", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{version}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}/versions/{version}", "2024-04-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}/versions/{version}", "2024-04-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}/versions/{version}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}/versions/{version}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}/versions/{version}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}/versions/{version}", "2024-10-01"),
}},
}},
}},
},
{
Display: "models",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{modelName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}", "2024-04-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}", "2024-04-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}", "2024-10-01"),
Children: []swagger.ResourceType{
{
Display: "versions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}/versions", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}/versions", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{version}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}/versions/{version}", "2024-04-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}/versions/{version}", "2024-04-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}/versions/{version}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}/versions/{version}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}/versions/{version}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}/versions/{version}", "2024-10-01"),
Children: []swagger.ResourceType{},
}},
}},
@@ -11282,59 +11325,59 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "workspaces",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{workspaceName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}", "2024-04-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}", "2024-04-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}", "2024-04-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}", "2024-10-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}", "2024-10-01"),
Children: []swagger.ResourceType{
{
Display: "batchEndpoints",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{endpointName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}", "2024-04-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}", "2024-04-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}", "2024-04-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}", "2024-10-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}", "2024-10-01"),
Children: []swagger.ResourceType{
{
Display: "deployments",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/deployments", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/deployments", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{deploymentName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/deployments/{deploymentName}", "2024-04-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/deployments/{deploymentName}", "2024-04-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/deployments/{deploymentName}", "2024-04-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/deployments/{deploymentName}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/deployments/{deploymentName}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/deployments/{deploymentName}", "2024-10-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/deployments/{deploymentName}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/deployments/{deploymentName}", "2024-10-01"),
}},
}},
}},
},
{
Display: "codes",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{name}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}", "2024-04-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}", "2024-04-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}", "2024-10-01"),
Children: []swagger.ResourceType{
{
Display: "versions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{version}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions/{version}", "2024-04-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions/{version}", "2024-04-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions/{version}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions/{version}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions/{version}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions/{version}", "2024-10-01"),
Children: []swagger.ResourceType{},
}},
}},
@@ -11342,23 +11385,23 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "components",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{name}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}", "2024-04-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}", "2024-04-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}", "2024-10-01"),
Children: []swagger.ResourceType{
{
Display: "versions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}/versions", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}/versions", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{version}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}/versions/{version}", "2024-04-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}/versions/{version}", "2024-04-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}/versions/{version}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}/versions/{version}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}/versions/{version}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}/versions/{version}", "2024-10-01"),
Children: []swagger.ResourceType{},
}},
}},
@@ -11366,48 +11409,49 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "computes",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{computeName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}", "2024-04-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}", "2024-04-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}", "2024-04-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}", "2024-10-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}", "2024-10-01"),
Children: []swagger.ResourceType{},
}},
},
{
Display: "connections",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{connectionName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}", "2024-04-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}", "2024-04-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}", "2024-10-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}", "2024-10-01"),
Children: []swagger.ResourceType{},
}},
},
{
Display: "data",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{name}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}", "2024-04-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}", "2024-04-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}", "2024-10-01"),
Children: []swagger.ResourceType{
{
Display: "versions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}/versions", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}/versions", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{version}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}/versions/{version}", "2024-04-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}/versions/{version}", "2024-04-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}/versions/{version}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}/versions/{version}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}/versions/{version}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}/versions/{version}", "2024-10-01"),
Children: []swagger.ResourceType{},
}},
}},
@@ -11415,35 +11459,35 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "datastores",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{name}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores/{name}", "2024-04-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores/{name}", "2024-04-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores/{name}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores/{name}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores/{name}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores/{name}", "2024-10-01"),
Children: []swagger.ResourceType{},
}},
},
{
Display: "environments",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{name}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}", "2024-04-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}", "2024-04-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}", "2024-10-01"),
Children: []swagger.ResourceType{
{
Display: "versions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{version}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions/{version}", "2024-04-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions/{version}", "2024-04-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions/{version}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions/{version}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions/{version}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions/{version}", "2024-10-01"),
Children: []swagger.ResourceType{},
}},
}},
@@ -11451,36 +11495,36 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "features",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/features", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/features", "2024-10-01"),
},
{
Display: "featuresets",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "features",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{featuresetName}/versions/{featuresetVersion}/features", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{featuresetName}/versions/{featuresetVersion}/features", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{featureName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{featuresetName}/versions/{featuresetVersion}/features/{featureName}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{featuresetName}/versions/{featuresetVersion}/features/{featureName}", "2024-10-01"),
}},
},
{
Display: "{name}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{name}", "2024-04-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{name}", "2024-04-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{name}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{name}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{name}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{name}", "2024-10-01"),
Children: []swagger.ResourceType{
{
Display: "versions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{name}/versions", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{name}/versions", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{version}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{name}/versions/{version}", "2024-04-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{name}/versions/{version}", "2024-04-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{name}/versions/{version}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{name}/versions/{version}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{name}/versions/{version}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{name}/versions/{version}", "2024-10-01"),
Children: []swagger.ResourceType{},
}},
}},
@@ -11488,69 +11532,69 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "featurestoreEntities",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featurestoreEntities", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featurestoreEntities", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{name}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featurestoreEntities/{name}", "2024-04-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featurestoreEntities/{name}", "2024-04-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featurestoreEntities/{name}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featurestoreEntities/{name}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featurestoreEntities/{name}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featurestoreEntities/{name}", "2024-10-01"),
Children: []swagger.ResourceType{
{
Display: "versions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featurestoreEntities/{name}/versions", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featurestoreEntities/{name}/versions", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{version}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featurestoreEntities/{name}/versions/{version}", "2024-04-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featurestoreEntities/{name}/versions/{version}", "2024-04-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featurestoreEntities/{name}/versions/{version}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featurestoreEntities/{name}/versions/{version}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featurestoreEntities/{name}/versions/{version}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featurestoreEntities/{name}/versions/{version}", "2024-10-01"),
}},
}},
}},
},
{
Display: "jobs",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{id}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs/{id}", "2024-04-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs/{id}", "2024-04-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs/{id}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs/{id}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs/{id}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs/{id}", "2024-10-01"),
Children: []swagger.ResourceType{},
}},
},
{
Display: "marketplaceSubscriptions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/marketplaceSubscriptions", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/marketplaceSubscriptions", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{name}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/marketplaceSubscriptions/{name}", "2024-04-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/marketplaceSubscriptions/{name}", "2024-04-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/marketplaceSubscriptions/{name}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/marketplaceSubscriptions/{name}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/marketplaceSubscriptions/{name}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/marketplaceSubscriptions/{name}", "2024-10-01"),
}},
},
{
Display: "models",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{name}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}", "2024-04-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}", "2024-04-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}", "2024-10-01"),
Children: []swagger.ResourceType{
{
Display: "versions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}/versions", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}/versions", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{version}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}/versions/{version}", "2024-04-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}/versions/{version}", "2024-04-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}/versions/{version}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}/versions/{version}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}/versions/{version}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}/versions/{version}", "2024-10-01"),
Children: []swagger.ResourceType{},
}},
}},
@@ -11558,29 +11602,29 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "onlineEndpoints",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{endpointName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}", "2024-04-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}", "2024-04-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}", "2024-04-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}", "2024-10-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}", "2024-10-01"),
Children: []swagger.ResourceType{
{
Display: "deployments",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{deploymentName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}", "2024-04-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}", "2024-04-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}", "2024-04-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}", "2024-10-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}", "2024-10-01"),
Children: []swagger.ResourceType{
{
Display: "skus",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}/skus", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}/skus", "2024-10-01"),
}},
}},
}},
@@ -11588,55 +11632,55 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "outboundNetworkDependenciesEndpoints",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/outboundNetworkDependenciesEndpoints", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/outboundNetworkDependenciesEndpoints", "2024-10-01"),
},
{
Display: "outboundRules",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/outboundRules", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/outboundRules", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{ruleName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/outboundRules/{ruleName}", "2024-04-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/outboundRules/{ruleName}", "2024-04-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/outboundRules/{ruleName}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/outboundRules/{ruleName}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/outboundRules/{ruleName}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/outboundRules/{ruleName}", "2024-10-01"),
}},
},
{
Display: "privateEndpointConnections",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{privateEndpointConnectionName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}", "2024-04-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}", "2024-04-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}", "2024-10-01"),
}},
},
{
Display: "privateLinkResources",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateLinkResources", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateLinkResources", "2024-10-01"),
},
{
Display: "schedules",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/schedules", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/schedules", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{name}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/schedules/{name}", "2024-04-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/schedules/{name}", "2024-04-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/schedules/{name}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/schedules/{name}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/schedules/{name}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/schedules/{name}", "2024-10-01"),
}},
},
{
Display: "serverlessEndpoints",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/serverlessEndpoints", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/serverlessEndpoints", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{name}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/serverlessEndpoints/{name}", "2024-04-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/serverlessEndpoints/{name}", "2024-04-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/serverlessEndpoints/{name}", "2024-04-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/serverlessEndpoints/{name}", "2024-04-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/serverlessEndpoints/{name}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/serverlessEndpoints/{name}", "2024-10-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/serverlessEndpoints/{name}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/serverlessEndpoints/{name}", "2024-10-01"),
Children: []swagger.ResourceType{},
}},
}},
@@ -11870,100 +11914,91 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "networkManagerConnections",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{networkManagerConnectionName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}", "2024-05-01"),
}},
},
{
Display: "groupQuotas",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas", "2023-06-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas", "2024-10-15-preview"),
SubResources: []swagger.ResourceType{
{
Display: "{groupQuotaName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}", "2023-06-01-preview"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}", "2023-06-01-preview"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}", "2023-06-01-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}", "2023-06-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}", "2024-10-15-preview"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}", "2024-10-15-preview"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}", "2024-10-15-preview"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}", "2024-10-15-preview"),
Children: []swagger.ResourceType{
{
Display: "subscriptionRequests",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/subscriptionRequests", "2023-06-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/subscriptionRequests", "2024-10-15-preview"),
SubResources: []swagger.ResourceType{
{
Display: "{requestId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/subscriptionRequests/{requestId}", "2023-06-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/subscriptionRequests/{requestId}", "2024-10-15-preview"),
}},
},
{
Display: "subscriptions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/subscriptions", "2023-06-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/subscriptions", "2024-10-15-preview"),
SubResources: []swagger.ResourceType{
{
Display: "{subscriptionId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/subscriptions/{subscriptionId}", "2023-06-01-preview"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/subscriptions/{subscriptionId}", "2023-06-01-preview"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/subscriptions/{subscriptionId}", "2023-06-01-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/subscriptions/{subscriptionId}", "2023-06-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/subscriptions/{subscriptionId}", "2024-10-15-preview"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/subscriptions/{subscriptionId}", "2024-10-15-preview"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/subscriptions/{subscriptionId}", "2024-10-15-preview"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/subscriptions/{subscriptionId}", "2024-10-15-preview"),
}},
}},
SubResources: []swagger.ResourceType{
{
Display: "{requestId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/groupQuotaRequests/{requestId}", "2023-06-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/groupQuotaRequests/{requestId}", "2024-10-15-preview"),
},
{
- Display: "groupQuotaLimits",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/groupQuotaLimits", "2023-06-01-preview"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{resourceName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/groupQuotaLimits/{resourceName}", "2023-06-01-preview"),
- }},
+ Display: "{location}",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/groupQuotaLimits/{location}", "2024-10-15-preview"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/groupQuotaLimits/{location}", "2024-10-15-preview"),
},
{
- Display: "groupQuotaRequests",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/groupQuotaRequests", "2023-06-01-preview"),
- SubResources: []swagger.ResourceType{},
+ Display: "groupQuotaRequests",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/groupQuotaRequests", "2024-10-15-preview"),
},
{
Display: "locationSettings",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/locationSettings", "2023-06-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/locationSettings", "2024-10-15-preview"),
SubResources: []swagger.ResourceType{
{
Display: "{location}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/locationSettings/{location}", "2023-06-01-preview"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/locationSettings/{location}", "2023-06-01-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/locationSettings/{location}", "2023-06-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/locationSettings/{location}", "2024-10-15-preview"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/locationSettings/{location}", "2024-10-15-preview"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/locationSettings/{location}", "2024-10-15-preview"),
}},
},
{
Display: "{location}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/locationUsages/{location}", "2023-06-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/locationUsages/{location}", "2024-10-15-preview"),
}},
}},
},
{
- Display: "{allocationId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/subscriptions/{subscriptionId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/quotaAllocationRequests/{allocationId}", "2023-06-01-preview"),
- },
- {
- Display: "quotaAllocations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/subscriptions/{subscriptionId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/quotaAllocations", "2023-06-01-preview"),
+ Display: "quotaAllocationRequests",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/subscriptions/{subscriptionId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/quotaAllocationRequests", "2024-10-15-preview"),
SubResources: []swagger.ResourceType{
{
- Display: "{resourceName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/subscriptions/{subscriptionId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/quotaAllocations/{resourceName}", "2023-06-01-preview"),
+ Display: "{allocationId}",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/subscriptions/{subscriptionId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/quotaAllocationRequests/{allocationId}", "2024-10-15-preview"),
}},
},
{
- Display: "quotaAllocationRequests",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/subscriptions/{subscriptionId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/quotaAllocationRequests", "2023-06-01-preview"),
- SubResources: []swagger.ResourceType{},
+ Display: "{location}",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/subscriptions/{subscriptionId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/quotaAllocations/{location}", "2024-10-15-preview"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Management/managementGroups/{managementGroupId}/subscriptions/{subscriptionId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/quotaAllocations/{location}", "2024-10-15-preview"),
}},
},
{
@@ -13335,78 +13370,78 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "operations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.NetApp/operations", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.NetApp/operations", "2024-07-01"),
},
{
Display: "quotaLimits",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/quotaLimits", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/quotaLimits", "2024-07-01"),
SubResources: []swagger.ResourceType{
{
Display: "{quotaLimitName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/quotaLimits/{quotaLimitName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/quotaLimits/{quotaLimitName}", "2024-07-01"),
}},
},
{
Display: "regionInfo",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/regionInfo", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/regionInfo", "2024-07-01"),
},
{
Display: "regionInfos",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/regionInfos", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/regionInfos", "2024-07-01"),
Children: []swagger.ResourceType{
{
Display: "default",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/regionInfos/default", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/regionInfos/default", "2024-07-01"),
}},
},
{
Display: "netAppAccounts",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/netAppAccounts", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/netAppAccounts", "2024-07-01"),
},
{
Display: "netAppAccounts",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts", "2024-07-01"),
SubResources: []swagger.ResourceType{
{
Display: "{accountName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}", "2024-07-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}", "2024-07-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}", "2024-07-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}", "2024-07-01"),
Children: []swagger.ResourceType{
{
Display: "backupPolicies",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies", "2024-07-01"),
SubResources: []swagger.ResourceType{
{
Display: "{backupPolicyName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName}", "2024-07-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName}", "2024-07-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName}", "2024-07-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName}", "2024-07-01"),
}},
},
{
Display: "backupVaults",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults", "2024-07-01"),
SubResources: []swagger.ResourceType{
{
Display: "{backupVaultName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}", "2024-07-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}", "2024-07-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}", "2024-07-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}", "2024-07-01"),
Children: []swagger.ResourceType{
{
Display: "backups",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}/backups", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}/backups", "2024-07-01"),
SubResources: []swagger.ResourceType{
{
Display: "{backupName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}/backups/{backupName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}/backups/{backupName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}/backups/{backupName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}/backups/{backupName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}/backups/{backupName}", "2024-07-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}/backups/{backupName}", "2024-07-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}/backups/{backupName}", "2024-07-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}/backups/{backupName}", "2024-07-01"),
Children: []swagger.ResourceType{},
}},
}},
@@ -13414,74 +13449,74 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "capacityPools",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools", "2024-07-01"),
SubResources: []swagger.ResourceType{
{
Display: "{poolName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}", "2024-07-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}", "2024-07-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}", "2024-07-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}", "2024-07-01"),
Children: []swagger.ResourceType{
{
Display: "volumes",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes", "2024-07-01"),
SubResources: []swagger.ResourceType{
{
Display: "{volumeName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}", "2024-07-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}", "2024-07-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}", "2024-07-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}", "2024-07-01"),
Children: []swagger.ResourceType{
{
Display: "current",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/latestBackupStatus/current", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/latestBackupStatus/current", "2024-07-01"),
},
{
Display: "current",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/latestRestoreStatus/current", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/latestRestoreStatus/current", "2024-07-01"),
},
{
Display: "replicationStatus",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/replicationStatus", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/replicationStatus", "2024-07-01"),
},
{
Display: "snapshots",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots", "2024-07-01"),
SubResources: []swagger.ResourceType{
{
Display: "{snapshotName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}", "2024-07-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}", "2024-07-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}", "2024-07-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}", "2024-07-01"),
Children: []swagger.ResourceType{},
}},
},
{
Display: "subvolumes",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes", "2024-07-01"),
SubResources: []swagger.ResourceType{
{
Display: "{subvolumeName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName}", "2024-07-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName}", "2024-07-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName}", "2024-07-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName}", "2024-07-01"),
Children: []swagger.ResourceType{},
}},
},
{
Display: "volumeQuotaRules",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/volumeQuotaRules", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/volumeQuotaRules", "2024-07-01"),
SubResources: []swagger.ResourceType{
{
Display: "{volumeQuotaRuleName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/volumeQuotaRules/{volumeQuotaRuleName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/volumeQuotaRules/{volumeQuotaRuleName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/volumeQuotaRules/{volumeQuotaRuleName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/volumeQuotaRules/{volumeQuotaRuleName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/volumeQuotaRules/{volumeQuotaRuleName}", "2024-07-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/volumeQuotaRules/{volumeQuotaRuleName}", "2024-07-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/volumeQuotaRules/{volumeQuotaRuleName}", "2024-07-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/volumeQuotaRules/{volumeQuotaRuleName}", "2024-07-01"),
}},
}},
}},
@@ -13490,598 +13525,598 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "snapshotPolicies",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies", "2024-07-01"),
SubResources: []swagger.ResourceType{
{
Display: "{snapshotPolicyName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies/{snapshotPolicyName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies/{snapshotPolicyName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies/{snapshotPolicyName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies/{snapshotPolicyName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies/{snapshotPolicyName}", "2024-07-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies/{snapshotPolicyName}", "2024-07-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies/{snapshotPolicyName}", "2024-07-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies/{snapshotPolicyName}", "2024-07-01"),
Children: []swagger.ResourceType{
{
Display: "volumes",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies/{snapshotPolicyName}/volumes", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies/{snapshotPolicyName}/volumes", "2024-07-01"),
}},
}},
},
{
Display: "volumeGroups",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups", "2024-07-01"),
SubResources: []swagger.ResourceType{
{
Display: "{volumeGroupName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups/{volumeGroupName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups/{volumeGroupName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups/{volumeGroupName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups/{volumeGroupName}", "2024-07-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups/{volumeGroupName}", "2024-07-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups/{volumeGroupName}", "2024-07-01"),
}},
}},
}},
},
{
Display: "operations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Network/operations", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Network/operations", "2024-05-01"),
},
{
Display: "ApplicationGatewayWebApplicationFirewallPolicies",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies", "2024-05-01"),
},
{
Display: "ExpressRoutePorts",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePorts", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePorts", "2024-05-01"),
},
{
Display: "ExpressRoutePortsLocations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{locationName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations/{locationName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations/{locationName}", "2024-05-01"),
}},
},
{
Display: "IpAllocations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/IpAllocations", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/IpAllocations", "2024-05-01"),
},
{
Display: "ServiceEndpointPolicies",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/ServiceEndpointPolicies", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/ServiceEndpointPolicies", "2024-05-01"),
},
{
Display: "applicationGatewayAvailableRequestHeaders",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableRequestHeaders", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableRequestHeaders", "2024-05-01"),
},
{
Display: "applicationGatewayAvailableResponseHeaders",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableResponseHeaders", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableResponseHeaders", "2024-05-01"),
},
{
Display: "applicationGatewayAvailableServerVariables",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableServerVariables", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableServerVariables", "2024-05-01"),
},
{
Display: "default",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "predefinedPolicies",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{predefinedPolicyName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies/{predefinedPolicyName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies/{predefinedPolicyName}", "2024-05-01"),
}},
}},
},
{
Display: "applicationGatewayAvailableWafRuleSets",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets", "2024-05-01"),
},
{
Display: "applicationGateways",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways", "2024-05-01"),
},
{
Display: "applicationSecurityGroups",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups", "2024-05-01"),
},
{
Display: "azureFirewallFqdnTags",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewallFqdnTags", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewallFqdnTags", "2024-05-01"),
},
{
Display: "azureFirewalls",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewalls", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewalls", "2024-05-01"),
},
{
Display: "azureWebCategories",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureWebCategories", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureWebCategories", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{name}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureWebCategories/{name}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureWebCategories/{name}", "2024-05-01"),
}},
},
{
Display: "bastionHosts",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/bastionHosts", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/bastionHosts", "2024-05-01"),
},
{
Display: "bgpServiceCommunities",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/bgpServiceCommunities", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/bgpServiceCommunities", "2024-05-01"),
},
{
Display: "customIpPrefixes",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/customIpPrefixes", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/customIpPrefixes", "2024-05-01"),
},
{
Display: "ddosProtectionPlans",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/ddosProtectionPlans", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/ddosProtectionPlans", "2024-05-01"),
},
{
Display: "dscpConfigurations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/dscpConfigurations", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/dscpConfigurations", "2024-05-01"),
},
{
Display: "expressRouteCircuits",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits", "2024-05-01"),
},
{
Display: "expressRouteCrossConnections",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCrossConnections", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCrossConnections", "2024-05-01"),
},
{
Display: "expressRouteGateways",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteGateways", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteGateways", "2024-05-01"),
},
{
Display: "expressRouteProviderPorts",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{providerport}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts/{providerport}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts/{providerport}", "2024-05-01"),
}},
},
{
Display: "expressRouteServiceProviders",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders", "2024-05-01"),
},
{
Display: "firewallPolicies",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/firewallPolicies", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/firewallPolicies", "2024-05-01"),
},
{
Display: "ipGroups",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/ipGroups", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/ipGroups", "2024-05-01"),
},
{
Display: "loadBalancers",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers", "2024-05-01"),
},
{
Display: "CheckDnsNameAvailability",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability", "2024-05-01"),
},
{
Display: "applicationGatewayWafDynamicManifests",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/applicationGatewayWafDynamicManifests", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/applicationGatewayWafDynamicManifests", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "dafault",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/applicationGatewayWafDynamicManifests/dafault", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/applicationGatewayWafDynamicManifests/dafault", "2024-05-01"),
}},
},
{
Display: "autoApprovedPrivateLinkServices",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices", "2024-05-01"),
},
{
Display: "availableDelegations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availableDelegations", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availableDelegations", "2024-05-01"),
},
{
Display: "availablePrivateEndpointTypes",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes", "2024-05-01"),
},
{
Display: "availableServiceAliases",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availableServiceAliases", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availableServiceAliases", "2024-05-01"),
},
{
Display: "serviceTagDetails",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/serviceTagDetails", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/serviceTagDetails", "2024-05-01"),
},
{
Display: "serviceTags",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/serviceTags", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/serviceTags", "2024-05-01"),
},
{
Display: "usages",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/usages", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/usages", "2024-05-01"),
},
{
Display: "virtualNetworkAvailableEndpointServices",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/virtualNetworkAvailableEndpointServices", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/virtualNetworkAvailableEndpointServices", "2024-05-01"),
},
{
Display: "natGateways",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/natGateways", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/natGateways", "2024-05-01"),
},
{
Display: "networkInterfaces",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkInterfaces", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkInterfaces", "2024-05-01"),
},
{
Display: "networkManagerConnections",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{networkManagerConnectionName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}", "2024-05-01"),
}},
},
{
Display: "networkManagers",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagers", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagers", "2024-05-01"),
},
{
Display: "networkProfiles",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkProfiles", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkProfiles", "2024-05-01"),
},
{
Display: "networkSecurityGroups",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups", "2024-05-01"),
},
{
Display: "networkVirtualApplianceSkus",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualApplianceSkus", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualApplianceSkus", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{skuName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualApplianceSkus/{skuName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualApplianceSkus/{skuName}", "2024-05-01"),
}},
},
{
Display: "networkVirtualAppliances",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualAppliances", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualAppliances", "2024-05-01"),
},
{
Display: "networkWatchers",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers", "2024-05-01"),
},
{
Display: "p2svpnGateways",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/p2svpnGateways", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/p2svpnGateways", "2024-05-01"),
},
{
Display: "privateEndpoints",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/privateEndpoints", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/privateEndpoints", "2024-05-01"),
},
{
Display: "privateLinkServices",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/privateLinkServices", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/privateLinkServices", "2024-05-01"),
},
{
Display: "publicIPAddresses",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses", "2024-05-01"),
},
{
Display: "publicIPPrefixes",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPPrefixes", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPPrefixes", "2024-05-01"),
},
{
Display: "routeFilters",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/routeFilters", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/routeFilters", "2024-05-01"),
},
{
Display: "routeTables",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/routeTables", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/routeTables", "2024-05-01"),
},
{
Display: "securityPartnerProviders",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/securityPartnerProviders", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/securityPartnerProviders", "2024-05-01"),
},
{
Display: "virtualHubs",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualHubs", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualHubs", "2024-05-01"),
},
{
Display: "virtualNetworkTaps",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworkTaps", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworkTaps", "2024-05-01"),
},
{
Display: "virtualNetworks",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworks", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworks", "2024-05-01"),
},
{
Display: "virtualRouters",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualRouters", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualRouters", "2024-05-01"),
},
{
Display: "virtualWans",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualWans", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualWans", "2024-05-01"),
},
{
Display: "vpnGateways",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnGateways", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnGateways", "2024-05-01"),
},
{
Display: "vpnServerConfigurations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnServerConfigurations", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnServerConfigurations", "2024-05-01"),
},
{
Display: "vpnSites",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnSites", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnSites", "2024-05-01"),
},
{
Display: "cloudServiceSlots",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Compute/cloudServices/{resourceName}/providers/Microsoft.Network/cloudServiceSlots", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Compute/cloudServices/{resourceName}/providers/Microsoft.Network/cloudServiceSlots", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{singletonResource}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Compute/cloudServices/{resourceName}/providers/Microsoft.Network/cloudServiceSlots/{singletonResource}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Compute/cloudServices/{resourceName}/providers/Microsoft.Network/cloudServiceSlots/{singletonResource}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Compute/cloudServices/{resourceName}/providers/Microsoft.Network/cloudServiceSlots/{singletonResource}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Compute/cloudServices/{resourceName}/providers/Microsoft.Network/cloudServiceSlots/{singletonResource}", "2024-05-01"),
}},
},
{
Display: "ApplicationGatewayWebApplicationFirewallPolicies",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{policyName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/{policyName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/{policyName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/{policyName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/{policyName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/{policyName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/{policyName}", "2024-05-01"),
}},
},
{
Display: "ExpressRoutePorts",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{expressRoutePortName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "links",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{linkName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links/{linkName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links/{linkName}", "2024-05-01"),
}},
}},
}},
},
{
Display: "IpAllocations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{ipAllocationName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}", "2024-05-01"),
}},
},
{
Display: "applicationGateways",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{applicationGatewayName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "privateEndpointConnections",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{connectionName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections/{connectionName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections/{connectionName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections/{connectionName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections/{connectionName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections/{connectionName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections/{connectionName}", "2024-05-01"),
}},
},
{
Display: "privateLinkResources",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateLinkResources", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateLinkResources", "2024-05-01"),
}},
}},
},
{
Display: "applicationSecurityGroups",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{applicationSecurityGroupName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}", "2024-05-01"),
}},
},
{
Display: "azureFirewalls",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{azureFirewallName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}", "2024-05-01"),
Children: []swagger.ResourceType{},
}},
},
{
Display: "bastionHosts",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{bastionHostName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}", "2024-05-01"),
Children: []swagger.ResourceType{},
}},
},
{
Display: "connections",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{virtualNetworkGatewayConnectionName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "sharedkey",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey", "2024-05-01"),
Children: []swagger.ResourceType{},
}},
}},
},
{
Display: "customIpPrefixes",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{customIpPrefixName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}", "2024-05-01"),
}},
},
{
Display: "{ddosCustomPolicyName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}", "2024-05-01"),
},
{
Display: "ddosProtectionPlans",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{ddosProtectionPlanName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}", "2024-05-01"),
}},
},
{
Display: "dscpConfigurations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{dscpConfigurationName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations/{dscpConfigurationName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations/{dscpConfigurationName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations/{dscpConfigurationName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations/{dscpConfigurationName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations/{dscpConfigurationName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations/{dscpConfigurationName}", "2024-05-01"),
}},
},
{
Display: "expressRouteCircuits",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{circuitName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "authorizations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{authorizationName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}", "2024-05-01"),
}},
},
{
Display: "peerings",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{peeringName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "connections",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{connectionName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}", "2024-05-01"),
}},
},
{
Display: "peerConnections",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/peerConnections", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/peerConnections", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{connectionName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/peerConnections/{connectionName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/peerConnections/{connectionName}", "2024-05-01"),
}},
},
{
Display: "stats",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/stats", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/stats", "2024-05-01"),
}},
SubResources: []swagger.ResourceType{},
}},
},
{
Display: "stats",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats", "2024-05-01"),
}},
}},
},
{
Display: "expressRouteCrossConnections",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{crossConnectionName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "peerings",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{peeringName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}", "2024-05-01"),
SubResources: []swagger.ResourceType{},
}},
}},
@@ -14089,325 +14124,349 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "expressRouteGateways",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{expressRouteGatewayName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "expressRouteConnections",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{connectionName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}", "2024-05-01"),
}},
}},
}},
},
{
Display: "authorizations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{authorizationName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations/{authorizationName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations/{authorizationName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations/{authorizationName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations/{authorizationName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations/{authorizationName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations/{authorizationName}", "2024-05-01"),
}},
},
{
Display: "firewallPolicies",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{firewallPolicyName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "default",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/firewallPolicyDrafts/default", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/firewallPolicyDrafts/default", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/firewallPolicyDrafts/default", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/firewallPolicyDrafts/default", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/firewallPolicyDrafts/default", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/firewallPolicyDrafts/default", "2024-05-01"),
},
{
Display: "ruleCollectionGroups",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{ruleCollectionGroupName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "default",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}/ruleCollectionGroupDrafts/default", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}/ruleCollectionGroupDrafts/default", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}/ruleCollectionGroupDrafts/default", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}/ruleCollectionGroupDrafts/default", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}/ruleCollectionGroupDrafts/default", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}/ruleCollectionGroupDrafts/default", "2024-05-01"),
}},
}},
},
{
Display: "signatureOverrides",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/signatureOverrides", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/signatureOverrides", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "default",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/signatureOverrides/default", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/signatureOverrides/default", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/signatureOverrides/default", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/signatureOverrides/default", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/signatureOverrides/default", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/signatureOverrides/default", "2024-05-01"),
}},
}},
}},
},
{
Display: "ipGroups",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{ipGroupsName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}", "2024-05-01"),
}},
},
{
Display: "loadBalancers",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{loadBalancerName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "backendAddressPools",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{backendAddressPoolName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}", "2024-05-01"),
}},
},
{
Display: "frontendIPConfigurations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{frontendIPConfigurationName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations/{frontendIPConfigurationName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations/{frontendIPConfigurationName}", "2024-05-01"),
}},
},
{
Display: "inboundNatRules",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{inboundNatRuleName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}", "2024-05-01"),
}},
},
{
Display: "loadBalancingRules",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{loadBalancingRuleName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules/{loadBalancingRuleName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules/{loadBalancingRuleName}", "2024-05-01"),
}},
},
{
Display: "networkInterfaces",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/networkInterfaces", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/networkInterfaces", "2024-05-01"),
},
{
Display: "outboundRules",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{outboundRuleName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules/{outboundRuleName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules/{outboundRuleName}", "2024-05-01"),
}},
},
{
Display: "probes",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{probeName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}", "2024-05-01"),
}},
}},
}},
},
{
Display: "localNetworkGateways",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{localNetworkGatewayName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}", "2024-05-01"),
}},
},
{
Display: "autoApprovedPrivateLinkServices",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices", "2024-05-01"),
},
{
Display: "availableDelegations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availableDelegations", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availableDelegations", "2024-05-01"),
},
{
Display: "availablePrivateEndpointTypes",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes", "2024-05-01"),
},
{
Display: "availableServiceAliases",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availableServiceAliases", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availableServiceAliases", "2024-05-01"),
},
{
Display: "natGateways",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{natGatewayName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}", "2024-05-01"),
}},
},
{
Display: "networkInterfaces",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{networkInterfaceName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "ipConfigurations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{ipConfigurationName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations/{ipConfigurationName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations/{ipConfigurationName}", "2024-05-01"),
}},
},
{
Display: "loadBalancers",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/loadBalancers", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/loadBalancers", "2024-05-01"),
},
{
Display: "tapConfigurations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/tapConfigurations", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/tapConfigurations", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{tapConfigurationName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/tapConfigurations/{tapConfigurationName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/tapConfigurations/{tapConfigurationName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/tapConfigurations/{tapConfigurationName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/tapConfigurations/{tapConfigurationName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/tapConfigurations/{tapConfigurationName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/tapConfigurations/{tapConfigurationName}", "2024-05-01"),
}},
}},
}},
},
{
Display: "networkManagers",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{networkManagerName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "connectivityConfigurations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/connectivityConfigurations", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/connectivityConfigurations", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{configurationName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/connectivityConfigurations/{configurationName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/connectivityConfigurations/{configurationName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/connectivityConfigurations/{configurationName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/connectivityConfigurations/{configurationName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/connectivityConfigurations/{configurationName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/connectivityConfigurations/{configurationName}", "2024-05-01"),
+ }},
+ },
+ {
+ Display: "ipamPools",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools", "2024-05-01"),
+ SubResources: []swagger.ResourceType{
+ {
+ Display: "{poolName}",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}", "2024-05-01"),
+ Children: []swagger.ResourceType{
+ {
+ Display: "staticCidrs",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}/staticCidrs", "2024-05-01"),
+ SubResources: []swagger.ResourceType{
+ {
+ Display: "{staticCidrName}",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}/staticCidrs/{staticCidrName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}/staticCidrs/{staticCidrName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}/staticCidrs/{staticCidrName}", "2024-05-01"),
+ }},
+ }},
}},
},
{
Display: "networkGroups",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{networkGroupName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "staticMembers",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}/staticMembers", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}/staticMembers", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{staticMemberName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}/staticMembers/{staticMemberName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}/staticMembers/{staticMemberName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}/staticMembers/{staticMemberName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}/staticMembers/{staticMemberName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}/staticMembers/{staticMemberName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}/staticMembers/{staticMemberName}", "2024-05-01"),
}},
}},
}},
},
{
Display: "routingConfigurations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{configurationName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "ruleCollections",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}/ruleCollections", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}/ruleCollections", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{ruleCollectionName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "rules",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{ruleName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName}", "2024-05-01"),
}},
}},
}},
@@ -14416,44 +14475,44 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "scopeConnections",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/scopeConnections", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/scopeConnections", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{scopeConnectionName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/scopeConnections/{scopeConnectionName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/scopeConnections/{scopeConnectionName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/scopeConnections/{scopeConnectionName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/scopeConnections/{scopeConnectionName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/scopeConnections/{scopeConnectionName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/scopeConnections/{scopeConnectionName}", "2024-05-01"),
}},
},
{
Display: "securityAdminConfigurations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{configurationName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "ruleCollections",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{ruleCollectionName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "rules",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{ruleName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName}", "2024-05-01"),
}},
}},
}},
@@ -14462,172 +14521,207 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "securityUserConfigurations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{configurationName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "ruleCollections",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{ruleCollectionName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "rules",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{ruleName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName}", "2024-05-01"),
}},
}},
}},
}},
}},
+ },
+ {
+ Display: "verifierWorkspaces",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces", "2024-05-01"),
+ SubResources: []swagger.ResourceType{
+ {
+ Display: "{workspaceName}",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces/{workspaceName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces/{workspaceName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces/{workspaceName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces/{workspaceName}", "2024-05-01"),
+ Children: []swagger.ResourceType{
+ {
+ Display: "reachabilityAnalysisIntents",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces/{workspaceName}/reachabilityAnalysisIntents", "2024-05-01"),
+ SubResources: []swagger.ResourceType{
+ {
+ Display: "{reachabilityAnalysisIntentName}",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces/{workspaceName}/reachabilityAnalysisIntents/{reachabilityAnalysisIntentName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces/{workspaceName}/reachabilityAnalysisIntents/{reachabilityAnalysisIntentName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces/{workspaceName}/reachabilityAnalysisIntents/{reachabilityAnalysisIntentName}", "2024-05-01"),
+ }},
+ },
+ {
+ Display: "reachabilityAnalysisRuns",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces/{workspaceName}/reachabilityAnalysisRuns", "2024-05-01"),
+ SubResources: []swagger.ResourceType{
+ {
+ Display: "{reachabilityAnalysisRunName}",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces/{workspaceName}/reachabilityAnalysisRuns/{reachabilityAnalysisRunName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces/{workspaceName}/reachabilityAnalysisRuns/{reachabilityAnalysisRunName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces/{workspaceName}/reachabilityAnalysisRuns/{reachabilityAnalysisRunName}", "2024-05-01"),
+ }},
+ }},
+ }},
}},
}},
},
{
Display: "networkProfiles",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{networkProfileName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}", "2024-05-01"),
}},
},
{
Display: "networkSecurityGroups",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{networkSecurityGroupName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "defaultSecurityRules",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{defaultSecurityRuleName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName}", "2024-05-01"),
}},
},
{
Display: "securityRules",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{securityRuleName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}", "2024-05-01"),
}},
}},
}},
},
{
Display: "networkVirtualAppliances",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{networkVirtualApplianceName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "networkVirtualApplianceConnections",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/networkVirtualApplianceConnections", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/networkVirtualApplianceConnections", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{connectionName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/networkVirtualApplianceConnections/{connectionName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/networkVirtualApplianceConnections/{connectionName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/networkVirtualApplianceConnections/{connectionName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/networkVirtualApplianceConnections/{connectionName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/networkVirtualApplianceConnections/{connectionName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/networkVirtualApplianceConnections/{connectionName}", "2024-05-01"),
}},
},
{
Display: "virtualApplianceSites",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{siteName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites/{siteName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites/{siteName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites/{siteName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites/{siteName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites/{siteName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites/{siteName}", "2024-05-01"),
}},
}},
SubResources: []swagger.ResourceType{
{
Display: "{ruleCollectionName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/inboundSecurityRules/{ruleCollectionName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/inboundSecurityRules/{ruleCollectionName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/inboundSecurityRules/{ruleCollectionName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/inboundSecurityRules/{ruleCollectionName}", "2024-05-01"),
}},
}},
},
{
Display: "networkWatchers",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{networkWatcherName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "connectionMonitors",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{connectionMonitorName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}", "2024-05-01"),
Children: []swagger.ResourceType{},
}},
},
{
Display: "flowLogs",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{flowLogName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}", "2024-05-01"),
}},
},
{
Display: "packetCaptures",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{packetCaptureName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}", "2024-05-01"),
Children: []swagger.ResourceType{},
}},
}},
@@ -14635,441 +14729,441 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "p2svpnGateways",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{gatewayName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}", "2024-05-01"),
Children: []swagger.ResourceType{},
}},
},
{
Display: "privateEndpoints",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{privateEndpointName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "privateDnsZoneGroups",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{privateDnsZoneGroupName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups/{privateDnsZoneGroupName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups/{privateDnsZoneGroupName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups/{privateDnsZoneGroupName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups/{privateDnsZoneGroupName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups/{privateDnsZoneGroupName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups/{privateDnsZoneGroupName}", "2024-05-01"),
}},
}},
}},
},
{
Display: "privateLinkServices",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{serviceName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "privateEndpointConnections",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{peConnectionName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections/{peConnectionName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections/{peConnectionName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections/{peConnectionName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections/{peConnectionName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections/{peConnectionName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections/{peConnectionName}", "2024-05-01"),
}},
}},
}},
},
{
Display: "publicIPAddresses",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{publicIpAddressName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}", "2024-05-01"),
Children: []swagger.ResourceType{},
}},
},
{
Display: "publicIPPrefixes",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{publicIpPrefixName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}", "2024-05-01"),
}},
},
{
Display: "routeFilters",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{routeFilterName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "routeFilterRules",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{ruleName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}", "2024-05-01"),
}},
}},
}},
},
{
Display: "routeTables",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{routeTableName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "routes",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{routeName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName}", "2024-05-01"),
}},
}},
}},
},
{
Display: "securityPartnerProviders",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{securityPartnerProviderName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}", "2024-05-01"),
}},
},
{
Display: "serviceEndpointPolicies",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{serviceEndpointPolicyName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "serviceEndpointPolicyDefinitions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{serviceEndpointPolicyDefinitionName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions/{serviceEndpointPolicyDefinitionName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions/{serviceEndpointPolicyDefinitionName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions/{serviceEndpointPolicyDefinitionName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions/{serviceEndpointPolicyDefinitionName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions/{serviceEndpointPolicyDefinitionName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions/{serviceEndpointPolicyDefinitionName}", "2024-05-01"),
}},
}},
}},
},
{
Display: "virtualHubs",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{virtualHubName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "bgpConnections",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{connectionName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections/{connectionName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections/{connectionName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections/{connectionName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections/{connectionName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections/{connectionName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections/{connectionName}", "2024-05-01"),
}},
},
{
Display: "hubRouteTables",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubRouteTables", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubRouteTables", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{routeTableName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubRouteTables/{routeTableName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubRouteTables/{routeTableName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubRouteTables/{routeTableName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubRouteTables/{routeTableName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubRouteTables/{routeTableName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubRouteTables/{routeTableName}", "2024-05-01"),
}},
},
{
Display: "hubVirtualNetworkConnections",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{connectionName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections/{connectionName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections/{connectionName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections/{connectionName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections/{connectionName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections/{connectionName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections/{connectionName}", "2024-05-01"),
}},
},
{
Display: "ipConfigurations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/ipConfigurations", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/ipConfigurations", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{ipConfigName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/ipConfigurations/{ipConfigName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/ipConfigurations/{ipConfigName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/ipConfigurations/{ipConfigName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/ipConfigurations/{ipConfigName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/ipConfigurations/{ipConfigName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/ipConfigurations/{ipConfigName}", "2024-05-01"),
}},
},
{
Display: "routeMaps",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeMaps", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeMaps", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{routeMapName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeMaps/{routeMapName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeMaps/{routeMapName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeMaps/{routeMapName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeMaps/{routeMapName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeMaps/{routeMapName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeMaps/{routeMapName}", "2024-05-01"),
}},
},
{
Display: "routeTables",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{routeTableName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables/{routeTableName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables/{routeTableName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables/{routeTableName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables/{routeTableName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables/{routeTableName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables/{routeTableName}", "2024-05-01"),
}},
},
{
Display: "routingIntent",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routingIntent", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routingIntent", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{routingIntentName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routingIntent/{routingIntentName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routingIntent/{routingIntentName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routingIntent/{routingIntentName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routingIntent/{routingIntentName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routingIntent/{routingIntentName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routingIntent/{routingIntentName}", "2024-05-01"),
}},
}},
}},
},
{
Display: "virtualNetworkGateways",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{virtualNetworkGatewayName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "connections",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/connections", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/connections", "2024-05-01"),
},
{
Display: "natRules",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{natRuleName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules/{natRuleName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules/{natRuleName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules/{natRuleName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules/{natRuleName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules/{natRuleName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules/{natRuleName}", "2024-05-01"),
}},
}},
}},
},
{
Display: "virtualNetworkTaps",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{tapName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}", "2024-05-01"),
}},
},
{
Display: "virtualNetworks",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{virtualNetworkName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "CheckIPAddressAvailability",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/CheckIPAddressAvailability", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/CheckIPAddressAvailability", "2024-05-01"),
},
{
Display: "subnets",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{subnetName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "ResourceNavigationLinks",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/ResourceNavigationLinks", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/ResourceNavigationLinks", "2024-05-01"),
},
{
Display: "ServiceAssociationLinks",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/ServiceAssociationLinks", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/ServiceAssociationLinks", "2024-05-01"),
}},
}},
},
{
Display: "usages",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/usages", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/usages", "2024-05-01"),
},
{
Display: "virtualNetworkPeerings",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{virtualNetworkPeeringName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}", "2024-05-01"),
}},
}},
}},
},
{
Display: "virtualRouters",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{virtualRouterName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "peerings",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{peeringName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}", "2024-05-01"),
}},
}},
}},
},
{
Display: "virtualWans",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{VirtualWANName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}", "2024-05-01"),
},
{
Display: "supportedSecurityProviders",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/supportedSecurityProviders", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/supportedSecurityProviders", "2024-05-01"),
}},
},
{
Display: "vpnGateways",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{gatewayName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "natRules",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/natRules", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/natRules", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{natRuleName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/natRules/{natRuleName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/natRules/{natRuleName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/natRules/{natRuleName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/natRules/{natRuleName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/natRules/{natRuleName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/natRules/{natRuleName}", "2024-05-01"),
}},
},
{
Display: "vpnConnections",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{connectionName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "vpnLinkConnections",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{linkConnectionName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "sharedKeys",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/sharedKeys", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/sharedKeys", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "default",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/sharedKeys/default", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/sharedKeys/default", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/sharedKeys/default", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/sharedKeys/default", "2024-05-01"),
Children: []swagger.ResourceType{},
}},
}},
@@ -15081,46 +15175,46 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "vpnServerConfigurations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{vpnServerConfigurationName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "configurationPolicyGroups",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}/configurationPolicyGroups", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}/configurationPolicyGroups", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{configurationPolicyGroupName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}/configurationPolicyGroups/{configurationPolicyGroupName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}/configurationPolicyGroups/{configurationPolicyGroupName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}/configurationPolicyGroups/{configurationPolicyGroupName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}/configurationPolicyGroups/{configurationPolicyGroupName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}/configurationPolicyGroups/{configurationPolicyGroupName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}/configurationPolicyGroups/{configurationPolicyGroupName}", "2024-05-01"),
}},
}},
}},
},
{
Display: "vpnSites",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{vpnSiteName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}", "2024-05-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}", "2024-05-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}", "2024-05-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}", "2024-05-01"),
Children: []swagger.ResourceType{
{
Display: "vpnSiteLinks",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}/vpnSiteLinks", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}/vpnSiteLinks", "2024-05-01"),
SubResources: []swagger.ResourceType{
{
Display: "{vpnSiteLinkName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}/vpnSiteLinks/{vpnSiteLinkName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}/vpnSiteLinks/{vpnSiteLinkName}", "2024-05-01"),
}},
}},
}},
@@ -15265,7 +15359,7 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "clusters",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/clusters", "2022-10-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/clusters", "2023-09-01"),
},
{
Display: "deletedWorkspaces",
@@ -15273,11 +15367,11 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "{asyncOperationId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/locations/{location}/operationStatuses/{asyncOperationId}", "2020-08-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/locations/{location}/operationStatuses/{asyncOperationId}", "2023-09-01"),
},
{
Display: "queryPacks",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/queryPacks", "2019-09-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/queryPacks", "2023-09-01"),
},
{
Display: "workspaces",
@@ -15285,62 +15379,62 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "queryPacks",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks", "2019-09-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks", "2019-09-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks", "2023-09-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks", "2023-09-01"),
SubResources: []swagger.ResourceType{
{
Display: "{queryPackName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks/{queryPackName}", "2019-09-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks/{queryPackName}", "2019-09-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks/{queryPackName}", "2019-09-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks/{queryPackName}", "2019-09-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks/{queryPackName}", "2023-09-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks/{queryPackName}", "2023-09-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks/{queryPackName}", "2023-09-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks/{queryPackName}", "2023-09-01"),
Children: []swagger.ResourceType{
{
Display: "queries",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks/{queryPackName}/queries", "2019-09-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks/{queryPackName}/queries", "2023-09-01"),
Children: []swagger.ResourceType{},
SubResources: []swagger.ResourceType{
{
Display: "{id}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks/{queryPackName}/queries/{id}", "2019-09-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks/{queryPackName}/queries/{id}", "2019-09-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks/{queryPackName}/queries/{id}", "2019-09-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks/{queryPackName}/queries/{id}", "2019-09-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks/{queryPackName}/queries/{id}", "2023-09-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks/{queryPackName}/queries/{id}", "2023-09-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks/{queryPackName}/queries/{id}", "2023-09-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks/{queryPackName}/queries/{id}", "2023-09-01"),
}},
}},
}},
},
{
Display: "linkedStorageAccounts",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedStorageAccounts", "2020-08-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedStorageAccounts", "2023-09-01"),
},
{
Display: "{purgeId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/operations/{purgeId}", "2020-08-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/operations/{purgeId}", "2023-09-01"),
},
{
Display: "tables",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables", "2022-10-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables", "2023-09-01"),
SubResources: []swagger.ResourceType{
{
Display: "{tableName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables/{tableName}", "2022-10-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables/{tableName}", "2022-10-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables/{tableName}", "2022-10-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables/{tableName}", "2022-10-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables/{tableName}", "2023-09-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables/{tableName}", "2023-09-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables/{tableName}", "2023-09-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables/{tableName}", "2023-09-01"),
Children: []swagger.ResourceType{},
}},
},
{
Display: "clusters",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/clusters", "2022-10-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/clusters", "2023-09-01"),
SubResources: []swagger.ResourceType{
{
Display: "{clusterName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/clusters/{clusterName}", "2022-10-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/clusters/{clusterName}", "2022-10-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/clusters/{clusterName}", "2022-10-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/clusters/{clusterName}", "2022-10-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/clusters/{clusterName}", "2023-09-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/clusters/{clusterName}", "2023-09-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/clusters/{clusterName}", "2023-09-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/clusters/{clusterName}", "2023-09-01"),
}},
},
{
@@ -15360,82 +15454,82 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
Children: []swagger.ResourceType{
{
Display: "availableServiceTiers",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/availableServiceTiers", "2020-08-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/availableServiceTiers", "2023-09-01"),
},
{
Display: "dataExports",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataExports", "2020-08-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataExports", "2023-09-01"),
SubResources: []swagger.ResourceType{
{
Display: "{dataExportName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataExports/{dataExportName}", "2020-08-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataExports/{dataExportName}", "2020-08-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataExports/{dataExportName}", "2020-08-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataExports/{dataExportName}", "2023-09-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataExports/{dataExportName}", "2023-09-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataExports/{dataExportName}", "2023-09-01"),
}},
},
{
Display: "dataSources",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataSources", "2020-08-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataSources", "2023-09-01"),
SubResources: []swagger.ResourceType{
{
Display: "{dataSourceName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataSources/{dataSourceName}", "2020-08-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataSources/{dataSourceName}", "2020-08-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataSources/{dataSourceName}", "2020-08-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataSources/{dataSourceName}", "2023-09-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataSources/{dataSourceName}", "2023-09-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataSources/{dataSourceName}", "2023-09-01"),
}},
},
{
Display: "intelligencePacks",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/intelligencePacks", "2020-08-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/intelligencePacks", "2023-09-01"),
SubResources: []swagger.ResourceType{},
},
{
Display: "linkedServices",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedServices", "2020-08-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedServices", "2023-09-01"),
SubResources: []swagger.ResourceType{
{
Display: "{linkedServiceName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedServices/{linkedServiceName}", "2020-08-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedServices/{linkedServiceName}", "2020-08-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedServices/{linkedServiceName}", "2020-08-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedServices/{linkedServiceName}", "2023-09-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedServices/{linkedServiceName}", "2023-09-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedServices/{linkedServiceName}", "2023-09-01"),
}},
},
{
Display: "managementGroups",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/managementGroups", "2020-08-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/managementGroups", "2023-09-01"),
},
{
Display: "savedSearches",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/savedSearches", "2020-08-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/savedSearches", "2023-09-01"),
SubResources: []swagger.ResourceType{
{
Display: "{savedSearchId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/savedSearches/{savedSearchId}", "2020-08-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/savedSearches/{savedSearchId}", "2020-08-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/savedSearches/{savedSearchId}", "2020-08-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/savedSearches/{savedSearchId}", "2023-09-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/savedSearches/{savedSearchId}", "2023-09-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/savedSearches/{savedSearchId}", "2023-09-01"),
}},
},
{
Display: "storageInsightConfigs",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/storageInsightConfigs", "2020-08-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/storageInsightConfigs", "2023-09-01"),
SubResources: []swagger.ResourceType{
{
Display: "{storageInsightName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/storageInsightConfigs/{storageInsightName}", "2020-08-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/storageInsightConfigs/{storageInsightName}", "2020-08-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/storageInsightConfigs/{storageInsightName}", "2020-08-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/storageInsightConfigs/{storageInsightName}", "2023-09-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/storageInsightConfigs/{storageInsightName}", "2023-09-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/storageInsightConfigs/{storageInsightName}", "2023-09-01"),
}},
},
{
Display: "usages",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/usages", "2020-08-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/usages", "2023-09-01"),
}},
SubResources: []swagger.ResourceType{
{
Display: "{dataSourceType}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedStorageAccounts/{dataSourceType}", "2020-08-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedStorageAccounts/{dataSourceType}", "2020-08-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedStorageAccounts/{dataSourceType}", "2020-08-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedStorageAccounts/{dataSourceType}", "2023-09-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedStorageAccounts/{dataSourceType}", "2023-09-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedStorageAccounts/{dataSourceType}", "2023-09-01"),
}},
}},
},
@@ -15661,100 +15755,6 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
}},
}},
},
- {
- Display: "operations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.PolicyInsights/operations", "2022-04-01"),
- },
- {
- Display: "policyMetadata",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.PolicyInsights/policyMetadata", "2019-10-01"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{resourceName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.PolicyInsights/policyMetadata/{resourceName}", "2019-10-01"),
- }},
- },
- {
- Display: "remediations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/{managementGroupsNamespace}/managementGroups/{managementGroupId}/providers/Microsoft.PolicyInsights/remediations", "2021-10-01"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{remediationName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/{managementGroupsNamespace}/managementGroups/{managementGroupId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}", "2021-10-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/providers/{managementGroupsNamespace}/managementGroups/{managementGroupId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}", "2021-10-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/providers/{managementGroupsNamespace}/managementGroups/{managementGroupId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}", "2021-10-01"),
- Children: []swagger.ResourceType{},
- }},
- },
- {
- Display: "attestations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/attestations", "2022-09-01"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{attestationName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/attestations/{attestationName}", "2022-09-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/attestations/{attestationName}", "2022-09-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/attestations/{attestationName}", "2022-09-01"),
- }},
- },
- {
- Display: "remediations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/remediations", "2021-10-01"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{remediationName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}", "2021-10-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}", "2021-10-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}", "2021-10-01"),
- Children: []swagger.ResourceType{},
- }},
- },
- {
- Display: "attestations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/attestations", "2022-09-01"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{attestationName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/attestations/{attestationName}", "2022-09-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/attestations/{attestationName}", "2022-09-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/attestations/{attestationName}", "2022-09-01"),
- }},
- },
- {
- Display: "remediations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/remediations", "2021-10-01"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{remediationName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/remediations/{remediationName}", "2021-10-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/remediations/{remediationName}", "2021-10-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/remediations/{remediationName}", "2021-10-01"),
- Children: []swagger.ResourceType{},
- }},
- },
- {
- Display: "attestations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{resourceId}/providers/Microsoft.PolicyInsights/attestations", "2022-09-01"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{attestationName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{resourceId}/providers/Microsoft.PolicyInsights/attestations/{attestationName}", "2022-09-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/{resourceId}/providers/Microsoft.PolicyInsights/attestations/{attestationName}", "2022-09-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/{resourceId}/providers/Microsoft.PolicyInsights/attestations/{attestationName}", "2022-09-01"),
- }},
- },
- {
- Display: "remediations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{resourceId}/providers/Microsoft.PolicyInsights/remediations", "2021-10-01"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{remediationName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{resourceId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}", "2021-10-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/{resourceId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}", "2021-10-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/{resourceId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}", "2021-10-01"),
- Children: []swagger.ResourceType{},
- }},
- },
{
Display: "operations",
Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Portal/operations", "2020-09-01-preview"),
@@ -15792,153 +15792,57 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "flexibleServers",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/flexibleServers", "2024-08-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/flexibleServers", "2021-06-15-privatepreview"),
},
{
Display: "capabilities",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/locations/{locationName}/capabilities", "2024-08-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/locations/{locationName}/capabilities", "2021-06-15-privatepreview"),
},
{
Display: "flexibleServers",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers", "2024-08-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers", "2021-06-15-privatepreview"),
SubResources: []swagger.ResourceType{
{
Display: "{serverName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}", "2024-08-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}", "2024-08-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}", "2024-08-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}", "2024-08-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}", "2021-06-15-privatepreview"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}", "2021-06-15-privatepreview"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}", "2021-06-15-privatepreview"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}", "2021-06-15-privatepreview"),
Children: []swagger.ResourceType{
- {
- Display: "administrators",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/administrators", "2024-08-01"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{objectId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/administrators/{objectId}", "2024-08-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/administrators/{objectId}", "2024-08-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/administrators/{objectId}", "2024-08-01"),
- }},
- },
- {
- Display: "advancedThreatProtectionSettings",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/advancedThreatProtectionSettings", "2024-08-01"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{threatProtectionName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/advancedThreatProtectionSettings/{threatProtectionName}", "2024-08-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/advancedThreatProtectionSettings/{threatProtectionName}", "2024-08-01"),
- }},
- },
- {
- Display: "backups",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/backups", "2024-08-01"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{backupName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/backups/{backupName}", "2024-08-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/backups/{backupName}", "2024-08-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/backups/{backupName}", "2024-08-01"),
- }},
- },
- {
- Display: "capabilities",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/capabilities", "2024-08-01"),
- },
{
Display: "configurations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/configurations", "2024-08-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/configurations", "2021-06-15-privatepreview"),
SubResources: []swagger.ResourceType{
{
Display: "{configurationName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/configurations/{configurationName}", "2024-08-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/configurations/{configurationName}", "2024-08-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/configurations/{configurationName}", "2024-08-01"),
- }},
- },
- {
- Display: "databases",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/databases", "2024-08-01"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{databaseName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/databases/{databaseName}", "2024-08-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/databases/{databaseName}", "2024-08-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/databases/{databaseName}", "2024-08-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/configurations/{configurationName}", "2021-06-15-privatepreview"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/configurations/{configurationName}", "2021-06-15-privatepreview"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/configurations/{configurationName}", "2021-06-15-privatepreview"),
}},
},
{
Display: "firewallRules",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/firewallRules", "2024-08-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/firewallRules", "2021-06-15-privatepreview"),
SubResources: []swagger.ResourceType{
{
Display: "{firewallRuleName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/firewallRules/{firewallRuleName}", "2024-08-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/firewallRules/{firewallRuleName}", "2024-08-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/firewallRules/{firewallRuleName}", "2024-08-01"),
- }},
- },
- {
- Display: "logFiles",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/logFiles", "2024-08-01"),
- },
- {
- Display: "ltrBackupOperations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/ltrBackupOperations", "2024-08-01"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{backupName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/ltrBackupOperations/{backupName}", "2024-08-01"),
- }},
- },
- {
- Display: "privateEndpointConnections",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/privateEndpointConnections", "2024-08-01"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{privateEndpointConnectionName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}", "2024-08-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}", "2024-08-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}", "2024-08-01"),
- }},
- },
- {
- Display: "privateLinkResources",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/privateLinkResources", "2024-08-01"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{groupName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/privateLinkResources/{groupName}", "2024-08-01"),
- }},
- },
- {
- Display: "replicas",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/replicas", "2024-08-01"),
- },
- {
- Display: "virtualendpoints",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/virtualendpoints", "2024-08-01"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{virtualEndpointName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/virtualendpoints/{virtualEndpointName}", "2024-08-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/virtualendpoints/{virtualEndpointName}", "2024-08-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/virtualendpoints/{virtualEndpointName}", "2024-08-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/virtualendpoints/{virtualEndpointName}", "2024-08-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/firewallRules/{firewallRuleName}", "2021-06-15-privatepreview"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/firewallRules/{firewallRuleName}", "2021-06-15-privatepreview"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/firewallRules/{firewallRuleName}", "2021-06-15-privatepreview"),
}},
}},
- },
+ }},
+ },
+ {
+ Display: "migrations",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations", "2021-06-15-privatepreview"),
+ SubResources: []swagger.ResourceType{
{
- Display: "migrations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDbServerName}/migrations", "2024-08-01"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{migrationName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDbServerName}/migrations/{migrationName}", "2024-08-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDbServerName}/migrations/{migrationName}", "2024-08-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDbServerName}/migrations/{migrationName}", "2024-08-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDbServerName}/migrations/{migrationName}", "2024-08-01"),
- }},
+ Display: "{migrationName}",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations/{migrationName}", "2021-06-15-privatepreview"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations/{migrationName}", "2021-06-15-privatepreview"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations/{migrationName}", "2021-06-15-privatepreview"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations/{migrationName}", "2021-06-15-privatepreview"),
}},
},
{
@@ -16342,35 +16246,35 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "operations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Quota/operations", "2023-06-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Quota/operations", "2024-10-15-preview"),
},
{
Display: "quotaRequests",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Quota/quotaRequests", "2023-06-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Quota/quotaRequests", "2024-10-15-preview"),
SubResources: []swagger.ResourceType{
{
Display: "{id}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Quota/quotaRequests/{id}", "2023-06-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Quota/quotaRequests/{id}", "2024-10-15-preview"),
}},
},
{
Display: "quotas",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Quota/quotas", "2023-06-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Quota/quotas", "2024-10-15-preview"),
SubResources: []swagger.ResourceType{
{
Display: "{resourceName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Quota/quotas/{resourceName}", "2023-06-01-preview"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Quota/quotas/{resourceName}", "2023-06-01-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Quota/quotas/{resourceName}", "2023-06-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Quota/quotas/{resourceName}", "2024-10-15-preview"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Quota/quotas/{resourceName}", "2024-10-15-preview"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Quota/quotas/{resourceName}", "2024-10-15-preview"),
}},
},
{
Display: "usages",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Quota/usages", "2023-06-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Quota/usages", "2024-10-15-preview"),
SubResources: []swagger.ResourceType{
{
Display: "{resourceName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Quota/usages/{resourceName}", "2023-06-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Quota/usages/{resourceName}", "2024-10-15-preview"),
}},
},
{
@@ -16530,149 +16434,149 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "operations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Cache/operations", "2024-02-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Cache/operations", "2024-10-01"),
},
{
Display: "{operationId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Cache/locations/{location}/asyncOperations/{operationId}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Cache/locations/{location}/asyncOperations/{operationId}", "2024-11-01"),
},
{
Display: "redis",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Cache/redis", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Cache/redis", "2024-11-01"),
},
{
Display: "redis",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis", "2024-11-01"),
SubResources: []swagger.ResourceType{
{
Display: "accessPolicies",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicies", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicies", "2024-11-01"),
SubResources: []swagger.ResourceType{
{
Display: "{accessPolicyName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicies/{accessPolicyName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicies/{accessPolicyName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicies/{accessPolicyName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicies/{accessPolicyName}", "2024-11-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicies/{accessPolicyName}", "2024-11-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicies/{accessPolicyName}", "2024-11-01"),
}},
},
{
Display: "accessPolicyAssignments",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicyAssignments", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicyAssignments", "2024-11-01"),
SubResources: []swagger.ResourceType{
{
Display: "{accessPolicyAssignmentName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicyAssignments/{accessPolicyAssignmentName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicyAssignments/{accessPolicyAssignmentName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicyAssignments/{accessPolicyAssignmentName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicyAssignments/{accessPolicyAssignmentName}", "2024-11-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicyAssignments/{accessPolicyAssignmentName}", "2024-11-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicyAssignments/{accessPolicyAssignmentName}", "2024-11-01"),
}},
},
{
Display: "firewallRules",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/firewallRules", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/firewallRules", "2024-11-01"),
SubResources: []swagger.ResourceType{
{
Display: "{ruleName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/firewallRules/{ruleName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/firewallRules/{ruleName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/firewallRules/{ruleName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/firewallRules/{ruleName}", "2024-11-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/firewallRules/{ruleName}", "2024-11-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/firewallRules/{ruleName}", "2024-11-01"),
}},
},
{
Display: "patchSchedules",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/patchSchedules", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/patchSchedules", "2024-11-01"),
},
{
Display: "privateEndpointConnections",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/privateEndpointConnections", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/privateEndpointConnections", "2024-11-01"),
SubResources: []swagger.ResourceType{
{
Display: "{privateEndpointConnectionName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/privateEndpointConnections/{privateEndpointConnectionName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/privateEndpointConnections/{privateEndpointConnectionName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/privateEndpointConnections/{privateEndpointConnectionName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/privateEndpointConnections/{privateEndpointConnectionName}", "2024-11-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/privateEndpointConnections/{privateEndpointConnectionName}", "2024-11-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/privateEndpointConnections/{privateEndpointConnectionName}", "2024-11-01"),
}},
},
{
Display: "privateLinkResources",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/privateLinkResources", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/privateLinkResources", "2024-11-01"),
},
{
Display: "{name}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}", "2024-11-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}", "2024-11-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}", "2024-11-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}", "2024-11-01"),
Children: []swagger.ResourceType{
{
Display: "linkedServers",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/linkedServers", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/linkedServers", "2024-11-01"),
SubResources: []swagger.ResourceType{
{
Display: "{linkedServerName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/linkedServers/{linkedServerName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/linkedServers/{linkedServerName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/linkedServers/{linkedServerName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/linkedServers/{linkedServerName}", "2024-11-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/linkedServers/{linkedServerName}", "2024-11-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/linkedServers/{linkedServerName}", "2024-11-01"),
}},
},
{
Display: "listUpgradeNotifications",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/listUpgradeNotifications", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/listUpgradeNotifications", "2024-11-01"),
}},
SubResources: []swagger.ResourceType{
{
Display: "{default}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/patchSchedules/{default}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/patchSchedules/{default}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/patchSchedules/{default}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/patchSchedules/{default}", "2024-11-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/patchSchedules/{default}", "2024-11-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/patchSchedules/{default}", "2024-11-01"),
}},
}},
},
{
Display: "{operationId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Cache/locations/{location}/operationsStatus/{operationId}", "2024-02-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Cache/locations/{location}/operationsStatus/{operationId}", "2024-10-01"),
},
{
Display: "redisEnterprise",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Cache/redisEnterprise", "2024-02-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Cache/redisEnterprise", "2024-10-01"),
},
{
Display: "redisEnterprise",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise", "2024-02-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{clusterName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}", "2024-02-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}", "2024-02-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}", "2024-02-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}", "2024-02-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}", "2024-10-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}", "2024-10-01"),
Children: []swagger.ResourceType{
{
Display: "databases",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases", "2024-02-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{databaseName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}", "2024-02-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}", "2024-02-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}", "2024-02-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}", "2024-02-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}", "2024-10-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}", "2024-10-01"),
Children: []swagger.ResourceType{},
}},
},
{
Display: "privateEndpointConnections",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateEndpointConnections", "2024-02-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateEndpointConnections", "2024-10-01"),
SubResources: []swagger.ResourceType{
{
Display: "{privateEndpointConnectionName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}", "2024-02-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}", "2024-02-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}", "2024-02-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}", "2024-10-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}", "2024-10-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}", "2024-10-01"),
}},
},
{
Display: "privateLinkResources",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateLinkResources", "2024-02-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateLinkResources", "2024-10-01"),
}},
}},
},
@@ -17033,361 +16937,84 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Search/searchServices", "2023-11-01"),
},
{
- Display: "alerts",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/alerts", "2022-01-01"),
+ Display: "privateLinkServicesForEDMUpload",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload", "2021-03-08"),
},
{
- Display: "alertsSuppressionRules",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/alertsSuppressionRules", "2019-01-01-preview"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{alertsSuppressionRuleName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/alertsSuppressionRules/{alertsSuppressionRuleName}", "2019-01-01-preview"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/alertsSuppressionRules/{alertsSuppressionRuleName}", "2019-01-01-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/alertsSuppressionRules/{alertsSuppressionRuleName}", "2019-01-01-preview"),
- }},
+ Display: "privateLinkServicesForM365ComplianceCenter",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter", "2021-03-08"),
+ },
+ {
+ Display: "privateLinkServicesForM365SecurityCenter",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter", "2021-03-08"),
+ },
+ {
+ Display: "privateLinkServicesForMIPPolicySync",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForMIPPolicySync", "2021-03-08"),
+ },
+ {
+ Display: "privateLinkServicesForO365ManagementActivityAPI",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI", "2021-03-08"),
+ },
+ {
+ Display: "privateLinkServicesForSCCPowershell",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell", "2021-03-08"),
+ },
+ {
+ Display: "namespaces",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.ServiceBus/namespaces", "2024-01-01"),
},
{
- Display: "allowedConnections",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/allowedConnections", "2020-01-01"),
+ Display: "clusters",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/clusters", "2021-06-01"),
},
{
- Display: "apiCollections",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/apiCollections", "2023-11-15"),
+ Display: "managedClusters",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/managedClusters", "2024-09-01-preview"),
},
{
Display: "applications",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/applications", "2022-07-01-preview"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{applicationId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/applications/{applicationId}", "2022-07-01-preview"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/applications/{applicationId}", "2022-07-01-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/applications/{applicationId}", "2022-07-01-preview"),
- }},
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabricMesh/applications", "2018-09-01-preview"),
},
{
- Display: "assessmentMetadata",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/assessmentMetadata", "2021-06-01"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{assessmentMetadataName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/assessmentMetadata/{assessmentMetadataName}", "2021-06-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/assessmentMetadata/{assessmentMetadataName}", "2021-06-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/assessmentMetadata/{assessmentMetadataName}", "2021-06-01"),
- }},
+ Display: "gateways",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabricMesh/gateways", "2018-09-01-preview"),
},
{
- Display: "autoProvisioningSettings",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/autoProvisioningSettings", "2017-08-01-preview"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{settingName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/autoProvisioningSettings/{settingName}", "2017-08-01-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/autoProvisioningSettings/{settingName}", "2017-08-01-preview"),
- }},
+ Display: "networks",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabricMesh/networks", "2018-09-01-preview"),
},
{
- Display: "automations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/automations", "2023-12-01-preview"),
+ Display: "secrets",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabricMesh/secrets", "2018-09-01-preview"),
},
{
- Display: "connectors",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/connectors", "2020-01-01-preview"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{connectorName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/connectors/{connectorName}", "2020-01-01-preview"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/connectors/{connectorName}", "2020-01-01-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/connectors/{connectorName}", "2020-01-01-preview"),
- }},
+ Display: "volumes",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabricMesh/volumes", "2018-09-01-preview"),
},
{
- Display: "customAssessmentAutomations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/customAssessmentAutomations", "2021-07-01-preview"),
+ Display: "signalR",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.SignalRService/signalR", "2024-10-01-preview"),
},
{
- Display: "customEntityStoreAssignments",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/customEntityStoreAssignments", "2021-07-01-preview"),
+ Display: "deletedServers",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Sql/deletedServers", "2020-11-01-preview"),
},
{
- Display: "discoveredSecuritySolutions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/discoveredSecuritySolutions", "2020-01-01"),
+ Display: "instancePools",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Sql/instancePools", "2023-05-01-preview"),
},
{
- Display: "externalSecuritySolutions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/externalSecuritySolutions", "2020-01-01"),
+ Display: "managedInstances",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Sql/managedInstances", "2023-05-01-preview"),
},
{
- Display: "iotSecuritySolutions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/iotSecuritySolutions", "2019-08-01"),
+ Display: "servers",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Sql/servers", "2023-05-01-preview"),
},
{
- Display: "jitNetworkAccessPolicies",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/jitNetworkAccessPolicies", "2020-01-01"),
- },
- {
- Display: "locations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations", "2015-06-01-preview"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{ascLocation}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}", "2015-06-01-preview"),
- Children: []swagger.ResourceType{
- {
- Display: "ExternalSecuritySolutions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/ExternalSecuritySolutions", "2020-01-01"),
- },
- {
- Display: "alerts",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts", "2022-01-01"),
- Children: []swagger.ResourceType{},
- SubResources: []swagger.ResourceType{
- {
- Display: "{alertName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}", "2022-01-01"),
- Children: []swagger.ResourceType{},
- }},
- },
- {
- Display: "allowedConnections",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/allowedConnections", "2020-01-01"),
- },
- {
- Display: "discoveredSecuritySolutions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/discoveredSecuritySolutions", "2020-01-01"),
- },
- {
- Display: "jitNetworkAccessPolicies",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/jitNetworkAccessPolicies", "2020-01-01"),
- },
- {
- Display: "securitySolutionsReferenceData",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/securitySolutionsReferenceData", "2020-01-01"),
- },
- {
- Display: "tasks",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/tasks", "2015-06-01-preview"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{taskName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/tasks/{taskName}", "2015-06-01-preview"),
- SubResources: []swagger.ResourceType{},
- }},
- },
- {
- Display: "topologies",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/topologies", "2020-01-01"),
- }},
- }},
- },
- {
- Display: "mdeOnboardings",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/mdeOnboardings", "2021-10-01-preview"),
- Children: []swagger.ResourceType{
- {
- Display: "default",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/mdeOnboardings/default", "2021-10-01-preview"),
- }},
- },
- {
- Display: "regulatoryComplianceStandards",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/regulatoryComplianceStandards", "2019-01-01-preview"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{regulatoryComplianceStandardName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/regulatoryComplianceStandards/{regulatoryComplianceStandardName}", "2019-01-01-preview"),
- Children: []swagger.ResourceType{
- {
- Display: "regulatoryComplianceControls",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/regulatoryComplianceStandards/{regulatoryComplianceStandardName}/regulatoryComplianceControls", "2019-01-01-preview"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{regulatoryComplianceControlName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/regulatoryComplianceStandards/{regulatoryComplianceStandardName}/regulatoryComplianceControls/{regulatoryComplianceControlName}", "2019-01-01-preview"),
- Children: []swagger.ResourceType{
- {
- Display: "regulatoryComplianceAssessments",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/regulatoryComplianceStandards/{regulatoryComplianceStandardName}/regulatoryComplianceControls/{regulatoryComplianceControlName}/regulatoryComplianceAssessments", "2019-01-01-preview"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{regulatoryComplianceAssessmentName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/regulatoryComplianceStandards/{regulatoryComplianceStandardName}/regulatoryComplianceControls/{regulatoryComplianceControlName}/regulatoryComplianceAssessments/{regulatoryComplianceAssessmentName}", "2019-01-01-preview"),
- }},
- }},
- }},
- }},
- }},
- },
- {
- Display: "secureScoreControlDefinitions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/secureScoreControlDefinitions", "2020-01-01"),
- },
- {
- Display: "secureScoreControls",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/secureScoreControls", "2020-01-01"),
- },
- {
- Display: "secureScores",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/secureScores", "2020-01-01"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{secureScoreName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/secureScores/{secureScoreName}", "2020-01-01"),
- Children: []swagger.ResourceType{
- {
- Display: "secureScoreControls",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/secureScores/{secureScoreName}/secureScoreControls", "2020-01-01"),
- }},
- }},
- },
- {
- Display: "securityConnectors",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/securityConnectors", "2024-03-01-preview"),
- },
- {
- Display: "securityContacts",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/securityContacts", "2023-12-01-preview"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{securityContactName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/securityContacts/{securityContactName}", "2023-12-01-preview"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/securityContacts/{securityContactName}", "2023-12-01-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/securityContacts/{securityContactName}", "2023-12-01-preview"),
- }},
- },
- {
- Display: "securitySolutions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/securitySolutions", "2020-01-01"),
- },
- {
- Display: "securitySolutionsReferenceData",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/securitySolutionsReferenceData", "2020-01-01"),
- },
- {
- Display: "serverVulnerabilityAssessmentsSettings",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/serverVulnerabilityAssessmentsSettings", "2023-05-01"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{settingKind}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/serverVulnerabilityAssessmentsSettings/{settingKind}", "2023-05-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/serverVulnerabilityAssessmentsSettings/{settingKind}", "2023-05-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/serverVulnerabilityAssessmentsSettings/{settingKind}", "2023-05-01"),
- }},
- },
- {
- Display: "settings",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/settings", "2022-05-01"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{settingName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/settings/{settingName}", "2022-05-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/settings/{settingName}", "2022-05-01"),
- }},
- },
- {
- Display: "softwareInventories",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/softwareInventories", "2021-05-01-preview"),
- },
- {
- Display: "tasks",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/tasks", "2015-06-01-preview"),
- },
- {
- Display: "topologies",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/topologies", "2020-01-01"),
- },
- {
- Display: "workspaceSettings",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/workspaceSettings", "2017-08-01-preview"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{workspaceSettingName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/workspaceSettings/{workspaceSettingName}", "2017-08-01-preview"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/workspaceSettings/{workspaceSettingName}", "2017-08-01-preview"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/workspaceSettings/{workspaceSettingName}", "2017-08-01-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/workspaceSettings/{workspaceSettingName}", "2017-08-01-preview"),
- }},
- },
- {
- Display: "privateLinkServicesForEDMUpload",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload", "2021-03-08"),
- },
- {
- Display: "privateLinkServicesForM365ComplianceCenter",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter", "2021-03-08"),
- },
- {
- Display: "privateLinkServicesForM365SecurityCenter",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter", "2021-03-08"),
- },
- {
- Display: "privateLinkServicesForMIPPolicySync",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForMIPPolicySync", "2021-03-08"),
- },
- {
- Display: "privateLinkServicesForO365ManagementActivityAPI",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI", "2021-03-08"),
- },
- {
- Display: "privateLinkServicesForSCCPowershell",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell", "2021-03-08"),
- },
- {
- Display: "namespaces",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.ServiceBus/namespaces", "2024-01-01"),
- },
- {
- Display: "clusters",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/clusters", "2021-06-01"),
- },
- {
- Display: "managedClusters",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/managedClusters", "2024-06-01-preview"),
- },
- {
- Display: "applications",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabricMesh/applications", "2018-09-01-preview"),
- },
- {
- Display: "gateways",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabricMesh/gateways", "2018-09-01-preview"),
- },
- {
- Display: "networks",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabricMesh/networks", "2018-09-01-preview"),
- },
- {
- Display: "secrets",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabricMesh/secrets", "2018-09-01-preview"),
- },
- {
- Display: "volumes",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabricMesh/volumes", "2018-09-01-preview"),
- },
- {
- Display: "signalR",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.SignalRService/signalR", "2024-08-01-preview"),
- },
- {
- Display: "deletedServers",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Sql/deletedServers", "2020-11-01-preview"),
- },
- {
- Display: "instancePools",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Sql/instancePools", "2023-05-01-preview"),
- },
- {
- Display: "managedInstances",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Sql/managedInstances", "2023-05-01-preview"),
- },
- {
- Display: "servers",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Sql/servers", "2023-05-01-preview"),
- },
- {
- Display: "virtualClusters",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Sql/virtualClusters", "2022-05-01-preview"),
+ Display: "virtualClusters",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Sql/virtualClusters", "2022-05-01-preview"),
},
{
Display: "sqlVirtualMachineGroups",
@@ -17739,314 +17366,6 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
SubResources: []swagger.ResourceType{},
}},
},
- {
- Display: "securityOperators",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/pricings/{pricingName}/securityOperators", "2023-01-01-preview"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{securityOperatorName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/pricings/{pricingName}/securityOperators/{securityOperatorName}", "2023-01-01-preview"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/pricings/{pricingName}/securityOperators/{securityOperatorName}", "2023-01-01-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.Security/pricings/{pricingName}/securityOperators/{securityOperatorName}", "2023-01-01-preview"),
- }},
- },
- {
- Display: "alerts",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/alerts", "2022-01-01"),
- },
- {
- Display: "apiCollections",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/apiCollections", "2023-11-15"),
- },
- {
- Display: "automations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/automations", "2023-12-01-preview"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{automationName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/automations/{automationName}", "2023-12-01-preview"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/automations/{automationName}", "2023-12-01-preview"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/automations/{automationName}", "2023-12-01-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/automations/{automationName}", "2023-12-01-preview"),
- Children: []swagger.ResourceType{},
- }},
- },
- {
- Display: "iotSecuritySolutions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions", "2019-08-01"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{solutionName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}", "2019-08-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}", "2019-08-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}", "2019-08-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}", "2019-08-01"),
- Children: []swagger.ResourceType{
- {
- Display: "analyticsModels",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels", "2019-08-01"),
- Children: []swagger.ResourceType{
- {
- Display: "default",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default", "2019-08-01"),
- Children: []swagger.ResourceType{
- {
- Display: "aggregatedAlerts",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedAlerts", "2019-08-01"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{aggregatedAlertName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedAlerts/{aggregatedAlertName}", "2019-08-01"),
- Children: []swagger.ResourceType{},
- }},
- },
- {
- Display: "aggregatedRecommendations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedRecommendations", "2019-08-01"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{aggregatedRecommendationName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedRecommendations/{aggregatedRecommendationName}", "2019-08-01"),
- }},
- }},
- }},
- }},
- }},
- },
- {
- Display: "jitNetworkAccessPolicies",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/jitNetworkAccessPolicies", "2020-01-01"),
- },
- {
- Display: "{externalSecuritySolutionsName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/ExternalSecuritySolutions/{externalSecuritySolutionsName}", "2020-01-01"),
- },
- {
- Display: "alerts",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts", "2022-01-01"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{alertName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}", "2022-01-01"),
- Children: []swagger.ResourceType{},
- }},
- },
- {
- Display: "{connectionType}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/allowedConnections/{connectionType}", "2020-01-01"),
- },
- {
- Display: "{discoveredSecuritySolutionName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/discoveredSecuritySolutions/{discoveredSecuritySolutionName}", "2020-01-01"),
- },
- {
- Display: "jitNetworkAccessPolicies",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/jitNetworkAccessPolicies", "2020-01-01"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{jitNetworkAccessPolicyName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/jitNetworkAccessPolicies/{jitNetworkAccessPolicyName}", "2020-01-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/jitNetworkAccessPolicies/{jitNetworkAccessPolicyName}", "2020-01-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/jitNetworkAccessPolicies/{jitNetworkAccessPolicyName}", "2020-01-01"),
- SubResources: []swagger.ResourceType{},
- }},
- },
- {
- Display: "{securitySolutionName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/securitySolutions/{securitySolutionName}", "2020-01-01"),
- },
- {
- Display: "tasks",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/tasks", "2015-06-01-preview"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{taskName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/tasks/{taskName}", "2015-06-01-preview"),
- SubResources: []swagger.ResourceType{},
- }},
- },
- {
- Display: "{topologyResourceName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/topologies/{topologyResourceName}", "2020-01-01"),
- },
- {
- Display: "securityConnectors",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors", "2024-03-01-preview"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{securityConnectorName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}", "2024-03-01-preview"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}", "2024-03-01-preview"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}", "2024-03-01-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}", "2024-03-01-preview"),
- Children: []swagger.ResourceType{
- {
- Display: "devops",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops", "2024-05-15-preview"),
- Children: []swagger.ResourceType{
- {
- Display: "default",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default", "2024-05-15-preview"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default", "2024-05-15-preview"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default", "2024-05-15-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default", "2024-05-15-preview"),
- Children: []swagger.ResourceType{
- {
- Display: "azureDevOpsOrgs",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/azureDevOpsOrgs", "2024-05-15-preview"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{orgName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/azureDevOpsOrgs/{orgName}", "2024-05-15-preview"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/azureDevOpsOrgs/{orgName}", "2024-05-15-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/azureDevOpsOrgs/{orgName}", "2024-05-15-preview"),
- Children: []swagger.ResourceType{
- {
- Display: "projects",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/azureDevOpsOrgs/{orgName}/projects", "2024-05-15-preview"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{projectName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/azureDevOpsOrgs/{orgName}/projects/{projectName}", "2024-05-15-preview"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/azureDevOpsOrgs/{orgName}/projects/{projectName}", "2024-05-15-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/azureDevOpsOrgs/{orgName}/projects/{projectName}", "2024-05-15-preview"),
- Children: []swagger.ResourceType{
- {
- Display: "repos",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/azureDevOpsOrgs/{orgName}/projects/{projectName}/repos", "2024-05-15-preview"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{repoName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/azureDevOpsOrgs/{orgName}/projects/{projectName}/repos/{repoName}", "2024-05-15-preview"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/azureDevOpsOrgs/{orgName}/projects/{projectName}/repos/{repoName}", "2024-05-15-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/azureDevOpsOrgs/{orgName}/projects/{projectName}/repos/{repoName}", "2024-05-15-preview"),
- }},
- }},
- }},
- }},
- }},
- },
- {
- Display: "gitHubOwners",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/gitHubOwners", "2024-05-15-preview"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{ownerName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/gitHubOwners/{ownerName}", "2024-05-15-preview"),
- Children: []swagger.ResourceType{
- {
- Display: "repos",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/gitHubOwners/{ownerName}/repos", "2024-05-15-preview"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{repoName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/gitHubOwners/{ownerName}/repos/{repoName}", "2024-05-15-preview"),
- }},
- }},
- }},
- },
- {
- Display: "gitLabGroups",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/gitLabGroups", "2024-05-15-preview"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{groupFQName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/gitLabGroups/{groupFQName}", "2024-05-15-preview"),
- Children: []swagger.ResourceType{
- {
- Display: "projects",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/gitLabGroups/{groupFQName}/projects", "2024-05-15-preview"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{projectName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/gitLabGroups/{groupFQName}/projects/{projectName}", "2024-05-15-preview"),
- }},
- }},
- }},
- },
- {
- Display: "policies",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/policies", "2024-05-15-preview"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{policyName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/policies/{policyName}", "2024-05-15-preview"),
- }},
- },
- {
- Display: "policyAssignments",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/policyAssignments", "2024-05-15-preview"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{policyAssignmentId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/policyAssignments/{policyAssignmentId}", "2024-05-15-preview"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/policyAssignments/{policyAssignmentId}", "2024-05-15-preview"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/policyAssignments/{policyAssignmentId}", "2024-05-15-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/policyAssignments/{policyAssignmentId}", "2024-05-15-preview"),
- }},
- }},
- SubResources: []swagger.ResourceType{
- {
- Display: "{operationResultId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/operationResults/{operationResultId}", "2024-05-15-preview"),
- }},
- }},
- },
- {
- Display: "applications",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/providers/Microsoft.Security/applications", "2022-07-01-preview"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{applicationId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/providers/Microsoft.Security/applications/{applicationId}", "2022-07-01-preview"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/providers/Microsoft.Security/applications/{applicationId}", "2022-07-01-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/providers/Microsoft.Security/applications/{applicationId}", "2022-07-01-preview"),
- }},
- }},
- }},
- },
- {
- Display: "serverVulnerabilityAssessments",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Security/serverVulnerabilityAssessments", "2020-01-01"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{serverVulnerabilityAssessment}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Security/serverVulnerabilityAssessments/{serverVulnerabilityAssessment}", "2020-01-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Security/serverVulnerabilityAssessments/{serverVulnerabilityAssessment}", "2020-01-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Security/serverVulnerabilityAssessments/{serverVulnerabilityAssessment}", "2020-01-01"),
- }},
- },
- {
- Display: "softwareInventories",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Security/softwareInventories", "2021-05-01-preview"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{softwareName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Security/softwareInventories/{softwareName}", "2021-05-01-preview"),
- }},
- },
- {
- Display: "customAssessmentAutomations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customAssessmentAutomations", "2021-07-01-preview"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{customAssessmentAutomationName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customAssessmentAutomations/{customAssessmentAutomationName}", "2021-07-01-preview"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customAssessmentAutomations/{customAssessmentAutomationName}", "2021-07-01-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customAssessmentAutomations/{customAssessmentAutomationName}", "2021-07-01-preview"),
- }},
- },
- {
- Display: "customEntityStoreAssignments",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customEntityStoreAssignments", "2021-07-01-preview"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{customEntityStoreAssignmentName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customEntityStoreAssignments/{customEntityStoreAssignmentName}", "2021-07-01-preview"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customEntityStoreAssignments/{customEntityStoreAssignmentName}", "2021-07-01-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customEntityStoreAssignments/{customEntityStoreAssignmentName}", "2021-07-01-preview"),
- }},
- },
{
Display: "{operationResultId}",
Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/locations/{locationName}/operationresults/{operationResultId}", "2021-03-08"),
@@ -18251,233 +17570,244 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "alertRuleTemplates",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRuleTemplates", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRuleTemplates", "2024-09-01"),
SubResources: []swagger.ResourceType{
{
Display: "{alertRuleTemplateId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRuleTemplates/{alertRuleTemplateId}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRuleTemplates/{alertRuleTemplateId}", "2024-09-01"),
}},
},
{
Display: "alertRules",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules", "2024-09-01"),
SubResources: []swagger.ResourceType{
{
Display: "{ruleId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}", "2024-09-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}", "2024-09-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}", "2024-09-01"),
Children: []swagger.ResourceType{
{
Display: "actions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions", "2024-09-01"),
SubResources: []swagger.ResourceType{
{
Display: "{actionId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions/{actionId}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions/{actionId}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions/{actionId}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions/{actionId}", "2024-09-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions/{actionId}", "2024-09-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions/{actionId}", "2024-09-01"),
}},
}},
}},
},
{
Display: "automationRules",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/automationRules", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/automationRules", "2024-09-01"),
SubResources: []swagger.ResourceType{
{
Display: "{automationRuleId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/automationRules/{automationRuleId}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/automationRules/{automationRuleId}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/automationRules/{automationRuleId}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/automationRules/{automationRuleId}", "2024-09-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/automationRules/{automationRuleId}", "2024-09-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/automationRules/{automationRuleId}", "2024-09-01"),
}},
},
{
Display: "bookmarks",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks", "2024-09-01"),
SubResources: []swagger.ResourceType{
{
Display: "{bookmarkId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}", "2024-09-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}", "2024-09-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}", "2024-09-01"),
}},
},
{
Display: "contentPackages",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentPackages", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentPackages", "2024-09-01"),
SubResources: []swagger.ResourceType{
{
Display: "{packageId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentPackages/{packageId}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentPackages/{packageId}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentPackages/{packageId}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentPackages/{packageId}", "2024-09-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentPackages/{packageId}", "2024-09-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentPackages/{packageId}", "2024-09-01"),
}},
},
{
Display: "contentProductPackages",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentProductPackages", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentProductPackages", "2024-09-01"),
SubResources: []swagger.ResourceType{
{
Display: "{packageId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentProductPackages/{packageId}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentProductPackages/{packageId}", "2024-09-01"),
}},
},
{
Display: "contentProductTemplates",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentProductTemplates", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentProductTemplates", "2024-09-01"),
},
{
Display: "contentTemplates",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentTemplates", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentTemplates", "2024-09-01"),
SubResources: []swagger.ResourceType{
{
Display: "{templateId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentTemplates/{templateId}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentTemplates/{templateId}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentTemplates/{templateId}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentTemplates/{templateId}", "2024-09-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentTemplates/{templateId}", "2024-09-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentTemplates/{templateId}", "2024-09-01"),
}},
},
{
Display: "{templateId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentproducttemplates/{templateId}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentproducttemplates/{templateId}", "2024-09-01"),
+ },
+ {
+ Display: "dataConnectorDefinitions",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectorDefinitions", "2024-09-01"),
+ SubResources: []swagger.ResourceType{
+ {
+ Display: "{dataConnectorDefinitionName}",
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectorDefinitions/{dataConnectorDefinitionName}", "2024-09-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectorDefinitions/{dataConnectorDefinitionName}", "2024-09-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectorDefinitions/{dataConnectorDefinitionName}", "2024-09-01"),
+ }},
},
{
Display: "dataConnectors",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectors", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectors", "2024-09-01"),
SubResources: []swagger.ResourceType{
{
Display: "{dataConnectorId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectors/{dataConnectorId}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectors/{dataConnectorId}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectors/{dataConnectorId}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectors/{dataConnectorId}", "2024-09-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectors/{dataConnectorId}", "2024-09-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectors/{dataConnectorId}", "2024-09-01"),
}},
},
{
Display: "incidents",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents", "2024-09-01"),
SubResources: []swagger.ResourceType{
{
Display: "{incidentId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}", "2024-09-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}", "2024-09-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}", "2024-09-01"),
Children: []swagger.ResourceType{
{
Display: "comments",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/comments", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/comments", "2024-09-01"),
SubResources: []swagger.ResourceType{
{
Display: "{incidentCommentId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/comments/{incidentCommentId}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/comments/{incidentCommentId}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/comments/{incidentCommentId}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/comments/{incidentCommentId}", "2024-09-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/comments/{incidentCommentId}", "2024-09-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/comments/{incidentCommentId}", "2024-09-01"),
}},
},
{
Display: "relations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/relations", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/relations", "2024-09-01"),
SubResources: []swagger.ResourceType{
{
Display: "{relationName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/relations/{relationName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/relations/{relationName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/relations/{relationName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/relations/{relationName}", "2024-09-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/relations/{relationName}", "2024-09-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/relations/{relationName}", "2024-09-01"),
}},
},
{
Display: "tasks",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/tasks", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/tasks", "2024-09-01"),
SubResources: []swagger.ResourceType{
{
Display: "{incidentTaskId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/tasks/{incidentTaskId}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/tasks/{incidentTaskId}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/tasks/{incidentTaskId}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/tasks/{incidentTaskId}", "2024-09-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/tasks/{incidentTaskId}", "2024-09-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/tasks/{incidentTaskId}", "2024-09-01"),
}},
}},
}},
},
{
Display: "metadata",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/metadata", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/metadata", "2024-09-01"),
SubResources: []swagger.ResourceType{
{
Display: "{metadataName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/metadata/{metadataName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/metadata/{metadataName}", "2024-03-01"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/metadata/{metadataName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/metadata/{metadataName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/metadata/{metadataName}", "2024-09-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/metadata/{metadataName}", "2024-09-01"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/metadata/{metadataName}", "2024-09-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/metadata/{metadataName}", "2024-09-01"),
}},
},
{
Display: "onboardingStates",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/onboardingStates", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/onboardingStates", "2024-09-01"),
SubResources: []swagger.ResourceType{
{
Display: "{sentinelOnboardingStateName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/onboardingStates/{sentinelOnboardingStateName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/onboardingStates/{sentinelOnboardingStateName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/onboardingStates/{sentinelOnboardingStateName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/onboardingStates/{sentinelOnboardingStateName}", "2024-09-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/onboardingStates/{sentinelOnboardingStateName}", "2024-09-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/onboardingStates/{sentinelOnboardingStateName}", "2024-09-01"),
}},
},
{
Display: "securityMLAnalyticsSettings",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/securityMLAnalyticsSettings", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/securityMLAnalyticsSettings", "2024-09-01"),
SubResources: []swagger.ResourceType{
{
Display: "{settingsResourceName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/securityMLAnalyticsSettings/{settingsResourceName}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/securityMLAnalyticsSettings/{settingsResourceName}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/securityMLAnalyticsSettings/{settingsResourceName}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/securityMLAnalyticsSettings/{settingsResourceName}", "2024-09-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/securityMLAnalyticsSettings/{settingsResourceName}", "2024-09-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/securityMLAnalyticsSettings/{settingsResourceName}", "2024-09-01"),
}},
},
{
Display: "sourcecontrols",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols", "2024-09-01"),
SubResources: []swagger.ResourceType{
{
Display: "{sourceControlId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols/{sourceControlId}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols/{sourceControlId}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols/{sourceControlId}", "2024-09-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols/{sourceControlId}", "2024-09-01"),
Children: []swagger.ResourceType{},
}},
},
{
Display: "indicators",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators", "2024-09-01"),
SubResources: []swagger.ResourceType{
{
Display: "{name}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators/{name}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators/{name}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators/{name}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators/{name}", "2024-09-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators/{name}", "2024-09-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators/{name}", "2024-09-01"),
Children: []swagger.ResourceType{},
}},
},
{
Display: "metrics",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/metrics", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/metrics", "2024-09-01"),
},
{
Display: "watchlists",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists", "2024-09-01"),
SubResources: []swagger.ResourceType{
{
Display: "{watchlistAlias}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}", "2024-09-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}", "2024-09-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}", "2024-09-01"),
Children: []swagger.ResourceType{
{
Display: "watchlistItems",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}/watchlistItems", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}/watchlistItems", "2024-09-01"),
SubResources: []swagger.ResourceType{
{
Display: "{watchlistItemId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}/watchlistItems/{watchlistItemId}", "2024-03-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}/watchlistItems/{watchlistItemId}", "2024-03-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}/watchlistItems/{watchlistItemId}", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}/watchlistItems/{watchlistItemId}", "2024-09-01"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}/watchlistItems/{watchlistItemId}", "2024-09-01"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}/watchlistItems/{watchlistItemId}", "2024-09-01"),
}},
}},
}},
@@ -18812,64 +18142,64 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "managedClusterVersions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/environments/{environment}/managedClusterVersions", "2024-06-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/environments/{environment}/managedClusterVersions", "2024-09-01-preview"),
SubResources: []swagger.ResourceType{
{
Display: "{clusterVersion}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/environments/{environment}/managedClusterVersions/{clusterVersion}", "2024-06-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/environments/{environment}/managedClusterVersions/{clusterVersion}", "2024-09-01-preview"),
}},
},
{
Display: "{operationId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/managedClusterOperationResults/{operationId}", "2024-06-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/managedClusterOperationResults/{operationId}", "2024-09-01-preview"),
},
{
Display: "{operationId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/managedClusterOperations/{operationId}", "2024-06-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/managedClusterOperations/{operationId}", "2024-09-01-preview"),
},
{
Display: "managedClusterVersions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/managedClusterVersions", "2024-06-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/managedClusterVersions", "2024-09-01-preview"),
SubResources: []swagger.ResourceType{
{
Display: "{clusterVersion}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/managedClusterVersions/{clusterVersion}", "2024-06-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/managedClusterVersions/{clusterVersion}", "2024-09-01-preview"),
}},
},
{
Display: "managedUnsupportedVMSizes",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/managedUnsupportedVMSizes", "2024-06-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/managedUnsupportedVMSizes", "2024-09-01-preview"),
SubResources: []swagger.ResourceType{
{
Display: "{vmSize}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/managedUnsupportedVMSizes/{vmSize}", "2024-06-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/managedUnsupportedVMSizes/{vmSize}", "2024-09-01-preview"),
}},
},
{
Display: "managedClusters",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters", "2024-06-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters", "2024-09-01-preview"),
SubResources: []swagger.ResourceType{
{
Display: "{clusterName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}", "2024-06-01-preview"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}", "2024-06-01-preview"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}", "2024-06-01-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}", "2024-06-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}", "2024-09-01-preview"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}", "2024-09-01-preview"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}", "2024-09-01-preview"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}", "2024-09-01-preview"),
Children: []swagger.ResourceType{
{
Display: "nodeTypes",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes", "2024-06-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes", "2024-09-01-preview"),
SubResources: []swagger.ResourceType{
{
Display: "{nodeTypeName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}", "2024-06-01-preview"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}", "2024-06-01-preview"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}", "2024-06-01-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}", "2024-06-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}", "2024-09-01-preview"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}", "2024-09-01-preview"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}", "2024-09-01-preview"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}", "2024-09-01-preview"),
Children: []swagger.ResourceType{
{
Display: "skus",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/skus", "2024-06-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/skus", "2024-09-01-preview"),
}},
}},
}},
@@ -18878,50 +18208,50 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "applicationTypes",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applicationTypes", "2024-06-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applicationTypes", "2024-09-01-preview"),
SubResources: []swagger.ResourceType{
{
Display: "{applicationTypeName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applicationTypes/{applicationTypeName}", "2024-06-01-preview"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applicationTypes/{applicationTypeName}", "2024-06-01-preview"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applicationTypes/{applicationTypeName}", "2024-06-01-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applicationTypes/{applicationTypeName}", "2024-06-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applicationTypes/{applicationTypeName}", "2024-09-01-preview"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applicationTypes/{applicationTypeName}", "2024-09-01-preview"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applicationTypes/{applicationTypeName}", "2024-09-01-preview"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applicationTypes/{applicationTypeName}", "2024-09-01-preview"),
Children: []swagger.ResourceType{
{
Display: "versions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applicationTypes/{applicationTypeName}/versions", "2024-06-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applicationTypes/{applicationTypeName}/versions", "2024-09-01-preview"),
SubResources: []swagger.ResourceType{
{
Display: "{version}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applicationTypes/{applicationTypeName}/versions/{version}", "2024-06-01-preview"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applicationTypes/{applicationTypeName}/versions/{version}", "2024-06-01-preview"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applicationTypes/{applicationTypeName}/versions/{version}", "2024-06-01-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applicationTypes/{applicationTypeName}/versions/{version}", "2024-06-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applicationTypes/{applicationTypeName}/versions/{version}", "2024-09-01-preview"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applicationTypes/{applicationTypeName}/versions/{version}", "2024-09-01-preview"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applicationTypes/{applicationTypeName}/versions/{version}", "2024-09-01-preview"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applicationTypes/{applicationTypeName}/versions/{version}", "2024-09-01-preview"),
}},
}},
}},
},
{
Display: "applications",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applications", "2024-06-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applications", "2024-09-01-preview"),
SubResources: []swagger.ResourceType{
{
Display: "{applicationName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applications/{applicationName}", "2024-06-01-preview"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applications/{applicationName}", "2024-06-01-preview"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applications/{applicationName}", "2024-06-01-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applications/{applicationName}", "2024-06-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applications/{applicationName}", "2024-09-01-preview"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applications/{applicationName}", "2024-09-01-preview"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applications/{applicationName}", "2024-09-01-preview"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applications/{applicationName}", "2024-09-01-preview"),
Children: []swagger.ResourceType{
{
Display: "services",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applications/{applicationName}/services", "2024-06-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applications/{applicationName}/services", "2024-09-01-preview"),
SubResources: []swagger.ResourceType{
{
Display: "{serviceName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applications/{applicationName}/services/{serviceName}", "2024-06-01-preview"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applications/{applicationName}/services/{serviceName}", "2024-06-01-preview"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applications/{applicationName}/services/{serviceName}", "2024-06-01-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applications/{applicationName}/services/{serviceName}", "2024-06-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applications/{applicationName}/services/{serviceName}", "2024-09-01-preview"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applications/{applicationName}/services/{serviceName}", "2024-09-01-preview"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applications/{applicationName}/services/{serviceName}", "2024-09-01-preview"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applications/{applicationName}/services/{serviceName}", "2024-09-01-preview"),
}},
}},
}},
@@ -19025,93 +18355,93 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "signalR",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR", "2024-08-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR", "2024-10-01-preview"),
SubResources: []swagger.ResourceType{
{
Display: "{resourceName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}", "2024-08-01-preview"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}", "2024-08-01-preview"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}", "2024-08-01-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}", "2024-08-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}", "2024-10-01-preview"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}", "2024-10-01-preview"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}", "2024-10-01-preview"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}", "2024-10-01-preview"),
Children: []swagger.ResourceType{
{
Display: "customCertificates",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/customCertificates", "2024-08-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/customCertificates", "2024-10-01-preview"),
SubResources: []swagger.ResourceType{
{
Display: "{certificateName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/customCertificates/{certificateName}", "2024-08-01-preview"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/customCertificates/{certificateName}", "2024-08-01-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/customCertificates/{certificateName}", "2024-08-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/customCertificates/{certificateName}", "2024-10-01-preview"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/customCertificates/{certificateName}", "2024-10-01-preview"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/customCertificates/{certificateName}", "2024-10-01-preview"),
}},
},
{
Display: "customDomains",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/customDomains", "2024-08-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/customDomains", "2024-10-01-preview"),
SubResources: []swagger.ResourceType{
{
Display: "{name}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/customDomains/{name}", "2024-08-01-preview"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/customDomains/{name}", "2024-08-01-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/customDomains/{name}", "2024-08-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/customDomains/{name}", "2024-10-01-preview"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/customDomains/{name}", "2024-10-01-preview"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/customDomains/{name}", "2024-10-01-preview"),
}},
},
{
Display: "privateEndpointConnections",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/privateEndpointConnections", "2024-08-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/privateEndpointConnections", "2024-10-01-preview"),
SubResources: []swagger.ResourceType{
{
Display: "{privateEndpointConnectionName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}", "2024-08-01-preview"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}", "2024-08-01-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}", "2024-08-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}", "2024-10-01-preview"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}", "2024-10-01-preview"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}", "2024-10-01-preview"),
}},
},
{
Display: "privateLinkResources",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/privateLinkResources", "2024-08-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/privateLinkResources", "2024-10-01-preview"),
},
{
Display: "replicas",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/replicas", "2024-08-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/replicas", "2024-10-01-preview"),
SubResources: []swagger.ResourceType{
{
Display: "{replicaName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/replicas/{replicaName}", "2024-08-01-preview"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/replicas/{replicaName}", "2024-08-01-preview"),
- PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/replicas/{replicaName}", "2024-08-01-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/replicas/{replicaName}", "2024-08-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/replicas/{replicaName}", "2024-10-01-preview"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/replicas/{replicaName}", "2024-10-01-preview"),
+ PatchEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/replicas/{replicaName}", "2024-10-01-preview"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/replicas/{replicaName}", "2024-10-01-preview"),
Children: []swagger.ResourceType{
{
Display: "sharedPrivateLinkResources",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/replicas/{replicaName}/sharedPrivateLinkResources", "2024-08-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/replicas/{replicaName}/sharedPrivateLinkResources", "2024-10-01-preview"),
SubResources: []swagger.ResourceType{
{
Display: "{sharedPrivateLinkResourceName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/replicas/{replicaName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}", "2024-08-01-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/replicas/{replicaName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}", "2024-08-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/replicas/{replicaName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}", "2024-10-01-preview"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/replicas/{replicaName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}", "2024-10-01-preview"),
}},
},
{
Display: "skus",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/replicas/{replicaName}/skus", "2024-08-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/replicas/{replicaName}/skus", "2024-10-01-preview"),
}},
}},
},
{
Display: "sharedPrivateLinkResources",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/sharedPrivateLinkResources", "2024-08-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/sharedPrivateLinkResources", "2024-10-01-preview"),
SubResources: []swagger.ResourceType{
{
Display: "{sharedPrivateLinkResourceName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}", "2024-08-01-preview"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}", "2024-08-01-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}", "2024-08-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}", "2024-10-01-preview"),
+ DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}", "2024-10-01-preview"),
+ PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}", "2024-10-01-preview"),
}},
},
{
Display: "skus",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/skus", "2024-08-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/skus", "2024-10-01-preview"),
}},
}},
},
@@ -23943,153 +23273,12 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
Display: "operations",
Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Search/operations", "2023-11-01"),
},
- {
- Display: "assessmentMetadata",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Security/assessmentMetadata", "2021-06-01"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{assessmentMetadataName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Security/assessmentMetadata/{assessmentMetadataName}", "2021-06-01"),
- }},
- },
- {
- Display: "operations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Security/operations", "2015-06-01-preview"),
- },
- {
- Display: "secureScoreControlDefinitions",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Security/secureScoreControlDefinitions", "2020-01-01"),
- },
- {
- Display: "sensitivitySettings",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Security/sensitivitySettings", "2023-02-15-preview"),
- Children: []swagger.ResourceType{
- {
- Display: "current",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Security/sensitivitySettings/current", "2023-02-15-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.Security/sensitivitySettings/current", "2023-02-15-preview"),
- }},
- },
- {
- Display: "{settingName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{resourceId}/providers/Microsoft.Security/advancedThreatProtectionSettings/{settingName}", "2019-01-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/{resourceId}/providers/Microsoft.Security/advancedThreatProtectionSettings/{settingName}", "2019-01-01"),
- },
- {
- Display: "{assessmentName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{resourceId}/providers/Microsoft.Security/assessments/{assessmentName}", "2021-06-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/{resourceId}/providers/Microsoft.Security/assessments/{assessmentName}", "2021-06-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/{resourceId}/providers/Microsoft.Security/assessments/{assessmentName}", "2021-06-01"),
- },
- {
- Display: "{complianceResultName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{resourceId}/providers/Microsoft.Security/complianceResults/{complianceResultName}", "2017-08-01"),
- },
- {
- Display: "{settingName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{resourceId}/providers/Microsoft.Security/defenderForStorageSettings/{settingName}", "2022-12-01-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/{resourceId}/providers/Microsoft.Security/defenderForStorageSettings/{settingName}", "2022-12-01-preview"),
- },
- {
- Display: "deviceSecurityGroups",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{resourceId}/providers/Microsoft.Security/deviceSecurityGroups", "2019-08-01"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{deviceSecurityGroupName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{resourceId}/providers/Microsoft.Security/deviceSecurityGroups/{deviceSecurityGroupName}", "2019-08-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/{resourceId}/providers/Microsoft.Security/deviceSecurityGroups/{deviceSecurityGroupName}", "2019-08-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/{resourceId}/providers/Microsoft.Security/deviceSecurityGroups/{deviceSecurityGroupName}", "2019-08-01"),
- }},
- },
- {
- Display: "{healthReportName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{resourceId}/providers/Microsoft.Security/healthReports/{healthReportName}", "2023-05-01-preview"),
- },
- {
- Display: "baselineRules",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules", "2023-02-01-preview"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{ruleId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules/{ruleId}", "2023-02-01-preview"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules/{ruleId}", "2023-02-01-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules/{ruleId}", "2023-02-01-preview"),
- }},
- },
- {
- Display: "scans",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/scans", "2023-02-01-preview"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{scanId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/scans/{scanId}", "2023-02-01-preview"),
- Children: []swagger.ResourceType{
- {
- Display: "scanResults",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/scans/{scanId}/scanResults", "2023-02-01-preview"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{scanResultId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/scans/{scanId}/scanResults/{scanResultId}", "2023-02-01-preview"),
- }},
- }},
- }},
- },
{
Display: "{standardAssignmentName}",
Endpoint: endpoints.MustGetEndpointInfoFromURL("/{resourceId}/providers/Microsoft.Security/standardAssignments/{standardAssignmentName}", "2024-08-01"),
DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/{resourceId}/providers/Microsoft.Security/standardAssignments/{standardAssignmentName}", "2024-08-01"),
PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/{resourceId}/providers/Microsoft.Security/standardAssignments/{standardAssignmentName}", "2024-08-01"),
},
- {
- Display: "pricings",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scopeId}/providers/Microsoft.Security/pricings", "2024-01-01"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{pricingName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scopeId}/providers/Microsoft.Security/pricings/{pricingName}", "2024-01-01"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/{scopeId}/providers/Microsoft.Security/pricings/{pricingName}", "2024-01-01"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/{scopeId}/providers/Microsoft.Security/pricings/{pricingName}", "2024-01-01"),
- }},
- },
- {
- Display: "assessments",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Security/assessments", "2021-06-01"),
- SubResources: []swagger.ResourceType{
- {
- Display: "governanceAssignments",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Security/assessments/{assessmentName}/governanceAssignments", "2022-01-01-preview"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{assignmentKey}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Security/assessments/{assessmentName}/governanceAssignments/{assignmentKey}", "2022-01-01-preview"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Security/assessments/{assessmentName}/governanceAssignments/{assignmentKey}", "2022-01-01-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Security/assessments/{assessmentName}/governanceAssignments/{assignmentKey}", "2022-01-01-preview"),
- }},
- },
- {
- Display: "subAssessments",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Security/assessments/{assessmentName}/subAssessments", "2019-01-01-preview"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{subAssessmentName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Security/assessments/{assessmentName}/subAssessments/{subAssessmentName}", "2019-01-01-preview"),
- }},
- }},
- },
- {
- Display: "complianceResults",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Security/complianceResults", "2017-08-01"),
- },
- {
- Display: "compliances",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Security/compliances", "2017-08-01-preview"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{complianceName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Security/compliances/{complianceName}", "2017-08-01-preview"),
- }},
- },
{
Display: "customRecommendations",
Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Security/customRecommendations", "2024-08-01"),
@@ -24101,37 +23290,6 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Security/customRecommendations/{customRecommendationName}", "2024-08-01"),
}},
},
- {
- Display: "governanceRules",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Security/governanceRules", "2022-01-01-preview"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{ruleId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Security/governanceRules/{ruleId}", "2022-01-01-preview"),
- DeleteEndpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Security/governanceRules/{ruleId}", "2022-01-01-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Security/governanceRules/{ruleId}", "2022-01-01-preview"),
- Children: []swagger.ResourceType{},
- SubResources: []swagger.ResourceType{
- {
- Display: "{operationId}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Security/governanceRules/{ruleId}/operationResults/{operationId}", "2022-01-01-preview"),
- }},
- }},
- },
- {
- Display: "healthReports",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Security/healthReports", "2023-05-01-preview"),
- },
- {
- Display: "informationProtectionPolicies",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Security/informationProtectionPolicies", "2017-08-01-preview"),
- SubResources: []swagger.ResourceType{
- {
- Display: "{informationProtectionPolicyName}",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Security/informationProtectionPolicies/{informationProtectionPolicyName}", "2017-08-01-preview"),
- PutEndpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Security/informationProtectionPolicies/{informationProtectionPolicyName}", "2017-08-01-preview"),
- }},
- },
{
Display: "securityStandards",
Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Security/securityStandards", "2024-08-01"),
@@ -24147,17 +23305,13 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
Display: "standardAssignments",
Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Security/standardAssignments", "2024-08-01"),
},
- {
- Display: "subAssessments",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/{scope}/providers/Microsoft.Security/subAssessments", "2019-01-01-preview"),
- },
{
Display: "operations",
Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.SecurityAndCompliance/operations", "2021-03-08"),
},
{
Display: "operations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.SecurityInsights/operations", "2024-03-01"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.SecurityInsights/operations", "2024-09-01"),
},
{
Display: "operations",
@@ -24165,7 +23319,7 @@ func (e *SwaggerAPISetARMResources) loadResourceTypes() []swagger.ResourceType {
},
{
Display: "operations",
- Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.ServiceFabric/operations", "2024-06-01-preview"),
+ Endpoint: endpoints.MustGetEndpointInfoFromURL("/providers/Microsoft.ServiceFabric/operations", "2024-09-01-preview"),
},
{
Display: "operations",
diff --git a/swagger-specs/apicenter/data-plane/ApiCenter.DataApi/preview/2024-02-01-preview/azure.apicenter.dataapi.json b/swagger-specs/apicenter/data-plane/ApiCenter.DataApi/preview/2024-02-01-preview/azure.apicenter.dataapi.json
index 4dde16e92..4b5328803 100644
--- a/swagger-specs/apicenter/data-plane/ApiCenter.DataApi/preview/2024-02-01-preview/azure.apicenter.dataapi.json
+++ b/swagger-specs/apicenter/data-plane/ApiCenter.DataApi/preview/2024-02-01-preview/azure.apicenter.dataapi.json
@@ -14,7 +14,7 @@
"https"
],
"x-ms-parameterized-host": {
- "hostTemplate": "https://{serviceName}.data.azure-apicenter.net",
+ "hostTemplate": "https://{serviceName}.data.{region}.azure-apicenter.ms",
"useSchemePrefix": false,
"parameters": [
{
@@ -23,6 +23,13 @@
"description": "Region-unique API Center service name",
"required": true,
"type": "string"
+ },
+ {
+ "name": "region",
+ "in": "path",
+ "description": "Region name",
+ "required": true,
+ "type": "string"
}
]
},
diff --git a/swagger-specs/app/data-plane/Microsoft.App.DynamicSessions/preview/2024-10-02-preview/DynamicSessions.json b/swagger-specs/app/data-plane/Microsoft.App.DynamicSessions/preview/2024-10-02-preview/DynamicSessions.json
new file mode 100644
index 000000000..79e7bbe29
--- /dev/null
+++ b/swagger-specs/app/data-plane/Microsoft.App.DynamicSessions/preview/2024-10-02-preview/DynamicSessions.json
@@ -0,0 +1,815 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Microsoft.App Dynamic Sessions service",
+ "version": "2024-10-02-preview",
+ "x-typespec-generated": [
+ {
+ "emitter": "@azure-tools/typespec-autorest"
+ }
+ ]
+ },
+ "schemes": [
+ "https"
+ ],
+ "x-ms-parameterized-host": {
+ "hostTemplate": "{endpoint}",
+ "useSchemePrefix": false,
+ "parameters": [
+ {
+ "name": "endpoint",
+ "in": "path",
+ "description": "The management endpoint of the session pool.",
+ "required": true,
+ "type": "string"
+ }
+ ]
+ },
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "AadOauth2Auth": [
+ "https://dynamicsessions.io/.default"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "AadOauth2Auth": {
+ "type": "oauth2",
+ "description": "The Azure Active Directory OAuth2 Flow",
+ "flow": "accessCode",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": {
+ "https://dynamicsessions.io/.default": ""
+ },
+ "tokenUrl": "https://login.microsoftonline.com/common/oauth2/token"
+ }
+ },
+ "tags": [],
+ "paths": {
+ "/executions": {
+ "post": {
+ "operationId": "CodeExecution_Execute",
+ "description": "Execute code in a session.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SessionIdentifier"
+ },
+ {
+ "$ref": "#/parameters/ExecutionOperationIdHeader"
+ },
+ {
+ "name": "codeExecutionRequest",
+ "in": "body",
+ "description": "The request to execute code.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SessionCodeExecutionRequest"
+ }
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The request has been accepted for processing, but processing has not yet completed.",
+ "schema": {
+ "$ref": "#/definitions/SessionCodeExecutionResource"
+ },
+ "headers": {
+ "Operation-Location": {
+ "type": "string",
+ "format": "uri",
+ "description": "The location for monitoring the operation state."
+ },
+ "operation-id": {
+ "type": "string",
+ "description": "The id of this execution operation."
+ },
+ "x-ms-error-code": {
+ "type": "string",
+ "description": "String error code indicating what went wrong."
+ }
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse"
+ },
+ "headers": {
+ "x-ms-error-code": {
+ "type": "string",
+ "description": "String error code indicating what went wrong."
+ }
+ }
+ }
+ },
+ "x-ms-examples": {
+ "CodeExecution_Execute_Async_Completed": {
+ "$ref": "./examples/CodeExecution_Execute_Async_Completed.json"
+ },
+ "CodeExecution_Execute_Async_Running": {
+ "$ref": "./examples/CodeExecution_Execute_Async_Running.json"
+ },
+ "CodeExecution_Execute_Sync": {
+ "$ref": "./examples/CodeExecution_Execute_Sync.json"
+ }
+ },
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "operation-location"
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/executions/{executionId}": {
+ "get": {
+ "operationId": "CodeExecution_Get",
+ "description": "Get the code execution result.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter"
+ },
+ {
+ "name": "executionId",
+ "in": "path",
+ "description": "Session code execution id.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/SessionIdentifier"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/SessionCodeExecutionResource"
+ },
+ "headers": {
+ "x-ms-error-code": {
+ "type": "string",
+ "description": "String error code indicating what went wrong."
+ }
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse"
+ },
+ "headers": {
+ "x-ms-error-code": {
+ "type": "string",
+ "description": "String error code indicating what went wrong."
+ }
+ }
+ }
+ },
+ "x-ms-examples": {
+ "CodeExecution_Get_Completed": {
+ "$ref": "./examples/CodeExecution_Get_Completed.json"
+ },
+ "CodeExecution_Get_Running": {
+ "$ref": "./examples/CodeExecution_Get_Running.json"
+ }
+ }
+ }
+ },
+ "/files": {
+ "get": {
+ "operationId": "SessionResourceFiles_List",
+ "description": "List the file resources.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SessionIdentifier"
+ },
+ {
+ "$ref": "#/parameters/SessionResourceFilePathQueryParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/PagedSessionResourceFile"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse"
+ },
+ "headers": {
+ "x-ms-error-code": {
+ "type": "string",
+ "description": "String error code indicating what went wrong."
+ }
+ }
+ }
+ },
+ "x-ms-examples": {
+ "SessionResourceFiles_List": {
+ "$ref": "./examples/SessionResourceFiles_List.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ },
+ "post": {
+ "operationId": "SessionResourceFiles_Upload",
+ "description": "Upload a file to a session.",
+ "consumes": [
+ "multipart/form-data"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SessionIdentifier"
+ },
+ {
+ "$ref": "#/parameters/SessionResourceFilePathQueryParameter"
+ },
+ {
+ "name": "file",
+ "in": "formData",
+ "description": "The file to upload.",
+ "required": true,
+ "type": "file"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/SessionResourceFile"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse"
+ },
+ "headers": {
+ "x-ms-error-code": {
+ "type": "string",
+ "description": "String error code indicating what went wrong."
+ }
+ }
+ }
+ },
+ "x-ms-examples": {
+ "SessionResourceFiles_Upload": {
+ "$ref": "./examples/SessionResourceFiles_Upload.json"
+ }
+ }
+ }
+ },
+ "/files/{name}": {
+ "get": {
+ "operationId": "SessionResourceFiles_Get",
+ "description": "Get the file resource.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the file.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/SessionIdentifier"
+ },
+ {
+ "$ref": "#/parameters/SessionResourceFilePathQueryParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/SessionResourceFile"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse"
+ },
+ "headers": {
+ "x-ms-error-code": {
+ "type": "string",
+ "description": "String error code indicating what went wrong."
+ }
+ }
+ }
+ },
+ "x-ms-examples": {
+ "SessionResourceFiles_Get": {
+ "$ref": "./examples/SessionResourceFiles_Get.json"
+ }
+ }
+ },
+ "delete": {
+ "operationId": "SessionResourceFiles_Delete",
+ "description": "Delete the file.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the file.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/SessionIdentifier"
+ },
+ {
+ "$ref": "#/parameters/SessionResourceFilePathQueryParameter"
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "There is no content to send for this request, but the headers may be useful. "
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse"
+ },
+ "headers": {
+ "x-ms-error-code": {
+ "type": "string",
+ "description": "String error code indicating what went wrong."
+ }
+ }
+ }
+ },
+ "x-ms-examples": {
+ "SessionResourceFiles_Delete": {
+ "$ref": "./examples/SessionResourceFiles_Delete.json"
+ }
+ }
+ }
+ },
+ "/files/{name}/content": {
+ "get": {
+ "operationId": "SessionResourceFiles_GetContent",
+ "description": "Get the content of the file.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The name of the file.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/SessionIdentifier"
+ },
+ {
+ "$ref": "#/parameters/SessionResourceFilePathQueryParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request has succeeded.",
+ "schema": {
+ "type": "string",
+ "format": "byte"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse"
+ },
+ "headers": {
+ "x-ms-error-code": {
+ "type": "string",
+ "description": "String error code indicating what went wrong."
+ }
+ }
+ }
+ },
+ "x-ms-examples": {
+ "SessionResourceFiles_GetContent": {
+ "$ref": "./examples/SessionResourceFiles_GetContent.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "Azure.Core.Foundations.Error": {
+ "type": "object",
+ "description": "The error object.",
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "One of a server-defined set of error codes."
+ },
+ "message": {
+ "type": "string",
+ "description": "A human-readable representation of the error."
+ },
+ "target": {
+ "type": "string",
+ "description": "The target of the error."
+ },
+ "details": {
+ "type": "array",
+ "description": "An array of details about specific errors that led to this reported error.",
+ "items": {
+ "$ref": "#/definitions/Azure.Core.Foundations.Error"
+ },
+ "x-ms-identifiers": []
+ },
+ "innererror": {
+ "$ref": "#/definitions/Azure.Core.Foundations.InnerError",
+ "description": "An object containing more specific information than the current object about the error."
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ]
+ },
+ "Azure.Core.Foundations.ErrorResponse": {
+ "type": "object",
+ "description": "A response containing error details.",
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/Azure.Core.Foundations.Error",
+ "description": "The error object."
+ }
+ },
+ "required": [
+ "error"
+ ]
+ },
+ "Azure.Core.Foundations.InnerError": {
+ "type": "object",
+ "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.",
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "One of a server-defined set of error codes."
+ },
+ "innererror": {
+ "$ref": "#/definitions/Azure.Core.Foundations.InnerError",
+ "description": "Inner error."
+ }
+ }
+ },
+ "Azure.Core.Foundations.OperationState": {
+ "type": "string",
+ "description": "Enum describing allowed operation states.",
+ "enum": [
+ "NotStarted",
+ "Running",
+ "Succeeded",
+ "Failed",
+ "Canceled"
+ ],
+ "x-ms-enum": {
+ "name": "OperationState",
+ "modelAsString": true,
+ "values": [
+ {
+ "name": "NotStarted",
+ "value": "NotStarted",
+ "description": "The operation has not started."
+ },
+ {
+ "name": "Running",
+ "value": "Running",
+ "description": "The operation is in progress."
+ },
+ {
+ "name": "Succeeded",
+ "value": "Succeeded",
+ "description": "The operation has completed successfully."
+ },
+ {
+ "name": "Failed",
+ "value": "Failed",
+ "description": "The operation has failed."
+ },
+ {
+ "name": "Canceled",
+ "value": "Canceled",
+ "description": "The operation has been canceled by the user."
+ }
+ ]
+ }
+ },
+ "CodeExecutionIdentifier": {
+ "type": "object",
+ "description": "Session code execution identifier path parameter.",
+ "properties": {
+ "executionId": {
+ "type": "string",
+ "description": "The identifier of code execution."
+ }
+ },
+ "required": [
+ "executionId"
+ ]
+ },
+ "CodeInputType": {
+ "type": "string",
+ "description": "Code input type.",
+ "enum": [
+ "Inline",
+ "InlineBase64",
+ "InlineText"
+ ],
+ "x-ms-enum": {
+ "name": "CodeInputType",
+ "modelAsString": true,
+ "values": [
+ {
+ "name": "inline",
+ "value": "Inline",
+ "description": "Inline."
+ },
+ {
+ "name": "inlineBase64",
+ "value": "InlineBase64",
+ "description": "InlineBase64."
+ },
+ {
+ "name": "inlineText",
+ "value": "InlineText",
+ "description": "InlineText."
+ }
+ ]
+ }
+ },
+ "ExecutionType": {
+ "type": "string",
+ "description": "Execution Type",
+ "enum": [
+ "Synchronous",
+ "Asynchronous"
+ ],
+ "x-ms-enum": {
+ "name": "ExecutionType",
+ "modelAsString": true,
+ "values": [
+ {
+ "name": "synchronous",
+ "value": "Synchronous",
+ "description": "Synchronous"
+ },
+ {
+ "name": "asynchronous",
+ "value": "Asynchronous",
+ "description": "Asynchronous"
+ }
+ ]
+ }
+ },
+ "PagedSessionResourceFile": {
+ "type": "object",
+ "description": "Paged collection of SessionResourceFile items",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "The SessionResourceFile items on this page",
+ "items": {
+ "$ref": "#/definitions/SessionResourceFile"
+ },
+ "x-ms-identifiers": []
+ },
+ "nextLink": {
+ "type": "string",
+ "format": "uri",
+ "description": "The link to the next page of items"
+ }
+ },
+ "required": [
+ "value"
+ ]
+ },
+ "SessionCodeExecutionRequest": {
+ "type": "object",
+ "description": "The request to execute code.",
+ "properties": {
+ "codeInputType": {
+ "$ref": "#/definitions/CodeInputType",
+ "description": "The code input type of the code execution request."
+ },
+ "executionType": {
+ "$ref": "#/definitions/ExecutionType",
+ "description": "The execution type of the code execution request."
+ },
+ "code": {
+ "type": "string",
+ "description": "The string of the code to execute, based on CodeInputType."
+ },
+ "timeoutInSeconds": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Code execution timeout in seconds."
+ }
+ },
+ "required": [
+ "codeInputType",
+ "executionType",
+ "code",
+ "timeoutInSeconds"
+ ]
+ },
+ "SessionCodeExecutionResource": {
+ "type": "object",
+ "description": "The session code execution resource.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Session code execution id.",
+ "readOnly": true
+ },
+ "identifier": {
+ "type": "string",
+ "description": "The identifier of the session."
+ },
+ "executionType": {
+ "$ref": "#/definitions/ExecutionType",
+ "description": "The execution type of the code execution request."
+ },
+ "status": {
+ "$ref": "#/definitions/Azure.Core.Foundations.OperationState",
+ "description": "The status of the code execution operation, indicates whether succeeded or not."
+ },
+ "error": {
+ "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse",
+ "description": "The error of this code execution if failed."
+ },
+ "result": {
+ "$ref": "#/definitions/SessionCodeExecutionResult",
+ "description": "The result of this code execution operation."
+ }
+ },
+ "required": [
+ "id",
+ "identifier",
+ "executionType",
+ "status"
+ ]
+ },
+ "SessionCodeExecutionResult": {
+ "type": "object",
+ "description": "The result of the code execution.",
+ "properties": {
+ "stdout": {
+ "type": "string",
+ "description": "The standard output of the code execution."
+ },
+ "stderr": {
+ "type": "string",
+ "description": "The standard error of the code execution."
+ },
+ "executionResult": {
+ "description": "The result of the code execution. The type of this field is same as the type of actual result of the code execution after being Json serialized."
+ },
+ "executionTimeInMilliseconds": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The execution time of the code in milliseconds."
+ }
+ }
+ },
+ "SessionResourceFile": {
+ "type": "object",
+ "description": "Code execution file resource.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the file.",
+ "x-ms-mutability": [
+ "read",
+ "update",
+ "create"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of the session resource file."
+ },
+ "contentType": {
+ "type": "string",
+ "description": "The type of the content of this file."
+ },
+ "sizeInBytes": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The size of the file."
+ },
+ "lastModifiedAt": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The date time in RFC3339 format when the file was last modified."
+ }
+ },
+ "required": [
+ "name",
+ "type",
+ "lastModifiedAt"
+ ]
+ },
+ "SessionResourceFileCollection": {
+ "type": "object",
+ "description": "Code execution file resource collection.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "The files uploaded.",
+ "items": {
+ "$ref": "#/definitions/SessionResourceFile"
+ },
+ "x-ms-identifiers": []
+ }
+ },
+ "required": [
+ "value"
+ ]
+ },
+ "SessionResourceFileNamePathParameter": {
+ "type": "object",
+ "description": "The session resource file name parameter.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the file."
+ }
+ },
+ "required": [
+ "name"
+ ]
+ }
+ },
+ "parameters": {
+ "Azure.Core.Foundations.ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "description": "The API version to use for this operation.",
+ "required": true,
+ "type": "string",
+ "minLength": 1,
+ "x-ms-parameter-location": "method",
+ "x-ms-client-name": "apiVersion"
+ },
+ "ExecutionOperationIdHeader": {
+ "name": "operation-id",
+ "in": "header",
+ "description": "The id of this execution operation.",
+ "required": false,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "x-ms-client-name": "operationId"
+ },
+ "SessionIdentifier": {
+ "name": "identifier",
+ "in": "query",
+ "description": "The user-assigned identifier of the session.",
+ "required": true,
+ "type": "string",
+ "minLength": 1,
+ "maxLength": 256,
+ "pattern": "^[A-Za-z0-9-_]{1,256}$",
+ "x-ms-parameter-location": "method"
+ },
+ "SessionResourceFilePathQueryParameter": {
+ "name": "path",
+ "in": "query",
+ "description": "The path of the file after uploaded.",
+ "required": false,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/swagger-specs/app/data-plane/api-set.json b/swagger-specs/app/data-plane/api-set.json
new file mode 100644
index 000000000..510debd71
--- /dev/null
+++ b/swagger-specs/app/data-plane/api-set.json
@@ -0,0 +1 @@
+{"addition_input_file_paths": [], "input_files": ["Microsoft.App.DynamicSessions/preview/2024-10-02-preview/DynamicSessions.json"], "name": "package-2024-10-02-preview"}
\ No newline at end of file
diff --git a/swagger-specs/app/resource-manager/Microsoft.App/stable/2024-03-01/ManagedEnvironments.json b/swagger-specs/app/resource-manager/Microsoft.App/stable/2024-03-01/ManagedEnvironments.json
index 0dbbbd90c..a7099afd8 100644
--- a/swagger-specs/app/resource-manager/Microsoft.App/stable/2024-03-01/ManagedEnvironments.json
+++ b/swagger-specs/app/resource-manager/Microsoft.App/stable/2024-03-01/ManagedEnvironments.json
@@ -1205,7 +1205,7 @@
},
"appLogsConfiguration": {
"$ref": "#/definitions/AppLogsConfiguration",
- "description": "Cluster configuration which enables the log daemon to export\napp logs to a destination. Currently only \"log-analytics\" is\nsupported"
+ "description": "Cluster configuration which enables the log daemon to export app logs to configured destination."
},
"zoneRedundant": {
"description": "Whether or not this Managed Environment is zone-redundant.",
diff --git a/swagger-specs/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/kusto.json b/swagger-specs/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/kusto.json
similarity index 94%
rename from swagger-specs/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/kusto.json
rename to swagger-specs/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/kusto.json
index 2b57bbd88..b37801928 100644
--- a/swagger-specs/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/kusto.json
+++ b/swagger-specs/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/kusto.json
@@ -2,7 +2,7 @@
"swagger": "2.0",
"info": {
"title": "KustoManagementClient",
- "version": "2023-08-15"
+ "version": "2024-04-13"
},
"host": "management.azure.com",
"schemes": [
@@ -699,6 +699,49 @@
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/listFollowerDatabases": {
+ "get": {
+ "tags": [
+ "Clusters"
+ ],
+ "description": "Returns a list of databases that are owned by this cluster and were followed by another cluster.",
+ "operationId": "Clusters_ListFollowerDatabasesGet",
+ "x-ms-examples": {
+ "KustoClusterListFollowerDatabasesGet": {
+ "$ref": "./examples/KustoClusterListFollowerDatabasesGet.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ClusterNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved the list of followed databases.",
+ "schema": {
+ "$ref": "#/definitions/FollowerDatabaseListResultGet"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ },
"post": {
"tags": [
"Clusters"
@@ -2422,6 +2465,12 @@
"x-ms-examples": {
"KustoSandboxCustomImagesCreateOrUpdate": {
"$ref": "./examples/KustoSandboxCustomImagesCreateOrUpdate.json"
+ },
+ "KustoSandboxCustomImagesCreateOrUpdateWithManagedBaseImage": {
+ "$ref": "./examples/KustoSandboxCustomImagesCreateOrUpdateWithManagedBaseImage.json"
+ },
+ "KustoSandboxCustomImagesCreateOrUpdateWithCustomBaseImage": {
+ "$ref": "./examples/KustoSandboxCustomImagesCreateOrUpdateWithCustomBaseImage.json"
}
},
"x-ms-long-running-operation": true,
@@ -4107,6 +4156,175 @@
}
}
},
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/addCalloutPolicies": {
+ "post": {
+ "tags": [
+ "Clusters"
+ ],
+ "description": "Adds a list of callout policies for engine services.",
+ "operationId": "Clusters_AddCalloutPolicies",
+ "x-ms-examples": {
+ "KustoClusterAddCalloutPolicy": {
+ "$ref": "./examples/KustoClusterAddCalloutPolicies.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ClusterNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "calloutPolicies",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/CalloutPoliciesList"
+ },
+ "description": "The callout policies to add."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK."
+ },
+ "202": {
+ "description": "Accepted",
+ "headers": {
+ "Location": {
+ "description": "URL to query the status of the operation.",
+ "type": "string"
+ },
+ "Azure-AsyncOperation": {
+ "description": "URL to query the status of the operation.",
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/removeCalloutPolicy": {
+ "post": {
+ "tags": [
+ "Clusters"
+ ],
+ "description": "Removes callout policy for engine services.",
+ "operationId": "Clusters_RemoveCalloutPolicy",
+ "x-ms-examples": {
+ "KustoClusterDropCalloutPolicy": {
+ "$ref": "./examples/KustoClusterRemoveCalloutPolicy.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ClusterNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "calloutPolicy",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/CalloutPolicyToRemove"
+ },
+ "description": "The callout policies to remove."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK."
+ },
+ "202": {
+ "description": "Accepted",
+ "headers": {
+ "Location": {
+ "description": "URL to query the status of the operation.",
+ "type": "string"
+ },
+ "Azure-AsyncOperation": {
+ "description": "URL to query the status of the operation.",
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/listCalloutPolicies": {
+ "post": {
+ "tags": [
+ "Clusters"
+ ],
+ "operationId": "Clusters_ListCalloutPolicies",
+ "x-ms-examples": {
+ "KustoClusterListCalloutPolicies": {
+ "$ref": "./examples/KustoClustersListCalloutPolicies.json"
+ }
+ },
+ "description": "Returns the allowed callout policies for the specified service.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ClusterNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK.",
+ "schema": {
+ "$ref": "#/definitions/CalloutPoliciesList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/listLanguageExtensions": {
"post": {
"tags": [
@@ -4524,6 +4742,13 @@
"type": "string"
}
},
+ "calloutPolicies": {
+ "description": "List of callout policies for egress from Cluster.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CalloutPolicy"
+ }
+ },
"publicIPType": {
"description": "Indicates what public IP type to create - IPv4 (default), or DualStack (both IPv4 and IPv6)",
"enum": [
@@ -4558,6 +4783,20 @@
"type": "object",
"$ref": "#/definitions/MigrationClusterProperties",
"readOnly": true
+ },
+ "zoneStatus": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Indicates whether the cluster is zonal or non-zonal.",
+ "enum": [
+ "NonZonal",
+ "ZonalInconsistency",
+ "Zonal"
+ ],
+ "x-ms-enum": {
+ "name": "ZoneStatus",
+ "modelAsString": true
+ }
}
},
"description": "Class representing the Kusto cluster properties."
@@ -4606,6 +4845,64 @@
},
"description": "Represents a tenant ID that is trusted by the cluster."
},
+ "CalloutPolicy": {
+ "type": "object",
+ "properties": {
+ "calloutUriRegex": {
+ "type": "string",
+ "description": "Regular expression or FQDN pattern for the callout URI."
+ },
+ "calloutType": {
+ "type": "string",
+ "enum": [
+ "kusto",
+ "sql",
+ "cosmosdb",
+ "external_data",
+ "azure_digital_twins",
+ "sandbox_artifacts",
+ "webapi",
+ "mysql",
+ "postgresql",
+ "genevametrics",
+ "azure_openai"
+ ],
+ "x-ms-enum": {
+ "name": "calloutType",
+ "modelAsString": true
+ },
+ "description": "Type of the callout service, specifying the kind of external resource or service being accessed."
+ },
+ "outboundAccess": {
+ "type": "string",
+ "enum": [
+ "Allow",
+ "Deny"
+ ],
+ "x-ms-enum": {
+ "name": "outboundAccess",
+ "modelAsString": true
+ },
+ "description": "Indicates whether outbound access is permitted for the specified URI pattern."
+ },
+ "calloutId": {
+ "type": "string",
+ "description": "Unique identifier for the callout configuration.",
+ "readOnly": true
+ }
+ },
+ "description": "Configuration for external callout policies, including URI patterns, access types, and service types."
+ },
+ "CalloutPolicyToRemove": {
+ "type": "object",
+ "properties": {
+ "calloutId": {
+ "type": "string",
+ "description": "Unique identifier for the callout configuration."
+ }
+ },
+ "description": "Configuration for an external callout policy to remove."
+ },
"AzureResourceSku": {
"type": "object",
"properties": {
@@ -5818,7 +6115,8 @@
"type": "string",
"enum": [
"AllDatabasesAdmin",
- "AllDatabasesViewer"
+ "AllDatabasesViewer",
+ "AllDatabasesMonitor"
],
"x-ms-enum": {
"name": "ClusterPrincipalRole",
@@ -5901,6 +6199,30 @@
"$ref": "#/definitions/ProvisioningState",
"readOnly": true,
"description": "The provisioned state of the resource."
+ },
+ "scriptLevel": {
+ "type": "string",
+ "description": "Differentiates between the type of script commands included - Database or Cluster. The default is Database.",
+ "enum": [
+ "Database",
+ "Cluster"
+ ],
+ "x-ms-enum": {
+ "name": "ScriptLevel",
+ "modelAsString": true
+ }
+ },
+ "principalPermissionsAction": {
+ "type": "string",
+ "description": "Indicates if the permissions for the script caller are kept following completion of the script.",
+ "enum": [
+ "RetainPermissionOnScriptCompletion",
+ "RemovePermissionOnScriptCompletion"
+ ],
+ "x-ms-enum": {
+ "name": "PrincipalPermissionsAction",
+ "modelAsString": true
+ }
}
},
"description": "A class representing database script property."
@@ -5939,8 +6261,7 @@
"SandboxCustomImageProperties": {
"type": "object",
"required": [
- "language",
- "languageVersion"
+ "language"
],
"properties": {
"language": {
@@ -5955,7 +6276,11 @@
}
},
"languageVersion": {
- "description": "The version of the language.",
+ "description": "The version of the language. Either this property or baseImageName should be specified.",
+ "type": "string"
+ },
+ "baseImageName": {
+ "description": "The base image name on which the custom image is built on top of. It can be one of the LanguageExtensionImageName (e.g.: 'Python3_10_8', 'Python3_10_8_DL') or the name of an existing custom image. Either this property or languageVersion should be specified.",
"type": "string"
},
"requirementsFileContent": {
@@ -6430,6 +6755,23 @@
},
"description": "The list Kusto database principals operation response."
},
+ "FollowerDatabaseListResultGet": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FollowerDatabaseDefinitionGet"
+ },
+ "description": "The list of follower database result."
+ },
+ "nextLink": {
+ "type": "string",
+ "title": "The URL to get the next set of follower databases list results if there are any."
+ }
+ },
+ "description": "The list Kusto database principals operation response."
+ },
"DataConnection": {
"type": "object",
"required": [
@@ -6518,6 +6860,49 @@
},
"description": "A class representing follower database request."
},
+ "FollowerDatabaseDefinitionGet": {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/FollowerDatabaseProperties",
+ "description": "Follower database definition."
+ }
+ },
+ "description": "A class representing follower database object."
+ },
+ "FollowerDatabaseProperties": {
+ "type": "object",
+ "required": [
+ "clusterResourceId",
+ "attachedDatabaseConfigurationName"
+ ],
+ "properties": {
+ "clusterResourceId": {
+ "type": "string",
+ "description": "Resource id of the cluster that follows a database owned by this cluster."
+ },
+ "attachedDatabaseConfigurationName": {
+ "type": "string",
+ "description": "Resource name of the attached database configuration in the follower cluster."
+ },
+ "databaseName": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The database name owned by this cluster that was followed. * in case following all databases."
+ },
+ "tableLevelSharingProperties": {
+ "type": "object",
+ "readOnly": true,
+ "$ref": "#/definitions/TableLevelSharingProperties",
+ "description": "Table level sharing specifications"
+ },
+ "databaseShareOrigin": {
+ "$ref": "#/definitions/DatabaseShareOrigin"
+ }
+ },
+ "description": "A class representing the properties of a follower database object."
+ },
"DiagnoseVirtualNetworkResult": {
"type": "object",
"properties": {
@@ -7116,7 +7501,9 @@
"Python3_6_5",
"Python3_10_8",
"Python3_10_8_DL",
- "PythonCustomImage"
+ "PythonCustomImage",
+ "Python3_11_7",
+ "Python3_11_7_DL"
],
"x-ms-enum": {
"name": "languageExtensionImageName",
@@ -7158,6 +7545,23 @@
},
"description": "The list of language extension objects."
},
+ "CalloutPoliciesList": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CalloutPolicy"
+ },
+ "description": "A list of the service's callout policies."
+ },
+ "nextLink": {
+ "type": "string",
+ "title": "The URL to get the next set of callout policies list results if there are any."
+ }
+ },
+ "description": "A list of the service's callout policy objects."
+ },
"ProvisioningState": {
"type": "string",
"readOnly": true,
diff --git a/swagger-specs/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/scenarios/basic.yaml b/swagger-specs/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/scenarios/basic.yaml
similarity index 100%
rename from swagger-specs/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/scenarios/basic.yaml
rename to swagger-specs/azure-kusto/resource-manager/Microsoft.Kusto/stable/2024-04-13/scenarios/basic.yaml
diff --git a/swagger-specs/azure-kusto/resource-manager/api-set.json b/swagger-specs/azure-kusto/resource-manager/api-set.json
index e150ecad8..48be92828 100644
--- a/swagger-specs/azure-kusto/resource-manager/api-set.json
+++ b/swagger-specs/azure-kusto/resource-manager/api-set.json
@@ -1 +1 @@
-{"addition_input_file_paths": [], "input_files": ["Microsoft.Kusto/stable/2023-08-15/kusto.json"], "name": "package-2023-08"}
\ No newline at end of file
+{"addition_input_file_paths": [], "input_files": ["Microsoft.Kusto/stable/2024-04-13/kusto.json"], "name": "package-2024-04"}
\ No newline at end of file
diff --git a/swagger-specs/azurefleet/resource-manager/Microsoft.AzureFleet/stable/2024-11-01/azurefleet.json b/swagger-specs/azurefleet/resource-manager/Microsoft.AzureFleet/stable/2024-11-01/azurefleet.json
index 3042422c5..846c2c7bb 100644
--- a/swagger-specs/azurefleet/resource-manager/Microsoft.AzureFleet/stable/2024-11-01/azurefleet.json
+++ b/swagger-specs/azurefleet/resource-manager/Microsoft.AzureFleet/stable/2024-11-01/azurefleet.json
@@ -676,7 +676,7 @@
"description": "Architecture types supported by Azure VMs.",
"enum": [
"ARM64",
- "X86"
+ "X64"
],
"x-ms-enum": {
"name": "ArchitectureType",
@@ -688,13 +688,17 @@
"description": "ARM64 Architecture"
},
{
- "name": "X86",
- "value": "X86",
- "description": "X86 Architecture"
+ "name": "X64",
+ "value": "X64",
+ "description": "X64 Architecture"
}
]
}
},
+ "Azure.Core.azureLocation": {
+ "type": "string",
+ "description": "Represents an Azure geography region where supported resource providers live."
+ },
"BasePriorityProfile": {
"type": "object",
"description": "Contains common properties that are applicable to both Spot and Regular.",
@@ -1565,14 +1569,17 @@
"description": "Represents the profile for a single additional location in the Fleet. The location and the virtualMachineProfileOverride (optional).",
"properties": {
"location": {
- "type": "string",
- "description": "The ARM location name of the additional region."
+ "$ref": "#/definitions/Azure.Core.azureLocation",
+ "description": "The ARM location name of the additional region. If LocationProfile is specified, then location is required."
},
"virtualMachineProfileOverride": {
"$ref": "#/definitions/BaseVirtualMachineProfile",
"description": "An override for computeProfile.baseVirtualMachineProfile specific to this region. \nThis override is merged with the base virtual machine profile to define the final virtual machine profile for the resources deployed in this location."
}
- }
+ },
+ "required": [
+ "location"
+ ]
},
"ManagedServiceIdentityUpdate": {
"type": "object",
@@ -2461,13 +2468,17 @@
"$ref": "#/definitions/VMAttributeMinMaxDouble",
"description": "The range of memory specified from Min to Max. Must be specified if VMAttributes are specified, either Min or Max is required if specified."
},
+ "memoryInGiBPerVCpu": {
+ "$ref": "#/definitions/VMAttributeMinMaxDouble",
+ "description": "The range of memory in GiB per vCPU specified from min to max. Optional parameter. Either Min or Max is required if specified."
+ },
"localStorageSupport": {
"$ref": "#/definitions/VMAttributeSupport",
- "description": "Specifies whether the VMSize supporting local storage should be used to build Fleet or not."
+ "description": "Specifies whether the VMSize supporting local storage should be used to build Fleet or not.\nIncluded - Default if not specified as most Azure VMs support local storage."
},
"localStorageInGiB": {
"$ref": "#/definitions/VMAttributeMinMaxDouble",
- "description": "The range of local storage in GB specified from Min to Max."
+ "description": "LocalStorageSupport should be set to \"Included\" or \"Required\" to use this VMAttribute. \nIf localStorageSupport is \"Excluded\", this VMAttribute can not be used."
},
"localStorageDiskTypes": {
"type": "array",
@@ -2495,15 +2506,15 @@
},
"rdmaNetworkInterfaceCount": {
"$ref": "#/definitions/VMAttributeMinMaxInteger",
- "description": "The range of RDMA (Remote Direct Memory Access) network interface count specified from Min to Max. Optional parameter. Either Min or Max is required if specified."
+ "description": "The range of RDMA (Remote Direct Memory Access) network interface count specified from Min to Max. Optional parameter. Either Min or Max is required if specified.\nrdmaSupport should be set to \"Included\" or \"Required\" to use this VMAttribute. \nIf rdmaSupport is \"Excluded\", this VMAttribute can not be used."
},
"acceleratorSupport": {
"$ref": "#/definitions/VMAttributeSupport",
- "description": "Specifies whether the VMSize supporting accelerator should be used to build Fleet or not."
+ "description": "Specifies whether the VMSize supporting accelerator should be used to build Fleet or not.\nacceleratorSupport should be set to \"Included\" or \"Required\" to use this VMAttribute. \nIf acceleratorSupport is \"Excluded\", this VMAttribute can not be used."
},
"acceleratorManufacturers": {
"type": "array",
- "description": "The accelerator manufacturers specified as a list. acceleratorSupport should be set to Included or Required to use this VMAttribute.",
+ "description": "The accelerator manufacturers specified as a list. \nacceleratorSupport should be set to \"Included\" or \"Required\" to use this VMAttribute. \nIf acceleratorSupport is \"Excluded\", this VMAttribute can not be used.",
"items": {
"$ref": "#/definitions/AcceleratorManufacturer"
},
@@ -2511,7 +2522,7 @@
},
"acceleratorTypes": {
"type": "array",
- "description": "The accelerator types specified as a list. acceleratorSupport should be set to Included or Required to use this VMAttribute.",
+ "description": "The accelerator types specified as a list. acceleratorSupport should be set to \"Included\" or \"Required\" to use this VMAttribute. \nIf acceleratorSupport is \"Excluded\", this VMAttribute can not be used.",
"items": {
"$ref": "#/definitions/AcceleratorType"
},
@@ -2519,7 +2530,7 @@
},
"acceleratorCount": {
"$ref": "#/definitions/VMAttributeMinMaxInteger",
- "description": "The range of accelerator count specified from min to max.. Optional parameter. Either Min or Max is required if specified."
+ "description": "The range of accelerator count specified from min to max. Optional parameter. Either Min or Max is required if specified.\nacceleratorSupport should be set to \"Included\" or \"Required\" to use this VMAttribute. \nIf acceleratorSupport is \"Excluded\", this VMAttribute can not be used."
},
"vmCategories": {
"type": "array",
@@ -2739,6 +2750,7 @@
},
"id": {
"type": "string",
+ "format": "arm-id",
"description": "The compute RP resource id of the virtualMachineScaleSet \n\"subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmssName}\"",
"readOnly": true
},
diff --git a/swagger-specs/batch/data-plane/Microsoft.Batch/stable/2024-07-01.20.0/BatchService.json b/swagger-specs/batch/data-plane/Microsoft.Batch/stable/2024-07-01.20.0/BatchService.json
index 6e9bcbe2a..b02f47382 100644
--- a/swagger-specs/batch/data-plane/Microsoft.Batch/stable/2024-07-01.20.0/BatchService.json
+++ b/swagger-specs/batch/data-plane/Microsoft.Batch/stable/2024-07-01.20.0/BatchService.json
@@ -13805,7 +13805,7 @@
"virtualMachineImageId": {
"type": "string",
"title": "The ARM resource identifier of the Azure Compute Gallery Image. Compute Nodes in the Pool will be created using this Image Id. This is of the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageDefinitionName}/versions/{VersionId} or /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageDefinitionName} for always defaulting to the latest image version.",
- "description": "This property is mutually exclusive with other ImageReference properties. The Azure Compute Gallery Image must have replicas in the same region and must be in the same subscription as the Azure Batch account. If the image version is not specified in the imageId, the latest version will be used. For information about the firewall settings for the Batch Compute Node agent to communicate with the Batch service see https://docs.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration."
+ "description": "This property is mutually exclusive with other ImageReference properties. The Azure Compute Gallery Image must have replicas in the same region and must be in the same subscription as the Azure Batch account. If the image version is not specified in the imageId, the latest version will be used. For information about the firewall settings for the Batch Compute Node agent to communicate with the Batch service see https://docs.microsoft.com/azure/batch/nodes-and-pools#virtual-network-vnet-and-firewall-configuration."
},
"exactVersion": {
"type": "string",
@@ -14484,7 +14484,7 @@
"subnetId": {
"type": "string",
"title": "The ARM resource identifier of the virtual network subnet which the Compute Nodes of the Pool will join. This is of the form /subscriptions/{subscription}/resourceGroups/{group}/providers/{provider}/virtualNetworks/{network}/subnets/{subnet}.",
- "description": "The virtual network must be in the same region and subscription as the Azure Batch Account. The specified subnet should have enough free IP addresses to accommodate the number of Compute Nodes in the Pool. If the subnet doesn't have enough free IP addresses, the Pool will partially allocate Nodes and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule Tasks on the Nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the Nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the Compute Nodes to unusable. Only ARM virtual networks ('Microsoft.Network/virtualNetworks') are supported. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication. Enable ports 29876 and 29877, as well as port 22 for Linux and port 3389 for Windows. Also enable outbound connections to Azure Storage on port 443. For more details see: https://docs.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration",
+ "description": "The virtual network must be in the same region and subscription as the Azure Batch Account. The specified subnet should have enough free IP addresses to accommodate the number of Compute Nodes in the Pool. If the subnet doesn't have enough free IP addresses, the Pool will partially allocate Nodes and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule Tasks on the Nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the Nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the Compute Nodes to unusable. Only ARM virtual networks ('Microsoft.Network/virtualNetworks') are supported. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication, including ports 29876 and 29877. Also enable outbound connections to Azure Storage on port 443. For more details see: https://docs.microsoft.com/azure/batch/nodes-and-pools#virtual-network-vnet-and-firewall-configuration",
"externalDocs": {
"url": "https://azure.microsoft.com/documentation/articles/role-based-access-built-in-roles/#classic-virtual-machine-contributor",
"description": "Setting up RBAC for Azure Batch VNETs"
@@ -16122,7 +16122,7 @@
"type": "integer",
"format": "int32",
"title": "The port number on the Compute Node.",
- "description": "This must be unique within a Batch Pool. Acceptable values are between 1 and 65535 except for 22, 3389, 29876 and 29877 as these are reserved. If any reserved values are provided the request fails with HTTP status code 400."
+ "description": "This must be unique within a Batch Pool. Acceptable values are between 1 and 65535 except for 29876 and 29877 as these are reserved. If any reserved values are provided the request fails with HTTP status code 400."
},
"frontendPortRangeStart": {
"type": "integer",
diff --git a/swagger-specs/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/BatchManagement.json b/swagger-specs/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/BatchManagement.json
index 1bd2630ee..35f58a214 100644
--- a/swagger-specs/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/BatchManagement.json
+++ b/swagger-specs/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/BatchManagement.json
@@ -5582,7 +5582,7 @@
"subnetId": {
"type": "string",
"title": "The ARM resource identifier of the virtual network subnet which the compute nodes of the pool will join. This is of the form /subscriptions/{subscription}/resourceGroups/{group}/providers/{provider}/virtualNetworks/{network}/subnets/{subnet}.",
- "description": "The virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes in the pool. If the subnet doesn't have enough free IP addresses, the pool will partially allocate compute nodes and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule tasks on the compute nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the compute nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the compute nodes to unusable. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication. Enable ports 29876 and 29877, as well as port 22 for Linux and port 3389 for Windows. Also enable outbound connections to Azure Storage on port 443. For more details see: https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration",
+ "description": "The virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes in the pool. If the subnet doesn't have enough free IP addresses, the pool will partially allocate compute nodes and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule tasks on the compute nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the compute nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the compute nodes to unusable. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication,including ports 29876 and 29877. Also enable outbound connections to Azure Storage on port 443. For more details see: https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration",
"externalDocs": {
"url": "https://azure.microsoft.com/en-us/documentation/articles/role-based-access-built-in-roles/#classic-virtual-machine-contributor",
"description": "Setting up RBAC for Azure Batch VNets"
@@ -5748,7 +5748,7 @@
"type": "integer",
"format": "int32",
"title": "The port number on the compute node.",
- "description": "This must be unique within a Batch pool. Acceptable values are between 1 and 65535 except for 22, 3389, 29876 and 29877 as these are reserved. If any reserved values are provided the request fails with HTTP status code 400."
+ "description": "This must be unique within a Batch pool. Acceptable values are between 1 and 65535 except for 29876 and 29877 as these are reserved. If any reserved values are provided the request fails with HTTP status code 400."
},
"frontendPortRangeStart": {
"type": "integer",
diff --git a/swagger-specs/cdn/resource-manager/Microsoft.Cdn/stable/2024-09-01/afdx.json b/swagger-specs/cdn/resource-manager/Microsoft.Cdn/stable/2024-09-01/afdx.json
index 0d5a749be..6ffb5f707 100644
--- a/swagger-specs/cdn/resource-manager/Microsoft.Cdn/stable/2024-09-01/afdx.json
+++ b/swagger-specs/cdn/resource-manager/Microsoft.Cdn/stable/2024-09-01/afdx.json
@@ -4266,6 +4266,7 @@
},
"Certificate": {
"description": "Certificate used for https",
+ "type": "object",
"properties": {
"type": {
"$ref": "#/definitions/SecretType"
@@ -4292,6 +4293,7 @@
},
"CustomerCertificate": {
"description": "Customer Certificate used for https",
+ "type": "object",
"allOf": [
{
"$ref": "#/definitions/Certificate"
@@ -4386,6 +4388,7 @@
},
"AFDDomainListResult": {
"description": "Result of the request to list domains. It contains a list of domain objects and a URL link to get the next set of results.",
+ "type": "object",
"properties": {
"value": {
"type": "array",
@@ -4418,6 +4421,7 @@
},
"AFDDomainProperties": {
"description": "The JSON object that contains the properties of the domain to create.",
+ "type": "object",
"required": [
"hostName"
],
@@ -4481,6 +4485,7 @@
},
"AFDDomainUpdatePropertiesParameters": {
"description": "The JSON object that contains the properties of the domain to create.",
+ "type": "object",
"properties": {
"profileName": {
"description": "The name of the profile which holds the domain.",
@@ -4506,6 +4511,7 @@
},
"DomainValidationProperties": {
"description": "The JSON object that contains the properties to validate a domain.",
+ "type": "object",
"properties": {
"validationToken": {
"description": "Challenge used for DNS TXT record or file based validation",
@@ -4521,6 +4527,7 @@
},
"AFDDomainHttpsParameters": {
"description": "The JSON object that contains the properties to secure a domain.",
+ "type": "object",
"required": [
"certificateType"
],
@@ -4680,6 +4687,7 @@
},
"SecurityPolicyListResult": {
"description": "Result of the request to list security policies. It contains a list of security policy objects and a URL link to get the next set of results.",
+ "type": "object",
"properties": {
"value": {
"type": "array",
@@ -4726,6 +4734,7 @@
},
"AFDEndpointProperties": {
"description": "The JSON object that contains the properties required to create an endpoint.",
+ "type": "object",
"allOf": [
{
"$ref": "#/definitions/AFDEndpointPropertiesUpdateParameters"
@@ -4748,6 +4757,7 @@
},
"AFDEndpointListResult": {
"description": "Result of the request to list endpoints. It contains a list of endpoint objects and a URL link to get the next set of results.",
+ "type": "object",
"properties": {
"value": {
"type": "array",
@@ -4783,6 +4793,7 @@
},
"AFDEndpointPropertiesUpdateParameters": {
"description": "The JSON object containing endpoint update parameters.",
+ "type": "object",
"properties": {
"profileName": {
"description": "The name of the profile which holds the endpoint.",
@@ -4834,6 +4845,7 @@
},
"SecretListResult": {
"description": "Result of the request to list secrets. It contains a list of Secret objects and a URL link to get the next set of results.",
+ "type": "object",
"properties": {
"value": {
"type": "array",
@@ -4866,6 +4878,7 @@
},
"SecretProperties": {
"description": "The JSON object that contains the properties of the Secret to create.",
+ "type": "object",
"allOf": [
{
"$ref": "#/definitions/AFDStateProperties"
@@ -4921,7 +4934,8 @@
],
"required": [
"keyId",
- "secretSource"
+ "secretSource",
+ "secretVersion"
],
"properties": {
"keyId": {
@@ -5065,6 +5079,7 @@
},
"RuleSetListResult": {
"description": "Result of the request to list rule sets. It contains a list of rule set objects and a URL link to get the next set of results.",
+ "type": "object",
"properties": {
"value": {
"type": "array",
@@ -5153,6 +5168,7 @@
},
"AFDOriginUpdatePropertiesParameters": {
"description": "The JSON object that contains the properties of the origin.",
+ "type": "object",
"properties": {
"originGroupName": {
"description": "The name of the origin group which contains this origin.",
@@ -5231,6 +5247,7 @@
}
},
"SharedPrivateLinkResourceProperties": {
+ "type": "object",
"properties": {
"privateLink": {
"type": "object",
@@ -5269,6 +5286,7 @@
},
"AFDOriginListResult": {
"description": "Result of the request to list origins. It contains a list of origin objects and a URL link to get the next set of results.",
+ "type": "object",
"properties": {
"value": {
"type": "array",
@@ -5324,6 +5342,7 @@
},
"AFDOriginGroupUpdatePropertiesParameters": {
"description": "The JSON object that contains the properties of the origin group.",
+ "type": "object",
"properties": {
"profileName": {
"description": "The name of the profile which holds the origin group.",
@@ -5383,6 +5402,7 @@
},
"AFDOriginGroupListResult": {
"description": "Result of the request to list origin groups. It contains a list of origin groups objects and a URL link to get the next set of results.",
+ "type": "object",
"properties": {
"value": {
"type": "array",
@@ -5400,6 +5420,7 @@
},
"RouteListResult": {
"description": "Result of the request to list routes. It contains a list of route objects and a URL link to get the next set of results.",
+ "type": "object",
"properties": {
"value": {
"type": "array",
@@ -5456,6 +5477,7 @@
},
"RouteUpdatePropertiesParameters": {
"description": "The JSON object that contains the properties of the domain to create.",
+ "type": "object",
"properties": {
"endpointName": {
"description": "The name of the endpoint which holds the route.",
@@ -5594,6 +5616,7 @@
},
"RuleListResult": {
"description": "Result of the request to list rules. It contains a list of rule objects and a URL link to get the next set of results.",
+ "type": "object",
"properties": {
"value": {
"type": "array",
@@ -5652,6 +5675,7 @@
},
"RuleUpdatePropertiesParameters": {
"description": "The JSON object that contains the properties of the rule to update.",
+ "type": "object",
"properties": {
"ruleSetName": {
"description": "The name of the rule set containing the rule.",
@@ -5808,15 +5832,17 @@
"AfdErrorResponse": {
"title": "Error response",
"description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).",
+ "type": "object",
"properties": {
"error": {
"description": "The error object.",
- "$ref": "./cdn.json#/definitions/ErrorDetail"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorDetail"
}
}
},
"MetricsResponse": {
"description": "Metrics Response",
+ "type": "object",
"properties": {
"dateTimeBegin": {
"type": "string",
@@ -5900,6 +5926,7 @@
},
"RankingsResponse": {
"description": "Rankings Response",
+ "type": "object",
"properties": {
"dateTimeBegin": {
"type": "string",
@@ -5958,6 +5985,7 @@
},
"ContinentsResponse": {
"description": "Continents Response",
+ "type": "object",
"properties": {
"continents": {
"type": "array",
@@ -5988,6 +6016,7 @@
},
"ResourcesResponse": {
"description": "Resources Response",
+ "type": "object",
"properties": {
"endpoints": {
"type": "array",
@@ -6050,6 +6079,7 @@
},
"WafMetricsResponse": {
"description": "Waf Metrics Response",
+ "type": "object",
"properties": {
"dateTimeBegin": {
"type": "string",
@@ -6130,6 +6160,7 @@
},
"WafRankingsResponse": {
"description": "Waf Rankings Response",
+ "type": "object",
"properties": {
"dateTimeBegin": {
"type": "string",
@@ -6183,6 +6214,7 @@
}
},
"UsageName": {
+ "type": "object",
"properties": {
"value": {
"type": "string",
@@ -6196,6 +6228,7 @@
"description": "The usage names."
},
"Usage": {
+ "type": "object",
"properties": {
"id": {
"type": "string",
@@ -6237,6 +6270,7 @@
"description": "Describes resource usage."
},
"UsagesListResult": {
+ "type": "object",
"properties": {
"value": {
"type": "array",
diff --git a/swagger-specs/cdn/resource-manager/Microsoft.Cdn/stable/2024-09-01/cdn.json b/swagger-specs/cdn/resource-manager/Microsoft.Cdn/stable/2024-09-01/cdn.json
index 8a7635992..c47e2791b 100644
--- a/swagger-specs/cdn/resource-manager/Microsoft.Cdn/stable/2024-09-01/cdn.json
+++ b/swagger-specs/cdn/resource-manager/Microsoft.Cdn/stable/2024-09-01/cdn.json
@@ -3132,6 +3132,7 @@
"properties": {
"id": {
"description": "Resource ID.",
+ "format": "arm-id",
"readOnly": true,
"type": "string"
},
@@ -3271,6 +3272,7 @@
"properties": {
"id": {
"description": "Resource ID.",
+ "format": "arm-id",
"readOnly": true,
"type": "string"
},
@@ -5665,7 +5667,7 @@
"$ref": "#/definitions/DeepCreatedOriginProperties"
}
},
- "x-ms-azure-resource": true
+ "x-ms-azure-resource": false
},
"DeepCreatedOriginProperties": {
"description": "Properties of the origin created on the CDN endpoint.",
@@ -5741,7 +5743,7 @@
"readOnly": true
}
},
- "x-ms-azure-resource": true
+ "x-ms-azure-resource": false
},
"DeepCreatedOriginGroup": {
"description": "The origin group for CDN content which is added when creating a CDN endpoint. Traffic is sent to the origins within the origin group based on origin health.",
@@ -5759,7 +5761,7 @@
"$ref": "#/definitions/DeepCreatedOriginGroupProperties"
}
},
- "x-ms-azure-resource": true
+ "x-ms-azure-resource": false
},
"DeepCreatedOriginGroupProperties": {
"description": "Properties of the origin group created on the CDN endpoint.",
@@ -5794,7 +5796,7 @@
"$ref": "#/definitions/ResponseBasedOriginErrorDetectionParameters"
}
},
- "x-ms-azure-resource": true
+ "x-ms-azure-resource": false
},
"ResourceReference": {
"properties": {
@@ -7324,69 +7326,10 @@
"type": "object",
"properties": {
"error": {
- "description": "The error object.",
- "$ref": "#/definitions/ErrorDetail"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorDetail"
}
}
},
- "ErrorDetail": {
- "description": "The error detail.",
- "type": "object",
- "properties": {
- "code": {
- "readOnly": true,
- "type": "string",
- "description": "The error code."
- },
- "message": {
- "readOnly": true,
- "type": "string",
- "description": "The error message."
- },
- "target": {
- "readOnly": true,
- "type": "string",
- "description": "The error target."
- },
- "details": {
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/ErrorDetail"
- },
- "x-ms-identifiers": [
- "message",
- "target"
- ],
- "description": "The error details."
- },
- "additionalInfo": {
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/ErrorAdditionalInfo"
- },
- "x-ms-identifiers": [],
- "description": "The error additional info."
- }
- }
- },
- "ErrorAdditionalInfo": {
- "type": "object",
- "properties": {
- "type": {
- "readOnly": true,
- "type": "string",
- "description": "The additional info type."
- },
- "info": {
- "readOnly": true,
- "type": "object",
- "description": "The additional info."
- }
- },
- "description": "The resource management error additional info."
- },
"CdnMigrationToAfdParameters": {
"type": "object",
"description": "Request body for Migrate operation.",
diff --git a/swagger-specs/communication/data-plane/CallAutomation/api-set.json b/swagger-specs/communication/data-plane/CallAutomation/api-set.json
index 34ad699ef..1b676b482 100644
--- a/swagger-specs/communication/data-plane/CallAutomation/api-set.json
+++ b/swagger-specs/communication/data-plane/CallAutomation/api-set.json
@@ -1 +1 @@
-{"addition_input_file_paths": [], "input_files": ["stable/2024-04-15/communicationservicescallautomation.json"], "name": "package-2024-04-15"}
\ No newline at end of file
+{"addition_input_file_paths": [], "input_files": ["preview/2022-04-07-preview/communicationservicescallautomation.json"], "name": "package-2022-04-07-preview"}
\ No newline at end of file
diff --git a/swagger-specs/communication/data-plane/CallAutomation/stable/2024-04-15/communicationservicescallautomation.json b/swagger-specs/communication/data-plane/CallAutomation/preview/2022-04-07-preview/communicationservicescallautomation.json
similarity index 55%
rename from swagger-specs/communication/data-plane/CallAutomation/stable/2024-04-15/communicationservicescallautomation.json
rename to swagger-specs/communication/data-plane/CallAutomation/preview/2022-04-07-preview/communicationservicescallautomation.json
index 072bf469f..6888fb900 100644
--- a/swagger-specs/communication/data-plane/CallAutomation/stable/2024-04-15/communicationservicescallautomation.json
+++ b/swagger-specs/communication/data-plane/CallAutomation/preview/2022-04-07-preview/communicationservicescallautomation.json
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
- "version": "2024-04-15",
+ "version": "2022-04-07-preview",
"title": "Azure Communication Service Call Automation APIs",
"description": "Azure Communication Service Call Automation APIs"
},
@@ -22,7 +22,7 @@
],
"summary": "Create an outbound call.",
"description": "Create an outbound call.",
- "operationId": "CreateCall",
+ "operationId": "ServerCalling_CreateCall",
"parameters": [
{
"name": "createCallRequest",
@@ -47,8 +47,7 @@
"name": "Repeatability-First-Sent",
"in": "header",
"description": "If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT.",
- "type": "string",
- "format": "date-time-rfc1123"
+ "type": "string"
}
],
"responses": {
@@ -59,15 +58,15 @@
}
},
"201": {
- "description": "Returns details of the call properties once the CreateCall request is received by service. You will receive CallConnected event at your specified callback URI, once the call is connected.",
+ "description": "Returns the create call response.",
"schema": {
"$ref": "#/definitions/CallConnectionProperties"
}
}
},
"x-ms-examples": {
- "CreateCall": {
- "$ref": "./examples/CreateCall.json"
+ "Create an outbound call.": {
+ "$ref": "./examples/ServerCalling_CreateCall.json"
}
}
}
@@ -79,7 +78,7 @@
],
"summary": "Answer a Call.",
"description": "Answer a call using the IncomingCallContext from Event Grid.",
- "operationId": "AnswerCall",
+ "operationId": "ServerCalling_AnswerCall",
"parameters": [
{
"name": "answerCallRequest",
@@ -104,8 +103,7 @@
"name": "Repeatability-First-Sent",
"in": "header",
"description": "If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT.",
- "type": "string",
- "format": "date-time-rfc1123"
+ "type": "string"
}
],
"responses": {
@@ -116,15 +114,15 @@
}
},
"200": {
- "description": "Returns details of the call properties once the AnswerCall request is received by service. You will receive CallConnected event at your specified callback URI, once the call is connected.",
+ "description": "Returns the answer call response.",
"schema": {
"$ref": "#/definitions/CallConnectionProperties"
}
}
},
"x-ms-examples": {
- "AnswerCall": {
- "$ref": "./examples/AnswerCall.json"
+ "Answer a Call.": {
+ "$ref": "./examples/ServerCalling_AnswerCall.json"
}
}
}
@@ -136,7 +134,7 @@
],
"summary": "Redirect a call.",
"description": "Redirect a call.",
- "operationId": "RedirectCall",
+ "operationId": "ServerCalling_RedirectCall",
"parameters": [
{
"name": "redirectCallRequest",
@@ -161,8 +159,7 @@
"name": "Repeatability-First-Sent",
"in": "header",
"description": "If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT.",
- "type": "string",
- "format": "date-time-rfc1123"
+ "type": "string"
}
],
"responses": {
@@ -173,12 +170,12 @@
}
},
"204": {
- "description": "The service has redirected the call to specified endpoint."
+ "description": "Returns the redirect call response."
}
},
"x-ms-examples": {
- "RedirectCall": {
- "$ref": "./examples/RedirectCall.json"
+ "Redirect a call.": {
+ "$ref": "./examples/ServerCalling_RedirectCall.json"
}
}
}
@@ -190,7 +187,7 @@
],
"summary": "Reject the call.",
"description": "Reject the call.",
- "operationId": "RejectCall",
+ "operationId": "ServerCalling_RejectCall",
"parameters": [
{
"name": "rejectCallRequest",
@@ -215,8 +212,7 @@
"name": "Repeatability-First-Sent",
"in": "header",
"description": "If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT.",
- "type": "string",
- "format": "date-time-rfc1123"
+ "type": "string"
}
],
"responses": {
@@ -227,12 +223,12 @@
}
},
"204": {
- "description": "The service has rejected the call."
+ "description": "Returns the reject call response."
}
},
"x-ms-examples": {
- "RejectCall": {
- "$ref": "./examples/RejectCall.json"
+ "Reject the call.": {
+ "$ref": "./examples/ServerCalling_RejectCall.json"
}
}
}
@@ -242,8 +238,8 @@
"tags": [
"MidConnections"
],
- "summary": "Get the detail properties of an ongoing call.",
- "operationId": "CallConnection_GetCall",
+ "summary": "Get call connection.",
+ "operationId": "CallConnections_GetCall",
"parameters": [
{
"name": "callConnectionId",
@@ -264,15 +260,15 @@
}
},
"200": {
- "description": "Returns details of the call properties.",
+ "description": "Returns the get call response.",
"schema": {
"$ref": "#/definitions/CallConnectionProperties"
}
}
},
"x-ms-examples": {
- "CallConnection_GetCall": {
- "$ref": "./examples/CallConnection_GetCall.json"
+ "Get call connection.": {
+ "$ref": "./examples/CallConnections_GetCall.json"
}
}
},
@@ -280,9 +276,9 @@
"tags": [
"MidConnections"
],
- "summary": "Hang up call automation service from the call. This will make call automation service leave the call, but does not terminate if there are more than 1 caller in the call.",
- "description": "Hang up call automation service from the call. This will make call automation service leave the call, but does not terminate if there are more than 1 caller in the call.",
- "operationId": "CallConnection_HangupCall",
+ "summary": "Hangup the call.",
+ "description": "Hangup the call.",
+ "operationId": "CallConnections_HangupCall",
"parameters": [
{
"name": "callConnectionId",
@@ -303,12 +299,12 @@
}
},
"204": {
- "description": "Call automation service has left the call."
+ "description": "Returns the hangup call response."
}
},
"x-ms-examples": {
- "CallConnection_HangupCall": {
- "$ref": "./examples/CallConnection_HangupCall.json"
+ "Hangup the call.": {
+ "$ref": "./examples/CallConnections_HangupCall.json"
}
}
}
@@ -320,7 +316,7 @@
],
"summary": "Terminate a call using CallConnectionId.",
"description": "Terminate a call using CallConnectionId.",
- "operationId": "CallConnection_TerminateCall",
+ "operationId": "CallConnections_TerminateCall",
"parameters": [
{
"name": "callConnectionId",
@@ -343,8 +339,7 @@
"name": "Repeatability-First-Sent",
"in": "header",
"description": "If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT.",
- "type": "string",
- "format": "date-time-rfc1123"
+ "type": "string"
}
],
"responses": {
@@ -355,12 +350,12 @@
}
},
"204": {
- "description": "The call is terminated."
+ "description": "Returns the terminate call response."
}
},
"x-ms-examples": {
- "CallConnection_TerminateCall": {
- "$ref": "./examples/CallConnection_TerminateCall.json"
+ "Terminate a call using CallConnectionId.": {
+ "$ref": "./examples/CallConnections_TerminateCall.json"
}
}
}
@@ -372,7 +367,7 @@
],
"summary": "Transfer the call to a participant.",
"description": "Transfer the call to a participant.",
- "operationId": "CallConnection_TransferToParticipant",
+ "operationId": "CallConnections_TransferToParticipant",
"parameters": [
{
"name": "callConnectionId",
@@ -404,8 +399,7 @@
"name": "Repeatability-First-Sent",
"in": "header",
"description": "If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT.",
- "type": "string",
- "format": "date-time-rfc1123"
+ "type": "string"
}
],
"responses": {
@@ -416,15 +410,15 @@
}
},
"202": {
- "description": "The service has accepted the transfer request and will begin processing it. You will receive either CallTransferAccepted or CallTransferFailed event at your specified callback URI to update you on the status of the request.",
+ "description": "Returns the transfer call response.",
"schema": {
"$ref": "#/definitions/TransferCallResponse"
}
}
},
"x-ms-examples": {
- "CallConnection_TransferToParticipant": {
- "$ref": "./examples/CallConnection_TransferToParticipant.json"
+ "Transfer the call to a participant.": {
+ "$ref": "./examples/CallConnections_TransferToParticipant.json"
}
}
}
@@ -436,7 +430,7 @@
],
"summary": "Plays audio to participants in the call.",
"description": "Plays audio to participants in the call.",
- "operationId": "CallMedia_Play",
+ "operationId": "Content_Play",
"parameters": [
{
"name": "callConnectionId",
@@ -466,12 +460,12 @@
}
},
"202": {
- "description": "The service has accepted the play request and will begin processing it. You will receive either PlayCompleted or PlayFailed event at your specified callback URI to update you on the status of the request."
+ "description": "Returns the play audio response."
}
},
"x-ms-examples": {
- "CallMedia_Play": {
- "$ref": "./examples/CallMedia_Play.json"
+ "Plays audio to participants in the call.": {
+ "$ref": "./examples/Content_Play.json"
}
}
}
@@ -483,7 +477,7 @@
],
"summary": "Cancel all media operations in a call.",
"description": "Cancel all media operations in a call.",
- "operationId": "CallMedia_CancelAllMediaOperations",
+ "operationId": "Content_CancelAllMediaOperations",
"parameters": [
{
"name": "callConnectionId",
@@ -504,12 +498,12 @@
}
},
"202": {
- "description": "The service has accepted the cancel request and will begin processing it. You will receive the RecognizeCanceled and/or PlayCanceled event at your specified callback URI to update you on the status of the request, based on which media operation has been canceled by it."
+ "description": "Returns the cancel all media operations response."
}
},
"x-ms-examples": {
- "CallMedia_CancelAllMediaOperations": {
- "$ref": "./examples/CallMedia_CancelAllMediaOperations.json"
+ "Cancel all media operations in a call.": {
+ "$ref": "./examples/Content_CancelAllMediaOperations.json"
}
}
}
@@ -521,7 +515,7 @@
],
"summary": "Recognize media from call.",
"description": "Recognize media from call.",
- "operationId": "CallMedia_Recognize",
+ "operationId": "Content_Recognize",
"parameters": [
{
"name": "callConnectionId",
@@ -551,168 +545,12 @@
}
},
"202": {
- "description": "The service has accepted the recognize request and will begin processing it. You will receive either RecognizeCompleted or RecognizeFailed event at your specified callback URI to update you on the status of the request."
- }
- },
- "x-ms-examples": {
- "CallMedia_Recognize": {
- "$ref": "./examples/CallMedia_Recognize.json"
- }
- }
- }
- },
- "/calling/callConnections/{callConnectionId}:startContinuousDtmfRecognition": {
- "post": {
- "tags": [
- "MidConnections"
- ],
- "summary": "Start continuous Dtmf recognition by subscribing to tones.",
- "operationId": "CallMedia_StartContinuousDtmfRecognition",
- "parameters": [
- {
- "name": "callConnectionId",
- "in": "path",
- "description": "The call connection id",
- "required": true,
- "type": "string"
- },
- {
- "name": "continuousDtmfRecognitionRequest",
- "in": "body",
- "description": "The continuous recognize request",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ContinuousDtmfRecognitionRequest"
- }
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "#/definitions/CommunicationErrorResponse"
- }
- },
- "200": {
- "description": "The service has started continuous dtmf recognition. You will receive either the ContinuousDtmfRecognitionToneReceived, ContinuousDtmfRecognitionToneFailed or ContinuousDtmfRecognitionStopped event at your specified callback URI. Continuous dtmf recognition can run in parallel with other media operations. For example if the Recognize operation is also active and a dtmf is detected, both ContinuousDtmfRecognitionToneReceived and RecognizeCompleted events will be received."
- }
- },
- "x-ms-examples": {
- "CallMedia_StartContinuousDtmfRecognition": {
- "$ref": "./examples/CallMedia_StartContinuousDtmfRecognition.json"
- }
- }
- }
- },
- "/calling/callConnections/{callConnectionId}:stopContinuousDtmfRecognition": {
- "post": {
- "tags": [
- "MidConnections"
- ],
- "summary": "Stop continuous Dtmf recognition by unsubscribing to tones.",
- "operationId": "CallMedia_StopContinuousDtmfRecognition",
- "parameters": [
- {
- "name": "callConnectionId",
- "in": "path",
- "description": "The call connection id",
- "required": true,
- "type": "string"
- },
- {
- "name": "continuousDtmfRecognitionRequest",
- "in": "body",
- "description": "The continuous recognize request",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ContinuousDtmfRecognitionRequest"
- }
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "#/definitions/CommunicationErrorResponse"
- }
- },
- "200": {
- "description": "The service has stopped continuous dtmf recognition. If continuous dtmf recognition was previously started, you will receive the ContinuousDtmfRecognitionStopped event at your specified callback URI."
- }
- },
- "x-ms-examples": {
- "CallMedia_StopContinuousDtmfRecognition": {
- "$ref": "./examples/CallMedia_StopContinuousDtmfRecognition.json"
- }
- }
- }
- },
- "/calling/callConnections/{callConnectionId}:sendDtmfTones": {
- "post": {
- "tags": [
- "MidConnections"
- ],
- "summary": "Send dtmf tones.",
- "description": "Send dtmf tones.",
- "operationId": "CallMedia_SendDtmfTones",
- "parameters": [
- {
- "name": "callConnectionId",
- "in": "path",
- "description": "The call connection id",
- "required": true,
- "type": "string"
- },
- {
- "name": "sendDtmfTonesRequest",
- "in": "body",
- "description": "The send dtmf tones request",
- "required": true,
- "schema": {
- "$ref": "#/definitions/SendDtmfTonesRequest"
- }
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "Repeatability-Request-ID",
- "in": "header",
- "description": "If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID.",
- "type": "string",
- "format": "uuid"
- },
- {
- "name": "Repeatability-First-Sent",
- "in": "header",
- "description": "If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT.",
- "type": "string",
- "format": "date-time-rfc1123"
- }
- ],
- "responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "#/definitions/CommunicationErrorResponse"
- }
- },
- "202": {
- "description": "The service has accepted the send dtmf tones request and will begin processing it. You will receive either the SendDtmfTonesCompleted or the SendDtmfTonesFailed event at your specified callback URI to update you on the status of the request.",
- "schema": {
- "$ref": "#/definitions/SendDtmfTonesResult"
- }
+ "description": "Returns the recognize response."
}
},
"x-ms-examples": {
- "CallMedia_SendDtmfTones": {
- "$ref": "./examples/CallMedia_SendDtmfTones.json"
+ "Recognize media from call.": {
+ "$ref": "./examples/Content_Recognize.json"
}
}
}
@@ -722,9 +560,9 @@
"tags": [
"MidConnections"
],
- "summary": "Get participants from a call. Recording and transcription bots are omitted from this list.",
- "description": "Get participants from a call. Recording and transcription bots are omitted from this list.",
- "operationId": "CallConnection_GetParticipants",
+ "summary": "Get participants from a call.",
+ "description": "Get participants from a call.",
+ "operationId": "CallConnections_GetParticipants",
"parameters": [
{
"name": "callConnectionId",
@@ -752,13 +590,9 @@
}
},
"x-ms-examples": {
- "CallConnection_GetParticipants": {
- "$ref": "./examples/CallConnection_GetParticipants.json"
+ "Get participants from a call.": {
+ "$ref": "./examples/CallConnections_GetParticipants.json"
}
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink",
- "itemName": "value"
}
}
},
@@ -767,9 +601,9 @@
"tags": [
"MidConnections"
],
- "summary": "Add a participant to the call.",
- "description": "Add a participant to the call.",
- "operationId": "CallConnection_AddParticipant",
+ "summary": "Add participants to the call.",
+ "description": "Add participants to the call.",
+ "operationId": "CallConnections_AddParticipant",
"parameters": [
{
"name": "callConnectionId",
@@ -779,11 +613,12 @@
"type": "string"
},
{
- "name": "addParticipantRequest",
+ "name": "addParticipantsRequest",
"in": "body",
+ "description": "The add participants request.",
"required": true,
"schema": {
- "$ref": "#/definitions/AddParticipantRequest"
+ "$ref": "#/definitions/AddParticipantsRequest"
}
},
{
@@ -800,72 +635,7 @@
"name": "Repeatability-First-Sent",
"in": "header",
"description": "If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT.",
- "type": "string",
- "format": "date-time-rfc1123"
- }
- ],
- "responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "#/definitions/CommunicationErrorResponse"
- }
- },
- "202": {
- "description": "The service has accepted the add participant request and will begin processing it. You will receive either AddParticipantSucceeded or AddParticipantFailed event at your specified callback URI to update you on the status of the request.",
- "schema": {
- "$ref": "#/definitions/AddParticipantResponse"
- }
- }
- },
- "x-ms-examples": {
- "CallConnection_AddParticipant": {
- "$ref": "./examples/CallConnection_AddParticipant.json"
- }
- }
- }
- },
- "/calling/callConnections/{callConnectionId}/participants:remove": {
- "post": {
- "tags": [
- "MidConnections"
- ],
- "summary": "Remove a participant from the call using identifier.",
- "description": "Remove a participant from the call using identifier.",
- "operationId": "CallConnection_RemoveParticipant",
- "parameters": [
- {
- "name": "callConnectionId",
- "in": "path",
- "description": "The call connection id.",
- "required": true,
"type": "string"
- },
- {
- "name": "removeParticipantRequest",
- "in": "body",
- "description": "The participant to be removed from the call.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/RemoveParticipantRequest"
- }
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "Repeatability-Request-ID",
- "in": "header",
- "description": "If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID.",
- "type": "string",
- "format": "uuid"
- },
- {
- "name": "Repeatability-First-Sent",
- "in": "header",
- "description": "If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT.",
- "type": "string",
- "format": "date-time-rfc1123"
}
],
"responses": {
@@ -876,27 +646,27 @@
}
},
"202": {
- "description": "The service has accepted the remove participant request and will begin processing it. You will receive either RemoveParticipantSucceeded or RemoveParticipantFailed event at your specified callback URI to update you on the status of the request.",
+ "description": "Returns the add participant response.",
"schema": {
- "$ref": "#/definitions/RemoveParticipantResponse"
+ "$ref": "#/definitions/AddParticipantsResponse"
}
}
},
"x-ms-examples": {
- "CallConnection_RemoveParticipant": {
- "$ref": "./examples/CallConnection_RemoveParticipant.json"
+ "Add participants to the call.": {
+ "$ref": "./examples/CallConnections_AddParticipant.json"
}
}
}
},
- "/calling/callConnections/{callConnectionId}/participants:mute": {
+ "/calling/callConnections/{callConnectionId}/participants:remove": {
"post": {
"tags": [
"MidConnections"
],
- "summary": "Mute participants from the call using identifier.",
- "description": "Mute participants from the call using identifier.",
- "operationId": "CallConnection_Mute",
+ "summary": "Remove participant from the call using identifier.",
+ "description": "Remove participant from the call using identifier.",
+ "operationId": "CallConnections_RemoveParticipants",
"parameters": [
{
"name": "callConnectionId",
@@ -906,12 +676,12 @@
"type": "string"
},
{
- "name": "muteParticipantsRequest",
+ "name": "removeParticipantsRequest",
"in": "body",
- "description": "The participants to be muted from the call.",
+ "description": "The participants to be removed from the call.",
"required": true,
"schema": {
- "$ref": "#/definitions/MuteParticipantsRequest"
+ "$ref": "#/definitions/RemoveParticipantsRequest"
}
},
{
@@ -928,72 +698,7 @@
"name": "Repeatability-First-Sent",
"in": "header",
"description": "If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT.",
- "type": "string",
- "format": "date-time-rfc1123"
- }
- ],
- "responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "#/definitions/CommunicationErrorResponse"
- }
- },
- "200": {
- "description": "Returns the mute participants response",
- "schema": {
- "$ref": "#/definitions/MuteParticipantsResult"
- }
- }
- },
- "x-ms-examples": {
- "CallConnection_Mute": {
- "$ref": "./examples/CallConnection_Mute.json"
- }
- }
- }
- },
- "/calling/callConnections/{callConnectionId}/participants:cancelAddParticipant": {
- "post": {
- "tags": [
- "MidConnections"
- ],
- "summary": "Cancel add participant operation.",
- "description": "Cancel add participant operation.",
- "operationId": "CallConnection_CancelAddParticipant",
- "parameters": [
- {
- "name": "callConnectionId",
- "in": "path",
- "description": "The call connection Id",
- "required": true,
"type": "string"
- },
- {
- "name": "cancelAddParticipantRequest",
- "in": "body",
- "description": "Cancellation request.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/CancelAddParticipantRequest"
- }
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "Repeatability-Request-ID",
- "in": "header",
- "description": "If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID.",
- "type": "string",
- "format": "uuid"
- },
- {
- "name": "Repeatability-First-Sent",
- "in": "header",
- "description": "If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT.",
- "type": "string",
- "format": "date-time-rfc1123"
}
],
"responses": {
@@ -1004,27 +709,27 @@
}
},
"202": {
- "description": "Returns the cancelAddParticipant response",
+ "description": "Returns the remove participant response.",
"schema": {
- "$ref": "#/definitions/CancelAddParticipantResponse"
+ "$ref": "#/definitions/RemoveParticipantsResponse"
}
}
},
"x-ms-examples": {
- "CallConnection_CancelAddParticipant": {
- "$ref": "./examples/CallConnection_CancelAddParticipant.json"
+ "Remove participant from the call using identifier.": {
+ "$ref": "./examples/CallConnections_RemoveParticipants.json"
}
}
}
},
- "/calling/callConnections/{callConnectionId}/participants/{participantRawId}": {
+ "/calling/callConnections/{callConnectionId}/participants/{participantMri}": {
"get": {
"tags": [
"MidConnections"
],
"summary": "Get participant from a call.",
"description": "Get participant from a call.",
- "operationId": "CallConnection_GetParticipant",
+ "operationId": "CallConnections_GetParticipant",
"parameters": [
{
"name": "callConnectionId",
@@ -1034,9 +739,9 @@
"type": "string"
},
{
- "name": "participantRawId",
+ "name": "participantMri",
"in": "path",
- "description": "Raw id of the participant to retrieve.",
+ "description": "MRI of the participants to retrieve.",
"required": true,
"type": "string"
},
@@ -1052,15 +757,15 @@
}
},
"200": {
- "description": "Returns the detail of the requested participant.",
+ "description": "Returns the get participant response.",
"schema": {
- "$ref": "#/definitions/CallParticipant"
+ "$ref": "#/definitions/AcsCallParticipant"
}
}
},
"x-ms-examples": {
- "CallConnection_GetParticipant": {
- "$ref": "./examples/CallConnection_GetParticipant.json"
+ "Get participant from a call.": {
+ "$ref": "./examples/CallConnections_GetParticipant.json"
}
}
}
@@ -1068,10 +773,10 @@
"/calling/recordings": {
"post": {
"tags": [
- "Recording"
+ "Content_Recording"
],
"summary": "Start recording the call.",
- "operationId": "CallRecording_StartRecording",
+ "operationId": "Content_Recording",
"parameters": [
{
"name": "startCallRecording",
@@ -1096,8 +801,7 @@
"name": "Repeatability-First-Sent",
"in": "header",
"description": "If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT.",
- "type": "string",
- "format": "date-time-rfc1123"
+ "type": "string"
}
],
"responses": {
@@ -1115,8 +819,8 @@
}
},
"x-ms-examples": {
- "CallRecording_StartRecording": {
- "$ref": "./examples/CallRecording_StartRecording.json"
+ "Start recording the call.": {
+ "$ref": "./examples/Content_Recording.json"
}
}
}
@@ -1124,10 +828,10 @@
"/calling/recordings/{recordingId}": {
"get": {
"tags": [
- "Recording"
+ "Content_Recording"
],
"summary": "Get call recording properties.",
- "operationId": "CallRecording_GetRecordingProperties",
+ "operationId": "ServerCalls_GetRecordingProperties",
"parameters": [
{
"name": "recordingId",
@@ -1155,17 +859,17 @@
}
},
"x-ms-examples": {
- "CallRecording_GetRecordingProperties": {
- "$ref": "./examples/CallRecording_GetRecordingProperties.json"
+ "Get call recording properties.": {
+ "$ref": "./examples/ServerCalls_GetRecordingProperties.json"
}
}
},
"delete": {
"tags": [
- "Recording"
+ "Content_Recording"
],
"summary": "Stop recording the call.",
- "operationId": "CallRecording_StopRecording",
+ "operationId": "ServerCalls_StopRecording",
"parameters": [
{
"name": "recordingId",
@@ -1190,8 +894,8 @@
}
},
"x-ms-examples": {
- "CallRecording_StopRecording": {
- "$ref": "./examples/CallRecording_StopRecording.json"
+ "Stop recording the call.": {
+ "$ref": "./examples/ServerCalls_StopRecording.json"
}
}
}
@@ -1199,10 +903,10 @@
"/calling/recordings/{recordingId}:pause": {
"post": {
"tags": [
- "Recording"
+ "Content_Recording"
],
"summary": "Pause recording the call.",
- "operationId": "CallRecording_PauseRecording",
+ "operationId": "ServerCalls_PauseRecording",
"parameters": [
{
"name": "recordingId",
@@ -1223,12 +927,12 @@
}
},
"202": {
- "description": "The service has accepted the pause request and will begin processing it."
+ "description": "Returns the pause call recording response."
}
},
"x-ms-examples": {
- "CallRecording_PauseRecording": {
- "$ref": "./examples/CallRecording_PauseRecording.json"
+ "Pause recording the call.": {
+ "$ref": "./examples/ServerCalls_PauseRecording.json"
}
}
}
@@ -1236,10 +940,10 @@
"/calling/recordings/{recordingId}:resume": {
"post": {
"tags": [
- "Recording"
+ "Content_Recording"
],
"summary": "Resume recording the call.",
- "operationId": "CallRecording_ResumeRecording",
+ "operationId": "ServerCalls_ResumeRecording",
"parameters": [
{
"name": "recordingId",
@@ -1260,12 +964,12 @@
}
},
"202": {
- "description": "The service has accepted the resume request and will begin processing it."
+ "description": "Returns the resume call recording response."
}
},
"x-ms-examples": {
- "CallRecording_ResumeRecording": {
- "$ref": "./examples/CallRecording_ResumeRecording.json"
+ "Resume recording the call.": {
+ "$ref": "./examples/ServerCalls_ResumeRecording.json"
}
}
}
@@ -1276,6 +980,7 @@
"description": "The request payload for creating the call.",
"required": [
"targets",
+ "source",
"callbackUri"
],
"type": "object",
@@ -1287,17 +992,9 @@
"$ref": "#/definitions/CommunicationIdentifierModel"
}
},
- "sourceCallerIdNumber": {
- "$ref": "#/definitions/PhoneNumberIdentifierModel",
- "description": "The source caller Id, a phone number, that's shown to the PSTN participant being invited.\r\nRequired only when calling a PSTN callee."
- },
- "sourceDisplayName": {
- "description": "Display name of the call if dialing out to a pstn number",
- "type": "string"
- },
"source": {
- "$ref": "#/definitions/CommunicationUserIdentifierModel",
- "description": "The identifier of the source of the call"
+ "$ref": "#/definitions/CallSource",
+ "description": "The source of the call."
},
"operationContext": {
"description": "A customer set value used to track the answering of a call.",
@@ -1307,39 +1004,180 @@
"description": "The callback URI.",
"type": "string"
},
- "callIntelligenceOptions": {
- "$ref": "#/definitions/CallIntelligenceOptions",
- "description": "AI options for the call."
+ "mediaStreamingConfiguration": {
+ "$ref": "#/definitions/MediaStreamingConfiguration",
+ "description": "Media Streaming Configuration."
}
}
},
- "CommunicationIdentifierModel": {
- "$ref": "../../../Common/stable/2023-11-15/common.json#/definitions/CommunicationIdentifierModel"
- },
- "PhoneNumberIdentifierModel": {
- "$ref": "../../../Common/stable/2023-11-15/common.json#/definitions/PhoneNumberIdentifierModel"
+ "CommunicationIdentifierModelKind": {
+ "description": "Type of CommunicationIdentifierModel.",
+ "enum": [
+ "unknown",
+ "communicationUser",
+ "phoneNumber",
+ "microsoftTeamsUser"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "CommunicationIdentifierModelKind",
+ "modelAsString": true
+ }
},
- "CommunicationUserIdentifierModel": {
- "$ref": "../../../Common/stable/2023-11-15/common.json#/definitions/CommunicationUserIdentifierModel"
+ "CommunicationIdentifierModel": {
+ "type": "object",
+ "properties": {
+ "rawId": {
+ "description": "Full ID of the identifier.",
+ "type": "string"
+ },
+ "kind": {
+ "$ref": "#/definitions/CommunicationIdentifierModelKind"
+ },
+ "communicationUser": {
+ "$ref": "#/definitions/CommunicationUserIdentifierModel",
+ "description": "The communication user."
+ },
+ "phoneNumber": {
+ "$ref": "#/definitions/PhoneNumberIdentifierModel",
+ "description": "The phone number."
+ },
+ "microsoftTeamsUser": {
+ "$ref": "#/definitions/MicrosoftTeamsUserIdentifierModel",
+ "description": "The Microsoft Teams user."
+ }
+ }
},
- "CallIntelligenceOptions": {
- "description": "AI options for the call.",
+ "CallSource": {
+ "description": "The caller.",
+ "required": [
+ "identifier"
+ ],
"type": "object",
"properties": {
- "cognitiveServicesEndpoint": {
- "description": "The identifier of the Cognitive Service resource assigned to this call.",
+ "callerId": {
+ "$ref": "#/definitions/PhoneNumberIdentifierModel",
+ "description": "The source caller Id, a phone number, that's shown to the PSTN participant being invited. \r\nRequired only when calling a PSTN callee."
+ },
+ "displayName": {
+ "description": "Display name of the call if dialing out to a pstn number",
"type": "string"
+ },
+ "identifier": {
+ "$ref": "#/definitions/CommunicationIdentifierModel",
+ "description": "The identifier of the source of the call"
}
}
},
- "MicrosoftTeamsUserIdentifierModel": {
- "$ref": "../../../Common/stable/2023-11-15/common.json#/definitions/MicrosoftTeamsUserIdentifierModel"
+ "MediaStreamingTransportType": {
+ "description": "The type of transport to be used for media streaming, eg. Websocket",
+ "enum": [
+ "websocket"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "MediaStreamingTransportType",
+ "modelAsString": true
+ }
},
- "MicrosoftTeamsAppIdentifierModel": {
- "$ref": "../../../Common/stable/2023-11-15/common.json#/definitions/MicrosoftTeamsAppIdentifierModel"
+ "MediaStreamingContentType": {
+ "description": "Content type to stream, eg. audio, audio/video",
+ "enum": [
+ "audio"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "MediaStreamingContentType",
+ "modelAsString": true
+ }
},
- "CommunicationErrorResponse": {
- "$ref": "../../../Common/stable/2023-11-15/common.json#/definitions/CommunicationErrorResponse"
+ "MediaStreamingAudioChannelType": {
+ "description": "Audio channel type to stream, eg. unmixed audio, mixed audio",
+ "enum": [
+ "mixed",
+ "unmixed"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "MediaStreamingAudioChannelType",
+ "modelAsString": true
+ }
+ },
+ "MediaStreamingConfiguration": {
+ "description": "Configuration of Media streaming.",
+ "required": [
+ "transportUrl",
+ "transportType",
+ "contentType",
+ "audioChannelType"
+ ],
+ "type": "object",
+ "properties": {
+ "transportUrl": {
+ "description": "Transport URL for media streaming",
+ "type": "string"
+ },
+ "transportType": {
+ "$ref": "#/definitions/MediaStreamingTransportType"
+ },
+ "contentType": {
+ "$ref": "#/definitions/MediaStreamingContentType"
+ },
+ "audioChannelType": {
+ "$ref": "#/definitions/MediaStreamingAudioChannelType"
+ }
+ }
+ },
+ "CommunicationUserIdentifierModel": {
+ "required": [
+ "id"
+ ],
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ }
+ }
+ },
+ "PhoneNumberIdentifierModel": {
+ "required": [
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "string"
+ }
+ }
+ },
+ "CommunicationCloudEnvironmentModel": {
+ "enum": [
+ "public",
+ "dod",
+ "gcch"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "CommunicationCloudEnvironmentModel",
+ "modelAsString": true
+ }
+ },
+ "MicrosoftTeamsUserIdentifierModel": {
+ "required": [
+ "userId"
+ ],
+ "type": "object",
+ "properties": {
+ "userId": {
+ "type": "string"
+ },
+ "isAnonymous": {
+ "type": "boolean"
+ },
+ "cloud": {
+ "$ref": "#/definitions/CommunicationCloudEnvironmentModel"
+ }
+ }
},
"CallConnectionStateModel": {
"description": "The state of the call connection.",
@@ -1370,6 +1208,10 @@
"description": "The server call id.",
"type": "string"
},
+ "source": {
+ "$ref": "#/definitions/CallSource",
+ "description": "The source of the call, which is the caller."
+ },
"targets": {
"description": "The targets of the call.",
"type": "array",
@@ -1384,25 +1226,9 @@
"description": "The callback URI.",
"type": "string"
},
- "sourceCallerIdNumber": {
- "$ref": "#/definitions/PhoneNumberIdentifierModel",
- "description": "The source caller Id, a phone number, that's shown to the PSTN participant being invited.\r\nRequired only when calling a PSTN callee."
- },
- "sourceDisplayName": {
- "description": "Display name of the call if dialing out to a pstn number.",
- "type": "string"
- },
- "source": {
- "$ref": "#/definitions/CommunicationIdentifierModel",
- "description": "Source identity."
- },
- "correlationId": {
- "description": "The correlation ID.",
+ "mediaSubscriptionId": {
+ "description": "SubscriptionId for media streaming",
"type": "string"
- },
- "answeredBy": {
- "$ref": "#/definitions/CommunicationUserIdentifierModel",
- "description": "Identity of the answering entity. Only populated when identity is provided in the request."
}
}
},
@@ -1422,17 +1248,9 @@
"description": "The callback uri.",
"type": "string"
},
- "operationContext": {
- "description": "A customer set value used to track the answering of a call.",
- "type": "string"
- },
- "callIntelligenceOptions": {
- "$ref": "#/definitions/CallIntelligenceOptions",
- "description": "AI options for the call."
- },
- "answeredBy": {
- "$ref": "#/definitions/CommunicationUserIdentifierModel",
- "description": "The identifier of the call automation entity which answers the call"
+ "mediaStreamingConfiguration": {
+ "$ref": "#/definitions/MediaStreamingConfiguration",
+ "description": "Media Streaming Configuration."
}
}
},
@@ -1494,41 +1312,17 @@
"$ref": "#/definitions/CommunicationIdentifierModel",
"description": "The identity of the target where call should be transferred to."
},
- "operationContext": {
- "description": "Used by customers when calling mid-call actions to correlate the request to the response event.",
- "type": "string"
- },
- "transferee": {
- "$ref": "#/definitions/CommunicationIdentifierModel",
- "description": "Transferee is the participant who is transferred away."
+ "transfereeCallerId": {
+ "$ref": "#/definitions/PhoneNumberIdentifierModel",
+ "description": "The caller ID of the transferee when transferring to PSTN."
},
- "operationCallbackUri": {
- "description": "Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\r\nThis setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.",
+ "userToUserInformation": {
+ "description": "The user to user information.",
"type": "string"
},
- "customCallingContext": {
- "$ref": "#/definitions/CustomCallingContext",
- "description": "Used by customer to send custom calling context to targets"
- }
- }
- },
- "CustomCallingContext": {
- "description": "The custom calling context which will be sent to the target",
- "type": "object",
- "properties": {
- "voipHeaders": {
- "description": "Custom calling context VoiP headers",
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
- },
- "sipHeaders": {
- "description": "Custom calling context SIP headers",
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
+ "operationContext": {
+ "description": "Used by customers when calling mid-call actions to correlate the request to the response event.",
+ "type": "string"
}
}
},
@@ -1544,19 +1338,16 @@
},
"PlayRequest": {
"required": [
- "playSources"
+ "playSourceInfo"
],
"type": "object",
"properties": {
- "playSources": {
- "description": "The source of the audio to be played.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/PlaySource"
- }
+ "playSourceInfo": {
+ "$ref": "#/definitions/PlaySource",
+ "description": "The source of the audio to be played."
},
"playTo": {
- "description": "The list of call participants play provided audio to.\r\nPlays to everyone in the call when not provided.",
+ "description": "The list of call participants play provided audio to. \r\nPlays to everyone in the call when not provided.",
"type": "array",
"items": {
"$ref": "#/definitions/CommunicationIdentifierModel"
@@ -1569,19 +1360,13 @@
"operationContext": {
"description": "The value to identify context of the operation.",
"type": "string"
- },
- "operationCallbackUri": {
- "description": "Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\r\nThis setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.",
- "type": "string"
}
}
},
"PlaySourceType": {
"description": "Defines the type of the play source",
"enum": [
- "file",
- "text",
- "ssml"
+ "file"
],
"type": "string",
"x-ms-enum": {
@@ -1591,28 +1376,20 @@
},
"PlaySource": {
"required": [
- "kind"
+ "sourceType"
],
"type": "object",
"properties": {
- "kind": {
+ "sourceType": {
"$ref": "#/definitions/PlaySourceType"
},
- "playSourceCacheId": {
+ "playSourceId": {
"description": "Defines the identifier to be used for caching related media",
"type": "string"
},
- "file": {
+ "fileSource": {
"$ref": "#/definitions/FileSource",
"description": "Defines the file source info to be used for play"
- },
- "text": {
- "$ref": "#/definitions/TextSource",
- "description": "Defines the text source info to be used for play"
- },
- "ssml": {
- "$ref": "#/definitions/SsmlSource",
- "description": "Defines the ssml(Speech Synthesis Markup Language) source info to be used for play"
}
}
},
@@ -1640,68 +1417,10 @@
}
}
},
- "VoiceKind": {
- "description": "Voice kind type",
- "enum": [
- "male",
- "female"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "VoiceKind",
- "modelAsString": true
- }
- },
- "TextSource": {
- "required": [
- "text"
- ],
- "type": "object",
- "properties": {
- "text": {
- "description": "Text for the cognitive service to be played",
- "type": "string"
- },
- "sourceLocale": {
- "description": "Source language locale to be played\r\nRefer to available locales here: ",
- "type": "string"
- },
- "voiceKind": {
- "$ref": "#/definitions/VoiceKind"
- },
- "voiceName": {
- "description": "Voice name to be played\r\nRefer to available Text-to-speech voices here: ",
- "type": "string"
- },
- "customVoiceEndpointId": {
- "description": "Endpoint where the custom voice was deployed.",
- "type": "string"
- }
- }
- },
- "SsmlSource": {
- "required": [
- "ssmlText"
- ],
- "type": "object",
- "properties": {
- "ssmlText": {
- "description": "Ssml string for the cognitive service to be played",
- "type": "string"
- },
- "customVoiceEndpointId": {
- "description": "Endpoint where the custom voice was deployed.",
- "type": "string"
- }
- }
- },
"RecognizeInputType": {
"description": "Determines the type of the recognition.",
"enum": [
- "dtmf",
- "speech",
- "speechOrDtmf",
- "choices"
+ "dtmf"
],
"type": "string",
"x-ms-enum": {
@@ -1734,10 +1453,6 @@
"operationContext": {
"description": "The value to identify context of the operation.",
"type": "string"
- },
- "operationCallbackUri": {
- "description": "Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\r\nThis setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.",
- "type": "string"
}
}
},
@@ -1762,28 +1477,9 @@
"$ref": "#/definitions/CommunicationIdentifierModel",
"description": "Target participant of DTMF tone recognition."
},
- "speechLanguage": {
- "description": "Speech language to be recognized, If not set default is en-US",
- "type": "string"
- },
- "speechRecognitionModelEndpointId": {
- "description": "Endpoint where the custom model was deployed.",
- "type": "string"
- },
"dtmfOptions": {
"$ref": "#/definitions/DtmfOptions",
"description": "Defines configurations for DTMF."
- },
- "choices": {
- "description": "Defines Ivr choices for recognize.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/Choice"
- }
- },
- "speechOptions": {
- "$ref": "#/definitions/SpeechOptions",
- "description": "Defines continuous speech recognition option."
}
}
},
@@ -1837,89 +1533,107 @@
}
}
},
- "Choice": {
- "required": [
- "label",
- "phrases"
- ],
+ "GetParticipantsResponse": {
+ "description": "The response payload for getting participants of the call.",
"type": "object",
"properties": {
- "label": {
- "description": "Identifier for a given choice",
- "type": "string"
- },
- "phrases": {
- "description": "List of phrases to recognize",
+ "values": {
+ "description": "List of the current participants in the call.",
"type": "array",
"items": {
- "type": "string"
+ "$ref": "#/definitions/AcsCallParticipant"
}
},
- "tone": {
- "$ref": "#/definitions/Tone"
+ "nextLink": {
+ "description": "Continue of the list of participants",
+ "type": "string"
}
}
},
- "SpeechOptions": {
- "description": "Options for continuous speech recognition",
+ "AcsCallParticipant": {
+ "description": "Contract model of an ACS call participant",
"type": "object",
"properties": {
- "endSilenceTimeoutInMs": {
- "format": "int64",
- "description": "The length of end silence when user stops speaking and cogservice send response.",
- "type": "integer"
+ "identifier": {
+ "$ref": "#/definitions/CommunicationIdentifierModel",
+ "description": "Communication identifier of the participant"
+ },
+ "isMuted": {
+ "description": "Is participant muted",
+ "type": "boolean"
}
}
},
- "ContinuousDtmfRecognitionRequest": {
+ "AddParticipantsRequest": {
+ "description": "The request payload for adding participants to the call.",
"required": [
- "targetParticipant"
+ "participantsToAdd"
],
"type": "object",
"properties": {
- "targetParticipant": {
- "$ref": "#/definitions/CommunicationIdentifierModel",
- "description": "Defines options for recognition."
+ "sourceCallerId": {
+ "$ref": "#/definitions/PhoneNumberIdentifierModel",
+ "description": "The source caller Id, a phone number, that's shown to the PSTN participant being invited. \r\nRequired only when inviting a PSTN participant."
+ },
+ "participantsToAdd": {
+ "description": "The participants to invite.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CommunicationIdentifierModel"
+ }
+ },
+ "invitationTimeoutInSeconds": {
+ "format": "int32",
+ "description": "Gets or sets the timeout to wait for the invited participant to pickup.\r\nThe maximum value of this is 180 seconds",
+ "maximum": 180,
+ "minimum": 0,
+ "type": "integer"
},
"operationContext": {
- "description": "The value to identify context of the operation.",
+ "description": "Used by customers when calling mid-call actions to correlate the request to the response event.",
"type": "string"
+ }
+ }
+ },
+ "AddParticipantsResponse": {
+ "description": "The response payload for adding participants to the call.",
+ "type": "object",
+ "properties": {
+ "participants": {
+ "description": "List of current participants in the call.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AcsCallParticipant"
+ }
},
- "operationCallbackUri": {
- "description": "Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\r\nThis setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.",
+ "operationContext": {
+ "description": "The operation context provided by client.",
"type": "string"
}
}
},
- "SendDtmfTonesRequest": {
+ "RemoveParticipantsRequest": {
+ "description": "The remove participant by identifier request.",
"required": [
- "tones",
- "targetParticipant"
+ "participantsToRemove"
],
"type": "object",
"properties": {
- "tones": {
- "description": "List of tones to be sent to target participant.",
+ "participantsToRemove": {
+ "description": "The participants to be removed from the call.",
"type": "array",
"items": {
- "$ref": "#/definitions/Tone"
+ "$ref": "#/definitions/CommunicationIdentifierModel"
}
},
- "targetParticipant": {
- "$ref": "#/definitions/CommunicationIdentifierModel",
- "description": "Target participant of send Dtmf tones."
- },
"operationContext": {
- "description": "The value to identify context of the operation.",
- "type": "string"
- },
- "operationCallbackUri": {
- "description": "Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\r\nThis setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.",
+ "description": "Used by customers when calling mid-call actions to correlate the request to the response event.",
"type": "string"
}
}
},
- "SendDtmfTonesResult": {
+ "RemoveParticipantsResponse": {
+ "description": "The response payload for removing participants of the call.",
"type": "object",
"properties": {
"operationContext": {
@@ -1928,194 +1642,6 @@
}
}
},
- "GetParticipantsResponse": {
- "description": "The response payload for getting participants of the call.",
- "required": [
- "value"
- ],
- "type": "object",
- "properties": {
- "value": {
- "description": "List of the current participants in the call.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/CallParticipant"
- }
- },
- "nextLink": {
- "description": "Continue of the list of participants",
- "type": "string"
- }
- }
- },
- "CallParticipant": {
- "description": "A call participant.",
- "type": "object",
- "properties": {
- "identifier": {
- "$ref": "#/definitions/CommunicationIdentifierModel",
- "description": "Communication identifier of the participant"
- },
- "isMuted": {
- "description": "Is participant muted",
- "type": "boolean"
- }
- }
- },
- "AddParticipantRequest": {
- "description": "The request payload for adding participant to the call.",
- "required": [
- "participantToAdd"
- ],
- "type": "object",
- "properties": {
- "sourceCallerIdNumber": {
- "$ref": "#/definitions/PhoneNumberIdentifierModel",
- "description": "The source caller Id, a phone number, that's shown to the PSTN participant being invited.\r\nRequired only when inviting a PSTN participant."
- },
- "sourceDisplayName": {
- "description": "(Optional) The display name of the source that is associated with this invite operation when\r\nadding a PSTN participant or teams user. Note: Will not update the display name in the roster.",
- "type": "string"
- },
- "participantToAdd": {
- "$ref": "#/definitions/CommunicationIdentifierModel",
- "description": "The participant to invite."
- },
- "invitationTimeoutInSeconds": {
- "format": "int32",
- "description": "Gets or sets the timeout to wait for the invited participant to pickup.\r\nThe maximum value of this is 180 seconds",
- "maximum": 180,
- "minimum": 0,
- "type": "integer"
- },
- "operationContext": {
- "description": "Used by customers when calling mid-call actions to correlate the request to the response event.",
- "type": "string"
- },
- "operationCallbackUri": {
- "description": "Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\r\nThis setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.",
- "type": "string"
- },
- "customCallingContext": {
- "$ref": "#/definitions/CustomCallingContext",
- "description": "Used by customer to send custom calling context to targets"
- }
- }
- },
- "AddParticipantResponse": {
- "description": "The response payload for adding participants to the call.",
- "type": "object",
- "properties": {
- "participant": {
- "$ref": "#/definitions/CallParticipant",
- "description": "List of current participants in the call."
- },
- "operationContext": {
- "description": "The operation context provided by client.",
- "type": "string"
- },
- "invitationId": {
- "description": "Invitation ID used to add a participant.",
- "type": "string"
- }
- }
- },
- "RemoveParticipantRequest": {
- "description": "The remove participant by identifier request.",
- "required": [
- "participantToRemove"
- ],
- "type": "object",
- "properties": {
- "participantToRemove": {
- "$ref": "#/definitions/CommunicationIdentifierModel",
- "description": "The participants to be removed from the call."
- },
- "operationContext": {
- "description": "Used by customers when calling mid-call actions to correlate the request to the response event.",
- "type": "string"
- },
- "operationCallbackUri": {
- "description": "Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\r\nThis setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.",
- "type": "string"
- }
- }
- },
- "RemoveParticipantResponse": {
- "description": "The response payload for removing participants of the call.",
- "type": "object",
- "properties": {
- "operationContext": {
- "description": "The operation context provided by client.",
- "type": "string"
- }
- }
- },
- "MuteParticipantsRequest": {
- "description": "The request payload for muting participants from the call.",
- "required": [
- "targetParticipants"
- ],
- "type": "object",
- "properties": {
- "targetParticipants": {
- "description": "Participants to be muted from the call.\r\nOnly ACS Users are supported.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/CommunicationIdentifierModel"
- }
- },
- "operationContext": {
- "description": "Used by customers when calling mid-call actions to correlate the request to the response event.",
- "type": "string"
- }
- }
- },
- "MuteParticipantsResult": {
- "description": "The result payload for muting participants from the call.",
- "type": "object",
- "properties": {
- "operationContext": {
- "description": "The operation context provided by client.",
- "type": "string"
- }
- }
- },
- "CancelAddParticipantRequest": {
- "description": "Request payload for cancelling add participant request.",
- "required": [
- "invitationId"
- ],
- "type": "object",
- "properties": {
- "invitationId": {
- "description": "Invitation ID used to add a participant.",
- "type": "string"
- },
- "operationContext": {
- "description": "Used by customers when calling mid-call actions to correlate the request to the response event.",
- "type": "string"
- },
- "operationCallbackUri": {
- "description": "Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\r\nThis setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.",
- "type": "string"
- }
- }
- },
- "CancelAddParticipantResponse": {
- "description": "Response payload for cancel add participant request.",
- "type": "object",
- "properties": {
- "invitationId": {
- "description": "Invitation ID used to cancel the add participant action.",
- "type": "string"
- },
- "operationContext": {
- "description": "The operation context provided by client.",
- "type": "string"
- }
- }
- },
"RecordingContentType": {
"description": "The content type of call recording.",
"enum": [
@@ -2183,20 +1709,6 @@
"items": {
"$ref": "#/definitions/CommunicationIdentifierModel"
}
- },
- "channelAffinity": {
- "description": "The channel affinity of call recording\r\nWhen 'recordingChannelType' is set to 'unmixed', if channelAffinity is not specified, 'channel' will be automatically assigned.\r\nChannel-Participant mapping details can be found in the metadata of the recording.\r\n///",
- "type": "array",
- "items": {
- "$ref": "#/definitions/ChannelAffinity"
- }
- },
- "pauseOnStart": {
- "description": "When set to true will start recording in Pause mode, which can be resumed.",
- "type": "boolean"
- },
- "externalStorage": {
- "$ref": "#/definitions/ExternalStorage"
}
}
},
@@ -2229,66 +1741,6 @@
}
}
},
- "ChannelAffinity": {
- "description": "Channel affinity for a participant",
- "required": [
- "participant"
- ],
- "type": "object",
- "properties": {
- "channel": {
- "format": "int32",
- "description": "Channel number to which bitstream from a particular participant will be written.",
- "maximum": 4,
- "minimum": 0,
- "type": "integer"
- },
- "participant": {
- "$ref": "#/definitions/CommunicationIdentifierModel",
- "description": "The identifier for the participant whose bitstream will be written to the channel \r\nrepresented by the channel number."
- }
- }
- },
- "RecordingStorageKind": {
- "description": "Defines the kind of external storage",
- "enum": [
- "azureCommunicationServices",
- "azureBlobStorage"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "RecordingStorageKind",
- "modelAsString": true,
- "values": [
- {
- "name": "AzureCommunicationServices",
- "description": "Storage managed by Azure Communication Services",
- "value": "AzureCommunicationServices"
- },
- {
- "name": "AzureBlobStorage",
- "description": "Storage managed by provided Azure blob",
- "value": "AzureBlobStorage"
- }
- ]
- }
- },
- "ExternalStorage": {
- "required": [
- "recordingStorageKind"
- ],
- "type": "object",
- "properties": {
- "recordingStorageKind": {
- "$ref": "#/definitions/RecordingStorageKind"
- },
- "recordingDestinationContainerUrl": {
- "format": "uri",
- "description": "Uri of a container or a location within a container",
- "type": "string"
- }
- }
- },
"RecordingState": {
"enum": [
"active",
@@ -2300,35 +1752,6 @@
"modelAsString": true
}
},
- "RecordingKind": {
- "enum": [
- "azureCommunicationServices",
- "teams",
- "teamsCompliance"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "RecordingKind",
- "modelAsString": true,
- "values": [
- {
- "name": "AzureCommunicationServices",
- "description": "Recording initiated by Azure Communication Services",
- "value": "AzureCommunicationServices"
- },
- {
- "name": "Teams",
- "description": "Recording initiated by Teams user",
- "value": "Teams"
- },
- {
- "name": "TeamsCompliance",
- "description": "Recording initiated by Teams compliance policy",
- "value": "TeamsCompliance"
- }
- ]
- }
- },
"RecordingStateResponse": {
"type": "object",
"properties": {
@@ -2337,13 +1760,10 @@
},
"recordingState": {
"$ref": "#/definitions/RecordingState"
- },
- "recordingKind": {
- "$ref": "#/definitions/RecordingKind"
}
}
},
- "AddParticipantFailed": {
+ "AddParticipantsFailed": {
"description": "The failed to add participants event.",
"type": "object",
"properties": {
@@ -2365,11 +1785,14 @@
},
"resultInformation": {
"$ref": "#/definitions/ResultInformation",
- "description": "Contains the resulting SIP code, sub-code and message."
+ "description": "Contains the resulting SIP code/sub-code and message from NGC services."
},
- "participant": {
- "$ref": "#/definitions/CommunicationIdentifierModel",
- "description": "Participant"
+ "participants": {
+ "description": "The list of participants in the call.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CommunicationIdentifierModel"
+ }
}
}
},
@@ -2378,21 +1801,18 @@
"properties": {
"code": {
"format": "int32",
- "description": "Code of the current result. This can be helpful to Call Automation team to troubleshoot the issue if this result was unexpected.",
"type": "integer"
},
"subCode": {
"format": "int32",
- "description": "Subcode of the current result. This can be helpful to Call Automation team to troubleshoot the issue if this result was unexpected.",
"type": "integer"
},
"message": {
- "description": "Detail message that describes the current result.",
"type": "string"
}
}
},
- "AddParticipantSucceeded": {
+ "AddParticipantsSucceeded": {
"description": "The participants successfully added event.",
"type": "object",
"properties": {
@@ -2414,11 +1834,14 @@
},
"resultInformation": {
"$ref": "#/definitions/ResultInformation",
- "description": "Contains the resulting SIP code, sub-code and message."
+ "description": "Contains the resulting SIP code/sub-code and message from NGC services."
},
- "participant": {
- "$ref": "#/definitions/CommunicationIdentifierModel",
- "description": "Participant"
+ "participants": {
+ "description": "The list of participants in the call.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CommunicationIdentifierModel"
+ }
}
}
},
@@ -2488,15 +1911,7 @@
},
"resultInformation": {
"$ref": "#/definitions/ResultInformation",
- "description": "Contains the resulting SIP code, sub-code and message."
- },
- "transferTarget": {
- "$ref": "#/definitions/CommunicationIdentifierModel",
- "description": "Target who the call is transferred to."
- },
- "transferee": {
- "$ref": "#/definitions/CommunicationIdentifierModel",
- "description": "the participant who is being transferred away."
+ "description": "Contains the resulting SIP code/sub-code and message from NGC services."
}
}
},
@@ -2522,7 +1937,7 @@
},
"resultInformation": {
"$ref": "#/definitions/ResultInformation",
- "description": "Contains the resulting SIP code, sub-code and message."
+ "description": "Contains the resulting SIP code/sub-code and message from NGC services."
}
}
},
@@ -2542,136 +1957,15 @@
"description": "Correlation ID for event to call correlation. Also called ChainId for skype chain ID.",
"type": "string"
},
- "sequenceNumber": {
- "format": "int32",
- "description": "The Sequence Number of the event",
- "type": "integer"
- },
"participants": {
"description": "The list of participants in the call.",
"type": "array",
"items": {
- "$ref": "#/definitions/CallParticipant"
+ "$ref": "#/definitions/CommunicationIdentifierModel"
}
}
}
},
- "RemoveParticipantSucceeded": {
- "description": "The participant removed event.",
- "type": "object",
- "properties": {
- "callConnectionId": {
- "description": "Call connection ID.",
- "type": "string"
- },
- "serverCallId": {
- "description": "Server call ID.",
- "type": "string"
- },
- "correlationId": {
- "description": "Correlation ID for event to call correlation. Also called ChainId for skype chain ID.",
- "type": "string"
- },
- "operationContext": {
- "description": "Used by customers when calling mid-call actions to correlate the request to the response event.",
- "type": "string"
- },
- "resultInformation": {
- "$ref": "#/definitions/ResultInformation",
- "description": "Contains the resulting SIP code, sub-code and message."
- },
- "participant": {
- "$ref": "#/definitions/CommunicationIdentifierModel",
- "description": "Participant"
- }
- }
- },
- "RemoveParticipantFailed": {
- "description": "The failed to remove participant event.",
- "type": "object",
- "properties": {
- "callConnectionId": {
- "description": "Call connection ID.",
- "type": "string"
- },
- "serverCallId": {
- "description": "Server call ID.",
- "type": "string"
- },
- "correlationId": {
- "description": "Correlation ID for event to call correlation. Also called ChainId for skype chain ID.",
- "type": "string"
- },
- "operationContext": {
- "description": "Used by customers when calling mid-call actions to correlate the request to the response event.",
- "type": "string"
- },
- "resultInformation": {
- "$ref": "#/definitions/ResultInformation",
- "description": "Contains the resulting SIP code, sub-code and message."
- },
- "participant": {
- "$ref": "#/definitions/CommunicationIdentifierModel",
- "description": "Participant"
- }
- }
- },
- "CancelAddParticipantSucceeded": {
- "description": "Successful cancel add participant event.",
- "type": "object",
- "properties": {
- "callConnectionId": {
- "description": "Call connection ID.",
- "type": "string"
- },
- "serverCallId": {
- "description": "Server call ID.",
- "type": "string"
- },
- "correlationId": {
- "description": "Correlation ID for event to call correlation. Also called ChainId for skype chain ID.",
- "type": "string"
- },
- "operationContext": {
- "description": "Used by customers when calling mid-call actions to correlate the request to the response event.",
- "type": "string"
- },
- "invitationId": {
- "description": "Invitation ID used to cancel the request.",
- "type": "string"
- }
- }
- },
- "CancelAddParticipantFailed": {
- "description": "Failed cancel add participant event.",
- "type": "object",
- "properties": {
- "callConnectionId": {
- "description": "Call connection ID.",
- "type": "string"
- },
- "serverCallId": {
- "description": "Server call ID.",
- "type": "string"
- },
- "correlationId": {
- "description": "Correlation ID for event to call correlation. Also called ChainId for skype chain ID.",
- "type": "string"
- },
- "operationContext": {
- "description": "Used by customers when calling mid-call actions to correlate the request to the response event.",
- "type": "string"
- },
- "resultInformation": {
- "$ref": "#/definitions/ResultInformation",
- "description": "Contains the resulting SIP code/sub-code and message from NGC services."
- },
- "invitationId": {
- "description": "Invitation ID used to cancel the request.",
- "type": "string"
- }
- }
- },
"RecordingStateChanged": {
"type": "object",
"properties": {
@@ -2684,7 +1978,7 @@
"type": "string"
},
"correlationId": {
- "description": "Correlation ID for event to call correlation.",
+ "description": "Correlation ID for event to call correlation. Also called ChainId for skype chain ID.",
"type": "string"
},
"recordingId": {
@@ -2700,9 +1994,6 @@
"description": "The time of the recording started",
"type": "string",
"readOnly": true
- },
- "recordingKind": {
- "$ref": "#/definitions/RecordingKind"
}
}
},
@@ -2718,7 +2009,7 @@
"type": "string"
},
"correlationId": {
- "description": "Correlation ID for event to call correlation.",
+ "description": "Correlation ID for event to call correlation. Also called ChainId for skype chain ID.",
"type": "string"
},
"operationContext": {
@@ -2727,7 +2018,7 @@
},
"resultInformation": {
"$ref": "#/definitions/ResultInformation",
- "description": "Contains the resulting SIP code, sub-code and message."
+ "description": "Contains the resulting SIP code/sub-code and message from NGC services."
}
}
},
@@ -2743,7 +2034,7 @@
"type": "string"
},
"correlationId": {
- "description": "Correlation ID for event to call correlation.",
+ "description": "Correlation ID for event to call correlation. Also called ChainId for skype chain ID.",
"type": "string"
},
"operationContext": {
@@ -2752,7 +2043,7 @@
},
"resultInformation": {
"$ref": "#/definitions/ResultInformation",
- "description": "Contains the resulting SIP code, sub-code and message."
+ "description": "Contains the resulting SIP code/sub-code and message from NGC services."
}
}
},
@@ -2768,7 +2059,7 @@
"type": "string"
},
"correlationId": {
- "description": "Correlation ID for event to call correlation.",
+ "description": "Correlation ID for event to call correlation. Also called ChainId for skype chain ID.",
"type": "string"
},
"operationContext": {
@@ -2780,9 +2071,7 @@
"RecognitionType": {
"description": "Determines the sub-type of the recognize operation.\r\nIn case of cancel operation the this field is not set and is returned empty",
"enum": [
- "dtmf",
- "speech",
- "choices"
+ "dtmf"
],
"type": "string",
"x-ms-enum": {
@@ -2802,7 +2091,7 @@
"type": "string"
},
"correlationId": {
- "description": "Correlation ID for event to call correlation.",
+ "description": "Correlation ID for event to call correlation. Also called ChainId for skype chain ID.",
"type": "string"
},
"operationContext": {
@@ -2811,27 +2100,18 @@
},
"resultInformation": {
"$ref": "#/definitions/ResultInformation",
- "description": "Contains the resulting SIP code, sub-code and message."
+ "description": "Contains the resulting SIP code/sub-code and message from NGC services."
},
"recognitionType": {
"$ref": "#/definitions/RecognitionType"
},
- "dtmfResult": {
- "$ref": "#/definitions/DtmfResult",
+ "collectTonesResult": {
+ "$ref": "#/definitions/CollectTonesResult",
"description": "Defines the result for RecognitionType = Dtmf"
- },
- "choiceResult": {
- "$ref": "#/definitions/ChoiceResult",
- "description": "Defines the result for RecognitionType = Choices"
- },
- "speechResult": {
- "$ref": "#/definitions/SpeechResult",
- "description": "Defines the result for RecognitionType = Speech and SpeechOrDtmf",
- "readOnly": true
}
}
},
- "DtmfResult": {
+ "CollectTonesResult": {
"type": "object",
"properties": {
"tones": {
@@ -2843,29 +2123,6 @@
}
}
},
- "ChoiceResult": {
- "type": "object",
- "properties": {
- "label": {
- "description": "Label is the primary identifier for the choice detected",
- "type": "string"
- },
- "recognizedPhrase": {
- "description": "Phrases are set to the value if choice is selected via phrase detection.\r\nIf Dtmf input is recognized, then Label will be the identifier for the choice detected and phrases will be set to null",
- "type": "string"
- }
- }
- },
- "SpeechResult": {
- "description": "The speech status as a result.",
- "type": "object",
- "properties": {
- "speech": {
- "description": "The recognized speech in string.",
- "type": "string"
- }
- }
- },
"RecognizeFailed": {
"type": "object",
"properties": {
@@ -2878,7 +2135,7 @@
"type": "string"
},
"correlationId": {
- "description": "Correlation ID for event to call correlation.",
+ "description": "Correlation ID for event to call correlation. Also called ChainId for skype chain ID.",
"type": "string"
},
"operationContext": {
@@ -2887,7 +2144,7 @@
},
"resultInformation": {
"$ref": "#/definitions/ResultInformation",
- "description": "Contains the resulting SIP code, sub-code and message."
+ "description": "Contains the resulting SIP code/sub-code and message from NGC services."
}
}
},
@@ -2903,146 +2160,47 @@
"type": "string"
},
"correlationId": {
- "description": "Correlation ID for event to call correlation.",
- "type": "string"
- },
- "operationContext": {
- "description": "Used by customers when calling mid-call actions to correlate the request to the response event.",
- "type": "string"
- }
- }
- },
- "ContinuousDtmfRecognitionToneFailed": {
- "type": "object",
- "properties": {
- "callConnectionId": {
- "description": "Call connection ID.",
- "type": "string"
- },
- "serverCallId": {
- "description": "Server call ID.",
- "type": "string"
- },
- "correlationId": {
- "description": "Correlation ID for event to call correlation.",
- "type": "string"
- },
- "resultInformation": {
- "$ref": "#/definitions/ResultInformation",
- "description": "Contains the resulting SIP code, sub-code and message."
- },
- "operationContext": {
- "description": "Used by customers when calling mid-call actions to correlate the request to the response event.",
- "type": "string"
- }
- }
- },
- "ContinuousDtmfRecognitionToneReceived": {
- "type": "object",
- "properties": {
- "sequenceId": {
- "format": "int32",
- "description": "The sequence id which can be used to determine if the same tone was played multiple times or if any tones were missed.",
- "type": "integer",
- "readOnly": true
- },
- "tone": {
- "$ref": "#/definitions/Tone"
- },
- "callConnectionId": {
- "description": "Call connection ID.",
- "type": "string"
- },
- "serverCallId": {
- "description": "Server call ID.",
- "type": "string"
- },
- "correlationId": {
- "description": "Correlation ID for event to call correlation. Also called ChainId or skype chain ID.",
- "type": "string"
- },
- "resultInformation": {
- "$ref": "#/definitions/ResultInformation",
- "description": "Contains the resulting SIP code, sub-code and message."
- },
- "operationContext": {
- "description": "Used by customers when calling mid-call actions to correlate the request to the response event.",
- "type": "string"
- }
- }
- },
- "ContinuousDtmfRecognitionStopped": {
- "type": "object",
- "properties": {
- "callConnectionId": {
- "description": "Call connection ID.",
- "type": "string"
- },
- "serverCallId": {
- "description": "Server call ID.",
- "type": "string"
- },
- "correlationId": {
- "description": "Correlation ID for event to call correlation.",
+ "description": "Correlation ID for event to call correlation. Also called ChainId for skype chain ID.",
"type": "string"
},
"operationContext": {
"description": "Used by customers when calling mid-call actions to correlate the request to the response event.",
"type": "string"
- },
- "resultInformation": {
- "$ref": "#/definitions/ResultInformation",
- "description": "Contains the resulting SIP code, sub-code and message."
}
}
},
- "SendDtmfTonesCompleted": {
+ "CommunicationErrorResponse": {
+ "description": "The Communication Services error response",
+ "required": [
+ "error"
+ ],
"type": "object",
"properties": {
- "callConnectionId": {
- "description": "Call connection ID.",
- "type": "string"
- },
- "serverCallId": {
- "description": "Server call ID.",
- "type": "string"
- },
- "correlationId": {
- "description": "Correlation ID for event to call correlation.",
- "type": "string"
- },
- "operationContext": {
- "description": "Used by customers when calling mid-call actions to correlate the request to the response event.",
- "type": "string"
- },
- "resultInformation": {
- "$ref": "#/definitions/ResultInformation",
- "description": "Contains the resulting SIP code, sub-code and message."
+ "error": {
+ "$ref": "#/definitions/CommunicationError"
}
}
},
- "SendDtmfTonesFailed": {
+ "CommunicationError": {
"type": "object",
"properties": {
- "callConnectionId": {
- "description": "Call connection ID.",
+ "code": {
"type": "string"
},
- "serverCallId": {
- "description": "Server call ID.",
+ "message": {
"type": "string"
},
- "correlationId": {
- "description": "Correlation ID for event to call correlation.",
+ "target": {
"type": "string"
},
- "operationContext": {
- "description": "Used by customers when calling mid-call actions to correlate the request to the response event.",
- "type": "string"
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CommunicationError"
+ }
},
- "resultInformation": {
- "$ref": "#/definitions/ResultInformation",
- "description": "Contains the resulting SIP code, sub-code and message."
+ "innererror": {
+ "$ref": "#/definitions/CommunicationError"
}
}
}
@@ -3062,30 +2220,61 @@
"description": "The endpoint of the Azure Communication resource.",
"required": true,
"type": "string",
- "format": "url",
+ "format": "uri",
"x-ms-skip-url-encoding": true,
"x-ms-parameter-location": "client"
}
},
- "securityDefinitions": {
- "Authorization": {
- "type": "apiKey",
- "description": "An Azure Communication Services user access token.",
- "name": "Authorization",
- "in": "header"
+ "responses": {
+ "400": {
+ "description": "BadRequest",
+ "schema": {
+ "$ref": "#/definitions/CommunicationErrorResponse"
+ },
+ "x-ms-error-response": true
+ },
+ "401": {
+ "description": "Unauthorized",
+ "schema": {
+ "$ref": "#/definitions/CommunicationErrorResponse"
+ },
+ "x-ms-error-response": true
+ },
+ "403": {
+ "description": "Forbidden",
+ "schema": {
+ "$ref": "#/definitions/CommunicationErrorResponse"
+ },
+ "x-ms-error-response": true
+ },
+ "404": {
+ "description": "NotFound",
+ "schema": {
+ "$ref": "#/definitions/CommunicationErrorResponse"
+ },
+ "x-ms-error-response": true
+ },
+ "500": {
+ "description": "InternalServerError",
+ "schema": {
+ "$ref": "#/definitions/CommunicationErrorResponse"
+ },
+ "x-ms-error-response": true
}
},
- "security": [
- {
- "Authorization": []
- }
- ],
"x-ms-parameterized-host": {
"hostTemplate": "{endpoint}",
"useSchemePrefix": false,
"parameters": [
{
- "$ref": "#/parameters/Endpoint"
+ "name": "endpoint",
+ "description": "The endpoint of the Azure Communication resource.",
+ "required": true,
+ "type": "string",
+ "format": "url",
+ "in": "path",
+ "x-ms-skip-url-encoding": true,
+ "x-ms-parameter-location": "client"
}
]
}
diff --git a/swagger-specs/communication/data-plane/Messages/api-set.json b/swagger-specs/communication/data-plane/Messages/api-set.json
index dbeb683b0..28b0c3634 100644
--- a/swagger-specs/communication/data-plane/Messages/api-set.json
+++ b/swagger-specs/communication/data-plane/Messages/api-set.json
@@ -1 +1 @@
-{"addition_input_file_paths": [], "input_files": ["stable/2024-02-01/communicationservicesmessages.json"], "name": "package-2024-02-01"}
\ No newline at end of file
+{"addition_input_file_paths": [], "input_files": ["stable/2024-08-30/communicationservicesmessages.json"], "name": "package-2024-08-30"}
\ No newline at end of file
diff --git a/swagger-specs/communication/data-plane/Messages/stable/2024-02-01/communicationservicesmessages.json b/swagger-specs/communication/data-plane/Messages/stable/2024-08-30/communicationservicesmessages.json
similarity index 88%
rename from swagger-specs/communication/data-plane/Messages/stable/2024-02-01/communicationservicesmessages.json
rename to swagger-specs/communication/data-plane/Messages/stable/2024-08-30/communicationservicesmessages.json
index 7a383c60e..2133c7a7f 100644
--- a/swagger-specs/communication/data-plane/Messages/stable/2024-02-01/communicationservicesmessages.json
+++ b/swagger-specs/communication/data-plane/Messages/stable/2024-08-30/communicationservicesmessages.json
@@ -2,7 +2,7 @@
"swagger": "2.0",
"info": {
"title": "CommunicationMessagesClient",
- "version": "2024-02-01",
+ "version": "2024-08-30",
"description": "Azure Communication Messages Service",
"x-typespec-generated": [
{
@@ -220,11 +220,20 @@
"Sends a notification message - Template": {
"$ref": "./examples/NotificationMessages_SendTemplate.json"
},
+ "Sends a notification message - audio": {
+ "$ref": "./examples/NotificationMessages_SendAudio.json"
+ },
+ "Sends a notification message - document": {
+ "$ref": "./examples/NotificationMessages_SendDocument.json"
+ },
"Sends a notification message - image": {
"$ref": "./examples/NotificationMessages_SendImage.json"
},
"Sends a notification message - text": {
"$ref": "./examples/NotificationMessages_SendText.json"
+ },
+ "Sends a notification message - video": {
+ "$ref": "./examples/NotificationMessages_SendVideo.json"
}
}
}
@@ -291,6 +300,26 @@
}
},
"definitions": {
+ "AudioNotificationContent": {
+ "type": "object",
+ "description": "A request to send an audio notification.",
+ "properties": {
+ "mediaUri": {
+ "type": "string",
+ "format": "uri",
+ "description": "A media url for the file. Required if the type is one of the supported media types, e.g. image"
+ }
+ },
+ "required": [
+ "mediaUri"
+ ],
+ "allOf": [
+ {
+ "$ref": "#/definitions/NotificationContent"
+ }
+ ],
+ "x-ms-discriminator-value": "audio"
+ },
"Azure.Core.Foundations.Error": {
"type": "object",
"description": "The error object.",
@@ -359,10 +388,14 @@
},
"CommunicationMessageKind": {
"type": "string",
- "description": "The type of message. Supports text, image, template.",
+ "description": "The type of message.",
"enum": [
"text",
"image",
+ "image_v0",
+ "document",
+ "video",
+ "audio",
"template"
],
"x-ms-enum": {
@@ -379,6 +412,26 @@
"value": "image",
"description": "Image message type."
},
+ {
+ "name": "image_v0",
+ "value": "image_v0",
+ "description": "Image message type. Legacy image type for `MediaNotificationContent` which is being deprecated"
+ },
+ {
+ "name": "document",
+ "value": "document",
+ "description": "Document message type."
+ },
+ {
+ "name": "video",
+ "value": "video",
+ "description": "Video message type."
+ },
+ {
+ "name": "audio",
+ "value": "audio",
+ "description": "Audio message type."
+ },
{
"name": "template",
"value": "template",
@@ -405,9 +458,61 @@
]
}
},
+ "DocumentNotificationContent": {
+ "type": "object",
+ "description": "A request to send a document notification.",
+ "properties": {
+ "caption": {
+ "type": "string",
+ "description": "Optional text content."
+ },
+ "fileName": {
+ "type": "string",
+ "description": "Optional name for the file."
+ },
+ "mediaUri": {
+ "type": "string",
+ "format": "uri",
+ "description": "A media url for the file. Required if the type is one of the supported media types, e.g. image"
+ }
+ },
+ "required": [
+ "mediaUri"
+ ],
+ "allOf": [
+ {
+ "$ref": "#/definitions/NotificationContent"
+ }
+ ],
+ "x-ms-discriminator-value": "document"
+ },
+ "ImageNotificationContent": {
+ "type": "object",
+ "description": "A request to send an image notification.",
+ "properties": {
+ "caption": {
+ "type": "string",
+ "description": "Optional text content."
+ },
+ "mediaUri": {
+ "type": "string",
+ "format": "uri",
+ "description": "A media url for the file. Required if the type is one of the supported media types, e.g. image"
+ }
+ },
+ "required": [
+ "mediaUri"
+ ],
+ "allOf": [
+ {
+ "$ref": "#/definitions/NotificationContent"
+ }
+ ],
+ "x-ms-discriminator-value": "image"
+ },
"MediaNotificationContent": {
"type": "object",
- "description": "A request to send a media notification.",
+ "description": "@deprecated A request to send an image notification.",
"properties": {
"content": {
"type": "string",
@@ -427,7 +532,7 @@
"$ref": "#/definitions/NotificationContent"
}
],
- "x-ms-discriminator-value": "image"
+ "x-ms-discriminator-value": "image_v0"
},
"MessageReceipt": {
"type": "object",
@@ -903,6 +1008,30 @@
],
"x-ms-discriminator-value": "text"
},
+ "VideoNotificationContent": {
+ "type": "object",
+ "description": "A request to send a video notification.",
+ "properties": {
+ "caption": {
+ "type": "string",
+ "description": "Optional text content."
+ },
+ "mediaUri": {
+ "type": "string",
+ "format": "uri",
+ "description": "A media url for the file. Required if the type is one of the supported media types, e.g. image"
+ }
+ },
+ "required": [
+ "mediaUri"
+ ],
+ "allOf": [
+ {
+ "$ref": "#/definitions/NotificationContent"
+ }
+ ],
+ "x-ms-discriminator-value": "video"
+ },
"WhatsAppMessageButtonSubType": {
"type": "string",
"description": "The WhatsApp button sub type.",
diff --git a/swagger-specs/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/availabilitySet.json b/swagger-specs/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/availabilitySet.json
index 41956a353..b6297101d 100644
--- a/swagger-specs/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/availabilitySet.json
+++ b/swagger-specs/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/availabilitySet.json
@@ -277,7 +277,7 @@
"in": "query",
"required": false,
"type": "string",
- "description": "The expand expression to apply to the operation. Allowed values are 'instanceView'."
+ "description": "The expand expression to apply to the operation. Allowed values are 'virtualMachines/$ref'."
}
],
"responses": {
diff --git a/swagger-specs/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/virtualMachine.json b/swagger-specs/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/virtualMachine.json
index 760bbf9de..a1af0fc40 100644
--- a/swagger-specs/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/virtualMachine.json
+++ b/swagger-specs/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/virtualMachine.json
@@ -1326,7 +1326,7 @@
"VirtualMachines"
],
"operationId": "VirtualMachines_PowerOff",
- "description": "The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine.",
+ "description": "The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine. NOTE: This operation is not allowed on a virtual machine that is being deallocated or has already been deallocated.",
"parameters": [
{
"name": "resourceGroupName",
diff --git a/swagger-specs/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/virtualMachineScaleSet.json b/swagger-specs/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/virtualMachineScaleSet.json
index 76db0f8e1..d7f69b611 100644
--- a/swagger-specs/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/virtualMachineScaleSet.json
+++ b/swagger-specs/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/virtualMachineScaleSet.json
@@ -1243,7 +1243,7 @@
"VirtualMachineScaleSets"
],
"operationId": "VirtualMachineScaleSets_PowerOff",
- "description": "Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges.",
+ "description": "Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. Additionally, this operation is not allowed on virtual machines in a VM scale set that are being deallocated or have already been deallocated.",
"parameters": [
{
"name": "resourceGroupName",
@@ -3256,7 +3256,7 @@
"VirtualMachineScaleSetVMs"
],
"operationId": "VirtualMachineScaleSetVMs_PowerOff",
- "description": "Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges.",
+ "description": "Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. Additionally, this operation is not allowed on a virtual machine that is being deallocated or already has been deallocated.",
"parameters": [
{
"name": "resourceGroupName",
diff --git a/swagger-specs/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/communityGallery.json b/swagger-specs/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2024-03-03/communityGallery.json
similarity index 97%
rename from swagger-specs/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/communityGallery.json
rename to swagger-specs/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2024-03-03/communityGallery.json
index 5b4ae1981..2469fc656 100644
--- a/swagger-specs/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/communityGallery.json
+++ b/swagger-specs/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2024-03-03/communityGallery.json
@@ -3,7 +3,7 @@
"info": {
"title": "CommunityGalleryServiceClient",
"description": "Community Gallery Service Client.",
- "version": "2023-07-03"
+ "version": "2024-03-03"
},
"host": "management.azure.com",
"schemes": [
@@ -295,17 +295,6 @@
},
"description": "The artifact tags of a community gallery resource."
},
- "CommunityGalleryDisclaimer": {
- "type": "string",
- "properties": {
- "disclaimer": {
- "readOnly": true,
- "type": "string",
- "description": "Community gallery disclaimer"
- }
- },
- "description": "The disclaimer for a community gallery resource."
- },
"CommunityGalleryIdentifier": {
"properties": {
"uniqueId": {
@@ -368,7 +357,8 @@
"type": "object",
"properties": {
"disclaimer": {
- "$ref": "#/definitions/CommunityGalleryDisclaimer"
+ "type": "string",
+ "description": "The disclaimer for a community gallery resource."
},
"artifactTags": {
"$ref": "#/definitions/CommunityGalleryArtifactTags"
@@ -491,7 +481,8 @@
"description": "The end-user license agreement for the current community gallery image."
},
"disclaimer": {
- "$ref": "#/definitions/CommunityGalleryDisclaimer"
+ "type": "string",
+ "description": "The disclaimer for a community gallery resource."
},
"artifactTags": {
"$ref": "#/definitions/CommunityGalleryArtifactTags"
@@ -560,7 +551,8 @@
"description": "Describes the storage profile of the image version."
},
"disclaimer": {
- "$ref": "#/definitions/CommunityGalleryDisclaimer"
+ "type": "string",
+ "description": "The disclaimer for a community gallery resource."
},
"artifactTags": {
"$ref": "#/definitions/CommunityGalleryArtifactTags"
diff --git a/swagger-specs/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/gallery.json b/swagger-specs/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2024-03-03/gallery.json
similarity index 69%
rename from swagger-specs/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/gallery.json
rename to swagger-specs/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2024-03-03/gallery.json
index 25a2329be..0702b0244 100644
--- a/swagger-specs/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/gallery.json
+++ b/swagger-specs/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2024-03-03/gallery.json
@@ -3,7 +3,7 @@
"info": {
"title": "SharedImageGalleryServiceClient",
"description": "Shared Image Gallery Service Client.",
- "version": "2023-07-03"
+ "version": "2024-03-03"
},
"host": "management.azure.com",
"schemes": [
@@ -107,6 +107,9 @@
},
"Create a community gallery.": {
"$ref": "./examples/galleryExamples/CommunityGallery_Create.json"
+ },
+ "Create or update a simple gallery with system-assigned and user-assigned managed identities.": {
+ "$ref": "./examples/galleryExamples/Gallery_Create_WithManagedIdentity.json"
}
}
},
@@ -231,6 +234,9 @@
},
"Get a community gallery.": {
"$ref": "./examples/galleryExamples/CommunityGallery_Get.json"
+ },
+ "Get a gallery with system-assigned and user-assigned managed identities.": {
+ "$ref": "./examples/galleryExamples/Gallery_Get_WithManagedIdentity.json"
}
}
},
@@ -415,6 +421,9 @@
"x-ms-examples": {
"Update a simple gallery image.": {
"$ref": "./examples/galleryExamples/GalleryImage_Update.json"
+ },
+ "Update a gallery image feature.": {
+ "$ref": "./examples/galleryExamples/GalleryImage_UpdateFeatures.json"
}
}
},
@@ -630,6 +639,9 @@
},
"Create or update a simple Gallery Image Version using vhd as a source with custom UEFI keys.": {
"$ref": "./examples/galleryExamples/GalleryImageVersion_Create_WithVHD_UefiSettings.json"
+ },
+ "Create or update a simple Gallery Image Version with Direct Drive replicas": {
+ "$ref": "./examples/galleryExamples/GalleryImageVersion_Create_WithAdditionalReplicaSets.json"
}
}
},
@@ -701,6 +713,9 @@
},
"Update a simple Gallery Image Version without source id.": {
"$ref": "./examples/galleryExamples/GalleryImageVersion_Update_WithoutSourceId.json"
+ },
+ "Restore a Soft Deleted Gallery Image Version": {
+ "$ref": "./examples/galleryExamples/GalleryImageVersion_Update_RestoreSoftDeleted.json"
}
}
},
@@ -783,6 +798,12 @@
},
"Get a gallery image version with vhd as a source.": {
"$ref": "./examples/galleryExamples/GalleryImageVersion_Get_WithVhdAsSource.json"
+ },
+ "Get a gallery image version with validation profile.": {
+ "$ref": "./examples/galleryExamples/GalleryImageVersion_Get_WithValidationProfile.json"
+ },
+ "Get a gallery image version with validation profile and replication status.": {
+ "$ref": "./examples/galleryExamples/GalleryImageVersion_Get_WithValidationProfileAndReplicationStatus.json"
}
}
},
@@ -1670,6 +1691,72 @@
}
}
},
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/softDeletedArtifactTypes/{artifactType}/artifacts/{artifactName}/versions": {
+ "get": {
+ "tags": [
+ "SoftDelete"
+ ],
+ "operationId": "SoftDeletedResource_ListByArtifactName",
+ "description": "List soft-deleted resources of an artifact in the gallery, such as soft-deleted gallery image version of an image.",
+ "parameters": [
+ {
+ "$ref": "../../../common-types/v1/common.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "galleryName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9]+([_]?[a-zA-Z0-9]+)*$",
+ "description": "The name of the Gallery in which the soft-deleted resources resides."
+ },
+ {
+ "name": "artifactType",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9]+([_]?[a-zA-Z0-9]+)*$",
+ "description": "The type of the artifact to be listed, such as gallery image version."
+ },
+ {
+ "name": "artifactName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9]+([_]?[a-zA-Z0-9]+)*$",
+ "description": "The artifact name to be listed. If artifact type is Images, then the artifact name should be the gallery image name."
+ },
+ {
+ "$ref": "../../../common-types/v1/common.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/GallerySoftDeletedResourceList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common-types/v1/common.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List soft-deleted resources of an artifact in the gallery.": {
+ "$ref": "./examples/galleryExamples/GallerySoftDeletedResource_ListByArtifactName.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/share": {
"post": {
"tags": [
@@ -1737,234 +1824,1215 @@
}
}
}
- }
- },
- "definitions": {
- "Gallery": {
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/GalleryProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common-types/v1/common.json#/definitions/Resource"
- }
- ],
- "description": "Specifies information about the Shared Image Gallery that you want to create or update."
- },
- "GalleryUpdate": {
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/GalleryProperties"
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/UpdateResourceDefinition"
- }
- ],
- "description": "Specifies information about the Shared Image Gallery that you want to update."
},
- "GalleryProperties": {
- "properties": {
- "description": {
- "type": "string",
- "description": "The description of this Shared Image Gallery resource. This property is updatable."
- },
- "identifier": {
- "$ref": "#/definitions/GalleryIdentifier"
- },
- "provisioningState": {
- "readOnly": true,
- "$ref": "#/definitions/GalleryProvisioningState"
- },
- "sharingProfile": {
- "$ref": "#/definitions/SharingProfile"
- },
- "softDeletePolicy": {
- "$ref": "#/definitions/SoftDeletePolicy"
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/inVMAccessControlProfiles/{inVMAccessControlProfileName}": {
+ "put": {
+ "tags": [
+ "GalleryInVMAccessControlProfiles"
+ ],
+ "operationId": "GalleryInVMAccessControlProfiles_CreateOrUpdate",
+ "description": "Create or update a gallery inVMAccessControlProfile.",
+ "parameters": [
+ {
+ "$ref": "../../../common-types/v1/common.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "galleryName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9]+([_]?[a-zA-Z0-9]+)*$",
+ "description": "The name of the Shared Image Gallery in which the InVMAccessControlProfile is to be created."
+ },
+ {
+ "name": "inVMAccessControlProfileName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9]+([-._]?[a-zA-Z0-9]+)*$",
+ "maxLength": 80,
+ "description": "The name of the gallery inVMAccessControlProfile to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters."
+ },
+ {
+ "$ref": "../../../common-types/v1/common.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "galleryInVMAccessControlProfile",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/GalleryInVMAccessControlProfile"
+ },
+ "description": "Parameters supplied to the create or update gallery inVMAccessControlProfile operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/GalleryInVMAccessControlProfile"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/GalleryInVMAccessControlProfile"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common-types/v1/common.json#/definitions/CloudError"
+ }
+ }
},
- "sharingStatus": {
- "readOnly": true,
- "$ref": "#/definitions/SharingStatus"
- }
- },
- "description": "Describes the properties of a Shared Image Gallery."
- },
- "GalleryIdentifier": {
- "properties": {
- "uniqueName": {
- "readOnly": true,
- "type": "string",
- "description": "The unique name of the Shared Image Gallery. This name is generated automatically by Azure."
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Create or update a gallery inVMAccessControlProfile.": {
+ "$ref": "./examples/galleryResourceProfileExamples/GalleryInVMAccessControlProfile_Create.json"
+ }
}
},
- "description": "Describes the gallery unique name."
- },
- "SharingProfile": {
- "description": "Profile for gallery sharing to subscription or tenant",
- "properties": {
- "permissions": {
- "type": "string",
- "description": "This property allows you to specify the permission of sharing gallery. Possible values are: **Private,** **Groups,** **Community.**",
- "enum": [
- "Private",
- "Groups",
- "Community"
- ],
- "x-ms-enum": {
- "name": "GallerySharingPermissionTypes",
- "modelAsString": true
+ "patch": {
+ "tags": [
+ "GalleryInVMAccessControlProfiles"
+ ],
+ "operationId": "GalleryInVMAccessControlProfiles_Update",
+ "description": "Update a gallery inVMAccessControlProfile.",
+ "parameters": [
+ {
+ "$ref": "../../../common-types/v1/common.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "galleryName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Shared Image Gallery in which the InVMAccessControlProfile is to be updated."
+ },
+ {
+ "name": "inVMAccessControlProfileName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gallery inVMAccessControlProfile to be updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters."
+ },
+ {
+ "$ref": "../../../common-types/v1/common.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "galleryInVMAccessControlProfile",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/GalleryInVMAccessControlProfileUpdate"
+ },
+ "description": "Parameters supplied to the update gallery inVMAccessControlProfile operation."
}
- },
- "groups": {
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/SharingProfileGroup"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/GalleryInVMAccessControlProfile"
+ }
},
- "x-ms-identifiers": [],
- "description": "A list of sharing profile groups."
- },
- "communityGalleryInfo": {
- "$ref": "#/definitions/CommunityGalleryInfo",
- "description": "Information of community gallery if current gallery is shared to community."
- }
- }
- },
- "SharingProfileGroup": {
- "description": "Group of the gallery sharing profile",
- "properties": {
- "type": {
- "type": "string",
- "description": "This property allows you to specify the type of sharing group. Possible values are: **Subscriptions,** **AADTenants.**",
- "enum": [
- "Subscriptions",
- "AADTenants"
- ],
- "x-ms-enum": {
- "name": "SharingProfileGroupTypes",
- "modelAsString": true
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common-types/v1/common.json#/definitions/CloudError"
+ }
}
},
- "ids": {
- "type": "array",
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Update a gallery inVMAccessControlProfile.": {
+ "$ref": "./examples/galleryResourceProfileExamples/GalleryInVMAccessControlProfile_Update.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "GalleryInVMAccessControlProfiles"
+ ],
+ "operationId": "GalleryInVMAccessControlProfiles_Get",
+ "description": "Retrieves information about a gallery inVMAccessControlProfile.",
+ "parameters": [
+ {
+ "$ref": "../../../common-types/v1/common.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "galleryName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Shared Image Gallery from which the InVMAccessControlProfiles are to be retrieved."
+ },
+ {
+ "name": "inVMAccessControlProfileName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gallery inVMAccessControlProfile to be retrieved."
+ },
+ {
+ "$ref": "../../../common-types/v1/common.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/GalleryInVMAccessControlProfile"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common-types/v1/common.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get a gallery inVMAccessControlProfile.": {
+ "$ref": "./examples/galleryResourceProfileExamples/GalleryInVMAccessControlProfile_Get.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "GalleryInVMAccessControlProfiles"
+ ],
+ "operationId": "GalleryInVMAccessControlProfiles_Delete",
+ "description": "Delete a gallery inVMAccessControlProfile.",
+ "parameters": [
+ {
+ "$ref": "../../../common-types/v1/common.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "galleryName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "he name of the Shared Image Gallery in which the InVMAccessControlProfile resides."
+ },
+ {
+ "name": "inVMAccessControlProfileName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gallery inVMAccessControlProfile to be deleted."
+ },
+ {
+ "$ref": "../../../common-types/v1/common.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted",
+ "headers": {
+ "Location": {
+ "type": "string"
+ },
+ "Azure-AsyncOperation": {
+ "type": "string"
+ }
+ }
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common-types/v1/common.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Delete a gallery inVMAccessControlProfile.": {
+ "$ref": "./examples/galleryResourceProfileExamples/GalleryInVMAccessControlProfile_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/inVMAccessControlProfiles/{inVMAccessControlProfileName}/versions/{inVMAccessControlProfileVersionName}": {
+ "put": {
+ "tags": [
+ "GalleryInVMAccessControlProfileVersions"
+ ],
+ "operationId": "GalleryInVMAccessControlProfileVersions_CreateOrUpdate",
+ "description": "Create or update a gallery inVMAccessControlProfile version.",
+ "parameters": [
+ {
+ "$ref": "../../../common-types/v1/common.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "galleryName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9]+([_]?[a-zA-Z0-9]+)*$",
+ "description": "The name of the Shared Image Gallery in which the inVMAccessControlProfile resides."
+ },
+ {
+ "name": "inVMAccessControlProfileName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9]+([-._]?[a-zA-Z0-9]+)*$",
+ "maxLength": 80,
+ "description": "The name of the gallery inVMAccessControlProfile in which the inVMAccessControlProfile version is to be created."
+ },
+ {
+ "name": "inVMAccessControlProfileVersionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+$",
+ "description": "The name of the gallery inVMAccessControlProfile version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: .."
+ },
+ {
+ "$ref": "../../../common-types/v1/common.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "galleryInVMAccessControlProfileVersion",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/GalleryInVMAccessControlProfileVersion"
+ },
+ "description": "Parameters supplied to the create or update gallery inVMAccessControlProfile version operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/GalleryInVMAccessControlProfileVersion"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/GalleryInVMAccessControlProfileVersion"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common-types/v1/common.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Create or update a Gallery InVMAccessControlProfile Version.": {
+ "$ref": "./examples/galleryResourceProfileExamples/GalleryInVMAccessControlProfileVersion_Create.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "GalleryInVMAccessControlProfileVersions"
+ ],
+ "operationId": "GalleryInVMAccessControlProfileVersions_Update",
+ "description": "Update a gallery inVMAccessControlProfile version.",
+ "parameters": [
+ {
+ "$ref": "../../../common-types/v1/common.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "galleryName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Shared Image Gallery in which the inVMAccessControlProfile resides."
+ },
+ {
+ "name": "inVMAccessControlProfileName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gallery inVMAccessControlProfile in which the inVMAccessControlProfile version is to be updated."
+ },
+ {
+ "name": "inVMAccessControlProfileVersionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gallery inVMAccessControlProfile version to be updated. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: .."
+ },
+ {
+ "$ref": "../../../common-types/v1/common.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "galleryInVMAccessControlProfileVersion",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/GalleryInVMAccessControlProfileVersionUpdate"
+ },
+ "description": "Parameters supplied to the update gallery inVMAccessControlProfile version operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/GalleryInVMAccessControlProfileVersion"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common-types/v1/common.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Update a Gallery InVMAccessControlProfile Version.": {
+ "$ref": "./examples/galleryResourceProfileExamples/GalleryInVMAccessControlProfileVersion_Update.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "GalleryInVMAccessControlProfileVersions"
+ ],
+ "operationId": "GalleryInVMAccessControlProfileVersions_Get",
+ "description": "Retrieves information about a gallery inVMAccessControlProfile version.",
+ "parameters": [
+ {
+ "$ref": "../../../common-types/v1/common.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "galleryName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Shared Image Gallery in which the inVMAccessControlProfile resides."
+ },
+ {
+ "name": "inVMAccessControlProfileName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gallery inVMAccessControlProfile in which the inVMAccessControlProfile version resides."
+ },
+ {
+ "name": "inVMAccessControlProfileVersionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gallery inVMAccessControlProfile version to be retrieved."
+ },
+ {
+ "$ref": "../../../common-types/v1/common.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/GalleryInVMAccessControlProfileVersion"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common-types/v1/common.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get a gallery inVMAccessControlProfile version.": {
+ "$ref": "./examples/galleryResourceProfileExamples/GalleryInVMAccessControlProfileVersion_Get.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "GalleryInVMAccessControlProfileVersions"
+ ],
+ "operationId": "GalleryInVMAccessControlProfileVersions_Delete",
+ "description": "Delete a gallery inVMAccessControlProfile version.",
+ "parameters": [
+ {
+ "$ref": "../../../common-types/v1/common.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "galleryName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Shared Image Gallery in which the inVMAccessControlProfile resides."
+ },
+ {
+ "name": "inVMAccessControlProfileName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gallery inVMAccessControlProfile in which the inVMAccessControlProfile version resides."
+ },
+ {
+ "name": "inVMAccessControlProfileVersionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gallery inVMAccessControlProfile version to be deleted."
+ },
+ {
+ "$ref": "../../../common-types/v1/common.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted",
+ "headers": {
+ "Location": {
+ "type": "string"
+ },
+ "Azure-AsyncOperation": {
+ "type": "string"
+ }
+ }
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common-types/v1/common.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Delete a gallery inVMAccessControlProfile version.": {
+ "$ref": "./examples/galleryResourceProfileExamples/GalleryInVMAccessControlProfileVersion_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/inVMAccessControlProfiles": {
+ "get": {
+ "tags": [
+ "GalleryInVMAccessControlProfiles"
+ ],
+ "operationId": "GalleryInVMAccessControlProfiles_ListByGallery",
+ "description": "List gallery inVMAccessControlProfiles in a gallery.",
+ "parameters": [
+ {
+ "$ref": "../../../common-types/v1/common.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "galleryName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9]+([_]?[a-zA-Z0-9]+)*$",
+ "description": "The name of the Shared Image Gallery from which the InVMAccessControlProfiles are to be listed."
+ },
+ {
+ "$ref": "../../../common-types/v1/common.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/GalleryInVMAccessControlProfileList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common-types/v1/common.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List gallery inVMAccessControlProfiles in a gallery.": {
+ "$ref": "./examples/galleryResourceProfileExamples/GalleryInVMAccessControlProfile_ListByGallery.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/inVMAccessControlProfiles/{inVMAccessControlProfileName}/versions": {
+ "get": {
+ "tags": [
+ "GalleryInVMAccessControlProfileVersions"
+ ],
+ "operationId": "GalleryInVMAccessControlProfileVersions_ListByGalleryInVMAccessControlProfile",
+ "description": "List gallery inVMAccessControlProfile versions in a gallery inVMAccessControlProfile",
+ "parameters": [
+ {
+ "$ref": "../../../common-types/v1/common.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "galleryName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9]+([_]?[a-zA-Z0-9]+)*$",
+ "description": "The name of the Shared Image Gallery in which the inVMAccessControlProfile resides."
+ },
+ {
+ "name": "inVMAccessControlProfileName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9]+([-._]?[a-zA-Z0-9]+)*$",
+ "description": "The name of the gallery inVMAccessControlProfile from which the inVMAccessControlProfile versions are to be listed."
+ },
+ {
+ "$ref": "../../../common-types/v1/common.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/GalleryInVMAccessControlProfileVersionList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common-types/v1/common.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List gallery inVMAccessControlProfile versions in a gallery inVMAccessControlProfile.": {
+ "$ref": "./examples/galleryResourceProfileExamples/GalleryInVMAccessControlProfileVersion_ListByGalleryInVMAccessControlProfile.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "Gallery": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/GalleryProperties"
+ },
+ "identity": {
+ "$ref": "#/definitions/GalleryIdentity",
+ "description": "The identity of the gallery, if configured."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../common-types/v1/common.json#/definitions/Resource"
+ }
+ ],
+ "description": "Specifies information about the Shared Image Gallery that you want to create or update."
+ },
+ "GalleryUpdate": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/GalleryProperties"
+ },
+ "identity": {
+ "$ref": "#/definitions/GalleryIdentity",
+ "description": "The identity of the gallery, if configured."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/UpdateResourceDefinition"
+ }
+ ],
+ "description": "Specifies information about the Shared Image Gallery that you want to update."
+ },
+ "GalleryProperties": {
+ "properties": {
+ "description": {
+ "type": "string",
+ "description": "The description of this Shared Image Gallery resource. This property is updatable."
+ },
+ "identifier": {
+ "$ref": "#/definitions/GalleryIdentifier"
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "#/definitions/GalleryProvisioningState"
+ },
+ "sharingProfile": {
+ "$ref": "#/definitions/SharingProfile"
+ },
+ "softDeletePolicy": {
+ "$ref": "#/definitions/SoftDeletePolicy"
+ },
+ "sharingStatus": {
+ "readOnly": true,
+ "$ref": "#/definitions/SharingStatus"
+ }
+ },
+ "description": "Describes the properties of a Shared Image Gallery."
+ },
+ "GalleryIdentifier": {
+ "properties": {
+ "uniqueName": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The unique name of the Shared Image Gallery. This name is generated automatically by Azure."
+ }
+ },
+ "description": "Describes the gallery unique name."
+ },
+ "SharingProfile": {
+ "description": "Profile for gallery sharing to subscription or tenant",
+ "properties": {
+ "permissions": {
+ "type": "string",
+ "description": "This property allows you to specify the permission of sharing gallery. Possible values are: **Private,** **Groups,** **Community.**",
+ "enum": [
+ "Private",
+ "Groups",
+ "Community"
+ ],
+ "x-ms-enum": {
+ "name": "GallerySharingPermissionTypes",
+ "modelAsString": true
+ }
+ },
+ "groups": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SharingProfileGroup"
+ },
+ "x-ms-identifiers": [],
+ "description": "A list of sharing profile groups."
+ },
+ "communityGalleryInfo": {
+ "$ref": "#/definitions/CommunityGalleryInfo",
+ "description": "Information of community gallery if current gallery is shared to community."
+ }
+ }
+ },
+ "SharingProfileGroup": {
+ "description": "Group of the gallery sharing profile",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "This property allows you to specify the type of sharing group. Possible values are: **Subscriptions,** **AADTenants.**",
+ "enum": [
+ "Subscriptions",
+ "AADTenants"
+ ],
+ "x-ms-enum": {
+ "name": "SharingProfileGroupTypes",
+ "modelAsString": true
+ }
+ },
+ "ids": {
+ "type": "array",
"items": {
"type": "string"
},
"description": "A list of subscription/tenant ids the gallery is aimed to be shared to."
}
- }
+ }
+ },
+ "CommunityGalleryInfo": {
+ "type": "object",
+ "description": "Information of community gallery if current gallery is shared to community",
+ "properties": {
+ "publisherUri": {
+ "type": "string",
+ "description": "The link to the publisher website. Visible to all users."
+ },
+ "publisherContact": {
+ "type": "string",
+ "description": "Community gallery publisher support email. The email address of the publisher. Visible to all users."
+ },
+ "eula": {
+ "type": "string",
+ "description": "End-user license agreement for community gallery image."
+ },
+ "publicNamePrefix": {
+ "type": "string",
+ "description": "The prefix of the gallery name that will be displayed publicly. Visible to all users."
+ },
+ "communityGalleryEnabled": {
+ "readOnly": true,
+ "type": "boolean",
+ "description": "Contains info about whether community gallery sharing is enabled."
+ },
+ "publicNames": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Community gallery public name list."
+ }
+ }
+ },
+ "SoftDeletePolicy": {
+ "type": "object",
+ "properties": {
+ "isSoftDeleteEnabled": {
+ "type": "boolean",
+ "description": "Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time."
+ }
+ },
+ "description": "Contains information about the soft deletion policy of the gallery."
+ },
+ "SharingStatus": {
+ "type": "object",
+ "properties": {
+ "aggregatedState": {
+ "type": "string",
+ "$ref": "#/definitions/SharingState",
+ "description": "Aggregated sharing state of current gallery."
+ },
+ "summary": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/RegionalSharingStatus"
+ },
+ "x-ms-identifiers": [
+ "region"
+ ],
+ "description": "Summary of all regional sharing status."
+ }
+ },
+ "description": "Sharing status of current gallery."
+ },
+ "SharingState": {
+ "readOnly": true,
+ "type": "string",
+ "title": "The sharing state of the gallery.",
+ "description": "The sharing state of the gallery, which only appears in the response.",
+ "enum": [
+ "Succeeded",
+ "InProgress",
+ "Failed",
+ "Unknown"
+ ],
+ "x-ms-enum": {
+ "name": "SharingState",
+ "modelAsString": true
+ }
+ },
+ "RegionalSharingStatus": {
+ "type": "object",
+ "description": "Gallery regional sharing status",
+ "properties": {
+ "region": {
+ "type": "string",
+ "description": "Region name"
+ },
+ "state": {
+ "type": "string",
+ "$ref": "#/definitions/SharingState",
+ "description": "Gallery sharing state in current region"
+ },
+ "details": {
+ "type": "string",
+ "description": "Details of gallery regional sharing failure."
+ }
+ }
+ },
+ "GalleryIdentity": {
+ "type": "object",
+ "properties": {
+ "principalId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The principal id of the gallery identity. This property will only be provided for a system assigned identity."
+ },
+ "tenantId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The AAD tenant id of the gallery identity. This property will only be provided for a system assigned identity."
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of identity used for the gallery. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove all identities from the gallery.",
+ "enum": [
+ "SystemAssigned",
+ "UserAssigned",
+ "SystemAssigned, UserAssigned",
+ "None"
+ ],
+ "x-ms-enum": {
+ "name": "ResourceIdentityType",
+ "modelAsString": false
+ }
+ },
+ "userAssignedIdentities": {
+ "$ref": "../../../common-types/v1/common.json#/definitions/UserAssignedIdentities",
+ "description": "The list of user identities associated with the gallery. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'."
+ }
+ },
+ "description": "Identity for the virtual machine."
+ },
+ "GalleryApplication": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/GalleryApplicationProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../common-types/v1/common.json#/definitions/Resource"
+ }
+ ],
+ "description": "Specifies information about the gallery Application Definition that you want to create or update."
+ },
+ "GalleryApplicationUpdate": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/GalleryApplicationProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/UpdateResourceDefinition"
+ }
+ ],
+ "description": "Specifies information about the gallery Application Definition that you want to update."
},
- "CommunityGalleryInfo": {
- "type": "object",
- "description": "Information of community gallery if current gallery is shared to community",
+ "GalleryApplicationProperties": {
"properties": {
- "publisherUri": {
+ "description": {
"type": "string",
- "description": "The link to the publisher website. Visible to all users."
+ "description": "The description of this gallery Application Definition resource. This property is updatable."
},
- "publisherContact": {
+ "eula": {
"type": "string",
- "description": "Community gallery publisher support email. The email address of the publisher. Visible to all users."
+ "description": "The Eula agreement for the gallery Application Definition."
},
- "eula": {
+ "privacyStatementUri": {
"type": "string",
- "description": "End-user license agreement for community gallery image."
+ "description": "The privacy statement uri."
},
- "publicNamePrefix": {
+ "releaseNoteUri": {
"type": "string",
- "description": "The prefix of the gallery name that will be displayed publicly. Visible to all users."
+ "description": "The release note uri."
},
- "communityGalleryEnabled": {
+ "endOfLifeDate": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable."
+ },
+ "supportedOSType": {
+ "type": "string",
+ "description": "This property allows you to specify the supported type of the OS that application is built for. Possible values are: **Windows,** **Linux.**",
+ "enum": [
+ "Windows",
+ "Linux"
+ ],
+ "x-ms-enum": {
+ "name": "OperatingSystemTypes",
+ "modelAsString": false
+ }
+ },
+ "customActions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GalleryApplicationCustomAction"
+ },
+ "x-ms-identifiers": [
+ "name"
+ ],
+ "description": "A list of custom actions that can be performed with all of the Gallery Application Versions within this Gallery Application."
+ }
+ },
+ "required": [
+ "supportedOSType"
+ ],
+ "description": "Describes the properties of a gallery Application Definition."
+ },
+ "GalleryApplicationVersion": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/GalleryApplicationVersionProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../common-types/v1/common.json#/definitions/Resource"
+ }
+ ],
+ "description": "Specifies information about the gallery Application Version that you want to create or update."
+ },
+ "GalleryApplicationVersionUpdate": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/GalleryApplicationVersionProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/UpdateResourceDefinition"
+ }
+ ],
+ "description": "Specifies information about the gallery Application Version that you want to update."
+ },
+ "GalleryApplicationVersionProperties": {
+ "properties": {
+ "publishingProfile": {
+ "$ref": "#/definitions/GalleryApplicationVersionPublishingProfile"
+ },
+ "safetyProfile": {
+ "$ref": "#/definitions/GalleryApplicationVersionSafetyProfile"
+ },
+ "provisioningState": {
"readOnly": true,
- "type": "boolean",
- "description": "Contains info about whether community gallery sharing is enabled."
+ "$ref": "#/definitions/GalleryProvisioningState"
},
- "publicNames": {
+ "replicationStatus": {
"readOnly": true,
+ "$ref": "#/definitions/ReplicationStatus"
+ }
+ },
+ "required": [
+ "publishingProfile"
+ ],
+ "description": "Describes the properties of a gallery image version."
+ },
+ "GalleryApplicationVersionPublishingProfile": {
+ "properties": {
+ "source": {
+ "$ref": "#/definitions/UserArtifactSource"
+ },
+ "manageActions": {
+ "$ref": "#/definitions/UserArtifactManage"
+ },
+ "settings": {
+ "$ref": "#/definitions/UserArtifactSettings"
+ },
+ "advancedSettings": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Optional. Additional settings to pass to the vm-application-manager extension. For advanced use only."
+ },
+ "enableHealthCheck": {
+ "type": "boolean",
+ "description": "Optional. Whether or not this application reports health."
+ },
+ "customActions": {
"type": "array",
"items": {
- "type": "string"
+ "$ref": "#/definitions/GalleryApplicationCustomAction"
},
- "description": "Community gallery public name list."
+ "x-ms-identifiers": [
+ "name"
+ ],
+ "description": "A list of custom actions that can be performed with this Gallery Application Version."
}
- }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/GalleryArtifactPublishingProfileBase"
+ }
+ ],
+ "required": [
+ "source"
+ ],
+ "description": "The publishing profile of a gallery image version."
},
- "SoftDeletePolicy": {
+ "GalleryApplicationVersionSafetyProfile": {
+ "type": "object",
+ "properties": {},
+ "allOf": [
+ {
+ "$ref": "#/definitions/GalleryArtifactSafetyProfileBase"
+ }
+ ],
+ "description": "The safety profile of the Gallery Application Version."
+ },
+ "GalleryApplicationCustomAction": {
"type": "object",
"properties": {
- "isSoftDeleteEnabled": {
- "type": "boolean",
- "description": "Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time."
+ "name": {
+ "type": "string",
+ "description": "The name of the custom action. Must be unique within the Gallery Application Version."
+ },
+ "script": {
+ "type": "string",
+ "description": "The script to run when executing this custom action."
+ },
+ "description": {
+ "type": "string",
+ "description": "Description to help the users understand what this custom action does."
+ },
+ "parameters": {
+ "type": "array",
+ "description": "The parameters that this custom action uses",
+ "items": {
+ "$ref": "#/definitions/GalleryApplicationCustomActionParameter"
+ },
+ "x-ms-identifiers": [
+ "name"
+ ]
}
},
- "description": "Contains information about the soft deletion policy of the gallery."
+ "required": [
+ "name",
+ "script"
+ ],
+ "description": "A custom action that can be performed with a Gallery Application Version."
},
- "SharingStatus": {
+ "GalleryApplicationCustomActionParameter": {
"type": "object",
"properties": {
- "aggregatedState": {
+ "name": {
"type": "string",
- "$ref": "#/definitions/SharingState",
- "description": "Aggregated sharing state of current gallery."
+ "description": "The name of the custom action. Must be unique within the Gallery Application Version."
+ },
+ "required": {
+ "type": "boolean",
+ "description": "Indicates whether this parameter must be passed when running the custom action."
+ },
+ "type": {
+ "type": "string",
+ "description": "Specifies the type of the custom action parameter. Possible values are: String, ConfigurationDataBlob or LogOutputBlob",
+ "enum": [
+ "String",
+ "ConfigurationDataBlob",
+ "LogOutputBlob"
+ ],
+ "x-ms-enum": {
+ "name": "GalleryApplicationCustomActionParameterType",
+ "modelAsString": false
+ }
+ },
+ "defaultValue": {
+ "type": "string",
+ "description": "The default value of the parameter. Only applies to string types"
+ },
+ "description": {
+ "type": "string",
+ "description": "A description to help users understand what this parameter means"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "description": "The definition of a parameter that can be passed to a custom action of a Gallery Application Version."
+ },
+ "UserArtifactSource": {
+ "properties": {
+ "mediaLink": {
+ "type": "string",
+ "description": "Required. The mediaLink of the artifact, must be a readable storage page blob."
+ },
+ "defaultConfigurationLink": {
+ "type": "string",
+ "description": "Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob."
+ }
+ },
+ "required": [
+ "mediaLink"
+ ],
+ "description": "The source image from which the Image Version is going to be created."
+ },
+ "UserArtifactManage": {
+ "properties": {
+ "install": {
+ "type": "string",
+ "description": "Required. The path and arguments to install the gallery application. This is limited to 4096 characters."
+ },
+ "remove": {
+ "type": "string",
+ "description": "Required. The path and arguments to remove the gallery application. This is limited to 4096 characters."
},
- "summary": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/RegionalSharingStatus"
- },
- "x-ms-identifiers": [
- "region"
- ],
- "description": "Summary of all regional sharing status."
+ "update": {
+ "type": "string",
+ "description": "Optional. The path and arguments to update the gallery application. If not present, then update operation will invoke remove command on the previous version and install command on the current version of the gallery application. This is limited to 4096 characters."
}
},
- "description": "Sharing status of current gallery."
- },
- "SharingState": {
- "readOnly": true,
- "type": "string",
- "title": "The sharing state of the gallery.",
- "description": "The sharing state of the gallery, which only appears in the response.",
- "enum": [
- "Succeeded",
- "InProgress",
- "Failed",
- "Unknown"
- ],
- "x-ms-enum": {
- "name": "SharingState",
- "modelAsString": true
- }
+ "required": [
+ "install",
+ "remove"
+ ]
},
- "RegionalSharingStatus": {
+ "UserArtifactSettings": {
"type": "object",
- "description": "Gallery regional sharing status",
"properties": {
- "region": {
+ "packageFileName": {
"type": "string",
- "description": "Region name"
+ "description": "Optional. The name to assign the downloaded package file on the VM. This is limited to 4096 characters. If not specified, the package file will be named the same as the Gallery Application name."
},
- "state": {
+ "configFileName": {
"type": "string",
- "$ref": "#/definitions/SharingState",
- "description": "Gallery sharing state in current region"
+ "description": "Optional. The name to assign the downloaded config file on the VM. This is limited to 4096 characters. If not specified, the config file will be named the Gallery Application name appended with \"_config\"."
},
- "details": {
+ "scriptBehaviorAfterReboot": {
"type": "string",
- "description": "Details of gallery regional sharing failure."
+ "description": "Optional. The action to be taken with regards to install/update/remove of the gallery application in the event of a reboot.",
+ "enum": [
+ "None",
+ "Rerun"
+ ],
+ "x-ms-enum": {
+ "name": "GalleryApplicationScriptRebootBehavior",
+ "modelAsString": true
+ }
}
- }
+ },
+ "description": "Additional settings for the VM app that contains the target package and config file name when it is deployed to target VM or VM scale set."
},
- "GalleryApplication": {
+ "GalleryImage": {
"properties": {
"properties": {
"x-ms-client-flatten": true,
- "$ref": "#/definitions/GalleryApplicationProperties"
+ "$ref": "#/definitions/GalleryImageProperties"
}
},
"allOf": [
@@ -1972,13 +3040,13 @@
"$ref": "../../../common-types/v1/common.json#/definitions/Resource"
}
],
- "description": "Specifies information about the gallery Application Definition that you want to create or update."
+ "description": "Specifies information about the gallery image definition that you want to create or update."
},
- "GalleryApplicationUpdate": {
+ "GalleryImageUpdate": {
"properties": {
"properties": {
"x-ms-client-flatten": true,
- "$ref": "#/definitions/GalleryApplicationProperties"
+ "$ref": "#/definitions/GalleryImageProperties"
}
},
"allOf": [
@@ -1986,17 +3054,17 @@
"$ref": "#/definitions/UpdateResourceDefinition"
}
],
- "description": "Specifies information about the gallery Application Definition that you want to update."
+ "description": "Specifies information about the gallery image definition that you want to update."
},
- "GalleryApplicationProperties": {
+ "GalleryImageProperties": {
"properties": {
"description": {
"type": "string",
- "description": "The description of this gallery Application Definition resource. This property is updatable."
+ "description": "The description of this gallery image definition resource. This property is updatable."
},
"eula": {
"type": "string",
- "description": "The Eula agreement for the gallery Application Definition."
+ "description": "The Eula agreement for the gallery image definition."
},
"privacyStatementUri": {
"type": "string",
@@ -2006,14 +3074,9 @@
"type": "string",
"description": "The release note uri."
},
- "endOfLifeDate": {
- "type": "string",
- "format": "date-time",
- "description": "The end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable."
- },
- "supportedOSType": {
+ "osType": {
"type": "string",
- "description": "This property allows you to specify the supported type of the OS that application is built for. Possible values are: **Windows,** **Linux.**",
+ "description": "This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. Possible values are: **Windows,** **Linux.**",
"enum": [
"Windows",
"Linux"
@@ -2023,27 +3086,81 @@
"modelAsString": false
}
},
- "customActions": {
+ "osState": {
+ "type": "string",
+ "description": "This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.",
+ "enum": [
+ "Generalized",
+ "Specialized"
+ ],
+ "x-ms-enum": {
+ "name": "OperatingSystemStateTypes",
+ "modelAsString": false
+ }
+ },
+ "hyperVGeneration": {
+ "type": "string",
+ "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
+ "enum": [
+ "V1",
+ "V2"
+ ],
+ "x-ms-enum": {
+ "name": "HyperVGeneration",
+ "modelAsString": true
+ }
+ },
+ "endOfLifeDate": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable."
+ },
+ "identifier": {
+ "$ref": "./galleryRPCommon.json#/definitions/GalleryImageIdentifier"
+ },
+ "recommended": {
+ "$ref": "./galleryRPCommon.json#/definitions/RecommendedMachineConfiguration"
+ },
+ "disallowed": {
+ "$ref": "./galleryRPCommon.json#/definitions/Disallowed"
+ },
+ "purchasePlan": {
+ "$ref": "./galleryRPCommon.json#/definitions/ImagePurchasePlan"
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "#/definitions/GalleryProvisioningState"
+ },
+ "features": {
"type": "array",
"items": {
- "$ref": "#/definitions/GalleryApplicationCustomAction"
+ "$ref": "./galleryRPCommon.json#/definitions/GalleryImageFeature"
},
"x-ms-identifiers": [
"name"
],
- "description": "A list of custom actions that can be performed with all of the Gallery Application Versions within this Gallery Application."
+ "description": "A list of gallery image features."
+ },
+ "architecture": {
+ "$ref": "./galleryRPCommon.json#/definitions/Architecture"
+ },
+ "allowUpdateImage": {
+ "type": "boolean",
+ "description": "Optional. Must be set to true if the gallery image features are being updated."
}
},
"required": [
- "supportedOSType"
+ "osType",
+ "osState",
+ "identifier"
],
- "description": "Describes the properties of a gallery Application Definition."
+ "description": "Describes the properties of a gallery image definition."
},
- "GalleryApplicationVersion": {
+ "GalleryImageVersion": {
"properties": {
"properties": {
"x-ms-client-flatten": true,
- "$ref": "#/definitions/GalleryApplicationVersionProperties"
+ "$ref": "#/definitions/GalleryImageVersionProperties"
}
},
"allOf": [
@@ -2051,13 +3168,13 @@
"$ref": "../../../common-types/v1/common.json#/definitions/Resource"
}
],
- "description": "Specifies information about the gallery Application Version that you want to create or update."
+ "description": "Specifies information about the gallery image version that you want to create or update."
},
- "GalleryApplicationVersionUpdate": {
+ "GalleryImageVersionUpdate": {
"properties": {
"properties": {
"x-ms-client-flatten": true,
- "$ref": "#/definitions/GalleryApplicationVersionProperties"
+ "$ref": "#/definitions/GalleryImageVersionProperties"
}
},
"allOf": [
@@ -2065,1197 +3182,1406 @@
"$ref": "#/definitions/UpdateResourceDefinition"
}
],
- "description": "Specifies information about the gallery Application Version that you want to update."
+ "description": "Specifies information about the gallery image version that you want to update."
},
- "GalleryApplicationVersionProperties": {
+ "GalleryImageVersionProperties": {
"properties": {
"publishingProfile": {
- "$ref": "#/definitions/GalleryApplicationVersionPublishingProfile"
- },
- "safetyProfile": {
- "$ref": "#/definitions/GalleryApplicationVersionSafetyProfile"
+ "$ref": "#/definitions/GalleryImageVersionPublishingProfile"
},
"provisioningState": {
"readOnly": true,
"$ref": "#/definitions/GalleryProvisioningState"
},
+ "storageProfile": {
+ "$ref": "#/definitions/GalleryImageVersionStorageProfile"
+ },
+ "safetyProfile": {
+ "$ref": "#/definitions/GalleryImageVersionSafetyProfile"
+ },
"replicationStatus": {
"readOnly": true,
"$ref": "#/definitions/ReplicationStatus"
+ },
+ "securityProfile": {
+ "$ref": "#/definitions/ImageVersionSecurityProfile"
+ },
+ "restore": {
+ "type": "boolean",
+ "description": "Indicates if this is a soft-delete resource restoration request."
+ },
+ "validationsProfile": {
+ "readOnly": true,
+ "$ref": "#/definitions/ValidationsProfile"
}
},
"required": [
- "publishingProfile"
+ "storageProfile"
],
"description": "Describes the properties of a gallery image version."
},
- "GalleryApplicationVersionPublishingProfile": {
+ "GalleryArtifactPublishingProfileBase": {
"properties": {
- "source": {
- "$ref": "#/definitions/UserArtifactSource"
+ "targetRegions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TargetRegion"
+ },
+ "x-ms-identifiers": [
+ "name"
+ ],
+ "description": "The target regions where the Image Version is going to be replicated to. This property is updatable."
+ },
+ "replicaCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable."
+ },
+ "excludeFromLatest": {
+ "type": "boolean",
+ "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version."
+ },
+ "publishedDate": {
+ "readOnly": true,
+ "type": "string",
+ "format": "date-time",
+ "description": "The timestamp for when the gallery image version is published."
+ },
+ "endOfLifeDate": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable."
+ },
+ "storageAccountType": {
+ "type": "string",
+ "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
+ "enum": [
+ "Standard_LRS",
+ "Standard_ZRS",
+ "Premium_LRS",
+ "PremiumV2_LRS"
+ ],
+ "x-ms-enum": {
+ "name": "StorageAccountType",
+ "modelAsString": true
+ }
+ },
+ "replicationMode": {
+ "type": "string",
+ "description": "Optional parameter which specifies the mode to be used for replication. This property is not updatable.",
+ "enum": [
+ "Full",
+ "Shallow"
+ ],
+ "x-ms-enum": {
+ "name": "ReplicationMode",
+ "modelAsString": true
+ }
+ },
+ "targetExtendedLocations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GalleryTargetExtendedLocation"
+ },
+ "x-ms-identifiers": [
+ "name",
+ "extendedLocation/name"
+ ],
+ "description": "The target extended locations where the Image Version is going to be replicated to. This property is updatable."
+ }
+ },
+ "description": "Describes the basic gallery artifact publishing profile."
+ },
+ "TargetRegion": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the region."
},
- "manageActions": {
- "$ref": "#/definitions/UserArtifactManage"
+ "regionalReplicaCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of replicas of the Image Version to be created per region. This property is updatable."
},
- "settings": {
- "$ref": "#/definitions/UserArtifactSettings"
+ "storageAccountType": {
+ "type": "string",
+ "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
+ "enum": [
+ "Standard_LRS",
+ "Standard_ZRS",
+ "Premium_LRS",
+ "PremiumV2_LRS"
+ ],
+ "x-ms-enum": {
+ "name": "StorageAccountType",
+ "modelAsString": true
+ }
},
- "advancedSettings": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "description": "Optional. Additional settings to pass to the vm-application-manager extension. For advanced use only."
+ "encryption": {
+ "$ref": "#/definitions/EncryptionImages"
},
- "enableHealthCheck": {
+ "excludeFromLatest": {
"type": "boolean",
- "description": "Optional. Whether or not this application reports health."
+ "description": "Contains the flag setting to hide an image when users specify version='latest'"
},
- "customActions": {
+ "additionalReplicaSets": {
"type": "array",
"items": {
- "$ref": "#/definitions/GalleryApplicationCustomAction"
+ "$ref": "#/definitions/AdditionalReplicaSet"
},
- "x-ms-identifiers": [
- "name"
- ],
- "description": "A list of custom actions that can be performed with this Gallery Application Version."
+ "x-ms-identifiers": [],
+ "description": "List of storage sku with replica count to create direct drive replicas."
}
},
- "allOf": [
- {
- "$ref": "#/definitions/GalleryArtifactPublishingProfileBase"
- }
- ],
"required": [
- "source"
+ "name"
],
- "description": "The publishing profile of a gallery image version."
+ "description": "Describes the target region information."
},
- "GalleryApplicationVersionSafetyProfile": {
+ "AdditionalReplicaSet": {
"type": "object",
- "properties": {},
- "allOf": [
- {
- "$ref": "#/definitions/GalleryArtifactSafetyProfileBase"
+ "properties": {
+ "storageAccountType": {
+ "type": "string",
+ "description": "Specifies the storage account type to be used to create the direct drive replicas",
+ "enum": [
+ "Standard_LRS",
+ "Standard_ZRS",
+ "Premium_LRS",
+ "PremiumV2_LRS"
+ ],
+ "x-ms-enum": {
+ "name": "StorageAccountType",
+ "modelAsString": true
+ }
+ },
+ "regionalReplicaCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of direct drive replicas of the Image Version to be created.This Property is updatable"
}
- ],
- "description": "The safety profile of the Gallery Application Version."
+ },
+ "description": "Describes the additional replica set information."
},
- "GalleryApplicationCustomAction": {
+ "GalleryTargetExtendedLocation": {
"type": "object",
"properties": {
"name": {
"type": "string",
- "description": "The name of the custom action. Must be unique within the Gallery Application Version."
+ "description": "The name of the region."
},
- "script": {
- "type": "string",
- "description": "The script to run when executing this custom action."
+ "extendedLocation": {
+ "$ref": "#/definitions/GalleryExtendedLocation"
},
- "description": {
+ "extendedLocationReplicaCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of replicas of the Image Version to be created per extended location. This property is updatable."
+ },
+ "storageAccountType": {
"type": "string",
- "description": "Description to help the users understand what this custom action does."
+ "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
+ "enum": [
+ "Standard_LRS",
+ "Standard_ZRS",
+ "StandardSSD_LRS",
+ "Premium_LRS"
+ ],
+ "x-ms-enum": {
+ "name": "EdgeZoneStorageAccountType",
+ "modelAsString": true
+ }
},
- "parameters": {
+ "encryption": {
+ "$ref": "#/definitions/EncryptionImages"
+ }
+ }
+ },
+ "GalleryExtendedLocation": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/GalleryExtendedLocationType"
+ }
+ },
+ "description": "The name of the extended location."
+ },
+ "GalleryExtendedLocationType": {
+ "type": "string",
+ "enum": [
+ "EdgeZone",
+ "Unknown"
+ ],
+ "x-ms-enum": {
+ "name": "GalleryExtendedLocationType",
+ "modelAsString": true
+ },
+ "description": "It is type of the extended location."
+ },
+ "EncryptionImages": {
+ "properties": {
+ "osDiskImage": {
+ "$ref": "#/definitions/OSDiskImageEncryption"
+ },
+ "dataDiskImages": {
"type": "array",
- "description": "The parameters that this custom action uses",
"items": {
- "$ref": "#/definitions/GalleryApplicationCustomActionParameter"
+ "$ref": "#/definitions/DataDiskImageEncryption"
},
"x-ms-identifiers": [
- "name"
- ]
+ "lun"
+ ],
+ "description": "A list of encryption specifications for data disk images."
}
},
- "required": [
- "name",
- "script"
+ "description": "Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact."
+ },
+ "OSDiskImageEncryption": {
+ "type": "object",
+ "properties": {
+ "securityProfile": {
+ "type": "object",
+ "$ref": "#/definitions/OSDiskImageSecurityProfile",
+ "description": "This property specifies the security profile of an OS disk image."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/DiskImageEncryption"
+ }
],
- "description": "A custom action that can be performed with a Gallery Application Version."
+ "description": "Contains encryption settings for an OS disk image."
},
- "GalleryApplicationCustomActionParameter": {
+ "OSDiskImageSecurityProfile": {
"type": "object",
"properties": {
- "name": {
- "type": "string",
- "description": "The name of the custom action. Must be unique within the Gallery Application Version."
- },
- "required": {
- "type": "boolean",
- "description": "Indicates whether this parameter must be passed when running the custom action."
- },
- "type": {
+ "confidentialVMEncryptionType": {
"type": "string",
- "description": "Specifies the type of the custom action parameter. Possible values are: String, ConfigurationDataBlob or LogOutputBlob",
+ "description": "confidential VM encryption types",
"enum": [
- "String",
- "ConfigurationDataBlob",
- "LogOutputBlob"
+ "EncryptedVMGuestStateOnlyWithPmk",
+ "EncryptedWithPmk",
+ "EncryptedWithCmk",
+ "NonPersistedTPM"
],
"x-ms-enum": {
- "name": "GalleryApplicationCustomActionParameterType",
- "modelAsString": false
+ "name": "ConfidentialVMEncryptionType",
+ "modelAsString": true
}
},
- "defaultValue": {
- "type": "string",
- "description": "The default value of the parameter. Only applies to string types"
- },
- "description": {
+ "secureVMDiskEncryptionSetId": {
"type": "string",
- "description": "A description to help users understand what this parameter means"
+ "description": "secure VM disk encryption set id"
+ }
+ },
+ "description": "Contains security profile for an OS disk image."
+ },
+ "DataDiskImageEncryption": {
+ "properties": {
+ "lun": {
+ "type": "integer",
+ "format": "int32",
+ "description": "This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine."
}
},
+ "allOf": [
+ {
+ "$ref": "#/definitions/DiskImageEncryption"
+ }
+ ],
"required": [
- "name"
+ "lun"
],
- "description": "The definition of a parameter that can be passed to a custom action of a Gallery Application Version."
+ "description": "Contains encryption settings for a data disk image."
},
- "UserArtifactSource": {
+ "DiskImageEncryption": {
"properties": {
- "mediaLink": {
- "type": "string",
- "description": "Required. The mediaLink of the artifact, must be a readable storage page blob."
- },
- "defaultConfigurationLink": {
+ "diskEncryptionSetId": {
"type": "string",
- "description": "Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob."
+ "description": "A relative URI containing the resource ID of the disk encryption set."
+ }
+ },
+ "description": "This is the disk image encryption base class."
+ },
+ "GalleryArtifactSource": {
+ "properties": {
+ "managedImage": {
+ "$ref": "#/definitions/ManagedArtifact"
}
},
"required": [
- "mediaLink"
+ "managedImage"
],
"description": "The source image from which the Image Version is going to be created."
},
- "UserArtifactManage": {
+ "ManagedArtifact": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The managed artifact id."
+ }
+ },
+ "required": [
+ "id"
+ ],
+ "description": "The managed artifact."
+ },
+ "GalleryImageVersionPublishingProfile": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/GalleryArtifactPublishingProfileBase"
+ }
+ ],
+ "description": "The publishing profile of a gallery image Version."
+ },
+ "GalleryImageVersionStorageProfile": {
"properties": {
- "install": {
- "type": "string",
- "description": "Required. The path and arguments to install the gallery application. This is limited to 4096 characters."
+ "source": {
+ "$ref": "#/definitions/GalleryArtifactVersionFullSource"
},
- "remove": {
- "type": "string",
- "description": "Required. The path and arguments to remove the gallery application. This is limited to 4096 characters."
+ "osDiskImage": {
+ "$ref": "#/definitions/GalleryOSDiskImage"
},
- "update": {
- "type": "string",
- "description": "Optional. The path and arguments to update the gallery application. If not present, then update operation will invoke remove command on the previous version and install command on the current version of the gallery application. This is limited to 4096 characters."
+ "dataDiskImages": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GalleryDataDiskImage"
+ },
+ "x-ms-identifiers": [
+ "lun"
+ ],
+ "description": "A list of data disk images."
}
},
- "required": [
- "install",
- "remove"
- ]
+ "description": "This is the storage profile of a Gallery Image Version."
},
- "UserArtifactSettings": {
+ "GalleryArtifactVersionFullSource": {
"type": "object",
"properties": {
- "packageFileName": {
+ "communityGalleryImageId": {
"type": "string",
- "description": "Optional. The name to assign the downloaded package file on the VM. This is limited to 4096 characters. If not specified, the package file will be named the same as the Gallery Application name."
+ "description": "The resource Id of the source Community Gallery Image. Only required when using Community Gallery Image as a source."
},
- "configFileName": {
+ "virtualMachineId": {
"type": "string",
- "description": "Optional. The name to assign the downloaded config file on the VM. This is limited to 4096 characters. If not specified, the config file will be named the Gallery Application name appended with \"_config\"."
+ "description": "The resource Id of the source virtual machine. Only required when capturing a virtual machine to source this Gallery Image Version."
}
},
- "description": "Additional settings for the VM app that contains the target package and config file name when it is deployed to target VM or VM scale set."
+ "allOf": [
+ {
+ "$ref": "#/definitions/GalleryArtifactVersionSource"
+ }
+ ],
+ "description": "The source of the gallery artifact version."
},
- "GalleryImage": {
+ "GalleryArtifactVersionSource": {
"properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/GalleryImageProperties"
+ "id": {
+ "type": "string",
+ "description": "The id of the gallery artifact version source."
}
},
+ "description": "The gallery artifact version source."
+ },
+ "GalleryOSDiskImage": {
"allOf": [
{
- "$ref": "../../../common-types/v1/common.json#/definitions/Resource"
+ "$ref": "#/definitions/GalleryDiskImage"
}
],
- "description": "Specifies information about the gallery image definition that you want to create or update."
+ "description": "This is the OS disk image."
},
- "GalleryImageUpdate": {
+ "GalleryDataDiskImage": {
"properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/GalleryImageProperties"
+ "lun": {
+ "type": "integer",
+ "format": "int32",
+ "description": "This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine."
}
},
"allOf": [
{
- "$ref": "#/definitions/UpdateResourceDefinition"
+ "$ref": "#/definitions/GalleryDiskImage"
}
],
- "description": "Specifies information about the gallery image definition that you want to update."
+ "required": [
+ "lun"
+ ],
+ "description": "This is the data disk image."
},
- "GalleryImageProperties": {
+ "GalleryDiskImage": {
"properties": {
- "description": {
- "type": "string",
- "description": "The description of this gallery image definition resource. This property is updatable."
- },
- "eula": {
- "type": "string",
- "description": "The Eula agreement for the gallery image definition."
- },
- "privacyStatementUri": {
- "type": "string",
- "description": "The privacy statement uri."
- },
- "releaseNoteUri": {
- "type": "string",
- "description": "The release note uri."
- },
- "osType": {
- "type": "string",
- "description": "This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. Possible values are: **Windows,** **Linux.**",
- "enum": [
- "Windows",
- "Linux"
- ],
- "x-ms-enum": {
- "name": "OperatingSystemTypes",
- "modelAsString": false
- }
+ "sizeInGB": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "description": "This property indicates the size of the VHD to be created."
},
- "osState": {
+ "hostCaching": {
"type": "string",
- "description": "This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.",
+ "description": "The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'",
"enum": [
- "Generalized",
- "Specialized"
+ "None",
+ "ReadOnly",
+ "ReadWrite"
],
"x-ms-enum": {
- "name": "OperatingSystemStateTypes",
+ "name": "HostCaching",
"modelAsString": false
}
},
- "hyperVGeneration": {
- "type": "string",
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "enum": [
- "V1",
- "V2"
- ],
- "x-ms-enum": {
- "name": "HyperVGeneration",
- "modelAsString": true
- }
- },
- "endOfLifeDate": {
- "type": "string",
- "format": "date-time",
- "description": "The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable."
- },
- "identifier": {
- "$ref": "./galleryRPCommon.json#/definitions/GalleryImageIdentifier"
- },
- "recommended": {
- "$ref": "./galleryRPCommon.json#/definitions/RecommendedMachineConfiguration"
- },
- "disallowed": {
- "$ref": "./galleryRPCommon.json#/definitions/Disallowed"
- },
- "purchasePlan": {
- "$ref": "./galleryRPCommon.json#/definitions/ImagePurchasePlan"
- },
- "provisioningState": {
- "readOnly": true,
- "$ref": "#/definitions/GalleryProvisioningState"
- },
- "features": {
- "type": "array",
- "items": {
- "$ref": "./galleryRPCommon.json#/definitions/GalleryImageFeature"
- },
- "x-ms-identifiers": [
- "name"
- ],
- "description": "A list of gallery image features."
- },
- "architecture": {
- "$ref": "./galleryRPCommon.json#/definitions/Architecture"
- }
- },
- "required": [
- "osType",
- "osState",
- "identifier"
- ],
- "description": "Describes the properties of a gallery image definition."
- },
- "GalleryImageVersion": {
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/GalleryImageVersionProperties"
+ "source": {
+ "$ref": "#/definitions/GalleryDiskImageSource"
}
},
- "allOf": [
- {
- "$ref": "../../../common-types/v1/common.json#/definitions/Resource"
- }
- ],
- "description": "Specifies information about the gallery image version that you want to create or update."
+ "description": "This is the disk image base class."
},
- "GalleryImageVersionUpdate": {
+ "GalleryDiskImageSource": {
+ "type": "object",
"properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/GalleryImageVersionProperties"
+ "uri": {
+ "type": "string",
+ "description": "The uri of the gallery artifact version source. Currently used to specify vhd/blob source."
+ },
+ "storageAccountId": {
+ "type": "string",
+ "description": "The Storage Account Id that contains the vhd blob being used as a source for this artifact version."
}
},
"allOf": [
{
- "$ref": "#/definitions/UpdateResourceDefinition"
+ "$ref": "#/definitions/GalleryArtifactVersionSource"
}
],
- "description": "Specifies information about the gallery image version that you want to update."
+ "description": "The source for the disk image."
},
- "GalleryImageVersionProperties": {
+ "GalleryArtifactSafetyProfileBase": {
+ "type": "object",
"properties": {
- "publishingProfile": {
- "$ref": "#/definitions/GalleryImageVersionPublishingProfile"
- },
- "provisioningState": {
- "readOnly": true,
- "$ref": "#/definitions/GalleryProvisioningState"
- },
- "storageProfile": {
- "$ref": "#/definitions/GalleryImageVersionStorageProfile"
- },
- "safetyProfile": {
- "$ref": "#/definitions/GalleryImageVersionSafetyProfile"
- },
- "replicationStatus": {
- "readOnly": true,
- "$ref": "#/definitions/ReplicationStatus"
- },
- "securityProfile": {
- "$ref": "#/definitions/ImageVersionSecurityProfile"
+ "allowDeletionOfReplicatedLocations": {
+ "type": "boolean",
+ "description": "Indicates whether or not removing this Gallery Image Version from replicated regions is allowed."
}
},
- "required": [
- "storageProfile"
- ],
- "description": "Describes the properties of a gallery image version."
+ "description": "This is the safety profile of the Gallery Artifact Version."
},
- "GalleryArtifactPublishingProfileBase": {
- "properties": {
- "targetRegions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/TargetRegion"
- },
- "x-ms-identifiers": [
- "name"
- ],
- "description": "The target regions where the Image Version is going to be replicated to. This property is updatable."
- },
- "replicaCount": {
- "type": "integer",
- "format": "int32",
- "description": "The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable."
- },
- "excludeFromLatest": {
+ "GalleryImageVersionSafetyProfile": {
+ "type": "object",
+ "properties": {
+ "reportedForPolicyViolation": {
"type": "boolean",
- "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version."
- },
- "publishedDate": {
- "readOnly": true,
- "type": "string",
- "format": "date-time",
- "description": "The timestamp for when the gallery image version is published."
+ "description": "Indicates whether this image has been reported as violating Microsoft's policies.",
+ "readOnly": true
},
- "endOfLifeDate": {
- "type": "string",
- "format": "date-time",
- "description": "The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable."
+ "policyViolations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PolicyViolation"
+ },
+ "x-ms-identifiers": [],
+ "description": "A list of Policy Violations that have been reported for this Gallery Image Version.",
+ "readOnly": true
},
- "storageAccountType": {
+ "blockDeletionBeforeEndOfLife": {
+ "type": "boolean",
+ "description": "Indicates whether or not the deletion is blocked for this Gallery Image Version if its End Of Life has not expired."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/GalleryArtifactSafetyProfileBase"
+ }
+ ],
+ "description": "This is the safety profile of the Gallery Image Version."
+ },
+ "PolicyViolation": {
+ "type": "object",
+ "properties": {
+ "category": {
"type": "string",
- "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
+ "description": "Describes the nature of the policy violation.",
"enum": [
- "Standard_LRS",
- "Standard_ZRS",
- "Premium_LRS"
+ "Other",
+ "ImageFlaggedUnsafe",
+ "CopyrightValidation",
+ "IpTheft"
],
"x-ms-enum": {
- "name": "StorageAccountType",
+ "name": "PolicyViolationCategory",
"modelAsString": true
}
},
- "replicationMode": {
+ "details": {
"type": "string",
- "description": "Optional parameter which specifies the mode to be used for replication. This property is not updatable.",
+ "description": "Describes specific details about why this policy violation was reported."
+ }
+ },
+ "description": "A policy violation reported against a gallery artifact."
+ },
+ "ImageVersionSecurityProfile": {
+ "type": "object",
+ "description": "The security profile of a gallery image version",
+ "properties": {
+ "uefiSettings": {
+ "$ref": "#/definitions/GalleryImageVersionUefiSettings"
+ }
+ }
+ },
+ "ReplicationStatus": {
+ "properties": {
+ "aggregatedState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "This is the aggregated replication status based on all the regional replication status flags.",
"enum": [
- "Full",
- "Shallow"
+ "Unknown",
+ "InProgress",
+ "Completed",
+ "Failed"
],
"x-ms-enum": {
- "name": "ReplicationMode",
+ "name": "AggregatedReplicationState",
"modelAsString": true
}
},
- "targetExtendedLocations": {
+ "summary": {
+ "readOnly": true,
"type": "array",
"items": {
- "$ref": "#/definitions/GalleryTargetExtendedLocation"
+ "$ref": "#/definitions/RegionalReplicationStatus"
},
"x-ms-identifiers": [
- "name",
- "extendedLocation/name"
+ "region"
],
- "description": "The target extended locations where the Image Version is going to be replicated to. This property is updatable."
+ "description": "This is a summary of replication status for each region."
}
},
- "description": "Describes the basic gallery artifact publishing profile."
+ "description": "This is the replication status of the gallery image version."
},
- "TargetRegion": {
+ "RegionalReplicationStatus": {
"properties": {
- "name": {
+ "region": {
+ "readOnly": true,
"type": "string",
- "description": "The name of the region."
- },
- "regionalReplicaCount": {
- "type": "integer",
- "format": "int32",
- "description": "The number of replicas of the Image Version to be created per region. This property is updatable."
+ "description": "The region to which the gallery image version is being replicated to."
},
- "storageAccountType": {
+ "state": {
+ "readOnly": true,
"type": "string",
- "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
+ "description": "This is the regional replication state.",
"enum": [
- "Standard_LRS",
- "Standard_ZRS",
- "Premium_LRS"
+ "Unknown",
+ "Replicating",
+ "Completed",
+ "Failed"
],
"x-ms-enum": {
- "name": "StorageAccountType",
+ "name": "ReplicationState",
"modelAsString": true
}
},
- "encryption": {
- "$ref": "#/definitions/EncryptionImages"
+ "details": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The details of the replication status."
},
- "excludeFromLatest": {
- "type": "boolean",
- "description": "Contains the flag setting to hide an image when users specify version='latest'"
+ "progress": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "description": "It indicates progress of the replication job."
}
},
- "required": [
- "name"
- ],
- "description": "Describes the target region information."
+ "description": "This is the regional replication status."
},
- "GalleryTargetExtendedLocation": {
- "type": "object",
+ "GallerySoftDeletedResourceProperties": {
"properties": {
- "name": {
+ "resourceArmId": {
"type": "string",
- "description": "The name of the region."
- },
- "extendedLocation": {
- "$ref": "#/definitions/GalleryExtendedLocation"
- },
- "extendedLocationReplicaCount": {
- "type": "integer",
- "format": "int32",
- "description": "The number of replicas of the Image Version to be created per extended location. This property is updatable."
+ "format": "arm-id",
+ "description": "arm id of the soft-deleted resource"
},
- "storageAccountType": {
+ "softDeletedArtifactType": {
"type": "string",
- "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
+ "description": "artifact type of the soft-deleted resource",
"enum": [
- "Standard_LRS",
- "Standard_ZRS",
- "StandardSSD_LRS",
- "Premium_LRS"
+ "Images"
],
"x-ms-enum": {
- "name": "EdgeZoneStorageAccountType",
+ "name": "SoftDeletedArtifactTypes",
"modelAsString": true
}
},
- "encryption": {
- "$ref": "#/definitions/EncryptionImages"
+ "softDeletedTime": {
+ "type": "string",
+ "description": "The timestamp for when the resource is soft-deleted. In dateTime offset format."
}
- }
- },
- "GalleryExtendedLocation": {
+ },
"type": "object",
+ "description": "Describes the properties of a soft-deleted resource."
+ },
+ "GallerySoftDeletedResource": {
"properties": {
- "name": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/GalleryExtendedLocationType"
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/GallerySoftDeletedResourceProperties"
}
},
- "description": "The name of the extended location."
- },
- "GalleryExtendedLocationType": {
- "type": "string",
- "enum": [
- "EdgeZone",
- "Unknown"
+ "allOf": [
+ {
+ "$ref": "../../../common-types/v1/common.json#/definitions/Resource"
+ }
],
- "x-ms-enum": {
- "name": "GalleryExtendedLocationType",
- "modelAsString": true
- },
- "description": "It is type of the extended location."
+ "type": "object",
+ "description": "The details information of soft-deleted resource."
},
- "EncryptionImages": {
+ "GalleryList": {
"properties": {
- "osDiskImage": {
- "$ref": "#/definitions/OSDiskImageEncryption"
- },
- "dataDiskImages": {
+ "value": {
"type": "array",
"items": {
- "$ref": "#/definitions/DataDiskImageEncryption"
+ "$ref": "#/definitions/Gallery"
},
- "x-ms-identifiers": [
- "lun"
- ],
- "description": "A list of encryption specifications for data disk images."
+ "description": "A list of galleries."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The uri to fetch the next page of galleries. Call ListNext() with this to fetch the next page of galleries."
+ },
+ "securityProfile": {
+ "$ref": "#/definitions/ImageVersionSecurityProfile"
}
},
- "description": "Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact."
+ "required": [
+ "value"
+ ],
+ "description": "The List Galleries operation response."
},
- "OSDiskImageEncryption": {
- "type": "object",
+ "GalleryImageList": {
"properties": {
- "securityProfile": {
- "type": "object",
- "$ref": "#/definitions/OSDiskImageSecurityProfile",
- "description": "This property specifies the security profile of an OS disk image."
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GalleryImage"
+ },
+ "description": "A list of Shared Image Gallery images."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The uri to fetch the next page of Image Definitions in the Shared Image Gallery. Call ListNext() with this to fetch the next page of gallery image definitions."
}
},
- "allOf": [
- {
- "$ref": "#/definitions/DiskImageEncryption"
- }
+ "required": [
+ "value"
],
- "description": "Contains encryption settings for an OS disk image."
+ "description": "The List Gallery Images operation response."
},
- "OSDiskImageSecurityProfile": {
- "type": "object",
+ "GalleryImageVersionList": {
"properties": {
- "confidentialVMEncryptionType": {
- "type": "string",
- "description": "confidential VM encryption types",
- "enum": [
- "EncryptedVMGuestStateOnlyWithPmk",
- "EncryptedWithPmk",
- "EncryptedWithCmk",
- "NonPersistedTPM"
- ],
- "x-ms-enum": {
- "name": "ConfidentialVMEncryptionType",
- "modelAsString": true
- }
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GalleryImageVersion"
+ },
+ "description": "A list of gallery image versions."
},
- "secureVMDiskEncryptionSetId": {
+ "nextLink": {
"type": "string",
- "description": "secure VM disk encryption set id"
+ "description": "The uri to fetch the next page of gallery image versions. Call ListNext() with this to fetch the next page of gallery image versions."
}
},
- "description": "Contains security profile for an OS disk image."
+ "required": [
+ "value"
+ ],
+ "description": "The List Gallery Image version operation response."
},
- "DataDiskImageEncryption": {
+ "GalleryApplicationList": {
"properties": {
- "lun": {
- "type": "integer",
- "format": "int32",
- "description": "This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine."
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GalleryApplication"
+ },
+ "description": "A list of Gallery Applications."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The uri to fetch the next page of Application Definitions in the Application Gallery. Call ListNext() with this to fetch the next page of gallery Application Definitions."
}
},
- "allOf": [
- {
- "$ref": "#/definitions/DiskImageEncryption"
- }
- ],
"required": [
- "lun"
+ "value"
],
- "description": "Contains encryption settings for a data disk image."
+ "description": "The List Gallery Applications operation response."
},
- "DiskImageEncryption": {
+ "GalleryApplicationVersionList": {
"properties": {
- "diskEncryptionSetId": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GalleryApplicationVersion"
+ },
+ "description": "A list of gallery Application Versions."
+ },
+ "nextLink": {
"type": "string",
- "description": "A relative URI containing the resource ID of the disk encryption set."
+ "description": "The uri to fetch the next page of gallery Application Versions. Call ListNext() with this to fetch the next page of gallery Application Versions."
}
},
- "description": "This is the disk image encryption base class."
+ "required": [
+ "value"
+ ],
+ "description": "The List Gallery Application version operation response."
},
- "GalleryArtifactSource": {
+ "GallerySoftDeletedResourceList": {
"properties": {
- "managedImage": {
- "$ref": "#/definitions/ManagedArtifact"
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GallerySoftDeletedResource"
+ },
+ "description": "A list of soft-deleted resources."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The uri to fetch the next page of soft-deleted resources. Call ListNext() with this to fetch the next page of soft-deleted resources."
}
},
"required": [
- "managedImage"
+ "value"
],
- "description": "The source image from which the Image Version is going to be created."
+ "type": "object",
+ "description": "The List Soft-deleted Resources operation response."
},
- "ManagedArtifact": {
+ "UpdateResourceDefinition": {
+ "description": "The Update Resource model definition.",
"properties": {
"id": {
+ "readOnly": true,
"type": "string",
- "description": "The managed artifact id."
+ "description": "Resource Id"
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource name"
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource type"
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
}
},
- "required": [
- "id"
- ],
- "description": "The managed artifact."
- },
- "GalleryImageVersionPublishingProfile": {
- "allOf": [
- {
- "$ref": "#/definitions/GalleryArtifactPublishingProfileBase"
- }
- ],
- "description": "The publishing profile of a gallery image Version."
+ "x-ms-azure-resource": true
},
- "GalleryImageVersionStorageProfile": {
+ "SharingUpdate": {
+ "description": "Specifies information about the gallery sharing profile update.",
"properties": {
- "source": {
- "$ref": "#/definitions/GalleryArtifactVersionFullSource"
- },
- "osDiskImage": {
- "$ref": "#/definitions/GalleryOSDiskImage"
+ "operationType": {
+ "type": "string",
+ "description": "This property allows you to specify the operation type of gallery sharing update. Possible values are: **Add,** **Remove,** **Reset.**",
+ "enum": [
+ "Add",
+ "Remove",
+ "Reset",
+ "EnableCommunity"
+ ],
+ "x-ms-enum": {
+ "name": "SharingUpdateOperationTypes",
+ "modelAsString": true
+ }
},
- "dataDiskImages": {
+ "groups": {
"type": "array",
"items": {
- "$ref": "#/definitions/GalleryDataDiskImage"
+ "$ref": "#/definitions/SharingProfileGroup"
},
- "x-ms-identifiers": [
- "lun"
- ],
- "description": "A list of data disk images."
+ "x-ms-identifiers": [],
+ "description": "A list of sharing profile groups."
}
},
- "description": "This is the storage profile of a Gallery Image Version."
+ "required": [
+ "operationType"
+ ],
+ "x-ms-azure-resource": true
},
- "GalleryArtifactVersionFullSource": {
+ "GalleryProvisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "title": "The current state of the gallery or gallery artifact.",
+ "description": "The provisioning state, which only appears in the response.",
+ "enum": [
+ "Creating",
+ "Updating",
+ "Failed",
+ "Succeeded",
+ "Deleting",
+ "Migrating"
+ ],
+ "x-ms-enum": {
+ "name": "GalleryProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "LatestGalleryImageVersion": {
"type": "object",
+ "readOnly": true,
+ "description": "The gallery image version with latest version in a particular region.",
"properties": {
- "communityGalleryImageId": {
+ "latestVersionName": {
"type": "string",
- "description": "The resource Id of the source Community Gallery Image. Only required when using Community Gallery Image as a source."
+ "description": "The name of the latest version in the region."
},
- "virtualMachineId": {
+ "location": {
"type": "string",
- "description": "The resource Id of the source virtual machine. Only required when capturing a virtual machine to source this Gallery Image Version."
+ "description": "region of the Gallery Image Version."
}
- },
- "allOf": [
- {
- "$ref": "#/definitions/GalleryArtifactVersionSource"
+ }
+ },
+ "GalleryImageVersionUefiSettings": {
+ "type": "object",
+ "description": "Contains UEFI settings for the image version.",
+ "properties": {
+ "signatureTemplateNames": {
+ "type": "array",
+ "description": "The name of the template(s) that contains default UEFI key signatures that will be added to the image.",
+ "items": {
+ "$ref": "#/definitions/UefiSignatureTemplateName"
+ },
+ "x-ms-identifiers": []
+ },
+ "additionalSignatures": {
+ "$ref": "#/definitions/UefiKeySignatures"
}
+ }
+ },
+ "UefiSignatureTemplateName": {
+ "type": "string",
+ "description": "The name of the signature template that contains default UEFI keys.",
+ "enum": [
+ "NoSignatureTemplate",
+ "MicrosoftUefiCertificateAuthorityTemplate",
+ "MicrosoftWindowsTemplate"
],
- "description": "The source of the gallery artifact version."
+ "x-ms-enum": {
+ "name": "UefiSignatureTemplateName",
+ "modelAsString": true
+ }
},
- "GalleryArtifactVersionSource": {
+ "UefiKeySignatures": {
+ "type": "object",
+ "description": "Additional UEFI key signatures that will be added to the image in addition to the signature templates",
"properties": {
- "id": {
+ "pk": {
+ "description": "The Platform Key of this image version.",
+ "$ref": "#/definitions/UefiKey"
+ },
+ "kek": {
+ "type": "array",
+ "description": "The Key Encryption Keys of this image version.",
+ "items": {
+ "$ref": "#/definitions/UefiKey"
+ },
+ "x-ms-identifiers": []
+ },
+ "db": {
+ "type": "array",
+ "description": "The database of UEFI keys for this image version.",
+ "items": {
+ "$ref": "#/definitions/UefiKey"
+ },
+ "x-ms-identifiers": []
+ },
+ "dbx": {
+ "type": "array",
+ "description": "The database of revoked UEFI keys for this image version.",
+ "items": {
+ "$ref": "#/definitions/UefiKey"
+ },
+ "x-ms-identifiers": []
+ }
+ }
+ },
+ "ValidationsProfile": {
+ "type": "object",
+ "properties": {
+ "validationEtag": {
"type": "string",
- "description": "The id of the gallery artifact version source."
+ "description": "The published time of the image version"
+ },
+ "executedValidations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ExecutedValidation"
+ },
+ "x-ms-identifiers": []
+ },
+ "platformAttributes": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PlatformAttribute"
+ },
+ "x-ms-identifiers": [
+ "name"
+ ],
+ "description": "This specifies the pub, offer, sku and version of the image version metadata"
}
},
- "description": "The gallery artifact version source."
+ "description": "This is the validations profile of a Gallery Image Version."
},
- "GalleryOSDiskImage": {
- "allOf": [
- {
- "$ref": "#/definitions/GalleryDiskImage"
+ "UefiKey": {
+ "type": "object",
+ "description": "A UEFI key signature.",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The type of key signature.",
+ "enum": [
+ "sha256",
+ "x509"
+ ],
+ "x-ms-enum": {
+ "name": "UefiKeyType",
+ "modelAsString": true
+ }
+ },
+ "value": {
+ "type": "array",
+ "description": "The value of the key signature.",
+ "items": {
+ "type": "string"
+ },
+ "x-ms-identifiers": []
}
- ],
- "description": "This is the OS disk image."
+ }
},
- "GalleryDataDiskImage": {
+ "GalleryInVMAccessControlProfile": {
+ "type": "object",
"properties": {
- "lun": {
- "type": "integer",
- "format": "int32",
- "description": "This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine."
+ "properties": {
+ "$ref": "#/definitions/GalleryInVMAccessControlProfileProperties"
}
},
"allOf": [
{
- "$ref": "#/definitions/GalleryDiskImage"
+ "$ref": "../../../common-types/v1/common.json#/definitions/Resource"
}
],
- "required": [
- "lun"
- ],
- "description": "This is the data disk image."
+ "description": "Specifies information about the gallery inVMAccessControlProfile that you want to create or update."
},
- "GalleryDiskImage": {
+ "ExecutedValidation": {
+ "type": "object",
"properties": {
- "sizeInGB": {
- "readOnly": true,
- "type": "integer",
- "format": "int32",
- "description": "This property indicates the size of the VHD to be created."
+ "type": {
+ "type": "string",
+ "description": "This property specifies the type of image version validation."
},
- "hostCaching": {
+ "status": {
"type": "string",
- "description": "The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'",
+ "description": "This property specifies the status of the validationProfile of the image version.",
"enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
+ "Unknown",
+ "Failed",
+ "Succeeded"
],
"x-ms-enum": {
- "name": "HostCaching",
- "modelAsString": false
+ "name": "ValidationStatus",
+ "modelAsString": true
}
},
- "source": {
- "$ref": "#/definitions/GalleryDiskImageSource"
- }
- },
- "description": "This is the disk image base class."
- },
- "GalleryDiskImageSource": {
- "type": "object",
- "properties": {
- "uri": {
+ "version": {
"type": "string",
- "description": "The uri of the gallery artifact version source. Currently used to specify vhd/blob source."
+ "description": "This property specifies the valid version of the validation."
},
- "storageAccountId": {
+ "executionTime": {
"type": "string",
- "description": "The Storage Account Id that contains the vhd blob being used as a source for this artifact version."
+ "format": "date-time",
+ "description": "This property specifies the starting timestamp."
}
},
- "allOf": [
- {
- "$ref": "#/definitions/GalleryArtifactVersionSource"
- }
- ],
- "description": "The source for the disk image."
+ "description": "This is the executed Validation."
},
- "GalleryArtifactSafetyProfileBase": {
+ "PlatformAttribute": {
"type": "object",
"properties": {
- "allowDeletionOfReplicatedLocations": {
- "type": "boolean",
- "description": "Indicates whether or not removing this Gallery Image Version from replicated regions is allowed."
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "This property specifies the name of the platformAttribute. It is read-only."
+ },
+ "value": {
+ "readOnly": true,
+ "type": "string",
+ "description": "This property specifies the value of the corresponding name property. It is read-only."
}
},
- "description": "This is the safety profile of the Gallery Artifact Version."
+ "description": "This is the platform attribute of the image version."
},
- "GalleryImageVersionSafetyProfile": {
+ "GalleryInVMAccessControlProfileUpdate": {
"type": "object",
"properties": {
- "reportedForPolicyViolation": {
- "type": "boolean",
- "description": "Indicates whether this image has been reported as violating Microsoft's policies.",
- "readOnly": true
- },
- "policyViolations": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PolicyViolation"
- },
- "x-ms-identifiers": [],
- "description": "A list of Policy Violations that have been reported for this Gallery Image Version.",
- "readOnly": true
+ "properties": {
+ "$ref": "#/definitions/GalleryInVMAccessControlProfileProperties"
}
},
"allOf": [
{
- "$ref": "#/definitions/GalleryArtifactSafetyProfileBase"
+ "$ref": "#/definitions/UpdateResourceDefinition"
}
],
- "description": "This is the safety profile of the Gallery Image Version."
+ "description": "Specifies information about the gallery inVMAccessControlProfile that you want to update."
},
- "PolicyViolation": {
+ "GalleryInVMAccessControlProfileProperties": {
"type": "object",
"properties": {
- "category": {
+ "description": {
"type": "string",
- "description": "Describes the nature of the policy violation.",
+ "description": "The description of this gallery inVMAccessControlProfile resources. This property is updatable."
+ },
+ "osType": {
+ "type": "string",
+ "description": "This property allows you to specify the OS type of the VMs/VMSS for which this profile can be used against. Possible values are: 'Windows' or 'Linux'",
"enum": [
- "Other",
- "ImageFlaggedUnsafe",
- "CopyrightValidation",
- "IpTheft"
+ "Windows",
+ "Linux"
],
"x-ms-enum": {
- "name": "PolicyViolationCategory",
- "modelAsString": true
+ "name": "OperatingSystemTypes",
+ "modelAsString": false
}
},
- "details": {
+ "applicableHostEndpoint": {
"type": "string",
- "description": "Describes specific details about why this policy violation was reported."
+ "description": "This property allows you to specify the Endpoint type for which this profile is defining the access control for. Possible values are: 'WireServer' or 'IMDS'",
+ "enum": [
+ "WireServer",
+ "IMDS"
+ ],
+ "x-ms-enum": {
+ "name": "EndpointTypes",
+ "modelAsString": false
+ }
}
},
- "description": "A policy violation reported against a gallery artifact."
- },
- "ImageVersionSecurityProfile": {
- "type": "object",
- "description": "The security profile of a gallery image version",
- "properties": {
- "uefiSettings": {
- "$ref": "#/definitions/GalleryImageVersionUefiSettings"
+ "allOf": [
+ {
+ "$ref": "#/definitions/GalleryResourceProfilePropertiesBase"
}
- }
+ ],
+ "required": [
+ "osType",
+ "applicableHostEndpoint"
+ ],
+ "description": "Describes the properties of a gallery inVMAccessControlProfile."
},
- "ReplicationStatus": {
+ "GalleryResourceProfilePropertiesBase": {
+ "type": "object",
"properties": {
- "aggregatedState": {
- "readOnly": true,
- "type": "string",
- "description": "This is the aggregated replication status based on all the regional replication status flags.",
- "enum": [
- "Unknown",
- "InProgress",
- "Completed",
- "Failed"
- ],
- "x-ms-enum": {
- "name": "AggregatedReplicationState",
- "modelAsString": true
- }
- },
- "summary": {
+ "provisioningState": {
"readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/RegionalReplicationStatus"
- },
- "x-ms-identifiers": [
- "region"
- ],
- "description": "This is a summary of replication status for each region."
+ "$ref": "#/definitions/GalleryProvisioningState"
}
},
- "description": "This is the replication status of the gallery image version."
+ "description": "The properties of a gallery ResourceProfile."
},
- "RegionalReplicationStatus": {
+ "GalleryInVMAccessControlProfileVersion": {
+ "type": "object",
"properties": {
- "region": {
- "readOnly": true,
- "type": "string",
- "description": "The region to which the gallery image version is being replicated to."
- },
- "state": {
- "readOnly": true,
- "type": "string",
- "description": "This is the regional replication state.",
- "enum": [
- "Unknown",
- "Replicating",
- "Completed",
- "Failed"
- ],
- "x-ms-enum": {
- "name": "ReplicationState",
- "modelAsString": true
- }
- },
- "details": {
- "readOnly": true,
- "type": "string",
- "description": "The details of the replication status."
- },
- "progress": {
- "readOnly": true,
- "type": "integer",
- "format": "int32",
- "description": "It indicates progress of the replication job."
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/GalleryInVMAccessControlProfileVersionProperties"
}
},
- "description": "This is the regional replication status."
+ "allOf": [
+ {
+ "$ref": "../../../common-types/v1/common.json#/definitions/Resource"
+ }
+ ],
+ "description": "Specifies information about the gallery inVMAccessControlProfile version that you want to create or update."
},
- "GalleryList": {
+ "GalleryInVMAccessControlProfileVersionUpdate": {
+ "type": "object",
"properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Gallery"
- },
- "description": "A list of galleries."
- },
- "nextLink": {
- "type": "string",
- "description": "The uri to fetch the next page of galleries. Call ListNext() with this to fetch the next page of galleries."
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/GalleryInVMAccessControlProfileVersionProperties"
}
},
- "required": [
- "value"
+ "allOf": [
+ {
+ "$ref": "#/definitions/UpdateResourceDefinition"
+ }
],
- "description": "The List Galleries operation response."
+ "description": "Specifies information about the gallery inVMAccessControlProfile version that you want to update."
},
- "GalleryImageList": {
+ "GalleryInVMAccessControlProfileVersionProperties": {
+ "type": "object",
"properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/GalleryImage"
- },
- "description": "A list of Shared Image Gallery images."
+ "mode": {
+ "type": "string",
+ "description": "This property allows you to specify whether the access control rules are in Audit mode, in Enforce mode or Disabled. Possible values are: 'Audit', 'Enforce' or 'Disabled'.",
+ "enum": [
+ "Audit",
+ "Enforce",
+ "Disabled"
+ ],
+ "x-ms-enum": {
+ "name": "AccessControlRulesMode",
+ "modelAsString": true
+ }
},
- "nextLink": {
+ "defaultAccess": {
"type": "string",
- "description": "The uri to fetch the next page of Image Definitions in the Shared Image Gallery. Call ListNext() with this to fetch the next page of gallery image definitions."
+ "description": "This property allows you to specify if the requests will be allowed to access the host endpoints. Possible values are: 'Allow', 'Deny'.",
+ "enum": [
+ "Allow",
+ "Deny"
+ ],
+ "x-ms-enum": {
+ "name": "EndpointAccess",
+ "modelAsString": true
+ }
+ },
+ "rules": {
+ "$ref": "#/definitions/AccessControlRules"
}
},
+ "allOf": [
+ {
+ "$ref": "#/definitions/GalleryResourceProfileVersionPropertiesBase"
+ }
+ ],
"required": [
- "value"
+ "mode",
+ "defaultAccess"
],
- "description": "The List Gallery Images operation response."
+ "description": "Describes the properties of an inVMAccessControlProfile version."
},
- "GalleryImageVersionList": {
+ "AccessControlRules": {
+ "type": "object",
"properties": {
- "value": {
+ "privileges": {
"type": "array",
"items": {
- "$ref": "#/definitions/GalleryImageVersion"
+ "$ref": "#/definitions/AccessControlRulesPrivilege"
},
- "description": "A list of gallery image versions."
+ "x-ms-identifiers": [
+ "name"
+ ],
+ "description": "A list of privileges."
},
- "nextLink": {
- "type": "string",
- "description": "The uri to fetch the next page of gallery image versions. Call ListNext() with this to fetch the next page of gallery image versions."
- }
- },
- "required": [
- "value"
- ],
- "description": "The List Gallery Image version operation response."
- },
- "GalleryApplicationList": {
- "properties": {
- "value": {
+ "roles": {
"type": "array",
"items": {
- "$ref": "#/definitions/GalleryApplication"
+ "$ref": "#/definitions/AccessControlRulesRole"
},
- "description": "A list of Gallery Applications."
+ "x-ms-identifiers": [
+ "name"
+ ],
+ "description": "A list of roles."
},
- "nextLink": {
- "type": "string",
- "description": "The uri to fetch the next page of Application Definitions in the Application Gallery. Call ListNext() with this to fetch the next page of gallery Application Definitions."
- }
- },
- "required": [
- "value"
- ],
- "description": "The List Gallery Applications operation response."
- },
- "GalleryApplicationVersionList": {
- "properties": {
- "value": {
+ "identities": {
"type": "array",
"items": {
- "$ref": "#/definitions/GalleryApplicationVersion"
+ "$ref": "#/definitions/AccessControlRulesIdentity"
},
- "description": "A list of gallery Application Versions."
+ "x-ms-identifiers": [
+ "name"
+ ],
+ "description": "A list of identities."
},
- "nextLink": {
- "type": "string",
- "description": "The uri to fetch the next page of gallery Application Versions. Call ListNext() with this to fetch the next page of gallery Application Versions."
+ "roleAssignments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AccessControlRulesRoleAssignment"
+ },
+ "x-ms-identifiers": [
+ "role"
+ ],
+ "description": "A list of role assignments."
}
},
- "required": [
- "value"
- ],
- "description": "The List Gallery Application version operation response."
+ "description": "This is the Access Control Rules specification for an inVMAccessControlProfile version."
},
- "UpdateResourceDefinition": {
- "description": "The Update Resource model definition.",
+ "AccessControlRulesPrivilege": {
+ "type": "object",
"properties": {
- "id": {
- "readOnly": true,
- "type": "string",
- "description": "Resource Id"
- },
"name": {
- "readOnly": true,
"type": "string",
- "description": "Resource name"
+ "description": "The name of the privilege."
},
- "type": {
- "readOnly": true,
+ "path": {
"type": "string",
- "description": "Resource type"
+ "description": "The HTTP path corresponding to the privilege."
},
- "tags": {
+ "queryParameters": {
"type": "object",
"additionalProperties": {
"type": "string"
},
- "description": "Resource tags"
+ "description": "The query parameters to match in the path."
}
},
- "x-ms-azure-resource": true
+ "required": [
+ "name",
+ "path"
+ ],
+ "description": "The properties of an Access Control Rule Privilege."
},
- "SharingUpdate": {
- "description": "Specifies information about the gallery sharing profile update.",
+ "AccessControlRulesRole": {
+ "type": "object",
"properties": {
- "operationType": {
+ "name": {
"type": "string",
- "description": "This property allows you to specify the operation type of gallery sharing update. Possible values are: **Add,** **Remove,** **Reset.**",
- "enum": [
- "Add",
- "Remove",
- "Reset",
- "EnableCommunity"
- ],
- "x-ms-enum": {
- "name": "SharingUpdateOperationTypes",
- "modelAsString": true
- }
+ "description": "The name of the role."
},
- "groups": {
+ "privileges": {
"type": "array",
"items": {
- "$ref": "#/definitions/SharingProfileGroup"
+ "type": "string"
},
- "x-ms-identifiers": [],
- "description": "A list of sharing profile groups."
+ "description": "A list of privileges needed by this role."
}
},
"required": [
- "operationType"
- ],
- "x-ms-azure-resource": true
- },
- "GalleryProvisioningState": {
- "readOnly": true,
- "type": "string",
- "title": "The current state of the gallery or gallery artifact.",
- "description": "The provisioning state, which only appears in the response.",
- "enum": [
- "Creating",
- "Updating",
- "Failed",
- "Succeeded",
- "Deleting",
- "Migrating"
+ "name",
+ "privileges"
],
- "x-ms-enum": {
- "name": "GalleryProvisioningState",
- "modelAsString": true
- }
+ "description": "The properties of an Access Control Rule Role."
},
- "LatestGalleryImageVersion": {
+ "AccessControlRulesIdentity": {
"type": "object",
- "readOnly": true,
- "description": "The gallery image version with latest version in a particular region.",
"properties": {
- "latestVersionName": {
+ "name": {
"type": "string",
- "description": "The name of the latest version in the region."
+ "description": "The name of the identity."
},
- "location": {
+ "userName": {
"type": "string",
- "description": "region of the Gallery Image Version."
+ "description": "The username corresponding to this identity."
+ },
+ "groupName": {
+ "type": "string",
+ "description": "The groupName corresponding to this identity."
+ },
+ "exePath": {
+ "type": "string",
+ "description": "The path to the executable."
+ },
+ "processName": {
+ "type": "string",
+ "description": "The process name of the executable."
}
- }
+ },
+ "required": [
+ "name"
+ ],
+ "description": "The properties of an Access Control Rule Identity."
},
- "GalleryImageVersionUefiSettings": {
+ "AccessControlRulesRoleAssignment": {
"type": "object",
- "description": "Contains UEFI settings for the image version.",
"properties": {
- "signatureTemplateNames": {
+ "role": {
+ "type": "string",
+ "description": "The name of the role."
+ },
+ "identities": {
"type": "array",
- "description": "The name of the template(s) that contains default UEFI key signatures that will be added to the image.",
"items": {
- "$ref": "#/definitions/UefiSignatureTemplateName"
+ "type": "string"
},
- "x-ms-identifiers": []
- },
- "additionalSignatures": {
- "$ref": "#/definitions/UefiKeySignatures"
+ "description": "A list of identities that can access the privileges defined by the role."
}
- }
- },
- "UefiSignatureTemplateName": {
- "type": "string",
- "description": "The name of the signature template that contains default UEFI keys.",
- "enum": [
- "NoSignatureTemplate",
- "MicrosoftUefiCertificateAuthorityTemplate",
- "MicrosoftWindowsTemplate"
+ },
+ "required": [
+ "role",
+ "identities"
],
- "x-ms-enum": {
- "name": "UefiSignatureTemplateName",
- "modelAsString": true
- }
+ "description": "The properties of an Access Control Rule RoleAssignment."
},
- "UefiKeySignatures": {
+ "GalleryResourceProfileVersionPropertiesBase": {
"type": "object",
- "description": "Additional UEFI key signatures that will be added to the image in addition to the signature templates",
"properties": {
- "pk": {
- "description": "The Platform Key of this image version.",
- "$ref": "#/definitions/UefiKey"
- },
- "kek": {
+ "targetLocations": {
"type": "array",
- "description": "The Key Encryption Keys of this image version.",
"items": {
- "$ref": "#/definitions/UefiKey"
+ "$ref": "#/definitions/TargetRegion"
},
- "x-ms-identifiers": []
+ "x-ms-identifiers": [
+ "name"
+ ],
+ "description": "The target regions where the Resource Profile version is going to be replicated to. This property is updatable."
},
- "db": {
- "type": "array",
- "description": "The database of UEFI keys for this image version.",
- "items": {
- "$ref": "#/definitions/UefiKey"
- },
- "x-ms-identifiers": []
+ "excludeFromLatest": {
+ "type": "boolean",
+ "description": "If set to true, Virtual Machines deployed from the latest version of the Resource Profile won't use this Profile version."
},
- "dbx": {
+ "publishedDate": {
+ "readOnly": true,
+ "type": "string",
+ "format": "date-time",
+ "description": "The timestamp for when the Resource Profile Version is published."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "#/definitions/GalleryProvisioningState"
+ },
+ "replicationStatus": {
+ "readOnly": true,
+ "$ref": "#/definitions/ReplicationStatus"
+ }
+ },
+ "description": "The properties of a gallery ResourceProfile version."
+ },
+ "GalleryInVMAccessControlProfileList": {
+ "type": "object",
+ "properties": {
+ "value": {
"type": "array",
- "description": "The database of revoked UEFI keys for this image version.",
"items": {
- "$ref": "#/definitions/UefiKey"
+ "$ref": "#/definitions/GalleryInVMAccessControlProfile"
},
- "x-ms-identifiers": []
+ "description": "A list of Gallery InVMAccessControlProfiles."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The uri to fetch the next page of inVMAccessControlProfiles in the gallery. Call ListNext() with this to fetch the next page of gallery inVMAccessControlProfiles."
}
- }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "The List Gallery InVMAccessControlProfiles operation response."
},
- "UefiKey": {
+ "GalleryInVMAccessControlProfileVersionList": {
"type": "object",
- "description": "A UEFI key signature.",
"properties": {
- "type": {
- "type": "string",
- "description": "The type of key signature.",
- "enum": [
- "sha256",
- "x509"
- ],
- "x-ms-enum": {
- "name": "UefiKeyType",
- "modelAsString": true
- }
- },
"value": {
"type": "array",
- "description": "The value of the key signature.",
"items": {
- "type": "string"
+ "$ref": "#/definitions/GalleryInVMAccessControlProfileVersion"
},
- "x-ms-identifiers": []
+ "description": "A list of Gallery InVMAccessControlProfile Versions."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The uri to fetch the next page of inVMAccessControlProfile versions. Call ListNext() with this to fetch the next page of gallery inVMAccessControlProfile versions."
}
- }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "The List Gallery InVMAccessControlProfile Versions operation response."
}
},
"parameters": {
diff --git a/swagger-specs/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/galleryRPCommon.json b/swagger-specs/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2024-03-03/galleryRPCommon.json
similarity index 96%
rename from swagger-specs/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/galleryRPCommon.json
rename to swagger-specs/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2024-03-03/galleryRPCommon.json
index 1fc693498..0c08951aa 100644
--- a/swagger-specs/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/galleryRPCommon.json
+++ b/swagger-specs/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2024-03-03/galleryRPCommon.json
@@ -3,7 +3,7 @@
"info": {
"title": "ComputeManagementClient",
"description": "The Compute Management Client.",
- "version": "2023-07-03"
+ "version": "2024-03-03"
},
"host": "management.azure.com",
"schemes": [
@@ -44,6 +44,10 @@
"value": {
"type": "string",
"description": "The value of the gallery image feature."
+ },
+ "startsAtVersion": {
+ "type": "string",
+ "description": "The minimum gallery image version which supports this feature."
}
},
"description": "A feature for gallery image."
diff --git a/swagger-specs/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/sharedGallery.json b/swagger-specs/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2024-03-03/sharedGallery.json
similarity index 99%
rename from swagger-specs/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/sharedGallery.json
rename to swagger-specs/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2024-03-03/sharedGallery.json
index 07249b964..901d1ff73 100644
--- a/swagger-specs/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/sharedGallery.json
+++ b/swagger-specs/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2024-03-03/sharedGallery.json
@@ -3,7 +3,7 @@
"info": {
"title": "SharedGalleryServiceClient",
"description": "Shared Gallery Service Client.",
- "version": "2023-07-03"
+ "version": "2024-03-03"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/compute/resource-manager/api-set.json b/swagger-specs/compute/resource-manager/api-set.json
index 0fd9cd330..6a04a0731 100644
--- a/swagger-specs/compute/resource-manager/api-set.json
+++ b/swagger-specs/compute/resource-manager/api-set.json
@@ -1 +1 @@
-{"addition_input_file_paths": [], "input_files": ["Microsoft.Compute/common-types/v1/common.json", "Microsoft.Compute/ComputeRP/stable/2024-07-01/computeRPCommon.json", "Microsoft.Compute/ComputeRP/stable/2024-07-01/virtualMachineScaleSet.json", "Microsoft.Compute/ComputeRP/stable/2024-07-01/virtualMachine.json", "Microsoft.Compute/ComputeRP/stable/2024-07-01/virtualMachineImage.json", "Microsoft.Compute/ComputeRP/stable/2024-07-01/virtualMachineExtensionImage.json", "Microsoft.Compute/ComputeRP/stable/2024-07-01/availabilitySet.json", "Microsoft.Compute/ComputeRP/stable/2024-07-01/proximityPlacementGroup.json", "Microsoft.Compute/ComputeRP/stable/2024-07-01/dedicatedHost.json", "Microsoft.Compute/ComputeRP/stable/2024-07-01/sshPublicKey.json", "Microsoft.Compute/ComputeRP/stable/2024-07-01/image.json", "Microsoft.Compute/ComputeRP/stable/2024-07-01/restorePoint.json", "Microsoft.Compute/ComputeRP/stable/2024-07-01/capacityReservation.json", "Microsoft.Compute/ComputeRP/stable/2024-07-01/logAnalytic.json", "Microsoft.Compute/ComputeRP/stable/2024-07-01/runCommand.json", "Microsoft.Compute/DiskRP/stable/2024-03-02/diskRPCommon.json", "Microsoft.Compute/DiskRP/stable/2024-03-02/disk.json", "Microsoft.Compute/DiskRP/stable/2024-03-02/diskAccess.json", "Microsoft.Compute/DiskRP/stable/2024-03-02/diskEncryptionSet.json", "Microsoft.Compute/DiskRP/stable/2024-03-02/diskRestorePoint.json", "Microsoft.Compute/DiskRP/stable/2024-03-02/snapshot.json", "Microsoft.Compute/Skus/stable/2021-07-01/skus.json", "Microsoft.Compute/GalleryRP/stable/2023-07-03/galleryRPCommon.json", "Microsoft.Compute/GalleryRP/stable/2023-07-03/gallery.json", "Microsoft.Compute/GalleryRP/stable/2023-07-03/sharedGallery.json", "Microsoft.Compute/GalleryRP/stable/2023-07-03/communityGallery.json", "Microsoft.Compute/CloudserviceRP/stable/2022-09-04/cloudService.json"], "name": "package-2024-07-01"}
\ No newline at end of file
+{"addition_input_file_paths": [], "input_files": ["Microsoft.Compute/common-types/v1/common.json", "Microsoft.Compute/ComputeRP/stable/2024-07-01/computeRPCommon.json", "Microsoft.Compute/ComputeRP/stable/2024-07-01/virtualMachineScaleSet.json", "Microsoft.Compute/ComputeRP/stable/2024-07-01/virtualMachine.json", "Microsoft.Compute/ComputeRP/stable/2024-07-01/virtualMachineImage.json", "Microsoft.Compute/ComputeRP/stable/2024-07-01/virtualMachineExtensionImage.json", "Microsoft.Compute/ComputeRP/stable/2024-07-01/availabilitySet.json", "Microsoft.Compute/ComputeRP/stable/2024-07-01/proximityPlacementGroup.json", "Microsoft.Compute/ComputeRP/stable/2024-07-01/dedicatedHost.json", "Microsoft.Compute/ComputeRP/stable/2024-07-01/sshPublicKey.json", "Microsoft.Compute/ComputeRP/stable/2024-07-01/image.json", "Microsoft.Compute/ComputeRP/stable/2024-07-01/restorePoint.json", "Microsoft.Compute/ComputeRP/stable/2024-07-01/capacityReservation.json", "Microsoft.Compute/ComputeRP/stable/2024-07-01/logAnalytic.json", "Microsoft.Compute/ComputeRP/stable/2024-07-01/runCommand.json", "Microsoft.Compute/DiskRP/stable/2024-03-02/diskRPCommon.json", "Microsoft.Compute/DiskRP/stable/2024-03-02/disk.json", "Microsoft.Compute/DiskRP/stable/2024-03-02/diskAccess.json", "Microsoft.Compute/DiskRP/stable/2024-03-02/diskEncryptionSet.json", "Microsoft.Compute/DiskRP/stable/2024-03-02/diskRestorePoint.json", "Microsoft.Compute/DiskRP/stable/2024-03-02/snapshot.json", "Microsoft.Compute/Skus/stable/2021-07-01/skus.json", "Microsoft.Compute/GalleryRP/stable/2024-03-03/galleryRPCommon.json", "Microsoft.Compute/GalleryRP/stable/2024-03-03/gallery.json", "Microsoft.Compute/GalleryRP/stable/2024-03-03/sharedGallery.json", "Microsoft.Compute/GalleryRP/stable/2024-03-03/communityGallery.json", "Microsoft.Compute/CloudserviceRP/stable/2022-09-04/cloudService.json"], "name": "package-2024-10-01"}
\ No newline at end of file
diff --git a/swagger-specs/computeschedule/resource-manager/Microsoft.ComputeSchedule/preview/2024-08-15-preview/computeschedule.json b/swagger-specs/computeschedule/resource-manager/Microsoft.ComputeSchedule/stable/2024-10-01/computeschedule.json
similarity index 93%
rename from swagger-specs/computeschedule/resource-manager/Microsoft.ComputeSchedule/preview/2024-08-15-preview/computeschedule.json
rename to swagger-specs/computeschedule/resource-manager/Microsoft.ComputeSchedule/stable/2024-10-01/computeschedule.json
index 17ddedcb8..d684dba78 100644
--- a/swagger-specs/computeschedule/resource-manager/Microsoft.ComputeSchedule/preview/2024-08-15-preview/computeschedule.json
+++ b/swagger-specs/computeschedule/resource-manager/Microsoft.ComputeSchedule/stable/2024-10-01/computeschedule.json
@@ -2,7 +2,7 @@
"swagger": "2.0",
"info": {
"title": "Microsoft.ComputeSchedule",
- "version": "2024-08-15-preview",
+ "version": "2024-10-01",
"description": "Microsoft.ComputeSchedule Resource Provider management API.",
"x-typespec-generated": [
{
@@ -71,10 +71,10 @@
}
},
"x-ms-examples": {
- "Operations_ListMax - generated by [MaximumSet] rule - generated by [MaximumSet] rule": {
+ "Operations_List_MaximumSet_Gen - generated by [MaximumSet] rule": {
"$ref": "./examples/Operations_List_MaximumSet_Gen.json"
},
- "Operations_ListMax - generated by [MaximumSet] rule - generated by [MinimumSet] rule": {
+ "Operations_List_MaximumSet_Gen - generated by [MinimumSet] rule": {
"$ref": "./examples/Operations_List_MinimumSet_Gen.json"
}
},
@@ -127,10 +127,10 @@
}
},
"x-ms-examples": {
- "ScheduledActions_VirtualMachinesCancelOperations - generated by [MaximumSet] rule - generated by [MaximumSet] rule": {
+ "ScheduledActions_VirtualMachinesCancelOperations_MaximumSet_Gen - generated by [MaximumSet] rule": {
"$ref": "./examples/ScheduledActions_VirtualMachinesCancelOperations_MaximumSet_Gen.json"
},
- "ScheduledActions_VirtualMachinesCancelOperations - generated by [MaximumSet] rule - generated by [MinimumSet] rule": {
+ "ScheduledActions_VirtualMachinesCancelOperations_MaximumSet_Gen - generated by [MinimumSet] rule": {
"$ref": "./examples/ScheduledActions_VirtualMachinesCancelOperations_MinimumSet_Gen.json"
}
}
@@ -180,10 +180,10 @@
}
},
"x-ms-examples": {
- "ScheduledActions_VirtualMachinesExecuteDeallocate - generated by [MaximumSet] rule - generated by [MaximumSet] rule": {
+ "ScheduledActions_VirtualMachinesExecuteDeallocate_MaximumSet_Gen - generated by [MaximumSet] rule": {
"$ref": "./examples/ScheduledActions_VirtualMachinesExecuteDeallocate_MaximumSet_Gen.json"
},
- "ScheduledActions_VirtualMachinesExecuteDeallocate - generated by [MaximumSet] rule - generated by [MinimumSet] rule": {
+ "ScheduledActions_VirtualMachinesExecuteDeallocate_MaximumSet_Gen - generated by [MinimumSet] rule": {
"$ref": "./examples/ScheduledActions_VirtualMachinesExecuteDeallocate_MinimumSet_Gen.json"
}
}
@@ -233,10 +233,10 @@
}
},
"x-ms-examples": {
- "ScheduledActions_VirtualMachinesExecuteHibernate - generated by [MaximumSet] rule - generated by [MaximumSet] rule": {
+ "ScheduledActions_VirtualMachinesExecuteHibernate_MaximumSet_Gen - generated by [MaximumSet] rule": {
"$ref": "./examples/ScheduledActions_VirtualMachinesExecuteHibernate_MaximumSet_Gen.json"
},
- "ScheduledActions_VirtualMachinesExecuteHibernate - generated by [MaximumSet] rule - generated by [MinimumSet] rule": {
+ "ScheduledActions_VirtualMachinesExecuteHibernate_MaximumSet_Gen - generated by [MinimumSet] rule": {
"$ref": "./examples/ScheduledActions_VirtualMachinesExecuteHibernate_MinimumSet_Gen.json"
}
}
@@ -286,10 +286,10 @@
}
},
"x-ms-examples": {
- "ScheduledActions_VirtualMachinesExecuteStart - generated by [MaximumSet] rule - generated by [MaximumSet] rule": {
+ "ScheduledActions_VirtualMachinesExecuteStart_MaximumSet_Gen - generated by [MaximumSet] rule": {
"$ref": "./examples/ScheduledActions_VirtualMachinesExecuteStart_MaximumSet_Gen.json"
},
- "ScheduledActions_VirtualMachinesExecuteStart - generated by [MaximumSet] rule - generated by [MinimumSet] rule": {
+ "ScheduledActions_VirtualMachinesExecuteStart_MaximumSet_Gen - generated by [MinimumSet] rule": {
"$ref": "./examples/ScheduledActions_VirtualMachinesExecuteStart_MinimumSet_Gen.json"
}
}
@@ -339,10 +339,10 @@
}
},
"x-ms-examples": {
- "CS_ScheduledActions_VirtualMachinesGetOperationErrors_Max": {
+ "ScheduledActions_VirtualMachinesGetOperationErrors_MaximumSet_Gen - generated by [MaximumSet] rule": {
"$ref": "./examples/ScheduledActions_VirtualMachinesGetOperationErrors_MaximumSet_Gen.json"
},
- "CS_ScheduledActions_VirtualMachinesGetOperationErrors_Min": {
+ "ScheduledActions_VirtualMachinesGetOperationErrors_MaximumSet_Gen - generated by [MinimumSet] rule": {
"$ref": "./examples/ScheduledActions_VirtualMachinesGetOperationErrors_MinimumSet_Gen.json"
}
}
@@ -392,11 +392,11 @@
}
},
"x-ms-examples": {
- "ScheduledActions_VirtualMachinesGetOperationStatus - generated by [MinimumSet] rule": {
- "$ref": "./examples/ScheduledActions_VirtualMachinesGetOperationStatus_MinimumSet_Gen.json"
- },
- "ScheduledActions_VirtualMachinesGetOperationStatus - generated by [MinimumSet] rule - generated by [MaximumSet] rule": {
+ "ScheduledActions_VirtualMachinesGetOperationStatus_MaximumSet_Gen - generated by [MaximumSet] rule": {
"$ref": "./examples/ScheduledActions_VirtualMachinesGetOperationStatus_MaximumSet_Gen.json"
+ },
+ "ScheduledActions_VirtualMachinesGetOperationStatus_MaximumSet_Gen - generated by [MinimumSet] rule": {
+ "$ref": "./examples/ScheduledActions_VirtualMachinesGetOperationStatus_MinimumSet_Gen.json"
}
}
}
@@ -445,10 +445,10 @@
}
},
"x-ms-examples": {
- "ScheduledActions_VirtualMachinesSubmitDeallocate - generated by [MaximumSet] rule - generated by [MaximumSet] rule": {
+ "ScheduledActions_VirtualMachinesSubmitDeallocate_MaximumSet_Gen - generated by [MaximumSet] rule": {
"$ref": "./examples/ScheduledActions_VirtualMachinesSubmitDeallocate_MaximumSet_Gen.json"
},
- "ScheduledActions_VirtualMachinesSubmitDeallocate - generated by [MaximumSet] rule - generated by [MinimumSet] rule": {
+ "ScheduledActions_VirtualMachinesSubmitDeallocate_MaximumSet_Gen - generated by [MinimumSet] rule": {
"$ref": "./examples/ScheduledActions_VirtualMachinesSubmitDeallocate_MinimumSet_Gen.json"
}
}
@@ -498,10 +498,10 @@
}
},
"x-ms-examples": {
- "ScheduledActions_VirtualMachinesSubmitHibernate - generated by [MaximumSet] rule - generated by [MaximumSet] rule": {
+ "ScheduledActions_VirtualMachinesSubmitHibernate_MaximumSet_Gen - generated by [MaximumSet] rule": {
"$ref": "./examples/ScheduledActions_VirtualMachinesSubmitHibernate_MaximumSet_Gen.json"
},
- "ScheduledActions_VirtualMachinesSubmitHibernate - generated by [MaximumSet] rule - generated by [MinimumSet] rule": {
+ "ScheduledActions_VirtualMachinesSubmitHibernate_MaximumSet_Gen - generated by [MinimumSet] rule": {
"$ref": "./examples/ScheduledActions_VirtualMachinesSubmitHibernate_MinimumSet_Gen.json"
}
}
@@ -551,10 +551,10 @@
}
},
"x-ms-examples": {
- "ScheduledActions_VirtualMachinesSubmitStart - generated by [MaximumSet] rule - generated by [MaximumSet] rule": {
+ "ScheduledActions_VirtualMachinesSubmitStart_MaximumSet_Gen - generated by [MaximumSet] rule": {
"$ref": "./examples/ScheduledActions_VirtualMachinesSubmitStart_MaximumSet_Gen.json"
},
- "ScheduledActions_VirtualMachinesSubmitStart - generated by [MaximumSet] rule - generated by [MinimumSet] rule": {
+ "ScheduledActions_VirtualMachinesSubmitStart_MaximumSet_Gen - generated by [MinimumSet] rule": {
"$ref": "./examples/ScheduledActions_VirtualMachinesSubmitStart_MinimumSet_Gen.json"
}
}
@@ -878,24 +878,30 @@
},
"errorDetails": {
"type": "string",
- "format": "date-time",
"description": "The error details of the operation"
},
+ "timestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The timestamp of the error occurence"
+ },
"timeStamp": {
"type": "string",
"format": "date-time",
"description": "The timestamp of the error occurence"
},
+ "azureOperationName": {
+ "type": "string",
+ "description": "The compute operationid of the Start/Deallocate/Hibernate request"
+ },
"crpOperationId": {
"type": "string",
- "description": "CRP operationid of the operation for deeper analysis"
+ "description": "The compute operationid of the Start/Deallocate/Hibernate request"
}
},
"required": [
"errorCode",
- "errorDetails",
- "timeStamp",
- "crpOperationId"
+ "errorDetails"
]
},
"OperationErrorsResult": {
@@ -995,7 +1001,7 @@
{
"name": "Cancelled",
"value": "Cancelled",
- "description": "Operations that have been cancelled by the user"
+ "description": "Operations that have been Cancelled by the user"
},
{
"name": "Blocked",
@@ -1205,7 +1211,7 @@
{
"name": "Cancelled",
"value": "Cancelled",
- "description": "Operations that have been cancelled by the user"
+ "description": "Operations that have been Cancelled by the user"
},
{
"name": "Blocked",
@@ -1215,6 +1221,10 @@
]
}
},
+ "timezone": {
+ "type": "string",
+ "description": "Timezone for the operation"
+ },
"timeZone": {
"type": "string",
"description": "Timezone for the operation"
@@ -1234,13 +1244,7 @@
}
},
"required": [
- "operationId",
- "resourceId",
- "opType",
- "subscriptionId",
- "deadline",
- "deadlineType",
- "state"
+ "operationId"
]
},
"ResourceOperationError": {
@@ -1335,11 +1339,20 @@
"type": "object",
"description": "The schedule details for the user request",
"properties": {
+ "deadline": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The deadline for the operation"
+ },
"deadLine": {
"type": "string",
"format": "date-time",
"description": "The deadline for the operation"
},
+ "timezone": {
+ "type": "string",
+ "description": "The timezone for the operation"
+ },
"timeZone": {
"type": "string",
"description": "The timezone for the operation"
@@ -1377,8 +1390,6 @@
}
},
"required": [
- "deadLine",
- "timeZone",
"deadlineType"
]
},
diff --git a/swagger-specs/computeschedule/resource-manager/api-set.json b/swagger-specs/computeschedule/resource-manager/api-set.json
index d518e49e4..4b3493258 100644
--- a/swagger-specs/computeschedule/resource-manager/api-set.json
+++ b/swagger-specs/computeschedule/resource-manager/api-set.json
@@ -1 +1 @@
-{"addition_input_file_paths": [], "input_files": ["Microsoft.ComputeSchedule/preview/2024-08-15-preview/computeschedule.json"], "name": "package-2024-08-15-preview"}
\ No newline at end of file
+{"addition_input_file_paths": [], "input_files": ["Microsoft.ComputeSchedule/stable/2024-10-01/computeschedule.json"], "name": "package-2024-10-01"}
\ No newline at end of file
diff --git a/swagger-specs/contosowidgetmanager/resource-manager/Microsoft.Contoso/preview/2021-10-01-preview/contoso.json b/swagger-specs/contosowidgetmanager/resource-manager/Microsoft.Contoso/preview/2021-10-01-preview/contoso.json
new file mode 100644
index 000000000..c51e0e74c
--- /dev/null
+++ b/swagger-specs/contosowidgetmanager/resource-manager/Microsoft.Contoso/preview/2021-10-01-preview/contoso.json
@@ -0,0 +1,556 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Microsoft.Contoso management service",
+ "version": "2021-10-01-preview",
+ "description": "Microsoft.Contoso Resource Provider management API.",
+ "x-typespec-generated": [
+ {
+ "emitter": "@azure-tools/typespec-autorest"
+ }
+ ]
+ },
+ "schemes": [
+ "https"
+ ],
+ "host": "management.azure.com",
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "flow": "implicit",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "tags": [
+ {
+ "name": "Operations"
+ },
+ {
+ "name": "Employees"
+ }
+ ],
+ "paths": {
+ "/providers/Microsoft.Contoso/operations": {
+ "get": {
+ "operationId": "Operations_List",
+ "tags": [
+ "Operations"
+ ],
+ "description": "List the operations for the provider",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Azure operation completed successfully.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Operations_List": {
+ "$ref": "./examples/Operations_List.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Contoso/employees": {
+ "get": {
+ "operationId": "Employees_ListBySubscription",
+ "tags": [
+ "Employees"
+ ],
+ "description": "List Employee resources by subscription ID",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Azure operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/EmployeeListResult"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Employees_ListBySubscription": {
+ "$ref": "./examples/Employees_ListBySubscription.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Contoso/employees": {
+ "get": {
+ "operationId": "Employees_ListByResourceGroup",
+ "tags": [
+ "Employees"
+ ],
+ "description": "List Employee resources by resource group",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Azure operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/EmployeeListResult"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Employees_ListByResourceGroup": {
+ "$ref": "./examples/Employees_ListByResourceGroup.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Contoso/employees/{employeeName}": {
+ "get": {
+ "operationId": "Employees_Get",
+ "tags": [
+ "Employees"
+ ],
+ "description": "Get a Employee",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "employeeName",
+ "in": "path",
+ "description": "The name of the Employee",
+ "required": true,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9-]{3,24}$"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Azure operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/Employee"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Employees_Get": {
+ "$ref": "./examples/Employees_Get.json"
+ }
+ }
+ },
+ "put": {
+ "operationId": "Employees_CreateOrUpdate",
+ "tags": [
+ "Employees"
+ ],
+ "description": "Create a Employee",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "employeeName",
+ "in": "path",
+ "description": "The name of the Employee",
+ "required": true,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9-]{3,24}$"
+ },
+ {
+ "name": "resource",
+ "in": "body",
+ "description": "Resource create parameters.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Employee"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Resource 'Employee' update operation succeeded",
+ "schema": {
+ "$ref": "#/definitions/Employee"
+ }
+ },
+ "201": {
+ "description": "Resource 'Employee' create operation succeeded",
+ "schema": {
+ "$ref": "#/definitions/Employee"
+ },
+ "headers": {
+ "Azure-AsyncOperation": {
+ "type": "string",
+ "description": "A link to the status monitor"
+ },
+ "Retry-After": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
+ }
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Employees_CreateOrUpdate": {
+ "$ref": "./examples/Employees_CreateOrUpdate.json"
+ }
+ },
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "operationId": "Employees_Update",
+ "tags": [
+ "Employees"
+ ],
+ "description": "Update a Employee",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "employeeName",
+ "in": "path",
+ "description": "The name of the Employee",
+ "required": true,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9-]{3,24}$"
+ },
+ {
+ "name": "properties",
+ "in": "body",
+ "description": "The resource properties to be updated.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/EmployeeUpdate"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Azure operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/Employee"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Employees_Update": {
+ "$ref": "./examples/Employees_Update.json"
+ }
+ }
+ },
+ "delete": {
+ "operationId": "Employees_Delete",
+ "tags": [
+ "Employees"
+ ],
+ "description": "Delete a Employee",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "employeeName",
+ "in": "path",
+ "description": "The name of the Employee",
+ "required": true,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9-]{3,24}$"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Resource deletion accepted.",
+ "headers": {
+ "Location": {
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
+ },
+ "Retry-After": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
+ }
+ }
+ },
+ "204": {
+ "description": "Resource does not exist."
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Employees_Delete": {
+ "$ref": "./examples/Employees_Delete.json"
+ }
+ },
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-long-running-operation": true
+ }
+ }
+ },
+ "definitions": {
+ "Azure.ResourceManager.CommonTypes.TrackedResourceUpdate": {
+ "type": "object",
+ "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'",
+ "properties": {
+ "tags": {
+ "type": "object",
+ "description": "Resource tags.",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource"
+ }
+ ]
+ },
+ "Employee": {
+ "type": "object",
+ "description": "Employee resource",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/EmployeeProperties",
+ "description": "The resource-specific properties for this resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
+ }
+ ]
+ },
+ "EmployeeListResult": {
+ "type": "object",
+ "description": "The response of a Employee list operation.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "The Employee items on this page",
+ "items": {
+ "$ref": "#/definitions/Employee"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "format": "uri",
+ "description": "The link to the next page of items"
+ }
+ },
+ "required": [
+ "value"
+ ]
+ },
+ "EmployeeProperties": {
+ "type": "object",
+ "description": "Employee properties",
+ "properties": {
+ "age": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Age of employee"
+ },
+ "city": {
+ "type": "string",
+ "description": "City of employee"
+ },
+ "profile": {
+ "type": "string",
+ "format": "base64url",
+ "description": "Profile of employee"
+ },
+ "provisioningState": {
+ "$ref": "#/definitions/ProvisioningState",
+ "description": "The status of the last operation.",
+ "readOnly": true
+ }
+ }
+ },
+ "EmployeeUpdate": {
+ "type": "object",
+ "description": "Employee resource",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/EmployeeProperties",
+ "description": "The resource-specific properties for this resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate"
+ }
+ ]
+ },
+ "ProvisioningState": {
+ "type": "string",
+ "description": "The resource provisioning state.",
+ "enum": [
+ "Succeeded",
+ "Failed",
+ "Canceled",
+ "Provisioning",
+ "Updating",
+ "Deleting",
+ "Accepted"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true,
+ "values": [
+ {
+ "name": "Succeeded",
+ "value": "Succeeded",
+ "description": "Resource has been created."
+ },
+ {
+ "name": "Failed",
+ "value": "Failed",
+ "description": "Resource creation failed."
+ },
+ {
+ "name": "Canceled",
+ "value": "Canceled",
+ "description": "Resource creation was canceled."
+ },
+ {
+ "name": "Provisioning",
+ "value": "Provisioning",
+ "description": "The resource is being provisioned"
+ },
+ {
+ "name": "Updating",
+ "value": "Updating",
+ "description": "The resource is updating"
+ },
+ {
+ "name": "Deleting",
+ "value": "Deleting",
+ "description": "The resource is being deleted"
+ },
+ {
+ "name": "Accepted",
+ "value": "Accepted",
+ "description": "The resource create request has been accepted"
+ }
+ ]
+ },
+ "readOnly": true
+ }
+ },
+ "parameters": {}
+}
diff --git a/swagger-specs/contosowidgetmanager/resource-manager/api-set.json b/swagger-specs/contosowidgetmanager/resource-manager/api-set.json
new file mode 100644
index 000000000..b4d26235d
--- /dev/null
+++ b/swagger-specs/contosowidgetmanager/resource-manager/api-set.json
@@ -0,0 +1 @@
+{"addition_input_file_paths": [], "input_files": ["Microsoft.Contoso/preview/2021-10-01-preview/contoso.json"], "name": "package-2021-10-01-preview"}
\ No newline at end of file
diff --git a/swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/cosmos-db.json b/swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/cosmos-db.json
similarity index 99%
rename from swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/cosmos-db.json
rename to swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/cosmos-db.json
index c5ab0d6bf..00082cd0f 100644
--- a/swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/cosmos-db.json
+++ b/swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/cosmos-db.json
@@ -3,7 +3,7 @@
"info": {
"title": "Cosmos DB",
"description": "Azure Cosmos DB Database Service Resource Provider REST API",
- "version": "2024-08-15"
+ "version": "2024-11-15"
},
"host": "management.azure.com",
"schemes": [
@@ -6918,7 +6918,7 @@
"readOnly": true,
"description": "List of Private Endpoint Connections configured for the Cosmos DB account.",
"items": {
- "$ref": "../../stable/2024-08-15/privateEndpointConnection.json#/definitions/PrivateEndpointConnection"
+ "$ref": "../../stable/2024-11-15/privateEndpointConnection.json#/definitions/PrivateEndpointConnection"
}
},
"enableMultipleWriteLocations": {
@@ -7037,6 +7037,10 @@
"customerManagedKeyStatus": {
"description": "Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance.",
"type": "string"
+ },
+ "enablePerRegionPerPartitionAutoscale": {
+ "description": "Flag to indicate enabling/disabling of PerRegionPerPartitionAutoscale feature on the account",
+ "type": "boolean"
}
}
},
@@ -7195,6 +7199,10 @@
"customerManagedKeyStatus": {
"description": "Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance.",
"type": "string"
+ },
+ "enablePerRegionPerPartitionAutoscale": {
+ "description": "Flag to indicate enabling/disabling of PerRegionPerPartitionAutoscale feature on the account",
+ "type": "boolean"
}
},
"required": [
@@ -7377,6 +7385,10 @@
"customerManagedKeyStatus": {
"description": "Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance.",
"type": "string"
+ },
+ "enablePerRegionPerPartitionAutoscale": {
+ "description": "Flag to indicate enabling/disabling of PerRegionPerPartitionAutoscale feature on the account",
+ "type": "boolean"
}
}
},
@@ -8208,6 +8220,10 @@
"items": {
"$ref": "#/definitions/ComputedProperty"
}
+ },
+ "vectorEmbeddingPolicy": {
+ "$ref": "#/definitions/VectorEmbeddingPolicy",
+ "description": "The vector embedding policy for the container."
}
},
"required": [
@@ -8263,6 +8279,26 @@
"items": {
"$ref": "#/definitions/SpatialSpec"
}
+ },
+ "vectorIndexes": {
+ "description": "List of paths to include in the vector indexing",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VectorIndex"
+ }
+ }
+ }
+ },
+ "VectorEmbeddingPolicy": {
+ "type": "object",
+ "description": "Cosmos DB Vector Embedding Policy",
+ "properties": {
+ "vectorEmbeddings": {
+ "description": "List of vector embeddings",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VectorEmbedding"
+ }
}
}
},
@@ -8333,6 +8369,79 @@
}
}
},
+ "VectorIndex": {
+ "type": "object",
+ "properties": {
+ "path": {
+ "type": "string",
+ "description": "The path to the vector field in the document."
+ },
+ "type": {
+ "description": "The index type of the vector. Currently, flat, diskANN, and quantizedFlat are supported.",
+ "type": "string",
+ "enum": [
+ "flat",
+ "diskANN",
+ "quantizedFlat"
+ ],
+ "x-ms-enum": {
+ "name": "VectorIndexType",
+ "modelAsString": true
+ }
+ }
+ },
+ "required": [
+ "path",
+ "type"
+ ]
+ },
+ "VectorEmbedding": {
+ "type": "object",
+ "description": "Represents a vector embedding. A vector embedding is used to define a vector field in the documents.",
+ "properties": {
+ "path": {
+ "type": "string",
+ "description": "The path to the vector field in the document."
+ },
+ "dataType": {
+ "description": "Indicates the data type of vector.",
+ "type": "string",
+ "enum": [
+ "float32",
+ "uint8",
+ "int8"
+ ],
+ "x-ms-enum": {
+ "name": "VectorDataType",
+ "modelAsString": true
+ }
+ },
+ "distanceFunction": {
+ "description": "The distance function to use for distance calculation in between vectors.",
+ "type": "string",
+ "enum": [
+ "euclidean",
+ "cosine",
+ "dotproduct"
+ ],
+ "x-ms-enum": {
+ "name": "DistanceFunction",
+ "modelAsString": true
+ }
+ },
+ "dimensions": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of dimensions in the vector."
+ }
+ },
+ "required": [
+ "path",
+ "dataType",
+ "distanceFunction",
+ "dimensions"
+ ]
+ },
"CompositePathList": {
"description": "List of composite path",
"type": "array",
diff --git a/swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/managedCassandra.json b/swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/managedCassandra.json
similarity index 95%
rename from swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/managedCassandra.json
rename to swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/managedCassandra.json
index 484568645..ace357bd9 100644
--- a/swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/managedCassandra.json
+++ b/swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/managedCassandra.json
@@ -3,7 +3,7 @@
"info": {
"title": "Cosmos DB - Managed Cassandra",
"description": "Azure Cosmos DB Database Service Managed Cassandra REST API",
- "version": "2024-08-15"
+ "version": "2024-11-15"
},
"host": "management.azure.com",
"schemes": [
@@ -48,10 +48,10 @@
},
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
@@ -84,13 +84,13 @@
},
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
@@ -120,16 +120,16 @@
},
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/clusterNameParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
@@ -158,16 +158,16 @@
},
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/clusterNameParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
@@ -196,16 +196,16 @@
"x-ms-long-running-operation": true,
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/clusterNameParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
"name": "body",
@@ -249,16 +249,16 @@
},
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/clusterNameParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
"name": "body",
@@ -304,16 +304,16 @@
"x-ms-long-running-operation": true,
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/clusterNameParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
"name": "body",
@@ -355,16 +355,16 @@
},
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/clusterNameParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
@@ -394,10 +394,10 @@
},
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/clusterNameParameter"
@@ -406,7 +406,7 @@
"$ref": "#/parameters/dataCenterNameParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
@@ -435,10 +435,10 @@
"x-ms-long-running-operation": true,
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/clusterNameParameter"
@@ -447,7 +447,7 @@
"$ref": "#/parameters/dataCenterNameParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
@@ -476,10 +476,10 @@
"x-ms-long-running-operation": true,
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/clusterNameParameter"
@@ -488,7 +488,7 @@
"$ref": "#/parameters/dataCenterNameParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
"name": "body",
@@ -532,10 +532,10 @@
"x-ms-long-running-operation": true,
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/clusterNameParameter"
@@ -544,7 +544,7 @@
"$ref": "#/parameters/dataCenterNameParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
"name": "body",
@@ -590,16 +590,16 @@
"x-ms-long-running-operation": true,
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/clusterNameParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
@@ -627,16 +627,16 @@
"x-ms-long-running-operation": true,
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/clusterNameParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
@@ -663,16 +663,16 @@
},
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/clusterNameParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
diff --git a/swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/mongorbac.json b/swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/mongorbac.json
similarity index 99%
rename from swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/mongorbac.json
rename to swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/mongorbac.json
index 1011b32d4..a88467dae 100644
--- a/swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/mongorbac.json
+++ b/swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/mongorbac.json
@@ -3,7 +3,7 @@
"info": {
"title": "Cosmos DB",
"description": "Azure Cosmos DB API for MongoDB Role Based Access Control Resource Provider REST API",
- "version": "2024-08-15"
+ "version": "2024-11-15"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/notebook.json b/swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/notebook.json
similarity index 96%
rename from swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/notebook.json
rename to swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/notebook.json
index 75268871b..74bb4d004 100644
--- a/swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/notebook.json
+++ b/swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/notebook.json
@@ -3,7 +3,7 @@
"info": {
"title": "Cosmos DB",
"description": "Azure Cosmos DB Database Service Resource Provider REST API",
- "version": "2024-08-15"
+ "version": "2024-11-15"
},
"host": "management.azure.com",
"schemes": [
@@ -68,7 +68,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../stable/2024-08-15/cosmos-db.json#/definitions/ErrorResponse"
+ "$ref": "../../stable/2024-11-15/cosmos-db.json#/definitions/ErrorResponse"
}
}
},
@@ -113,7 +113,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../stable/2024-08-15/cosmos-db.json#/definitions/ErrorResponse"
+ "$ref": "../../stable/2024-11-15/cosmos-db.json#/definitions/ErrorResponse"
}
}
},
@@ -166,7 +166,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../stable/2024-08-15/cosmos-db.json#/definitions/ErrorResponse"
+ "$ref": "../../stable/2024-11-15/cosmos-db.json#/definitions/ErrorResponse"
}
}
},
@@ -210,7 +210,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../stable/2024-08-15/cosmos-db.json#/definitions/ErrorResponse"
+ "$ref": "../../stable/2024-11-15/cosmos-db.json#/definitions/ErrorResponse"
}
}
},
@@ -260,7 +260,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../stable/2024-08-15/cosmos-db.json#/definitions/ErrorResponse"
+ "$ref": "../../stable/2024-11-15/cosmos-db.json#/definitions/ErrorResponse"
}
}
}
@@ -306,7 +306,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../stable/2024-08-15/cosmos-db.json#/definitions/ErrorResponse"
+ "$ref": "../../stable/2024-11-15/cosmos-db.json#/definitions/ErrorResponse"
}
}
}
@@ -352,7 +352,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../stable/2024-08-15/cosmos-db.json#/definitions/ErrorResponse"
+ "$ref": "../../stable/2024-11-15/cosmos-db.json#/definitions/ErrorResponse"
}
}
}
@@ -365,7 +365,7 @@
"type": "object",
"allOf": [
{
- "$ref": "../../stable/2024-08-15/cosmos-db.json#/definitions/ARMProxyResource"
+ "$ref": "../../stable/2024-11-15/cosmos-db.json#/definitions/ARMProxyResource"
}
]
},
@@ -394,7 +394,7 @@
},
"allOf": [
{
- "$ref": "../../stable/2024-08-15/cosmos-db.json#/definitions/ARMProxyResource"
+ "$ref": "../../stable/2024-11-15/cosmos-db.json#/definitions/ARMProxyResource"
}
]
},
diff --git a/swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/privateEndpointConnection.json b/swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/privateEndpointConnection.json
similarity index 99%
rename from swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/privateEndpointConnection.json
rename to swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/privateEndpointConnection.json
index 890f96b93..0cd12013b 100644
--- a/swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/privateEndpointConnection.json
+++ b/swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/privateEndpointConnection.json
@@ -3,7 +3,7 @@
"info": {
"title": "Cosmos DB",
"description": "Azure Cosmos DB Database Service Resource Provider REST API",
- "version": "2024-08-15"
+ "version": "2024-11-15"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/privateLinkResources.json b/swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/privateLinkResources.json
similarity index 98%
rename from swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/privateLinkResources.json
rename to swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/privateLinkResources.json
index 5ea111402..9fac02b89 100644
--- a/swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/privateLinkResources.json
+++ b/swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/privateLinkResources.json
@@ -3,7 +3,7 @@
"info": {
"title": "Cosmos DB",
"description": "Azure Cosmos DB Database Service Resource Provider REST API",
- "version": "2024-08-15"
+ "version": "2024-11-15"
},
"host": "management.azure.com",
"schemes": [
@@ -139,7 +139,7 @@
},
"allOf": [
{
- "$ref": "../../stable/2024-08-15/cosmos-db.json#/definitions/ARMProxyResource"
+ "$ref": "../../stable/2024-11-15/cosmos-db.json#/definitions/ARMProxyResource"
}
]
},
diff --git a/swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/rbac.json b/swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/rbac.json
similarity index 99%
rename from swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/rbac.json
rename to swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/rbac.json
index e0ccbb4a0..9dcff8661 100644
--- a/swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/rbac.json
+++ b/swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/rbac.json
@@ -3,7 +3,7 @@
"info": {
"title": "Cosmos DB",
"description": "Azure Cosmos DB Role Based Access Control Resource Provider REST API",
- "version": "2024-08-15"
+ "version": "2024-11-15"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/restorable.json b/swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/restorable.json
similarity index 99%
rename from swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/restorable.json
rename to swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/restorable.json
index 62a325abf..cc1368886 100644
--- a/swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/restorable.json
+++ b/swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/restorable.json
@@ -3,7 +3,7 @@
"info": {
"title": "Cosmos DB",
"description": "Azure Cosmos DB Database Service Resource Provider REST API",
- "version": "2024-08-15"
+ "version": "2024-11-15"
},
"host": "management.azure.com",
"schemes": [
@@ -1146,10 +1146,10 @@
},
"allOf": [
{
- "$ref": "../../stable/2024-08-15/cosmos-db.json#/definitions/SqlDatabaseResource"
+ "$ref": "../../stable/2024-11-15/cosmos-db.json#/definitions/SqlDatabaseResource"
},
{
- "$ref": "../../stable/2024-08-15/cosmos-db.json#/definitions/ExtendedResourceProperties"
+ "$ref": "../../stable/2024-11-15/cosmos-db.json#/definitions/ExtendedResourceProperties"
}
]
}
@@ -1254,10 +1254,10 @@
},
"allOf": [
{
- "$ref": "../../stable/2024-08-15/cosmos-db.json#/definitions/SqlContainerResource"
+ "$ref": "../../stable/2024-11-15/cosmos-db.json#/definitions/SqlContainerResource"
},
{
- "$ref": "../../stable/2024-08-15/cosmos-db.json#/definitions/ExtendedResourceProperties"
+ "$ref": "../../stable/2024-11-15/cosmos-db.json#/definitions/ExtendedResourceProperties"
}
]
}
diff --git a/swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/services.json b/swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/services.json
similarity index 99%
rename from swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/services.json
rename to swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/services.json
index 1b27792be..8eb03e445 100644
--- a/swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/services.json
+++ b/swagger-specs/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/services.json
@@ -3,7 +3,7 @@
"info": {
"title": "Cosmos DB",
"description": "Azure Cosmos DB Database Service Resource Provider REST API",
- "version": "2024-08-15"
+ "version": "2024-11-15"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/cosmos-db/resource-manager/api-set.json b/swagger-specs/cosmos-db/resource-manager/api-set.json
index c54635eef..a43441007 100644
--- a/swagger-specs/cosmos-db/resource-manager/api-set.json
+++ b/swagger-specs/cosmos-db/resource-manager/api-set.json
@@ -1 +1 @@
-{"addition_input_file_paths": [], "input_files": ["Microsoft.DocumentDB/stable/2024-08-15/cosmos-db.json", "Microsoft.DocumentDB/stable/2024-08-15/managedCassandra.json", "Microsoft.DocumentDB/stable/2024-08-15/mongorbac.json", "Microsoft.DocumentDB/stable/2024-08-15/notebook.json", "Microsoft.DocumentDB/stable/2024-08-15/privateEndpointConnection.json", "Microsoft.DocumentDB/stable/2024-08-15/privateLinkResources.json", "Microsoft.DocumentDB/stable/2024-08-15/rbac.json", "Microsoft.DocumentDB/stable/2024-08-15/restorable.json", "Microsoft.DocumentDB/stable/2024-08-15/services.json"], "name": "package-2024-08"}
\ No newline at end of file
+{"addition_input_file_paths": [], "input_files": ["Microsoft.DocumentDB/stable/2024-11-15/cosmos-db.json", "Microsoft.DocumentDB/stable/2024-11-15/managedCassandra.json", "Microsoft.DocumentDB/stable/2024-11-15/mongorbac.json", "Microsoft.DocumentDB/stable/2024-11-15/notebook.json", "Microsoft.DocumentDB/stable/2024-11-15/privateEndpointConnection.json", "Microsoft.DocumentDB/stable/2024-11-15/privateLinkResources.json", "Microsoft.DocumentDB/stable/2024-11-15/rbac.json", "Microsoft.DocumentDB/stable/2024-11-15/restorable.json", "Microsoft.DocumentDB/stable/2024-11-15/services.json"], "name": "package-2024-11-15"}
\ No newline at end of file
diff --git a/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-11-01/common-types.json b/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2024-08-01/common-types.json
similarity index 99%
rename from swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-11-01/common-types.json
rename to swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2024-08-01/common-types.json
index 9d58cab6a..e0e234a6a 100644
--- a/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-11-01/common-types.json
+++ b/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2024-08-01/common-types.json
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
- "version": "2023-11-01",
+ "version": "2024-08-01",
"title": "CostManagementClient"
},
"host": "management.azure.com",
diff --git a/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-11-01/costallocation.json b/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2024-08-01/costallocation.json
similarity index 99%
rename from swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-11-01/costallocation.json
rename to swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2024-08-01/costallocation.json
index b2b0d060c..8597450c7 100644
--- a/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-11-01/costallocation.json
+++ b/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2024-08-01/costallocation.json
@@ -2,7 +2,7 @@
"swagger": "2.0",
"info": {
"title": "CostManagementClient",
- "version": "2023-11-01"
+ "version": "2024-08-01"
},
"tags": [
{
diff --git a/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-11-01/costmanagement.benefits.json b/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2024-08-01/costmanagement.benefits.json
similarity index 99%
rename from swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-11-01/costmanagement.benefits.json
rename to swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2024-08-01/costmanagement.benefits.json
index 1a52ebc99..fa4079ceb 100644
--- a/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-11-01/costmanagement.benefits.json
+++ b/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2024-08-01/costmanagement.benefits.json
@@ -3,7 +3,7 @@
"info": {
"title": "CostManagementClient",
"description": "CostManagement management client provides access to CostManagement resources for Azure Enterprise Subscriptions.",
- "version": "2023-11-01"
+ "version": "2024-08-01"
},
"tags": [
{
@@ -1250,19 +1250,19 @@
],
"properties": {
"avgUtilizationPercentage": {
- "description": "This is the average hourly utilization for each date range that corresponds to given grain (Daily, Monthly). Suppose the API call is for usageDate > 2023-11-01 and usageDate < 2022-10-31 at a daily granularity. There will be one record per benefit id for each day. For a single day, the avgUtilizationPercentage value will be equal to the average of the set of values where the set contains 24 utilization percentage entries one for each hour in a specific day.",
+ "description": "This is the average hourly utilization for each date range that corresponds to given grain (Daily, Monthly). Suppose the API call is for usageDate > 2024-08-01 and usageDate < 2022-10-31 at a daily granularity. There will be one record per benefit id for each day. For a single day, the avgUtilizationPercentage value will be equal to the average of the set of values where the set contains 24 utilization percentage entries one for each hour in a specific day.",
"type": "number",
"format": "decimal",
"readOnly": true
},
"minUtilizationPercentage": {
- "description": "This is the minimum hourly utilization for each date range that corresponds to given grain (Daily, Monthly). Suppose the API call is for usageDate > 2023-11-01 and usageDate < 2022-10-31 at a daily granularity. There will be one record per benefit id for each day. For a single day, the minUtilizationPercentage value will be equal to the smallest in the set of values where the set contains 24 utilization percentage entries one for each hour in a specific day. If on the day 2022-10-18, the lowest utilization percentage was 10% at hour 4, then the value for the minUtilizationPercentage in the response will be 10%.",
+ "description": "This is the minimum hourly utilization for each date range that corresponds to given grain (Daily, Monthly). Suppose the API call is for usageDate > 2024-08-01 and usageDate < 2022-10-31 at a daily granularity. There will be one record per benefit id for each day. For a single day, the minUtilizationPercentage value will be equal to the smallest in the set of values where the set contains 24 utilization percentage entries one for each hour in a specific day. If on the day 2022-10-18, the lowest utilization percentage was 10% at hour 4, then the value for the minUtilizationPercentage in the response will be 10%.",
"type": "number",
"format": "decimal",
"readOnly": true
},
"maxUtilizationPercentage": {
- "description": "This is the maximum hourly utilization for each date range that corresponds to given grain (Daily, Monthly). Suppose the API call is for usageDate > 2023-11-01 and usageDate < 2022-10-31 at a daily granularity. There will be one record per benefit id for each day. For a single day, the maxUtilizationPercentage value will be equal to the largest in the set of values where the set contains 24 utilization percentage entries one for each hour in a specific day. If on the day 2022-10-18, the largest utilization percentage was 90% at hour 5, then the value for the maxUtilizationPercentage in the response will be 90%.",
+ "description": "This is the maximum hourly utilization for each date range that corresponds to given grain (Daily, Monthly). Suppose the API call is for usageDate > 2024-08-01 and usageDate < 2022-10-31 at a daily granularity. There will be one record per benefit id for each day. For a single day, the maxUtilizationPercentage value will be equal to the largest in the set of values where the set contains 24 utilization percentage entries one for each hour in a specific day. If on the day 2022-10-18, the largest utilization percentage was 90% at hour 5, then the value for the maxUtilizationPercentage in the response will be 90%.",
"type": "number",
"format": "decimal",
"readOnly": true
diff --git a/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-11-01/costmanagement.budgets.json b/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2024-08-01/costmanagement.budgets.json
similarity index 99%
rename from swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-11-01/costmanagement.budgets.json
rename to swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2024-08-01/costmanagement.budgets.json
index c59d02085..89789dca1 100644
--- a/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-11-01/costmanagement.budgets.json
+++ b/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2024-08-01/costmanagement.budgets.json
@@ -3,7 +3,7 @@
"info": {
"title": "CostManagementClient",
"description": "CostManagement management client provides access to CostManagement resources for Azure Enterprise Subscriptions.",
- "version": "2023-11-01"
+ "version": "2024-08-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-11-01/costmanagement.exports.json b/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2024-08-01/costmanagement.exports.json
similarity index 99%
rename from swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-11-01/costmanagement.exports.json
rename to swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2024-08-01/costmanagement.exports.json
index d3bb5107f..64ee5e9a2 100644
--- a/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-11-01/costmanagement.exports.json
+++ b/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2024-08-01/costmanagement.exports.json
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
- "version": "2023-11-01",
+ "version": "2024-08-01",
"title": "CostManagementClient"
},
"host": "management.azure.com",
diff --git a/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-11-01/costmanagement.generatecostdetailsreport.json b/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2024-08-01/costmanagement.generatecostdetailsreport.json
similarity index 99%
rename from swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-11-01/costmanagement.generatecostdetailsreport.json
rename to swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2024-08-01/costmanagement.generatecostdetailsreport.json
index df9293ff8..db1fd01ea 100644
--- a/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-11-01/costmanagement.generatecostdetailsreport.json
+++ b/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2024-08-01/costmanagement.generatecostdetailsreport.json
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
- "version": "2023-11-01",
+ "version": "2024-08-01",
"title": "CostManagementClient"
},
"host": "management.azure.com",
diff --git a/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-11-01/costmanagement.generatedetailedcostreport.json b/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2024-08-01/costmanagement.generatedetailedcostreport.json
similarity index 99%
rename from swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-11-01/costmanagement.generatedetailedcostreport.json
rename to swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2024-08-01/costmanagement.generatedetailedcostreport.json
index c38b4e42d..b67ca1407 100644
--- a/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-11-01/costmanagement.generatedetailedcostreport.json
+++ b/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2024-08-01/costmanagement.generatedetailedcostreport.json
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
- "version": "2023-11-01",
+ "version": "2024-08-01",
"title": "CostManagementClient"
},
"host": "management.azure.com",
diff --git a/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-11-01/costmanagement.json b/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2024-08-01/costmanagement.json
similarity index 99%
rename from swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-11-01/costmanagement.json
rename to swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2024-08-01/costmanagement.json
index 9346d070e..6f36ab405 100644
--- a/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-11-01/costmanagement.json
+++ b/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2024-08-01/costmanagement.json
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
- "version": "2023-11-01",
+ "version": "2024-08-01",
"title": "CostManagementClient"
},
"host": "management.azure.com",
diff --git a/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-11-01/costmanagement.pricesheets.json b/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2024-08-01/costmanagement.pricesheets.json
similarity index 90%
rename from swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-11-01/costmanagement.pricesheets.json
rename to swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2024-08-01/costmanagement.pricesheets.json
index d549402e6..e776aa981 100644
--- a/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-11-01/costmanagement.pricesheets.json
+++ b/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2024-08-01/costmanagement.pricesheets.json
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
- "version": "2023-11-01",
+ "version": "2024-08-01",
"title": "CostManagementClient"
},
"host": "management.azure.com",
@@ -171,7 +171,7 @@
"x-ms-long-running-operation-options": {
"final-state-via": "location"
},
- "description": "Generates the pricesheet for the provided billing period asynchronously based on the Enrollment ID. This is for Enterprise Agreement customers. \n You can use the new 2023-09-01 API version at '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingPeriods/{billingPeriodName}/providers/Microsoft.CostManagement/pricesheets/default/download' for billing periods January 2023 onwards. With a new schema detailed below, the new price sheet provides more information and includes prices for Azure Reserved Instances (RI) for the current billing period.\n \n We recommend downloading an Azure Price Sheet for when entering a new billing period if you would maintain a record of past Azure Reserved Instance (RI) pricing. Due to Azure product growth, the Azure price sheet download experience in this preview version will be updated from a single .csv file to a zip file containing multiple csv files, each with max size of 75MB.",
+ "description": "Generates the pricesheet for the provided billing period asynchronously based on the Enrollment ID. This is for Enterprise Agreement customers.\n \n **Migrate to version 2024-08-01** \n\n You can use the 2024-08-01 API version with the new URI: \n\n '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingPeriods/{billingPeriodName}/providers/Microsoft.CostManagement/pricesheets/default/download' \n\n With a new schema detailed below, the new version of the price sheet provides additional information and includes prices for Azure Reserved Instances (RI) for the current billing period. We recommend downloading an Azure Price Sheet for when entering a new billing period if you would maintain an ongoing record of past Azure Reserved Instance (RI) pricing.\n\n The EA Azure price sheet is available for billing periods in the past 13 months. To request a price sheet for a billing period older than 13 months, please contact support.\n\n The Azure price sheet download experience has been updated from a single .csv file to a zip file containing multiple .csv files, each with max size of 75MB. The 2023-11-01 version has been upgraded to use http POST method; details can be found below.\n\n All versions of the Microsoft.Consumption Azure Price Sheet - Download by Billing Account (including 2022-06-01, 2021-10-01, 2020-01-01-preview, 2019-10-01, 2019-05-01) are scheduled to be retired on 01 June 2026 and will no longer be supported after this date.",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -305,6 +305,11 @@
"type": "string",
"readOnly": true
},
+ "productOrderName": {
+ "description": "Name of the purchased product plan. Indicates if this pricing is standard Azure Plan pricing, Dev/Test pricing etc. \n\n Currently unavailable for Azure 3rd party and ReservedInstance meters.",
+ "type": "string",
+ "readOnly": true
+ },
"serviceFamily": {
"description": "Type of Azure service. For example, Compute, Analytics, and Security.",
"type": "number",
@@ -410,7 +415,7 @@
}
},
"EAPriceSheetProperties": {
- "description": "The properties of the EA price sheet.",
+ "description": "The properties of the EA price sheet. Properties supported with version 2024-08-01 are as below",
"type": "object",
"properties": {
"enrollmentNumber": {
@@ -439,7 +444,7 @@
"readOnly": true
},
"unitOfMeasure": {
- "description": "How usage is measured for the service",
+ "description": "How usage is measured for the service. Note: The field “Unit” has been removed with version 2023-11-01 as a duplicate of “UnitofMeasure”, please use the field “UnitOfMeasure”. ",
"type": "string",
"readOnly": true
},
@@ -458,6 +463,11 @@
"type": "string",
"readOnly": true
},
+ "offerId": {
+ "description": "Determines the Azure offer associated with this meter. [Learn more about Azure offers] (https://azure.microsoft.com/en-us/support/legal/offer-details/)",
+ "type": "string",
+ "readOnly": true
+ },
"meterCategory": {
"description": "Name of the classification category for the meter. For example, Cloud services, Networking, etc. ",
"type": "string",
diff --git a/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-11-01/scheduledActions.json b/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2024-08-01/scheduledActions.json
similarity index 99%
rename from swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-11-01/scheduledActions.json
rename to swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2024-08-01/scheduledActions.json
index 1ba0c3120..230c8a87d 100644
--- a/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-11-01/scheduledActions.json
+++ b/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2024-08-01/scheduledActions.json
@@ -2,7 +2,7 @@
"swagger": "2.0",
"info": {
"title": "CostManagementClient",
- "version": "2023-11-01"
+ "version": "2024-08-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-11-01/settings.json b/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2024-08-01/settings.json
similarity index 99%
rename from swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-11-01/settings.json
rename to swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2024-08-01/settings.json
index 140a969dd..1372b3afb 100644
--- a/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-11-01/settings.json
+++ b/swagger-specs/cost-management/resource-manager/Microsoft.CostManagement/stable/2024-08-01/settings.json
@@ -2,7 +2,7 @@
"swagger": "2.0",
"info": {
"title": "CostManagementClient",
- "version": "2023-11-01"
+ "version": "2024-08-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/cost-management/resource-manager/api-set.json b/swagger-specs/cost-management/resource-manager/api-set.json
index e77b12ac1..ff62629be 100644
--- a/swagger-specs/cost-management/resource-manager/api-set.json
+++ b/swagger-specs/cost-management/resource-manager/api-set.json
@@ -1 +1 @@
-{"addition_input_file_paths": [], "input_files": ["Microsoft.CostManagement/stable/2023-11-01/common-types.json", "Microsoft.CostManagement/stable/2023-11-01/costallocation.json", "Microsoft.CostManagement/stable/2023-11-01/costmanagement.benefits.json", "Microsoft.CostManagement/stable/2023-11-01/costmanagement.budgets.json", "Microsoft.CostManagement/stable/2023-11-01/costmanagement.exports.json", "Microsoft.CostManagement/stable/2023-11-01/costmanagement.generatecostdetailsreport.json", "Microsoft.CostManagement/stable/2023-11-01/costmanagement.generatedetailedcostreport.json", "Microsoft.CostManagement/stable/2023-11-01/costmanagement.json", "Microsoft.CostManagement/stable/2023-11-01/costmanagement.pricesheets.json", "Microsoft.CostManagement/stable/2023-11-01/scheduledActions.json", "Microsoft.CostManagement/stable/2023-11-01/settings.json"], "name": "package-2023-11"}
\ No newline at end of file
+{"addition_input_file_paths": [], "input_files": ["Microsoft.CostManagement/stable/2024-08-01/common-types.json", "Microsoft.CostManagement/stable/2024-08-01/costallocation.json", "Microsoft.CostManagement/stable/2024-08-01/costmanagement.benefits.json", "Microsoft.CostManagement/stable/2024-08-01/costmanagement.budgets.json", "Microsoft.CostManagement/stable/2024-08-01/costmanagement.exports.json", "Microsoft.CostManagement/stable/2024-08-01/costmanagement.generatecostdetailsreport.json", "Microsoft.CostManagement/stable/2024-08-01/costmanagement.generatedetailedcostreport.json", "Microsoft.CostManagement/stable/2024-08-01/costmanagement.json", "Microsoft.CostManagement/stable/2024-08-01/costmanagement.pricesheets.json", "Microsoft.CostManagement/stable/2024-08-01/scheduledActions.json", "Microsoft.CostManagement/stable/2024-08-01/settings.json"], "name": "package-2024-08"}
\ No newline at end of file
diff --git a/swagger-specs/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json b/swagger-specs/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json
index 3d5f1ee81..23f9130b0 100644
--- a/swagger-specs/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json
+++ b/swagger-specs/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json
@@ -1850,6 +1850,41 @@
"encryptedCredential": {
"type": "string",
"description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string."
+ },
+ "allowZeroDateTime": {
+ "type": "object",
+ "x-ms-format": "dfe-bool",
+ "description": "This allows the special “zero” date value 0000-00-00 to be retrieved from the database. Type: boolean."
+ },
+ "connectionTimeout": {
+ "type": "object",
+ "x-ms-format": "dfe-int",
+ "description": "The length of time (in seconds) to wait for a connection to the server before terminating the attempt and generating an error. Type: integer."
+ },
+ "convertZeroDateTime": {
+ "type": "object",
+ "x-ms-format": "dfe-bool",
+ "description": "True to return DateTime.MinValue for date or datetime columns that have disallowed values. Type: boolean."
+ },
+ "guidFormat": {
+ "type": "object",
+ "x-ms-format": "dfe-string",
+ "description": "Determines which column type (if any) should be read as a GUID. Type: string. None: No column types are automatically read as a Guid; Char36: All CHAR(36) columns are read/written as a Guid using lowercase hex with hyphens, which matches UUID."
+ },
+ "sslCert": {
+ "type": "object",
+ "x-ms-format": "dfe-string",
+ "description": "The path to the client’s SSL certificate file in PEM format. SslKey must also be specified. Type: string."
+ },
+ "sslKey": {
+ "type": "object",
+ "x-ms-format": "dfe-string",
+ "description": "The path to the client’s SSL private key in PEM format. SslCert must also be specified. Type: string."
+ },
+ "treatTinyAsBoolean": {
+ "type": "object",
+ "x-ms-format": "dfe-bool",
+ "description": "When set to true, TINYINT(1) values are returned as booleans. Type: bool."
}
}
},
@@ -4873,6 +4908,61 @@
"x-ms-format": "dfe-string",
"description": "An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference."
},
+ "server": {
+ "type": "object",
+ "x-ms-format": "dfe-string",
+ "description": "Server name for connection. Type: string."
+ },
+ "port": {
+ "type": "object",
+ "x-ms-format": "dfe-int",
+ "description": "The port for the connection. Type: integer."
+ },
+ "username": {
+ "type": "object",
+ "x-ms-format": "dfe-string",
+ "description": "Username for authentication. Type: string."
+ },
+ "database": {
+ "type": "object",
+ "x-ms-format": "dfe-string",
+ "description": "Database name for connection. Type: string."
+ },
+ "sslMode": {
+ "type": "object",
+ "x-ms-format": "dfe-int",
+ "description": "SSL mode for connection. Type: integer. 0: disable, 1:allow, 2: prefer, 3: require, 4: verify-ca, 5: verify-full. Type: integer."
+ },
+ "timeout": {
+ "type": "object",
+ "x-ms-format": "dfe-int",
+ "description": "The time to wait (in seconds) while trying to establish a connection before terminating the attempt and generating an error. Type: integer."
+ },
+ "commandTimeout": {
+ "type": "object",
+ "x-ms-format": "dfe-int",
+ "description": "The time to wait (in seconds) while trying to execute a command before terminating the attempt and generating an error. Set to zero for infinity. Type: integer."
+ },
+ "trustServerCertificate": {
+ "type": "object",
+ "x-ms-format": "dfe-bool",
+ "description": "Whether to trust the server certificate without validating it. Type: boolean."
+ },
+ "readBufferSize": {
+ "type": "object",
+ "x-ms-format": "dfe-int",
+ "description": "Determines the size of the internal buffer uses when reading. Increasing may improve performance if transferring large values from the database. Type: integer."
+ },
+ "timezone": {
+ "type": "object",
+ "x-ms-format": "dfe-string",
+ "description": "Gets or sets the session timezone. Type: string."
+ },
+ "encoding": {
+ "type": "object",
+ "x-ms-format": "dfe-string",
+ "description": "Gets or sets the .NET encoding that will be used to encode/decode PostgreSQL string data. Type: string"
+ },
"password": {
"$ref": "../datafactory.json#/definitions/AzureKeyVaultSecretReference",
"description": "The Azure key vault secret reference of password in connection string."
@@ -8060,6 +8150,11 @@
"$ref": "../datafactory.json#/definitions/SecretBase",
"description": "The Azure key vault secret reference of private key password for KeyPair auth with encrypted private key."
},
+ "host": {
+ "type": "object",
+ "x-ms-format": "dfe-string",
+ "description": "The host name of the Snowflake account."
+ },
"encryptedCredential": {
"type": "string",
"description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string."
diff --git a/swagger-specs/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json b/swagger-specs/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json
index da3d2c987..475722615 100644
--- a/swagger-specs/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json
+++ b/swagger-specs/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json
@@ -9175,6 +9175,11 @@
"description": "This property control whether query result contains Deleted objects. Default is false. Type: boolean (or Expression with resultType boolean).",
"type": "object",
"x-ms-format": "dfe-bool"
+ },
+ "pageSize": {
+ "type": "object",
+ "x-ms-format": "dfe-int",
+ "description": "Page size for each http request, too large pageSize will caused timeout, default 300,000. Type: integer (or Expression with resultType integer)."
}
}
},
diff --git a/swagger-specs/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json b/swagger-specs/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json
index 4228c5210..96a1e7fdc 100644
--- a/swagger-specs/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json
+++ b/swagger-specs/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json
@@ -37,6 +37,10 @@
"description": "Signed incoming call context.",
"type": "string"
},
+ "onBehalfOfCallee": {
+ "description": "The communication identifier of the user on behalf of whom the call is made.",
+ "$ref": "../../../../../communication/data-plane/Common/stable/2023-11-15/common.json#/definitions/CommunicationIdentifierModel"
+ },
"correlationId": {
"description": "CorrelationId (CallId).",
"type": "string"
@@ -2334,7 +2338,7 @@
"type": "string"
},
"description": {
- "description": "The sescription of the selected row",
+ "description": "The description of the selected row",
"type": "string"
}
}
diff --git a/swagger-specs/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/GeneratedSystemEvents.json b/swagger-specs/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/GeneratedSystemEvents.json
index 48945635b..a03e7f247 100644
--- a/swagger-specs/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/GeneratedSystemEvents.json
+++ b/swagger-specs/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/GeneratedSystemEvents.json
@@ -852,6 +852,10 @@
"type": "string",
"description": "Signed incoming call context."
},
+ "onBehalfOfCallee": {
+ "$ref": "#/definitions/CommunicationIdentifierModel",
+ "description": "The communication identifier of the user on behalf of whom the call is made."
+ },
"correlationId": {
"type": "string",
"description": "CorrelationId (CallId)."
@@ -2488,7 +2492,7 @@
}
},
"required": [
- "specification"
+ "title"
]
},
"ApiCenterApiDefinitionUpdatedEventData": {
@@ -2509,7 +2513,7 @@
}
},
"required": [
- "specification"
+ "title"
]
},
"ApiCenterApiSpecification": {
@@ -2524,7 +2528,10 @@
"type": "string",
"description": "Specification version."
}
- }
+ },
+ "required": [
+ "name"
+ ]
},
"ApiManagementApiCreatedEventData": {
"type": "object",
@@ -7505,6 +7512,15 @@
}
}
},
+ "ResourceNotificationsContainerServiceEventResourcesScheduledEventData": {
+ "type": "object",
+ "description": "Schema of the Data property of an event grid event for a Microsoft.ResourceNotifications.ContainerServiceEventResources.ScheduledEventEmitted preview event.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ResourceNotificationsResourceUpdatedEventData"
+ }
+ ]
+ },
"ResourceNotificationsHealthResourcesAnnotatedEventData": {
"type": "object",
"description": "Schema of the Data property of an EventGridEvent for a\nMicrosoft.ResourceNotifications.HealthResources.ResourceAnnotated event.",
@@ -8494,6 +8510,36 @@
"storageDiagnostics"
]
},
+ "StorageLifecycleCompletionStatus": {
+ "type": "string",
+ "description": "The status for a LCM policy.",
+ "enum": [
+ "Completed",
+ "CompletedWithError",
+ "Incomplete"
+ ],
+ "x-ms-enum": {
+ "name": "StorageLifecycleCompletionStatus",
+ "modelAsString": true,
+ "values": [
+ {
+ "name": "Completed",
+ "value": "Completed",
+ "description": "Completed"
+ },
+ {
+ "name": "CompletedWithError",
+ "value": "CompletedWithError",
+ "description": "CompletedWithError"
+ },
+ {
+ "name": "Incomplete",
+ "value": "Incomplete",
+ "description": "Incomplete"
+ }
+ ]
+ }
+ },
"StorageLifecyclePolicyActionSummaryDetail": {
"type": "object",
"description": "Execution statistics of a specific policy action in a Blob Management cycle.",
@@ -8522,6 +8568,10 @@
"type": "string",
"description": "The time the policy task was scheduled."
},
+ "policyRunSummary": {
+ "$ref": "#/definitions/StorageLifecyclePolicyRunSummary",
+ "description": "Policy execution summary which shows the completion status of a LCM run\""
+ },
"deleteSummary": {
"$ref": "#/definitions/StorageLifecyclePolicyActionSummaryDetail",
"description": "Execution statistics of a specific policy action in a Blob Management cycle."
@@ -8540,12 +8590,26 @@
}
},
"required": [
+ "policyRunSummary",
"deleteSummary",
"tierToCoolSummary",
"tierToArchiveSummary",
"tierToColdSummary"
]
},
+ "StorageLifecyclePolicyRunSummary": {
+ "type": "object",
+ "description": "Policy run status of an account in a Blob Management cycle.",
+ "properties": {
+ "completionStatus": {
+ "$ref": "#/definitions/StorageLifecycleCompletionStatus",
+ "description": "Policy status can be Completed/CompletedWithError/Incomplete."
+ }
+ },
+ "required": [
+ "completionStatus"
+ ]
+ },
"StorageTaskAssignmentCompletedEventData": {
"type": "object",
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Storage.StorageTaskAssignmentCompleted event.",
diff --git a/swagger-specs/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json b/swagger-specs/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json
index b85e8b5f3..959efee38 100644
--- a/swagger-specs/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json
+++ b/swagger-specs/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json
@@ -356,7 +356,8 @@
"type": "object",
"required": [
"progress",
- "state"
+ "state",
+ "@odata.type"
],
"description": "The event data for a Job output."
},
@@ -377,7 +378,6 @@
"description": "The event data for a Job output asset."
},
"MediaJobOutputProgressEventData": {
- "x-ms-discriminator-value": "#Microsoft.Media.JobOutputProgress",
"description": "Job Output Progress Event Data. Schema of the Data property of an EventGridEvent for a Microsoft.Media.JobOutputProgress event.",
"type": "object",
"properties": {
@@ -466,7 +466,6 @@
}
},
"MediaJobScheduledEventData": {
- "x-ms-discriminator-value": "#Microsoft.Media.JobScheduled",
"allOf": [
{
"$ref": "#/definitions/MediaJobStateChangeEventData"
@@ -477,7 +476,6 @@
"description": "Job scheduled event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.JobScheduled event."
},
"MediaJobProcessingEventData": {
- "x-ms-discriminator-value": "#Microsoft.Media.JobProcessing",
"allOf": [
{
"$ref": "#/definitions/MediaJobStateChangeEventData"
@@ -488,7 +486,6 @@
"description": "Job processing event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.JobProcessing event."
},
"MediaJobCancelingEventData": {
- "x-ms-discriminator-value": "#Microsoft.Media.JobCanceling",
"allOf": [
{
"$ref": "#/definitions/MediaJobStateChangeEventData"
@@ -499,7 +496,6 @@
"description": "Job canceling event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.JobCanceling event."
},
"MediaJobFinishedEventData": {
- "x-ms-discriminator-value": "#Microsoft.Media.JobFinished",
"allOf": [
{
"$ref": "#/definitions/MediaJobStateChangeEventData"
@@ -518,7 +514,6 @@
"description": "Job finished event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.JobFinished event."
},
"MediaJobCanceledEventData": {
- "x-ms-discriminator-value": "#Microsoft.Media.JobCanceled",
"allOf": [
{
"$ref": "#/definitions/MediaJobStateChangeEventData"
@@ -537,7 +532,6 @@
"description": "Job canceled event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.JobCanceled event."
},
"MediaJobErroredEventData": {
- "x-ms-discriminator-value": "#Microsoft.Media.JobErrored",
"allOf": [
{
"$ref": "#/definitions/MediaJobStateChangeEventData"
@@ -556,7 +550,6 @@
"description": "Job error state event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.JobErrored event."
},
"MediaJobOutputCanceledEventData": {
- "x-ms-discriminator-value": "#Microsoft.Media.JobOutputCanceled",
"allOf": [
{
"$ref": "#/definitions/MediaJobOutputStateChangeEventData"
@@ -567,7 +560,6 @@
"description": "Job output canceled event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.JobOutputCanceled event."
},
"MediaJobOutputCancelingEventData": {
- "x-ms-discriminator-value": "#Microsoft.Media.JobOutputCanceling",
"allOf": [
{
"$ref": "#/definitions/MediaJobOutputStateChangeEventData"
@@ -578,7 +570,6 @@
"description": "Job output canceling event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.JobOutputCanceling event."
},
"MediaJobOutputErroredEventData": {
- "x-ms-discriminator-value": "#Microsoft.Media.JobOutputErrored",
"allOf": [
{
"$ref": "#/definitions/MediaJobOutputStateChangeEventData"
@@ -589,7 +580,6 @@
"description": "Job output error event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.JobOutputErrored event."
},
"MediaJobOutputFinishedEventData": {
- "x-ms-discriminator-value": "#Microsoft.Media.JobOutputFinished",
"allOf": [
{
"$ref": "#/definitions/MediaJobOutputStateChangeEventData"
@@ -600,7 +590,6 @@
"description": "Job output finished event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.JobOutputFinished event."
},
"MediaJobOutputProcessingEventData": {
- "x-ms-discriminator-value": "#Microsoft.Media.JobOutputProcessing",
"allOf": [
{
"$ref": "#/definitions/MediaJobOutputStateChangeEventData"
@@ -611,7 +600,6 @@
"description": "Job output processing event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.JobOutputProcessing event."
},
"MediaJobOutputScheduledEventData": {
- "x-ms-discriminator-value": "#Microsoft.Media.JobOutputScheduled",
"allOf": [
{
"$ref": "#/definitions/MediaJobOutputStateChangeEventData"
diff --git a/swagger-specs/eventgrid/data-plane/Microsoft.ResourceNotifications/stable/2018-01-01/ContainerServiceEventResources.json b/swagger-specs/eventgrid/data-plane/Microsoft.ResourceNotifications/stable/2018-01-01/ContainerServiceEventResources.json
new file mode 100644
index 000000000..090af0983
--- /dev/null
+++ b/swagger-specs/eventgrid/data-plane/Microsoft.ResourceNotifications/stable/2018-01-01/ContainerServiceEventResources.json
@@ -0,0 +1,28 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2018-01-01",
+ "title": "Schema of Container Service events published to Azure Event Grid via Azure Resource Notifications",
+ "description": "Describes the schema of the Container Service events published to Azure Event Grid. This corresponds to the Data property of an EventGridEvent."
+ },
+ "paths": {},
+ "definitions": {
+ "ResourceNotificationsContainerServiceEventResourcesScheduledEventData": {
+ "description": "Schema of the Data property of an event grid event for a Microsoft.ResourceNotifications.ContainerServiceEventResources.ScheduledEventEmitted preview event.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "./common.json#/definitions/ResourceNotificationsResourceUpdatedEventData"
+ }
+ ],
+ "x-ms-examples": {
+ "ResourceNotificationsContainerServiceEventResourcesScheduledEmittedEventGridSchema": {
+ "$ref": "./examples/event-grid-schema/ContainerServiceEventResources_ScheduledEventEmitted.json"
+ },
+ "ResourceNotificationsContainerServiceEventResourcesScheduledEventEmittedCloudEventsSchema": {
+ "$ref": "./examples/cloud-events-schema/ContainerServiceEventResources_ScheduledEventEmitted.json"
+ }
+ }
+ }
+ }
+}
diff --git a/swagger-specs/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json b/swagger-specs/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json
index e1ea14629..53df8cb94 100644
--- a/swagger-specs/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json
+++ b/swagger-specs/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json
@@ -314,6 +314,9 @@
"description": "The time the policy task was scheduled.",
"type": "string"
},
+ "policyRunSummary": {
+ "$ref": "#/definitions/StorageLifecyclePolicyRunSummary"
+ },
"deleteSummary": {
"$ref": "#/definitions/StorageLifecyclePolicyActionSummaryDetail"
},
@@ -348,6 +351,28 @@
}
}
},
+ "StorageLifecyclePolicyRunSummary": {
+ "type": "object",
+ "description": "Policy run status of an account in a Blob Management cycle.",
+ "properties": {
+ "completionStatus": {
+ "description": "Policy status can be Completed/CompletedWithError/Incomplete.",
+ "type": "string",
+ "enum": [
+ "Completed",
+ "CompletedWithError",
+ "Incomplete"
+ ],
+ "x-ms-enum": {
+ "name": "StorageLifecycleCompletionStatus",
+ "modelAsString": true
+ }
+ }
+ },
+ "required": [
+ "completionStatus"
+ ]
+ },
"StorageBlobTierChangedEventData": {
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.Storage.BlobTierChanged event.",
"type": "object",
diff --git a/swagger-specs/eventgrid/data-plane/api-set.json b/swagger-specs/eventgrid/data-plane/api-set.json
index 6f5c4120c..d0d59a722 100644
--- a/swagger-specs/eventgrid/data-plane/api-set.json
+++ b/swagger-specs/eventgrid/data-plane/api-set.json
@@ -1 +1 @@
-{"addition_input_file_paths": [], "input_files": ["Microsoft.Storage/stable/2018-01-01/Storage.json", "Microsoft.EventHub/stable/2018-01-01/EventHub.json", "Microsoft.Resources/stable/2018-01-01/Resources.json", "Microsoft.EventGrid/stable/2018-01-01/EventGrid.json", "Microsoft.EventGrid/stable/2018-01-01/SystemEvents.json", "Microsoft.DataBox/stable/2018-01-01/DataBox.json", "Microsoft.Devices/stable/2018-01-01/IotHub.json", "Microsoft.ContainerRegistry/stable/2018-01-01/ContainerRegistry.json", "Microsoft.ServiceBus/stable/2018-01-01/ServiceBus.json", "Microsoft.Media/stable/2018-01-01/MediaServices.json", "Microsoft.Maps/stable/2018-01-01/Maps.json", "Microsoft.AppConfiguration/stable/2018-01-01/AppConfiguration.json", "Microsoft.SignalRService/stable/2018-01-01/SignalRService.json", "Microsoft.KeyVault/stable/2018-01-01/KeyVault.json", "Microsoft.MachineLearningServices/stable/2018-01-01/MachineLearningServices.json", "Microsoft.Cache/stable/2018-01-01/RedisCache.json", "Microsoft.Web/stable/2018-01-01/Web.json", "Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json", "Microsoft.PolicyInsights/stable/2018-01-01/PolicyInsights.json", "Microsoft.ContainerService/stable/2018-01-01/ContainerService.json", "Microsoft.ApiManagement/stable/2018-01-01/APIManagement.json", "Microsoft.HealthcareApis/stable/2018-01-01/HealthcareApis.json", "Microsoft.ResourceNotifications/stable/2018-01-01/common.json", "Microsoft.ResourceNotifications/stable/2018-01-01/HealthResources.json", "Microsoft.ResourceNotifications/stable/2018-01-01/Resources.json", "Microsoft.AVS/stable/2018-01-01/PrivateCloud.json", "Microsoft.ApiCenter/stable/2018-01-01/ApiCenter.json"], "name": "package-2018-01"}
\ No newline at end of file
+{"addition_input_file_paths": [], "input_files": ["Microsoft.Storage/stable/2018-01-01/Storage.json", "Microsoft.EventHub/stable/2018-01-01/EventHub.json", "Microsoft.Resources/stable/2018-01-01/Resources.json", "Microsoft.EventGrid/stable/2018-01-01/EventGrid.json", "Microsoft.EventGrid/stable/2018-01-01/SystemEvents.json", "Microsoft.DataBox/stable/2018-01-01/DataBox.json", "Microsoft.Devices/stable/2018-01-01/IotHub.json", "Microsoft.ContainerRegistry/stable/2018-01-01/ContainerRegistry.json", "Microsoft.ServiceBus/stable/2018-01-01/ServiceBus.json", "Microsoft.Media/stable/2018-01-01/MediaServices.json", "Microsoft.Maps/stable/2018-01-01/Maps.json", "Microsoft.AppConfiguration/stable/2018-01-01/AppConfiguration.json", "Microsoft.SignalRService/stable/2018-01-01/SignalRService.json", "Microsoft.KeyVault/stable/2018-01-01/KeyVault.json", "Microsoft.MachineLearningServices/stable/2018-01-01/MachineLearningServices.json", "Microsoft.Cache/stable/2018-01-01/RedisCache.json", "Microsoft.Web/stable/2018-01-01/Web.json", "Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json", "Microsoft.PolicyInsights/stable/2018-01-01/PolicyInsights.json", "Microsoft.ContainerService/stable/2018-01-01/ContainerService.json", "Microsoft.ApiManagement/stable/2018-01-01/APIManagement.json", "Microsoft.HealthcareApis/stable/2018-01-01/HealthcareApis.json", "Microsoft.ResourceNotifications/stable/2018-01-01/common.json", "Microsoft.ResourceNotifications/stable/2018-01-01/HealthResources.json", "Microsoft.ResourceNotifications/stable/2018-01-01/Resources.json", "Microsoft.ResourceNotifications/stable/2018-01-01/ContainerServiceEventResources.json", "Microsoft.AVS/stable/2018-01-01/PrivateCloud.json", "Microsoft.ApiCenter/stable/2018-01-01/ApiCenter.json"], "name": "package-2018-01"}
\ No newline at end of file
diff --git a/swagger-specs/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/machineLearningServices.json b/swagger-specs/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-10-01/machineLearningServices.json
similarity index 50%
rename from swagger-specs/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/machineLearningServices.json
rename to swagger-specs/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-10-01/machineLearningServices.json
index a4933d897..b52f9b0b1 100644
--- a/swagger-specs/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/machineLearningServices.json
+++ b/swagger-specs/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-10-01/machineLearningServices.json
@@ -3,7 +3,7 @@
"info": {
"title": "Azure Machine Learning Services",
"description": "These APIs allow end users to operate on Azure Machine Learning Workspace resources.",
- "version": "2024-04-01"
+ "version": "2024-10-01"
},
"host": "management.azure.com",
"schemes": [
@@ -34,28 +34,34 @@
}
},
"paths": {
- "/providers/Microsoft.MachineLearningServices/operations": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/usages": {
"get": {
"tags": [
- "Operation"
+ "Usage"
],
- "description": "Lists all of the available Azure Machine Learning Workspaces REST API operations.",
- "operationId": "Operations_List",
+ "operationId": "Usages_List",
+ "description": "Gets the current usage information as well as limits for AML resources for given subscription and location.",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location for which resource usage is queried.",
+ "pattern": "^[-\\w\\._]+$"
}
],
- "x-ms-examples": {
- "OperationsList": {
- "$ref": "./examples/Workspace/operationsList.json"
- }
- },
"responses": {
"200": {
- "description": "The request was successful; the request was well-formed and received properly.",
+ "description": "OK",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult"
+ "$ref": "#/definitions/ListUsagesResult"
}
},
"default": {
@@ -66,129 +72,119 @@
}
},
"x-ms-pageable": {
- "nextLinkName": null
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List Usages": {
+ "$ref": "./examples/Usage/list.json"
+ }
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/vmSizes": {
"get": {
"tags": [
- "Workspaces"
+ "VirtualMachineSizes"
],
- "description": "Gets the properties of the specified machine learning workspace.",
- "operationId": "Workspaces_Get",
- "x-ms-examples": {
- "Get Workspace": {
- "$ref": "./examples/Workspace/get.json"
- }
- },
+ "operationId": "VirtualMachineSizes_List",
+ "description": "Returns supported VM Sizes in a location",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location upon which virtual-machine-sizes is queried.",
+ "pattern": "^[-\\w\\._]+$"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "#/parameters/WorkspaceNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
- "description": "The request was successful; the request was well-formed and received properly.",
+ "description": "OK",
"schema": {
- "$ref": "#/definitions/Workspace"
+ "$ref": "#/definitions/VirtualMachineSizeListResult"
}
},
"default": {
- "description": "Error response describing why the operation failed",
+ "description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
}
}
+ },
+ "x-ms-examples": {
+ "List VM Sizes": {
+ "$ref": "./examples/VirtualMachineSize/list.json"
+ }
}
- },
- "put": {
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/updateQuotas": {
+ "post": {
"tags": [
- "Workspaces"
+ "Quota"
],
- "description": "Creates or updates a workspace with the specified parameters.",
- "operationId": "Workspaces_CreateOrUpdate",
- "x-ms-long-running-operation": true,
- "x-ms-examples": {
- "Create Workspace": {
- "$ref": "./examples/Workspace/create.json"
- }
- },
+ "operationId": "Quotas_Update",
+ "description": "Update quota for each VM family in workspace.",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/WorkspaceNameParameter"
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location for update quota is queried.",
+ "pattern": "^[-\\w\\._]+$"
},
{
"name": "parameters",
"in": "body",
- "description": "The parameters for creating or updating a machine learning workspace.",
"required": true,
"schema": {
- "$ref": "#/definitions/Workspace"
- }
+ "$ref": "#/definitions/QuotaUpdateParameters"
+ },
+ "description": "Quota update parameters."
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
- "description": "The request was successful; the request was well-formed and received properly.",
+ "description": "The operation was successful.",
"schema": {
- "$ref": "#/definitions/Workspace"
- }
- },
- "202": {
- "description": "Accepted",
- "headers": {
- "Location": {
- "description": "URI to poll for asynchronous operation result.",
- "type": "string"
- },
- "Retry-After": {
- "description": "Duration the client should wait between requests, in seconds.",
- "type": "integer",
- "format": "int32",
- "maximum": 600,
- "minimum": 10
- }
+ "$ref": "#/definitions/UpdateWorkspaceQuotasResult"
}
},
"default": {
- "description": "Error response describing why the operation failed",
+ "description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
}
}
+ },
+ "x-ms-examples": {
+ "update quotas": {
+ "$ref": "./examples/Quota/update.json"
+ }
}
- },
- "delete": {
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/quotas": {
+ "get": {
"tags": [
- "Workspaces"
+ "Quota"
],
- "description": "Deletes a machine learning workspace.",
- "operationId": "Workspaces_Delete",
- "x-ms-examples": {
- "Delete Workspace": {
- "$ref": "./examples/Workspace/delete.json"
- }
- },
- "x-ms-long-running-operation": true,
+ "operationId": "Quotas_List",
+ "description": "Gets the currently assigned Workspace Quotas based on VMFamily.",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
@@ -197,24 +193,20 @@
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/WorkspaceNameParameter"
- },
- {
- "$ref": "#/parameters/WorkspaceForceToPurgeParameter"
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location for which resource usage is queried.",
+ "pattern": "^[-\\w\\._]+$"
}
],
"responses": {
"200": {
- "description": "The request was successful; the request was well-formed and received properly."
- },
- "202": {
- "description": "The request was accepted; the request was well-formed and received properly."
- },
- "204": {
- "description": "The machine learning workspace does not exist in the subscription."
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ListWorkspaceQuotas"
+ }
},
"default": {
"description": "Error response describing why the operation failed",
@@ -222,24 +214,34 @@
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
}
}
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List workspace quotas by VMFamily": {
+ "$ref": "./examples/Quota/list.json"
+ }
}
- },
- "patch": {
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes": {
+ "get": {
"tags": [
- "Workspaces"
+ "OperationalizationClusters",
+ "MachineLearningComputes"
],
- "description": "Updates a machine learning workspace with the specified parameters.",
- "operationId": "Workspaces_Update",
- "x-ms-long-running-operation": true,
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "operationId": "Compute_List",
+ "description": "Gets computes in specified workspace.",
"x-ms-examples": {
- "Update Workspace": {
- "$ref": "./examples/Workspace/update.json"
+ "Get Computes": {
+ "$ref": "./examples/Compute/list.json"
}
},
"parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- },
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
},
@@ -250,40 +252,21 @@
"$ref": "#/parameters/WorkspaceNameParameter"
},
{
- "name": "parameters",
- "in": "body",
- "description": "The parameters for updating a machine learning workspace.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/WorkspaceUpdateParameters"
- }
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/PaginationParameter"
}
],
"responses": {
"200": {
- "description": "The request was successful; the request was well-formed and received properly.",
+ "description": "The response includes a paginated array of Machine Learning computes and a URI to the next set of results, if any. For the more information the limits of the number of items in a resource group, see https://azure.microsoft.com/en-us/documentation/articles/azure-subscription-service-limits/.",
"schema": {
- "$ref": "#/definitions/Workspace"
- }
- },
- "202": {
- "description": "Accepted",
- "headers": {
- "Location": {
- "description": "URI to poll for asynchronous operation result.",
- "type": "string"
- },
- "Retry-After": {
- "description": "Duration the client should wait between requests, in seconds.",
- "type": "integer",
- "format": "int32",
- "maximum": 600,
- "minimum": 10
- }
+ "$ref": "#/definitions/PaginatedComputeResourcesList"
}
},
"default": {
- "description": "Error response describing why the operation failed",
+ "description": "Error response describing why the request failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
}
@@ -291,22 +274,29 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}": {
"get": {
"tags": [
- "Workspaces"
+ "OperationalizationClusters",
+ "MachineLearningComputes"
],
- "description": "Lists all the available machine learning workspaces under the specified resource group.",
- "operationId": "Workspaces_ListByResourceGroup",
+ "operationId": "Compute_Get",
+ "description": "Gets compute definition by its name. Any secrets (storage keys, service credentials, etc) are not returned - use 'keys' nested resource to get them.",
"x-ms-examples": {
- "Get Workspaces by Resource Group": {
- "$ref": "./examples/Workspace/listByResourceGroup.json"
+ "Get a AKS Compute": {
+ "$ref": "./examples/Compute/get/AKSCompute.json"
+ },
+ "Get a AML Compute": {
+ "$ref": "./examples/Compute/get/AmlCompute.json"
+ },
+ "Get an ComputeInstance": {
+ "$ref": "./examples/Compute/get/ComputeInstance.json"
+ },
+ "Get a Kubernetes Compute": {
+ "$ref": "./examples/Compute/get/KubernetesCompute.json"
}
},
"parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- },
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
},
@@ -314,120 +304,128 @@
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/PaginationParameter"
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ComputeNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
- "description": "The request was successful; the request was well-formed and received properly.",
+ "description": "Success.",
"schema": {
- "$ref": "#/definitions/WorkspaceListResult"
+ "$ref": "#/definitions/ComputeResource"
}
},
"default": {
- "description": "Error response describing why the operation failed",
+ "description": "Error response describing why the request failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
}
}
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
}
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/diagnose": {
- "post": {
+ },
+ "put": {
"tags": [
- "Workspaces"
- ],
- "summary": "Diagnose workspace setup issue.",
- "operationId": "Workspaces_Diagnose",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
+ "OperationalizationClusters",
+ "MachineLearningComputes"
],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "operationId": "Compute_CreateOrUpdate",
+ "description": "Creates or updates compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation. If your intent is to create a new compute, do a GET first to verify that it does not exist yet.",
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Create a AML Compute": {
+ "$ref": "./examples/Compute/createOrUpdate/BasicAmlCompute.json"
},
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "Create an ComputeInstance Compute with minimal inputs": {
+ "$ref": "./examples/Compute/createOrUpdate/ComputeInstanceMinimal.json"
},
- {
- "$ref": "#/parameters/WorkspaceNameParameter"
+ "Create an ComputeInstance Compute": {
+ "$ref": "./examples/Compute/createOrUpdate/ComputeInstance.json"
+ },
+ "Create an ComputeInstance Compute with Schedules": {
+ "$ref": "./examples/Compute/createOrUpdate/ComputeInstanceWithSchedules.json"
+ },
+ "Create an AKS Compute": {
+ "$ref": "./examples/Compute/createOrUpdate/BasicAKSCompute.json"
+ },
+ "Create a DataFactory Compute": {
+ "$ref": "./examples/Compute/createOrUpdate/BasicDataFactoryCompute.json"
+ },
+ "Update a AML Compute": {
+ "$ref": "./examples/Compute/createOrUpdate/AmlCompute.json"
+ },
+ "Update an AKS Compute": {
+ "$ref": "./examples/Compute/createOrUpdate/AKSCompute.json"
+ },
+ "Attach a Kubernetes Compute": {
+ "$ref": "./examples/Compute/createOrUpdate/KubernetesCompute.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ComputeNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
},
{
- "in": "body",
- "name": "parameters",
- "description": "The parameter of diagnosing workspace health",
- "schema": {
- "$ref": "#/definitions/DiagnoseWorkspaceParameters"
- }
+ "$ref": "#/parameters/ComputeDefinitionParameter"
}
],
"responses": {
- "202": {
- "description": "Success",
+ "200": {
+ "description": "Compute creation or update initiated.",
+ "schema": {
+ "$ref": "#/definitions/ComputeResource"
+ }
+ },
+ "201": {
+ "description": "Compute creation or update initiated.",
"headers": {
- "Location": {
- "description": "URI to poll for asynchronous operation result.",
+ "Azure-AsyncOperation": {
+ "description": "URI to poll for asynchronous operation status.",
"type": "string"
- },
- "Retry-After": {
- "description": "Duration the client should wait between requests, in seconds.",
- "type": "integer",
- "format": "int32",
- "maximum": 600,
- "minimum": 10
}
- }
- },
- "200": {
- "description": "Success",
+ },
"schema": {
- "$ref": "#/definitions/DiagnoseResponseResult"
+ "$ref": "#/definitions/ComputeResource"
}
},
"default": {
- "description": "Error",
+ "description": "Error response describing why the request failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
}
}
- },
- "x-ms-examples": {
- "Diagnose Workspace": {
- "$ref": "./examples/Workspace/diagnose.json"
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "location"
}
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listKeys": {
- "post": {
+ },
+ "patch": {
"tags": [
- "Workspaces"
+ "OperationalizationClusters",
+ "MachineLearningComputes"
],
- "description": "Lists all the keys associated with this workspace. This includes keys for the storage account, app insights and password for container registry",
- "operationId": "Workspaces_ListKeys",
+ "operationId": "Compute_Update",
+ "description": "Updates properties of a compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation.",
+ "x-ms-long-running-operation": true,
"x-ms-examples": {
- "List Workspace Keys": {
- "$ref": "./examples/Workspace/listKeys.json"
+ "Update a AmlCompute Compute": {
+ "$ref": "./examples/Compute/patch.json"
}
},
"parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- },
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
},
@@ -436,41 +434,52 @@
},
{
"$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ComputeNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ClusterUpdateParameters"
+ },
+ "description": "Additional parameters for cluster update."
}
],
"responses": {
"200": {
- "description": "The request was successful; the request was well-formed and received properly.",
+ "description": "Compute update initiated.",
"schema": {
- "$ref": "#/definitions/ListWorkspaceKeysResult"
+ "$ref": "#/definitions/ComputeResource"
}
},
"default": {
- "description": "Error response describing why the operation failed",
+ "description": "Error response describing why the request failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
}
}
}
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/resyncKeys": {
- "post": {
+ },
+ "delete": {
"tags": [
- "Workspaces"
+ "OperationalizationClusters",
+ "MachineLearningComputes"
],
- "description": "Resync all the keys associated with this workspace. This includes keys for the storage account, app insights and password for container registry",
- "operationId": "Workspaces_ResyncKeys",
+ "operationId": "Compute_Delete",
+ "description": "Deletes specified Machine Learning compute.",
"x-ms-long-running-operation": true,
"x-ms-examples": {
- "Resync Workspace Keys": {
- "$ref": "./examples/Workspace/resyncKeys.json"
+ "Delete Compute": {
+ "$ref": "./examples/Compute/delete.json"
}
},
"parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- },
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
},
@@ -479,6 +488,15 @@
},
{
"$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ComputeNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/UnderlyingResourceActionParameter"
}
],
"responses": {
@@ -486,23 +504,23 @@
"description": "The request was successful; the request was well-formed and received properly."
},
"202": {
- "description": "Accepted",
+ "description": "Compute deletion initiated.",
"headers": {
+ "Azure-AsyncOperation": {
+ "description": "URI to poll for asynchronous operation status.",
+ "type": "string"
+ },
"Location": {
"description": "URI to poll for asynchronous operation result.",
"type": "string"
- },
- "Retry-After": {
- "description": "Duration the client should wait between requests, in seconds.",
- "type": "integer",
- "format": "int32",
- "maximum": 600,
- "minimum": 10
}
}
},
+ "204": {
+ "description": "No content; The target compute does not exist."
+ },
"default": {
- "description": "Error response describing why the operation failed",
+ "description": "Error response describing why the request failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
}
@@ -510,81 +528,90 @@
}
}
},
- "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/usages": {
- "get": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listNodes": {
+ "post": {
"tags": [
- "Usage"
+ "MachineLearningComputes"
],
- "operationId": "Usages_List",
- "description": "Gets the current usage information as well as limits for AML resources for given subscription and location.",
+ "operationId": "Compute_ListNodes",
+ "description": "Get the details (e.g IP address, port etc) of all the compute nodes in the compute.",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "name": "location",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The location for which resource usage is queried.",
- "pattern": "^[-\\w\\._]+$"
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ComputeNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
- "description": "OK",
+ "description": "The operation was successful. The response contains the list of IP addresses.",
"schema": {
- "$ref": "#/definitions/ListUsagesResult"
+ "$ref": "#/definitions/AmlComputeNodesInformation"
}
},
"default": {
- "description": "Error response describing why the operation failed",
+ "description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-pageable": {
- "nextLinkName": "nextLink"
+ "nextLinkName": "nextLink",
+ "itemName": "nodes"
},
"x-ms-examples": {
- "List Usages": {
- "$ref": "./examples/Usage/list.json"
+ "Get compute nodes information for a compute": {
+ "$ref": "./examples/Compute/listNodes.json"
}
}
}
},
- "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/vmSizes": {
- "get": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listKeys": {
+ "post": {
"tags": [
- "VirtualMachineSizes"
+ "OperationalizationClusters",
+ "MachineLearningComputes"
],
- "operationId": "VirtualMachineSizes_List",
- "description": "Returns supported VM Sizes in a location",
+ "operationId": "Compute_ListKeys",
+ "description": "Gets secrets related to Machine Learning compute (storage keys, service credentials, etc).",
+ "x-ms-examples": {
+ "List AKS Compute Keys": {
+ "$ref": "./examples/Compute/listKeys.json"
+ }
+ },
"parameters": [
{
- "name": "location",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The location upon which virtual-machine-sizes is queried.",
- "pattern": "^[-\\w\\._]+$"
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ComputeNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
- "description": "OK",
+ "description": "Success.",
"schema": {
- "$ref": "#/definitions/VirtualMachineSizeListResult"
+ "$ref": "#/definitions/ComputeSecrets"
}
},
"default": {
@@ -593,52 +620,43 @@
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
}
}
- },
- "x-ms-examples": {
- "List VM Sizes": {
- "$ref": "./examples/VirtualMachineSize/list.json"
- }
}
}
},
- "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/updateQuotas": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/start": {
"post": {
"tags": [
- "Quota"
+ "OperationalizationClusters",
+ "MachineLearningComputes"
],
- "operationId": "Quotas_Update",
- "description": "Update quota for each VM family in workspace.",
+ "operationId": "Compute_Start",
+ "description": "Posts a start action to a compute instance",
+ "x-ms-examples": {
+ "Start ComputeInstance Compute": {
+ "$ref": "./examples/Compute/start.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
"parameters": [
{
- "name": "location",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The location for update quota is queried.",
- "pattern": "^[-\\w\\._]+$"
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
},
{
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/QuotaUpdateParameters"
- },
- "description": "Quota update parameters."
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "#/parameters/WorkspaceNameParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "#/parameters/ComputeNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
- "200": {
- "description": "The operation was successful.",
- "schema": {
- "$ref": "#/definitions/UpdateWorkspaceQuotasResult"
- }
+ "202": {
+ "description": "Success."
},
"default": {
"description": "Error response describing why the operation failed.",
@@ -646,119 +664,23 @@
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
}
}
- },
- "x-ms-examples": {
- "update quotas": {
- "$ref": "./examples/Quota/update.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/quotas": {
- "get": {
- "tags": [
- "Quota"
- ],
- "operationId": "Quotas_List",
- "description": "Gets the currently assigned Workspace Quotas based on VMFamily.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "name": "location",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The location for which resource usage is queried.",
- "pattern": "^[-\\w\\._]+$"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ListWorkspaceQuotas"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List workspace quotas by VMFamily": {
- "$ref": "./examples/Quota/list.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces": {
- "get": {
- "tags": [
- "Workspaces"
- ],
- "description": "Lists all the available machine learning workspaces under the specified subscription.",
- "operationId": "Workspaces_ListBySubscription",
- "x-ms-examples": {
- "Get Workspaces by subscription": {
- "$ref": "./examples/Workspace/listBySubscription.json"
- }
- },
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/PaginationParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; the request was well-formed and received properly.",
- "schema": {
- "$ref": "#/definitions/WorkspaceListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes": {
- "get": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/stop": {
+ "post": {
"tags": [
"OperationalizationClusters",
"MachineLearningComputes"
],
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "operationId": "Compute_List",
- "description": "Gets computes in specified workspace.",
+ "operationId": "Compute_Stop",
+ "description": "Posts a stop action to a compute instance",
"x-ms-examples": {
- "Get Computes": {
- "$ref": "./examples/Compute/list.json"
+ "Stop ComputeInstance Compute": {
+ "$ref": "./examples/Compute/stop.json"
}
},
+ "x-ms-long-running-operation": true,
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
@@ -770,21 +692,18 @@
"$ref": "#/parameters/WorkspaceNameParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "#/parameters/ComputeNameParameter"
},
{
- "$ref": "#/parameters/PaginationParameter"
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
- "200": {
- "description": "The response includes a paginated array of Machine Learning computes and a URI to the next set of results, if any. For the more information the limits of the number of items in a resource group, see https://azure.microsoft.com/en-us/documentation/articles/azure-subscription-service-limits/.",
- "schema": {
- "$ref": "#/definitions/PaginatedComputeResourcesList"
- }
+ "202": {
+ "description": "Success."
},
"default": {
- "description": "Error response describing why the request failed.",
+ "description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
}
@@ -792,97 +711,20 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}": {
- "get": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/restart": {
+ "post": {
"tags": [
"OperationalizationClusters",
"MachineLearningComputes"
],
- "operationId": "Compute_Get",
- "description": "Gets compute definition by its name. Any secrets (storage keys, service credentials, etc) are not returned - use 'keys' nested resource to get them.",
+ "operationId": "Compute_Restart",
+ "description": "Posts a restart action to a compute instance",
"x-ms-examples": {
- "Get a AKS Compute": {
- "$ref": "./examples/Compute/get/AKSCompute.json"
- },
- "Get a AML Compute": {
- "$ref": "./examples/Compute/get/AmlCompute.json"
- },
- "Get an ComputeInstance": {
- "$ref": "./examples/Compute/get/ComputeInstance.json"
- },
- "Get a Kubernetes Compute": {
- "$ref": "./examples/Compute/get/KubernetesCompute.json"
+ "Restart ComputeInstance Compute": {
+ "$ref": "./examples/Compute/restart.json"
}
},
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/WorkspaceNameParameter"
- },
- {
- "$ref": "#/parameters/ComputeNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Success.",
- "schema": {
- "$ref": "#/definitions/ComputeResource"
- }
- },
- "default": {
- "description": "Error response describing why the request failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "put": {
- "tags": [
- "OperationalizationClusters",
- "MachineLearningComputes"
- ],
- "operationId": "Compute_CreateOrUpdate",
- "description": "Creates or updates compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation. If your intent is to create a new compute, do a GET first to verify that it does not exist yet.",
"x-ms-long-running-operation": true,
- "x-ms-examples": {
- "Create a AML Compute": {
- "$ref": "./examples/Compute/createOrUpdate/BasicAmlCompute.json"
- },
- "Create an ComputeInstance Compute with minimal inputs": {
- "$ref": "./examples/Compute/createOrUpdate/ComputeInstanceMinimal.json"
- },
- "Create an ComputeInstance Compute": {
- "$ref": "./examples/Compute/createOrUpdate/ComputeInstance.json"
- },
- "Create an ComputeInstance Compute with Schedules": {
- "$ref": "./examples/Compute/createOrUpdate/ComputeInstanceWithSchedules.json"
- },
- "Create an AKS Compute": {
- "$ref": "./examples/Compute/createOrUpdate/BasicAKSCompute.json"
- },
- "Create a DataFactory Compute": {
- "$ref": "./examples/Compute/createOrUpdate/BasicDataFactoryCompute.json"
- },
- "Update a AML Compute": {
- "$ref": "./examples/Compute/createOrUpdate/AmlCompute.json"
- },
- "Update an AKS Compute": {
- "$ref": "./examples/Compute/createOrUpdate/AKSCompute.json"
- },
- "Attach a Kubernetes Compute": {
- "$ref": "./examples/Compute/createOrUpdate/KubernetesCompute.json"
- }
- },
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
@@ -898,5974 +740,2924 @@
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/ComputeDefinitionParameter"
}
],
"responses": {
- "200": {
- "description": "Compute creation or update initiated.",
- "schema": {
- "$ref": "#/definitions/ComputeResource"
- }
- },
- "201": {
- "description": "Compute creation or update initiated.",
- "headers": {
- "Azure-AsyncOperation": {
- "description": "URI to poll for asynchronous operation status.",
- "type": "string"
- }
- },
- "schema": {
- "$ref": "#/definitions/ComputeResource"
- }
+ "202": {
+ "description": "Success."
},
"default": {
- "description": "Error response describing why the request failed.",
+ "description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
}
}
}
- },
- "patch": {
- "tags": [
- "OperationalizationClusters",
- "MachineLearningComputes"
- ],
- "operationId": "Compute_Update",
- "description": "Updates properties of a compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation.",
- "x-ms-long-running-operation": true,
- "x-ms-examples": {
- "Update a AmlCompute Compute": {
- "$ref": "./examples/Compute/patch.json"
- }
- },
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/WorkspaceNameParameter"
- },
- {
- "$ref": "#/parameters/ComputeNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ClusterUpdateParameters"
- },
- "description": "Additional parameters for cluster update."
- }
- ],
- "responses": {
- "200": {
- "description": "Compute update initiated.",
- "schema": {
- "$ref": "#/definitions/ComputeResource"
- }
- },
- "default": {
- "description": "Error response describing why the request failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "delete": {
- "tags": [
- "OperationalizationClusters",
- "MachineLearningComputes"
- ],
- "operationId": "Compute_Delete",
- "description": "Deletes specified Machine Learning compute.",
- "x-ms-long-running-operation": true,
- "x-ms-examples": {
- "Delete Compute": {
- "$ref": "./examples/Compute/delete.json"
- }
- },
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/WorkspaceNameParameter"
- },
- {
- "$ref": "#/parameters/ComputeNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/UnderlyingResourceActionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; the request was well-formed and received properly."
- },
- "202": {
- "description": "Compute deletion initiated.",
- "headers": {
- "Azure-AsyncOperation": {
- "description": "URI to poll for asynchronous operation status.",
- "type": "string"
- },
- "Location": {
- "description": "URI to poll for asynchronous operation result.",
- "type": "string"
- }
- }
- },
- "204": {
- "description": "No content; The target compute does not exist."
- },
- "default": {
- "description": "Error response describing why the request failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listNodes": {
- "post": {
- "tags": [
- "MachineLearningComputes"
- ],
- "operationId": "Compute_ListNodes",
- "description": "Get the details (e.g IP address, port etc) of all the compute nodes in the compute.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/WorkspaceNameParameter"
- },
- {
- "$ref": "#/parameters/ComputeNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The operation was successful. The response contains the list of IP addresses.",
- "schema": {
- "$ref": "#/definitions/AmlComputeNodesInformation"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink",
- "itemName": "nodes"
- },
- "x-ms-examples": {
- "Get compute nodes information for a compute": {
- "$ref": "./examples/Compute/listNodes.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookAccessToken": {
- "post": {
- "tags": [
- "Workspaces"
- ],
- "description": "return notebook access token and refresh token",
- "operationId": "Workspaces_ListNotebookAccessToken",
- "x-ms-examples": {
- "List Workspace Keys": {
- "$ref": "./examples/Workspace/listNotebookAccessToken.json"
- }
- },
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/WorkspaceNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; the request was well-formed and received properly.",
- "schema": {
- "$ref": "#/definitions/NotebookAccessTokenResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listKeys": {
- "post": {
- "tags": [
- "OperationalizationClusters",
- "MachineLearningComputes"
- ],
- "operationId": "Compute_ListKeys",
- "description": "Gets secrets related to Machine Learning compute (storage keys, service credentials, etc).",
- "x-ms-examples": {
- "List AKS Compute Keys": {
- "$ref": "./examples/Compute/listKeys.json"
- }
- },
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/WorkspaceNameParameter"
- },
- {
- "$ref": "#/parameters/ComputeNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Success.",
- "schema": {
- "$ref": "#/definitions/ComputeSecrets"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/start": {
- "post": {
- "tags": [
- "OperationalizationClusters",
- "MachineLearningComputes"
- ],
- "operationId": "Compute_Start",
- "description": "Posts a start action to a compute instance",
- "x-ms-examples": {
- "Start ComputeInstance Compute": {
- "$ref": "./examples/Compute/start.json"
- }
- },
- "x-ms-long-running-operation": true,
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/WorkspaceNameParameter"
- },
- {
- "$ref": "#/parameters/ComputeNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "202": {
- "description": "Success."
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/stop": {
- "post": {
- "tags": [
- "OperationalizationClusters",
- "MachineLearningComputes"
- ],
- "operationId": "Compute_Stop",
- "description": "Posts a stop action to a compute instance",
- "x-ms-examples": {
- "Stop ComputeInstance Compute": {
- "$ref": "./examples/Compute/stop.json"
- }
- },
- "x-ms-long-running-operation": true,
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/WorkspaceNameParameter"
- },
- {
- "$ref": "#/parameters/ComputeNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "202": {
- "description": "Success."
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/restart": {
- "post": {
- "tags": [
- "OperationalizationClusters",
- "MachineLearningComputes"
- ],
- "operationId": "Compute_Restart",
- "description": "Posts a restart action to a compute instance",
- "x-ms-examples": {
- "Restart ComputeInstance Compute": {
- "$ref": "./examples/Compute/restart.json"
- }
- },
- "x-ms-long-running-operation": true,
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/WorkspaceNameParameter"
- },
- {
- "$ref": "#/parameters/ComputeNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "202": {
- "description": "Success."
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections": {
- "get": {
- "tags": [
- "PrivateEndpointConnections"
- ],
- "operationId": "PrivateEndpointConnections_List",
- "description": "List all the private endpoint connections associated with the workspace.",
- "x-ms-examples": {
- "StorageAccountListPrivateEndpointConnections": {
- "$ref": "./examples/PrivateEndpointConnection/list.json"
- }
- },
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/WorkspaceNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- Successfully retrieved private endpoint connections.",
- "schema": {
- "$ref": "#/definitions/PrivateEndpointConnectionListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}": {
- "get": {
- "tags": [
- "WorkspacePrivateEndpointConnections"
- ],
- "operationId": "PrivateEndpointConnections_Get",
- "description": "Gets the specified private endpoint connection associated with the workspace.",
- "x-ms-examples": {
- "WorkspaceGetPrivateEndpointConnection": {
- "$ref": "./examples/PrivateEndpointConnection/get.json"
- }
- },
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/WorkspaceNameParameter"
- },
- {
- "$ref": "#/parameters/PrivateEndpointConnectionName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- Get the private endpoint connection properties successfully.",
- "schema": {
- "$ref": "#/definitions/PrivateEndpointConnection"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "put": {
- "tags": [
- "WorkspacePrivateEndpointConnections"
- ],
- "operationId": "PrivateEndpointConnections_CreateOrUpdate",
- "description": "Update the state of specified private endpoint connection associated with the workspace.",
- "x-ms-examples": {
- "WorkspacePutPrivateEndpointConnection": {
- "$ref": "./examples/PrivateEndpointConnection/createOrUpdate.json"
- }
- },
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/WorkspaceNameParameter"
- },
- {
- "$ref": "#/parameters/PrivateEndpointConnectionName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- },
- {
- "name": "properties",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/PrivateEndpointConnection"
- },
- "description": "The private endpoint connection properties."
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- Update the private endpoint connection properties successfully.",
- "schema": {
- "$ref": "#/definitions/PrivateEndpointConnection"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "delete": {
- "tags": [
- "WorkspacePrivateEndpointConnections"
- ],
- "operationId": "PrivateEndpointConnections_Delete",
- "description": "Deletes the specified private endpoint connection associated with the workspace.",
- "x-ms-examples": {
- "WorkspaceDeletePrivateEndpointConnection": {
- "$ref": "./examples/PrivateEndpointConnection/delete.json"
- }
- },
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/WorkspaceNameParameter"
- },
- {
- "$ref": "#/parameters/PrivateEndpointConnectionName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- Delete the private endpoint connection successfully."
- },
- "204": {
- "description": "No Content -- The private endpoint connection does not exist."
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateLinkResources": {
- "get": {
- "tags": [
- "WorkspacePrivateLinkResources"
- ],
- "operationId": "PrivateLinkResources_List",
- "description": "Gets the private link resources that need to be created for a workspace.",
- "x-ms-examples": {
- "WorkspaceListPrivateLinkResources": {
- "$ref": "./examples/PrivateLinkResource/list.json"
- }
- },
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/WorkspaceNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully retrieved private link resources.",
- "schema": {
- "$ref": "#/definitions/PrivateLinkResourceListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/prepareNotebook": {
- "post": {
- "tags": [
- "ProxyOperations"
- ],
- "operationId": "Workspaces_PrepareNotebook",
- "description": "Prepare a notebook.",
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "location"
- },
- "x-ms-examples": {
- "Prepare Notebook": {
- "$ref": "./examples/Notebook/prepare.json"
- }
- },
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/WorkspaceNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Success",
- "schema": {
- "$ref": "#/definitions/NotebookResourceInfo"
- }
- },
- "202": {
- "description": "Accepted",
- "headers": {
- "Location": {
- "description": "URI to poll for asynchronous operation result.",
- "type": "string"
- },
- "Retry-After": {
- "description": "Duration the client should wait between requests, in seconds.",
- "type": "integer",
- "format": "int32",
- "maximum": 600,
- "minimum": 10
- }
- }
- },
- "default": {
- "description": "Error response describing why the operation failed",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listStorageAccountKeys": {
- "post": {
- "tags": [
- "ProxyOperations"
- ],
- "operationId": "Workspaces_ListStorageAccountKeys",
- "description": "List storage account keys of a workspace.",
- "x-ms-examples": {
- "List Workspace Keys": {
- "$ref": "./examples/Workspace/listStorageAccountKeys.json"
- }
- },
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/WorkspaceNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; the request was well-formed and received properly.",
- "schema": {
- "$ref": "#/definitions/ListStorageAccountKeysResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookKeys": {
- "post": {
- "tags": [
- "ProxyOperations"
- ],
- "operationId": "Workspaces_ListNotebookKeys",
- "description": "List keys of a notebook.",
- "x-ms-examples": {
- "List Workspace Keys": {
- "$ref": "./examples/Notebook/listKeys.json"
- }
- },
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/WorkspaceNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; the request was well-formed and received properly.",
- "schema": {
- "$ref": "#/definitions/ListNotebookKeysResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}": {
- "put": {
- "tags": [
- "V2WorkspaceConnectionResource"
- ],
- "operationId": "WorkspaceConnections_Create",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter"
- },
- {
- "$ref": "#/parameters/ConnectionName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "description": "The object for creating or updating a new workspace connection",
- "required": true,
- "schema": {
- "$ref": "#/definitions/WorkspaceConnectionPropertiesV2BasicResource"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; the request was well-formed and received properly.",
- "schema": {
- "$ref": "#/definitions/WorkspaceConnectionPropertiesV2BasicResource"
- }
- },
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "CreateWorkspaceConnection": {
- "$ref": "./examples/WorkspaceConnection/create.json"
- }
- }
- },
- "get": {
- "tags": [
- "V2WorkspaceConnectionResource"
- ],
- "operationId": "WorkspaceConnections_Get",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter"
- },
- {
- "$ref": "#/parameters/ConnectionName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; the request was well-formed and received properly.",
- "schema": {
- "$ref": "#/definitions/WorkspaceConnectionPropertiesV2BasicResource"
- }
- },
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "GetWorkspaceConnection": {
- "$ref": "./examples/WorkspaceConnection/get.json"
- }
- }
- },
- "delete": {
- "tags": [
- "V2WorkspaceConnectionResource"
- ],
- "operationId": "WorkspaceConnections_Delete",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter"
- },
- {
- "$ref": "#/parameters/ConnectionName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
- "200": {
- "description": "Success"
- },
- "204": {
- "description": "Success"
- }
- },
- "x-ms-examples": {
- "DeleteWorkspaceConnection": {
- "$ref": "./examples/WorkspaceConnection/delete.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections": {
- "get": {
- "tags": [
- "V2WorkspaceConnectionResource"
- ],
- "operationId": "WorkspaceConnections_List",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter"
- },
- {
- "$ref": "#/parameters/TargetParameter"
- },
- {
- "$ref": "#/parameters/CategoryParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; the request was well-formed and received properly.",
- "schema": {
- "$ref": "#/definitions/WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult"
- }
- },
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "ListWorkspaceConnections": {
- "$ref": "./examples/WorkspaceConnection/list.json"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/listsecrets": {
- "post": {
- "tags": [
- "V2WorkspaceConnectionResource"
- ],
- "summary": "List all the secrets of a machine learning workspaces connections.",
- "operationId": "WorkspaceConnections_ListSecrets",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/WorkspaceNameParameter"
- },
- {
- "$ref": "#/parameters/ConnectionName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; the request was well-formed and received properly.",
- "schema": {
- "$ref": "#/definitions/WorkspaceConnectionPropertiesV2BasicResource"
- }
- },
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "GetWorkspaceConnection": {
- "$ref": "./examples/WorkspaceConnection/listSecrets.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/outboundNetworkDependenciesEndpoints": {
- "get": {
- "tags": [
- "OutboundNetworkDependenciesEndpoints"
- ],
- "summary": "Called by Client (Portal, CLI, etc) to get a list of all external outbound dependencies (FQDNs) programmatically.",
- "operationId": "Workspaces_ListOutboundNetworkDependenciesEndpoints",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/WorkspaceNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Success",
- "schema": {
- "$ref": "#/definitions/ExternalFQDNResponse"
- }
- },
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "ListOutboundNetworkDependenciesEndpoints": {
- "$ref": "./examples/ExternalFQDN/get.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/outboundRules": {
- "get": {
- "tags": [
- "ManagedNetwork"
- ],
- "summary": "Lists the managed network outbound rules for a machine learning workspace.",
- "operationId": "ManagedNetworkSettingsRule_List",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/WorkspaceNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; the request was well-formed and received properly.",
- "schema": {
- "$ref": "#/definitions/OutboundRuleListResult"
- }
- },
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "List ManagedNetworkSettingsRule": {
- "$ref": "./examples/ManagedNetwork/listRule.json"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/outboundRules/{ruleName}": {
- "delete": {
- "tags": [
- "ManagedNetwork"
- ],
- "operationId": "ManagedNetworkSettingsRule_Delete",
- "summary": "Deletes an outbound rule from the managed network of a machine learning workspace.",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/WorkspaceNameParameter"
- },
- {
- "$ref": "#/parameters/RuleName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "202": {
- "description": "Accepted",
- "headers": {
- "Location": {
- "description": "URI to poll for asynchronous operation result.",
- "type": "string"
- }
- }
- },
- "204": {
- "description": "No Content"
- },
- "200": {
- "description": "The request was successful; the request was well-formed and received properly."
- },
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Delete ManagedNetworkSettingsRule": {
- "$ref": "./examples/ManagedNetwork/deleteRule.json"
- }
- },
- "x-ms-long-running-operation": true
- },
- "get": {
- "tags": [
- "ManagedNetwork"
- ],
- "operationId": "ManagedNetworkSettingsRule_Get",
- "summary": "Gets an outbound rule from the managed network of a machine learning workspace.",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/WorkspaceNameParameter"
- },
- {
- "$ref": "#/parameters/RuleName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; the request was well-formed and received properly.",
- "schema": {
- "$ref": "#/definitions/OutboundRuleBasicResource"
- }
- },
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get ManagedNetworkSettingsRule": {
- "$ref": "./examples/ManagedNetwork/getRule.json"
- }
- }
- },
- "put": {
- "tags": [
- "ManagedNetwork"
- ],
- "operationId": "ManagedNetworkSettingsRule_CreateOrUpdate",
- "summary": "Creates or updates an outbound rule in the managed network of a machine learning workspace.",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/WorkspaceNameParameter"
- },
- {
- "$ref": "#/parameters/RuleName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- },
- {
- "in": "body",
- "name": "body",
- "required": true,
- "description": "Outbound Rule to be created or updated in the managed network of a machine learning workspace.",
- "schema": {
- "$ref": "#/definitions/OutboundRuleBasicResource"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; the request was well-formed and received properly.",
- "schema": {
- "$ref": "#/definitions/OutboundRuleBasicResource"
- }
- },
- "202": {
- "description": "Accepted",
- "headers": {
- "Location": {
- "description": "URI to poll for asynchronous operation result.",
- "type": "string"
- },
- "Retry-After": {
- "description": "Duration the client should wait between requests, in seconds.",
- "type": "integer",
- "format": "int32",
- "maximum": 600,
- "minimum": 10
- }
- }
- },
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "CreateOrUpdate ManagedNetworkSettingsRule": {
- "$ref": "./examples/ManagedNetwork/createOrUpdateRule.json"
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "location"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/provisionManagedNetwork": {
- "post": {
- "tags": [
- "ManagedNetwork"
- ],
- "operationId": "ManagedNetworkProvisions_ProvisionManagedNetwork",
- "summary": "Provisions the managed network of a machine learning workspace.",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/WorkspaceNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- },
- {
- "in": "body",
- "name": "body",
- "description": "Managed Network Provisioning Options for a machine learning workspace.",
- "schema": {
- "$ref": "#/definitions/ManagedNetworkProvisionOptions"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; the request was well-formed and received properly.",
- "schema": {
- "$ref": "#/definitions/ManagedNetworkProvisionStatus"
- }
- },
- "202": {
- "description": "Accepted",
- "headers": {
- "Location": {
- "description": "URI to poll for asynchronous operation result.",
- "type": "string"
- },
- "Retry-After": {
- "description": "Duration the client should wait between requests, in seconds.",
- "type": "integer",
- "format": "int32",
- "maximum": 600,
- "minimum": 10
- }
- }
- },
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Provision ManagedNetwork": {
- "$ref": "./examples/ManagedNetwork/provision.json"
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "location"
- }
- }
- }
- },
- "parameters": {
- "WorkspaceNameParameter": {
- "name": "workspaceName",
- "description": "Name of Azure Machine Learning workspace.",
- "in": "path",
- "type": "string",
- "required": true,
- "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$",
- "x-ms-parameter-location": "method"
- },
- "ComputeNameParameter": {
- "name": "computeName",
- "description": "Name of the Azure Machine Learning compute.",
- "in": "path",
- "type": "string",
- "required": true,
- "x-ms-parameter-location": "method"
- },
- "AsyncOperationIdParameter": {
- "name": "asyncOperationId",
- "description": "Identifier of an asynchronous Azure Machine Learning compute operation.",
- "in": "path",
- "type": "string",
- "required": true,
- "x-ms-parameter-location": "method"
- },
- "LocationParameter": {
- "name": "location",
- "description": "The name of the Azure location/region.",
- "in": "path",
- "type": "string",
- "required": true,
- "x-ms-parameter-location": "method"
- },
- "PaginationParameter": {
- "in": "query",
- "name": "$skip",
- "type": "string",
- "description": "Continuation token for pagination.",
- "required": false,
- "x-ms-parameter-location": "method"
- },
- "ComputeDefinitionParameter": {
- "in": "body",
- "name": "parameters",
- "description": "Payload with Machine Learning compute definition.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ComputeResource"
- },
- "x-ms-parameter-location": "method"
- },
- "ComputeTypeParameter": {
- "in": "query",
- "name": "compute-type",
- "type": "string",
- "description": "Type of compute to filter by.",
- "required": false,
- "x-ms-parameter-location": "method"
- },
- "UnderlyingResourceActionParameter": {
- "in": "query",
- "name": "underlyingResourceAction",
- "type": "string",
- "description": "Delete the underlying compute if 'Delete', or detach the underlying compute from workspace if 'Detach'.",
- "required": true,
- "enum": [
- "Delete",
- "Detach"
- ],
- "x-ms-enum": {
- "name": "UnderlyingResourceAction",
- "modelAsString": true
- },
- "x-ms-parameter-location": "method"
- },
- "PrivateEndpointConnectionName": {
- "name": "privateEndpointConnectionName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the private endpoint connection associated with the workspace",
- "x-ms-parameter-location": "method"
- },
- "ConnectionName": {
- "name": "connectionName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Friendly name of the workspace connection",
- "x-ms-parameter-location": "method",
- "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$"
- },
- "TargetParameter": {
- "in": "query",
- "name": "target",
- "type": "string",
- "description": "Target of the workspace connection.",
- "required": false,
- "x-ms-parameter-location": "method"
- },
- "CategoryParameter": {
- "in": "query",
- "name": "category",
- "type": "string",
- "description": "Category of the workspace connection.",
- "required": false,
- "x-ms-parameter-location": "method"
- },
- "RuleName": {
- "in": "path",
- "name": "ruleName",
- "description": "Name of the workspace managed network outbound rule",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method",
- "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$"
- },
- "WorkspaceForceToPurgeParameter": {
- "in": "query",
- "name": "forceToPurge",
- "description": "Flag to indicate delete is a purge request.",
- "type": "boolean",
- "default": false,
- "x-ms-parameter-location": "method"
- }
- },
- "definitions": {
- "Workspace": {
- "type": "object",
- "description": "An object that represents a machine learning workspace.",
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource"
- }
- ],
- "properties": {
- "properties": {
- "$ref": "#/definitions/WorkspaceProperties",
- "description": "The properties of the machine learning workspace.",
- "x-ms-client-flatten": true
- },
- "identity": {
- "$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/ManagedServiceIdentity",
- "description": "The identity of the resource."
- },
- "kind": {
- "type": "string"
- },
- "location": {
- "description": "Specifies the location of the resource.",
- "type": "string"
- },
- "tags": {
- "description": "Contains resource tags defined as key/value pairs.",
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
- },
- "sku": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku",
- "description": "The sku of the workspace."
- }
- }
- },
- "WorkspaceProperties": {
- "type": "object",
- "description": "The properties of a machine learning workspace.",
- "properties": {
- "workspaceId": {
- "description": "The immutable id associated with this workspace.",
- "type": "string",
- "readOnly": true
- },
- "description": {
- "description": "The description of this workspace.",
- "type": "string"
- },
- "friendlyName": {
- "description": "The friendly name for this workspace. This name in mutable",
- "type": "string"
- },
- "keyVault": {
- "description": "ARM id of the key vault associated with this workspace. This cannot be changed once the workspace has been created",
- "type": "string"
- },
- "applicationInsights": {
- "description": "ARM id of the application insights associated with this workspace.",
- "type": "string"
- },
- "containerRegistry": {
- "description": "ARM id of the container registry associated with this workspace.",
- "type": "string",
- "x-nullable": true
- },
- "storageAccount": {
- "description": "ARM id of the storage account associated with this workspace. This cannot be changed once the workspace has been created",
- "type": "string"
- },
- "discoveryUrl": {
- "description": "Url for the discovery service to identify regional endpoints for machine learning experimentation services",
- "type": "string"
- },
- "provisioningState": {
- "type": "string",
- "enum": [
- "Unknown",
- "Updating",
- "Creating",
- "Deleting",
- "Succeeded",
- "Failed",
- "Canceled"
- ],
- "x-ms-enum": {
- "name": "ProvisioningState",
- "modelAsString": true
- },
- "readOnly": true,
- "description": "The current deployment state of workspace resource. The provisioningState is to indicate states for resource provisioning."
- },
- "encryption": {
- "$ref": "#/definitions/EncryptionProperty",
- "description": "The encryption settings of Azure ML workspace."
- },
- "hbiWorkspace": {
- "type": "boolean",
- "description": "The flag to signal HBI data in the workspace and reduce diagnostic data collected by the service",
- "default": false
- },
- "serviceProvisionedResourceGroup": {
- "type": "string",
- "description": "The name of the managed resource group created by workspace RP in customer subscription if the workspace is CMK workspace",
- "readOnly": true
- },
- "privateLinkCount": {
- "type": "integer",
- "format": "int32",
- "description": "Count of private connections in the workspace",
- "readOnly": true
- },
- "imageBuildCompute": {
- "description": "The compute name for image build",
- "type": "string"
- },
- "allowPublicAccessWhenBehindVnet": {
- "type": "boolean",
- "description": "The flag to indicate whether to allow public access when behind VNet.",
- "default": false
- },
- "publicNetworkAccess": {
- "type": "string",
- "description": "Whether requests from Public Network are allowed.",
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "x-ms-enum": {
- "modelAsString": true,
- "name": "PublicNetworkAccess"
- }
- },
- "privateEndpointConnections": {
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/PrivateEndpointConnection"
- },
- "x-ms-identifiers": [
- "name"
- ],
- "description": "The list of private endpoint connections in the workspace."
- },
- "serverlessComputeSettings": {
- "description": "Settings for serverless compute created in the workspace",
- "$ref": "#/definitions/ServerlessComputeSettings"
- },
- "sharedPrivateLinkResources": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SharedPrivateLinkResource"
- },
- "x-ms-identifiers": [
- "name"
- ],
- "description": "The list of shared private link resources in this workspace."
- },
- "notebookInfo": {
- "readOnly": true,
- "$ref": "#/definitions/NotebookResourceInfo",
- "description": "The notebook info of Azure ML workspace."
- },
- "serviceManagedResourcesSettings": {
- "$ref": "#/definitions/ServiceManagedResourcesSettings",
- "description": "The service managed resource settings."
- },
- "primaryUserAssignedIdentity": {
- "description": "The user assigned identity resource id that represents the workspace identity.",
- "type": "string"
- },
- "tenantId": {
- "description": "The tenant id associated with this workspace.",
- "type": "string",
- "readOnly": true
- },
- "storageHnsEnabled": {
- "description": "If the storage associated with the workspace has hierarchical namespace(HNS) enabled.",
- "type": "boolean",
- "readOnly": true
- },
- "mlFlowTrackingUri": {
- "description": "The URI associated with this workspace that machine learning flow must point at to set up tracking.",
- "type": "string",
- "readOnly": true
- },
- "v1LegacyMode": {
- "description": "Enabling v1_legacy_mode may prevent you from using features provided by the v2 API.",
- "default": false,
- "type": "boolean"
- },
- "managedNetwork": {
- "$ref": "#/definitions/ManagedNetworkSettings"
- },
- "featureStoreSettings": {
- "description": "Settings for feature store type workspace.",
- "$ref": "#/definitions/FeatureStoreSettings"
- },
- "associatedWorkspaces": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "enableDataIsolation": {
- "type": "boolean"
- },
- "hubResourceId": {
- "type": "string"
- },
- "workspaceHubConfig": {
- "description": "WorkspaceHub's configuration object.",
- "$ref": "#/definitions/WorkspaceHubConfig"
- }
- }
- },
- "WorkspaceUpdateParameters": {
- "type": "object",
- "description": "The parameters for updating a machine learning workspace.",
- "properties": {
- "tags": {
- "description": "The resource tags for the machine learning workspace.",
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
- },
- "sku": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku",
- "description": "The sku of the workspace."
- },
- "identity": {
- "$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/ManagedServiceIdentity",
- "description": "The identity of the resource."
- },
- "properties": {
- "$ref": "#/definitions/WorkspacePropertiesUpdateParameters",
- "description": "The properties that the machine learning workspace will be updated with.",
- "x-ms-client-flatten": true
- }
- }
- },
- "WorkspacePropertiesUpdateParameters": {
- "type": "object",
- "description": "The parameters for updating the properties of a machine learning workspace.",
- "properties": {
- "description": {
- "description": "The description of this workspace.",
- "type": "string"
- },
- "friendlyName": {
- "description": "The friendly name for this workspace.",
- "type": "string"
- },
- "imageBuildCompute": {
- "description": "The compute name for image build",
- "type": "string"
- },
- "serviceManagedResourcesSettings": {
- "$ref": "#/definitions/ServiceManagedResourcesSettings",
- "description": "The service managed resource settings."
- },
- "primaryUserAssignedIdentity": {
- "description": "The user assigned identity resource id that represents the workspace identity.",
- "type": "string"
- },
- "serverlessComputeSettings": {
- "description": "Settings for serverless compute created in the workspace",
- "$ref": "#/definitions/ServerlessComputeSettings"
- },
- "publicNetworkAccess": {
- "type": "string",
- "description": "Whether requests from Public Network are allowed.",
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "x-ms-enum": {
- "modelAsString": true,
- "name": "PublicNetworkAccess"
- }
- },
- "applicationInsights": {
- "description": "ARM id of the application insights associated with this workspace.",
- "type": "string"
- },
- "containerRegistry": {
- "description": "ARM id of the container registry associated with this workspace.",
- "type": "string"
- },
- "featureStoreSettings": {
- "description": "Settings for feature store type workspace.",
- "$ref": "#/definitions/FeatureStoreSettings"
- },
- "managedNetwork": {
- "$ref": "#/definitions/ManagedNetworkSettings"
- },
- "enableDataIsolation": {
- "type": "boolean"
- },
- "v1LegacyMode": {
- "description": "Enabling v1_legacy_mode may prevent you from using features provided by the v2 API.",
- "type": "boolean"
- },
- "encryption": {
- "$ref": "#/definitions/EncryptionUpdateProperties"
- }
- }
- },
- "UsageName": {
- "type": "object",
- "properties": {
- "value": {
- "readOnly": true,
- "type": "string",
- "description": "The name of the resource."
- },
- "localizedValue": {
- "readOnly": true,
- "type": "string",
- "description": "The localized name of the resource."
- }
- },
- "description": "The Usage Names."
- },
- "Usage": {
- "type": "object",
- "properties": {
- "id": {
- "readOnly": true,
- "type": "string",
- "description": "Specifies the resource ID."
- },
- "amlWorkspaceLocation": {
- "readOnly": true,
- "type": "string",
- "description": "Region of the AML workspace in the id."
- },
- "type": {
- "readOnly": true,
- "type": "string",
- "description": "Specifies the resource type."
- },
- "unit": {
- "readOnly": true,
- "type": "string",
- "description": "An enum describing the unit of usage measurement.",
- "enum": [
- "Count"
- ],
- "x-ms-enum": {
- "name": "UsageUnit",
- "modelAsString": true
- }
- },
- "currentValue": {
- "readOnly": true,
- "type": "integer",
- "format": "int64",
- "description": "The current usage of the resource."
- },
- "limit": {
- "readOnly": true,
- "type": "integer",
- "format": "int64",
- "description": "The maximum permitted usage of the resource."
- },
- "name": {
- "readOnly": true,
- "$ref": "#/definitions/UsageName",
- "description": "The name of the type of usage."
- }
- },
- "description": "Describes AML Resource Usage."
- },
- "ListUsagesResult": {
- "type": "object",
- "properties": {
- "value": {
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/Usage"
- },
- "description": "The list of AML resource usages."
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page of AML resource usage information. Call ListNext() with this to fetch the next page of AML resource usage information."
- }
- },
- "description": "The List Usages operation response."
- },
- "VirtualMachineSize": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "title": "Virtual Machine size name",
- "description": "The name of the virtual machine size.",
- "readOnly": true
- },
- "family": {
- "type": "string",
- "title": "Virtual Machine family name",
- "description": "The family name of the virtual machine size.",
- "readOnly": true
- },
- "vCPUs": {
- "type": "integer",
- "format": "int32",
- "title": "Number of vPUs",
- "description": "The number of vCPUs supported by the virtual machine size.",
- "readOnly": true
- },
- "gpus": {
- "type": "integer",
- "format": "int32",
- "title": "Number of gPUs",
- "description": "The number of gPUs supported by the virtual machine size.",
- "readOnly": true
- },
- "osVhdSizeMB": {
- "type": "integer",
- "format": "int32",
- "title": "OS VHD Disk size",
- "description": "The OS VHD disk size, in MB, allowed by the virtual machine size.",
- "readOnly": true
- },
- "maxResourceVolumeMB": {
- "type": "integer",
- "format": "int32",
- "title": "Resource volume size",
- "description": "The resource volume size, in MB, allowed by the virtual machine size.",
- "readOnly": true
- },
- "memoryGB": {
- "type": "number",
- "format": "double",
- "title": "Memory size",
- "description": "The amount of memory, in GB, supported by the virtual machine size.",
- "readOnly": true
- },
- "lowPriorityCapable": {
- "type": "boolean",
- "title": "Low priority capable",
- "description": "Specifies if the virtual machine size supports low priority VMs.",
- "readOnly": true
- },
- "premiumIO": {
- "type": "boolean",
- "title": "Premium IO supported",
- "description": "Specifies if the virtual machine size supports premium IO.",
- "readOnly": true
- },
- "estimatedVMPrices": {
- "title": "Estimated VM prices",
- "description": "The estimated price information for using a VM.",
- "$ref": "#/definitions/EstimatedVMPrices"
- },
- "supportedComputeTypes": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "title": "Supported Compute Types",
- "description": "Specifies the compute types supported by the virtual machine size."
- }
- },
- "description": "Describes the properties of a VM size."
- },
- "EstimatedVMPrices": {
- "type": "object",
- "properties": {
- "billingCurrency": {
- "type": "string",
- "title": "Billing currency",
- "description": "Three lettered code specifying the currency of the VM price. Example: USD",
- "enum": [
- "USD"
- ],
- "x-ms-enum": {
- "name": "BillingCurrency",
- "modelAsString": true
- }
- },
- "unitOfMeasure": {
- "type": "string",
- "title": "Unit of time measure",
- "description": "The unit of time measurement for the specified VM price. Example: OneHour",
- "enum": [
- "OneHour"
- ],
- "x-ms-enum": {
- "name": "UnitOfMeasure",
- "modelAsString": true
- }
- },
- "values": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/EstimatedVMPrice"
- },
- "x-ms-identifiers": [],
- "title": "List of estimated VM prices.",
- "description": "The list of estimated prices for using a VM of a particular OS type, tier, etc."
- }
- },
- "required": [
- "billingCurrency",
- "unitOfMeasure",
- "values"
- ],
- "description": "The estimated price info for using a VM."
- },
- "EstimatedVMPrice": {
- "type": "object",
- "properties": {
- "retailPrice": {
- "type": "number",
- "format": "double",
- "title": "Retail price",
- "description": "The price charged for using the VM."
- },
- "osType": {
- "type": "string",
- "title": "OS type",
- "description": "Operating system type used by the VM.",
- "enum": [
- "Linux",
- "Windows"
- ],
- "x-ms-enum": {
- "name": "VMPriceOSType",
- "modelAsString": true
- }
- },
- "vmTier": {
- "type": "string",
- "title": "VM tier",
- "description": "The type of the VM.",
- "enum": [
- "Standard",
- "LowPriority",
- "Spot"
- ],
- "x-ms-enum": {
- "name": "VMTier",
- "modelAsString": true
- }
- }
- },
- "required": [
- "retailPrice",
- "osType",
- "vmTier"
- ],
- "description": "The estimated price info for using a VM of a particular OS type, tier, etc."
- },
- "VirtualMachineSizeListResult": {
- "type": "object",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VirtualMachineSize"
- },
- "x-ms-identifiers": [
- "name"
- ],
- "description": "The list of virtual machine sizes supported by AmlCompute."
- }
- },
- "description": "The List Virtual Machine size operation response."
- },
- "WorkspaceListResult": {
- "type": "object",
- "description": "The result of a request to list machine learning workspaces.",
- "properties": {
- "value": {
- "description": "The list of machine learning workspaces. Since this list may be incomplete, the nextLink field should be used to request the next list of machine learning workspaces.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/Workspace"
- }
- },
- "nextLink": {
- "description": "The URI that can be used to request the next list of machine learning workspaces.",
- "type": "string"
- }
- }
- },
- "QuotaBaseProperties": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "Specifies the resource ID."
- },
- "type": {
- "type": "string",
- "description": "Specifies the resource type."
- },
- "limit": {
- "type": "integer",
- "format": "int64",
- "title": "Limit.",
- "description": "The maximum permitted quota of the resource."
- },
- "unit": {
- "type": "string",
- "description": "An enum describing the unit of quota measurement.",
- "enum": [
- "Count"
- ],
- "x-ms-enum": {
- "name": "QuotaUnit",
- "modelAsString": true
- }
- }
- },
- "description": "The properties for Quota update or retrieval."
- },
- "QuotaUpdateParameters": {
- "type": "object",
- "properties": {
- "value": {
- "description": "The list for update quota.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/QuotaBaseProperties"
- }
- },
- "location": {
- "description": "Region of workspace quota to be updated.",
- "type": "string"
- }
- },
- "description": "Quota update parameters."
- },
- "DiagnoseRequestProperties": {
- "type": "object",
- "properties": {
- "udr": {
- "description": "Setting for diagnosing user defined routing",
- "type": "object",
- "additionalProperties": {
- "type": "object"
- }
- },
- "nsg": {
- "description": "Setting for diagnosing network security group",
- "type": "object",
- "additionalProperties": {
- "type": "object"
- }
- },
- "resourceLock": {
- "description": "Setting for diagnosing resource lock",
- "type": "object",
- "additionalProperties": {
- "type": "object"
- }
- },
- "dnsResolution": {
- "description": "Setting for diagnosing dns resolution",
- "type": "object",
- "additionalProperties": {
- "type": "object"
- }
- },
- "storageAccount": {
- "description": "Setting for diagnosing dependent storage account",
- "type": "object",
- "additionalProperties": {
- "type": "object"
- }
- },
- "keyVault": {
- "description": "Setting for diagnosing dependent key vault",
- "type": "object",
- "additionalProperties": {
- "type": "object"
- }
- },
- "containerRegistry": {
- "description": "Setting for diagnosing dependent container registry",
- "type": "object",
- "additionalProperties": {
- "type": "object"
- }
- },
- "applicationInsights": {
- "description": "Setting for diagnosing dependent application insights",
- "type": "object",
- "additionalProperties": {
- "type": "object"
- }
- },
- "others": {
- "description": "Setting for diagnosing unclassified category of problems",
- "type": "object",
- "additionalProperties": {
- "type": "object"
- }
- }
- }
- },
- "DiagnoseWorkspaceParameters": {
- "type": "object",
- "description": "Parameters to diagnose a workspace",
- "properties": {
- "value": {
- "description": "Value of Parameters",
- "$ref": "#/definitions/DiagnoseRequestProperties"
- }
- }
- },
- "DiagnoseResult": {
- "type": "object",
- "description": "Result of Diagnose",
- "properties": {
- "code": {
- "description": "Code for workspace setup error",
- "type": "string",
- "readOnly": true
- },
- "level": {
- "description": "Level of workspace setup error",
- "enum": [
- "Warning",
- "Error",
- "Information"
- ],
- "type": "string",
- "readOnly": true,
- "x-ms-enum": {
- "name": "DiagnoseResultLevel",
- "modelAsString": true
- }
- },
- "message": {
- "description": "Message of workspace setup error",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "DiagnoseResponseResult": {
- "type": "object",
- "properties": {
- "value": {
- "type": "object",
- "properties": {
- "userDefinedRouteResults": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/DiagnoseResult"
- },
- "x-ms-identifiers": [
- "message"
- ]
- },
- "networkSecurityRuleResults": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/DiagnoseResult"
- },
- "x-ms-identifiers": [
- "message"
- ]
- },
- "resourceLockResults": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/DiagnoseResult"
- },
- "x-ms-identifiers": [
- "message"
- ]
- },
- "dnsResolutionResults": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/DiagnoseResult"
- },
- "x-ms-identifiers": [
- "message"
- ]
- },
- "storageAccountResults": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/DiagnoseResult"
- },
- "x-ms-identifiers": [
- "message"
- ]
- },
- "keyVaultResults": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/DiagnoseResult"
- },
- "x-ms-identifiers": [
- "message"
- ]
- },
- "containerRegistryResults": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/DiagnoseResult"
- },
- "x-ms-identifiers": [
- "message"
- ]
- },
- "applicationInsightsResults": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/DiagnoseResult"
- },
- "x-ms-identifiers": [
- "message"
- ]
- },
- "otherResults": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/DiagnoseResult"
- },
- "x-ms-identifiers": [
- "message"
- ]
- }
- }
- }
- }
- },
- "UpdateWorkspaceQuotasResult": {
- "type": "object",
- "properties": {
- "value": {
- "description": "The list of workspace quota update result.",
- "items": {
- "$ref": "#/definitions/UpdateWorkspaceQuotas"
- },
- "readOnly": true,
- "type": "array"
- },
- "nextLink": {
- "description": "The URI to fetch the next page of workspace quota update result. Call ListNext() with this to fetch the next page of Workspace Quota update result.",
- "readOnly": true,
- "type": "string"
- }
- },
- "description": "The result of update workspace quota."
- },
- "UpdateWorkspaceQuotas": {
- "type": "object",
- "properties": {
- "id": {
- "readOnly": true,
- "type": "string",
- "description": "Specifies the resource ID."
- },
- "type": {
- "readOnly": true,
- "type": "string",
- "description": "Specifies the resource type."
- },
- "limit": {
- "type": "integer",
- "format": "int64",
- "title": "Limit.",
- "description": "The maximum permitted quota of the resource."
- },
- "unit": {
- "readOnly": true,
- "type": "string",
- "description": "An enum describing the unit of quota measurement.",
- "enum": [
- "Count"
- ],
- "x-ms-enum": {
- "name": "QuotaUnit",
- "modelAsString": true
- }
- },
- "status": {
- "type": "string",
- "readOnly": false,
- "title": "Update Workspace Quota Status.",
- "description": "Status of update workspace quota.",
- "enum": [
- "Undefined",
- "Success",
- "Failure",
- "InvalidQuotaBelowClusterMinimum",
- "InvalidQuotaExceedsSubscriptionLimit",
- "InvalidVMFamilyName",
- "OperationNotSupportedForSku",
- "OperationNotEnabledForRegion"
- ],
- "x-ms-enum": {
- "name": "status",
- "modelAsString": true
- }
- }
- },
- "description": "The properties for update Quota response."
- },
- "ResourceName": {
- "type": "object",
- "properties": {
- "value": {
- "readOnly": true,
- "type": "string",
- "description": "The name of the resource."
- },
- "localizedValue": {
- "readOnly": true,
- "type": "string",
- "description": "The localized name of the resource."
- }
- },
- "description": "The Resource Name."
- },
- "ResourceQuota": {
- "type": "object",
- "properties": {
- "id": {
- "readOnly": true,
- "type": "string",
- "description": "Specifies the resource ID."
- },
- "amlWorkspaceLocation": {
- "readOnly": true,
- "type": "string",
- "description": "Region of the AML workspace in the id."
- },
- "type": {
- "readOnly": true,
- "type": "string",
- "description": "Specifies the resource type."
- },
- "name": {
- "$ref": "#/definitions/ResourceName",
- "description": "Name of the resource.",
- "readOnly": true
- },
- "limit": {
- "readOnly": true,
- "type": "integer",
- "format": "int64",
- "title": "Limit.",
- "description": "The maximum permitted quota of the resource."
- },
- "unit": {
- "readOnly": true,
- "type": "string",
- "description": "An enum describing the unit of quota measurement.",
- "enum": [
- "Count"
- ],
- "x-ms-enum": {
- "name": "QuotaUnit",
- "modelAsString": true
- }
- }
- },
- "description": "The quota assigned to a resource."
- },
- "ListWorkspaceQuotas": {
- "type": "object",
- "properties": {
- "value": {
- "description": "The list of Workspace Quotas by VM Family",
- "items": {
- "$ref": "#/definitions/ResourceQuota"
- },
- "readOnly": true,
- "type": "array"
- },
- "nextLink": {
- "description": "The URI to fetch the next page of workspace quota information by VM Family. Call ListNext() with this to fetch the next page of Workspace Quota information.",
- "readOnly": true,
- "type": "string"
- }
- },
- "description": "The List WorkspaceQuotasByVMFamily operation response."
- },
- "ResourceId": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The ID of the resource"
- }
- },
- "required": [
- "id"
- ],
- "description": "Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet.",
- "x-ms-azure-resource": true
- },
- "ListWorkspaceKeysResult": {
- "type": "object",
- "properties": {
- "userStorageKey": {
- "readOnly": true,
- "type": "string",
- "x-ms-secret": true
- },
- "userStorageResourceId": {
- "readOnly": true,
- "type": "string"
- },
- "appInsightsInstrumentationKey": {
- "readOnly": true,
- "type": "string",
- "x-ms-secret": true
- },
- "containerRegistryCredentials": {
- "readOnly": true,
- "$ref": "#/definitions/RegistryListCredentialsResult"
- },
- "notebookAccessKeys": {
- "readOnly": true,
- "$ref": "#/definitions/ListNotebookKeysResult"
- }
- }
- },
- "NotebookAccessTokenResult": {
- "type": "object",
- "properties": {
- "notebookResourceId": {
- "readOnly": true,
- "type": "string"
- },
- "hostName": {
- "readOnly": true,
- "type": "string"
- },
- "publicDns": {
- "readOnly": true,
- "type": "string"
- },
- "accessToken": {
- "readOnly": true,
- "type": "string",
- "x-ms-secret": true
- },
- "tokenType": {
- "readOnly": true,
- "type": "string"
- },
- "expiresIn": {
- "readOnly": true,
- "type": "integer",
- "format": "int32"
- },
- "refreshToken": {
- "readOnly": true,
- "type": "string",
- "x-ms-secret": true
- },
- "scope": {
- "readOnly": true,
- "type": "string"
- }
- }
- },
- "RegistryListCredentialsResult": {
- "type": "object",
- "properties": {
- "location": {
- "readOnly": true,
- "type": "string"
- },
- "username": {
- "readOnly": true,
- "type": "string"
- },
- "passwords": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Password"
- },
- "x-ms-identifiers": [
- "name"
- ]
- }
- }
- },
- "Password": {
- "type": "object",
- "properties": {
- "name": {
- "readOnly": true,
- "type": "string"
- },
- "value": {
- "readOnly": true,
- "type": "string"
- }
- }
- },
- "PaginatedComputeResourcesList": {
- "type": "object",
- "description": "Paginated list of Machine Learning compute objects wrapped in ARM resource envelope.",
- "properties": {
- "value": {
- "type": "array",
- "description": "An array of Machine Learning compute objects wrapped in ARM resource envelope.",
- "items": {
- "$ref": "#/definitions/ComputeResource"
- }
- },
- "nextLink": {
- "type": "string",
- "description": "A continuation link (absolute URI) to the next page of results in the list."
- }
- }
- },
- "ComputeResource": {
- "type": "object",
- "description": "Machine Learning compute object wrapped into ARM resource envelope.",
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource"
- },
- {
- "$ref": "#/definitions/ComputeResourceSchema"
- }
- ],
- "properties": {
- "identity": {
- "$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/ManagedServiceIdentity",
- "description": "The identity of the resource."
- },
- "location": {
- "description": "Specifies the location of the resource.",
- "type": "string"
- },
- "tags": {
- "description": "Contains resource tags defined as key/value pairs.",
- "type": "object",
- "x-nullable": true,
- "additionalProperties": {
- "type": "string"
- }
- },
- "sku": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku",
- "description": "The sku of the workspace.",
- "x-nullable": true
- }
- }
- },
- "ComputeResourceSchema": {
- "type": "object",
- "properties": {
- "properties": {
- "description": "Compute properties",
- "$ref": "#/definitions/Compute"
- }
- }
- },
- "Compute": {
- "type": "object",
- "description": "Machine Learning compute object.",
- "discriminator": "computeType",
- "properties": {
- "computeType": {
- "description": "The type of compute",
- "$ref": "#/definitions/ComputeType"
- },
- "computeLocation": {
- "description": "Location for the underlying compute",
- "type": "string",
- "x-ms-mutability": [
- "read",
- "create"
- ]
- },
- "provisioningState": {
- "type": "string",
- "description": "The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed.",
- "enum": [
- "Unknown",
- "Updating",
- "Creating",
- "Deleting",
- "Succeeded",
- "Failed",
- "Canceled"
- ],
- "x-ms-enum": {
- "name": "ProvisioningState",
- "modelAsString": true
- },
- "readOnly": true
- },
- "description": {
- "type": "string",
- "description": "The description of the Machine Learning compute.",
- "x-nullable": true
- },
- "createdOn": {
- "type": "string",
- "readOnly": true,
- "format": "date-time",
- "description": "The time at which the compute was created."
- },
- "modifiedOn": {
- "type": "string",
- "readOnly": true,
- "format": "date-time",
- "description": "The time at which the compute was last modified."
- },
- "resourceId": {
- "type": "string",
- "description": "ARM resource id of the underlying compute",
- "x-nullable": true
- },
- "provisioningErrors": {
- "type": "array",
- "description": "Errors during provisioning",
- "items": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- },
- "x-ms-identifiers": [
- "/error/code"
- ],
- "readOnly": true,
- "x-nullable": true
- },
- "isAttachedCompute": {
- "type": "boolean",
- "description": "Indicating whether the compute was provisioned by user and brought from outside if true, or machine learning service provisioned it if false.",
- "readOnly": true
- },
- "disableLocalAuth": {
- "type": "boolean",
- "description": "Opt-out of local authentication and ensure customers can use only MSI and AAD exclusively for authentication.",
- "x-ms-mutability": [
- "read",
- "create"
- ]
- }
- },
- "required": [
- "computeType"
- ]
- },
- "AKS": {
- "description": "A Machine Learning compute based on AKS.",
- "allOf": [
- {
- "$ref": "#/definitions/Compute"
- },
- {
- "$ref": "#/definitions/AKSSchema"
- }
- ],
- "x-ms-discriminator-value": "AKS"
- },
- "AKSSchema": {
- "type": "object",
- "properties": {
- "properties": {
- "type": "object",
- "description": "AKS properties",
- "properties": {
- "clusterFqdn": {
- "description": "Cluster full qualified domain name",
- "type": "string",
- "x-nullable": true
- },
- "systemServices": {
- "type": "array",
- "description": "System services",
- "items": {
- "$ref": "#/definitions/SystemService"
- },
- "x-ms-identifiers": [
- "publicIpAddress"
- ],
- "readOnly": true,
- "x-nullable": true
- },
- "agentCount": {
- "description": "Number of agents",
- "type": "integer",
- "format": "int32",
- "minimum": 0,
- "x-nullable": true
- },
- "agentVmSize": {
- "description": "Agent virtual machine size",
- "type": "string",
- "x-nullable": true
- },
- "clusterPurpose": {
- "description": "Intended usage of the cluster",
- "type": "string",
- "default": "FastProd",
- "enum": [
- "FastProd",
- "DenseProd",
- "DevTest"
- ],
- "x-ms-enum": {
- "name": "ClusterPurpose",
- "modelAsString": true
- }
- },
- "sslConfiguration": {
- "description": "SSL configuration",
- "$ref": "#/definitions/SslConfiguration",
- "x-nullable": true
- },
- "aksNetworkingConfiguration": {
- "description": "AKS networking configuration for vnet",
- "$ref": "#/definitions/AksNetworkingConfiguration",
- "x-nullable": true
- },
- "loadBalancerType": {
- "description": "Load Balancer Type",
- "type": "string",
- "default": "PublicIp",
- "enum": [
- "PublicIp",
- "InternalLoadBalancer"
- ],
- "x-ms-enum": {
- "name": "LoadBalancerType",
- "modelAsString": true
- }
- },
- "loadBalancerSubnet": {
- "description": "Load Balancer Subnet",
- "type": "string",
- "x-nullable": true
- }
- }
- }
- }
- },
- "Kubernetes": {
- "description": "A Machine Learning compute based on Kubernetes Compute.",
- "allOf": [
- {
- "$ref": "#/definitions/Compute"
- },
- {
- "$ref": "#/definitions/KubernetesSchema"
- }
- ],
- "x-ms-discriminator-value": "Kubernetes"
- },
- "KubernetesSchema": {
- "type": "object",
- "description": "Kubernetes Compute Schema",
- "properties": {
- "properties": {
- "description": "Properties of Kubernetes",
- "$ref": "#/definitions/KubernetesProperties"
- }
- }
- },
- "KubernetesProperties": {
- "type": "object",
- "description": "Kubernetes properties",
- "properties": {
- "relayConnectionString": {
- "description": "Relay connection string.",
- "type": "string",
- "x-ms-secret": true,
- "x-nullable": true
- },
- "serviceBusConnectionString": {
- "description": "ServiceBus connection string.",
- "type": "string",
- "x-ms-secret": true,
- "x-nullable": true
- },
- "extensionPrincipalId": {
- "description": "Extension principal-id.",
- "type": "string",
- "x-nullable": true
- },
- "extensionInstanceReleaseTrain": {
- "description": "Extension instance release train.",
- "type": "string"
- },
- "vcName": {
- "description": "VC name.",
- "type": "string"
- },
- "namespace": {
- "description": "Compute namespace",
- "type": "string",
- "default": "default"
- },
- "defaultInstanceType": {
- "description": "Default instance type",
- "type": "string"
- },
- "instanceTypes": {
- "description": "Instance Type Schema",
- "type": "object",
- "additionalProperties": {
- "$ref": "#/definitions/InstanceTypeSchema"
- }
- }
- }
- },
- "AmlComputeProperties": {
- "type": "object",
- "description": "AML Compute properties",
- "properties": {
- "osType": {
- "description": "Compute OS Type",
- "type": "string",
- "default": "Linux",
- "enum": [
- "Linux",
- "Windows"
- ],
- "x-ms-enum": {
- "name": "OsType",
- "modelAsString": true
- }
- },
- "vmSize": {
- "description": "Virtual Machine Size",
- "type": "string"
- },
- "vmPriority": {
- "description": "Virtual Machine priority",
- "type": "string",
- "enum": [
- "Dedicated",
- "LowPriority"
- ],
- "x-ms-enum": {
- "name": "VmPriority",
- "modelAsString": true
- }
- },
- "virtualMachineImage": {
- "description": "Virtual Machine image for AML Compute - windows only",
- "$ref": "#/definitions/VirtualMachineImage",
- "x-nullable": true
- },
- "isolatedNetwork": {
- "description": "Network is isolated or not",
- "type": "boolean"
- },
- "scaleSettings": {
- "description": "Scale settings for AML Compute",
- "$ref": "#/definitions/ScaleSettings"
- },
- "userAccountCredentials": {
- "title": "User account credentials.",
- "description": "Credentials for an administrator user account that will be created on each compute node.",
- "$ref": "#/definitions/UserAccountCredentials",
- "x-nullable": true
- },
- "subnet": {
- "title": "Subnet.",
- "description": "Virtual network subnet resource ID the compute nodes belong to.",
- "$ref": "#/definitions/ResourceId",
- "x-nullable": true
- },
- "remoteLoginPortPublicAccess": {
- "type": "string",
- "default": "NotSpecified",
- "title": "Close remote Login Access Port",
- "description": "State of the public SSH port. Possible values are: Disabled - Indicates that the public ssh port is closed on all nodes of the cluster. Enabled - Indicates that the public ssh port is open on all nodes of the cluster. NotSpecified - Indicates that the public ssh port is closed on all nodes of the cluster if VNet is defined, else is open all public nodes. It can be default only during cluster creation time, after creation it will be either enabled or disabled.",
- "enum": [
- "Enabled",
- "Disabled",
- "NotSpecified"
- ],
- "x-ms-enum": {
- "name": "remoteLoginPortPublicAccess",
- "modelAsString": true
- }
- },
- "allocationState": {
- "type": "string",
- "readOnly": true,
- "title": "Allocation state.",
- "description": "Allocation state of the compute. Possible values are: steady - Indicates that the compute is not resizing. There are no changes to the number of compute nodes in the compute in progress. A compute enters this state when it is created and when no operations are being performed on the compute to change the number of compute nodes. resizing - Indicates that the compute is resizing; that is, compute nodes are being added to or removed from the compute.",
- "enum": [
- "Steady",
- "Resizing"
- ],
- "x-ms-enum": {
- "name": "AllocationState",
- "modelAsString": true
- }
- },
- "allocationStateTransitionTime": {
- "type": "string",
- "readOnly": true,
- "format": "date-time",
- "title": "Allocation state transition time.",
- "description": "The time at which the compute entered its current allocation state."
- },
- "errors": {
- "readOnly": true,
- "title": "Errors.",
- "description": "Collection of errors encountered by various compute nodes during node setup.",
- "type": "array",
- "x-nullable": true,
- "items": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- },
- "x-ms-identifiers": [
- "/error/code"
- ]
- },
- "currentNodeCount": {
- "type": "integer",
- "readOnly": true,
- "format": "int32",
- "title": "Current node count.",
- "description": "The number of compute nodes currently assigned to the compute.",
- "x-nullable": true
- },
- "targetNodeCount": {
- "type": "integer",
- "readOnly": true,
- "format": "int32",
- "title": "Target node count.",
- "description": "The target number of compute nodes for the compute. If the allocationState is resizing, this property denotes the target node count for the ongoing resize operation. If the allocationState is steady, this property denotes the target node count for the previous resize operation.",
- "x-nullable": true
- },
- "nodeStateCounts": {
- "title": "Node state counts.",
- "description": "Counts of various node states on the compute.",
- "readOnly": true,
- "$ref": "#/definitions/NodeStateCounts",
- "x-nullable": true
- },
- "enableNodePublicIp": {
- "type": "boolean",
- "default": true,
- "title": "Enable node public IP.",
- "description": "Enable or disable node public IP address provisioning. Possible values are: Possible values are: true - Indicates that the compute nodes will have public IPs provisioned. false - Indicates that the compute nodes will have a private endpoint and no public IPs.",
- "x-nullable": true
- },
- "propertyBag": {
- "type": "object",
- "description": "A property bag containing additional properties.",
- "x-nullable": true
- }
- }
- },
- "AmlCompute": {
- "description": "An Azure Machine Learning compute.",
- "allOf": [
- {
- "$ref": "#/definitions/Compute"
- },
- {
- "$ref": "#/definitions/AmlComputeSchema"
- }
- ],
- "x-ms-discriminator-value": "AmlCompute"
- },
- "AmlComputeSchema": {
- "type": "object",
- "description": "Properties(top level) of AmlCompute",
- "properties": {
- "properties": {
- "description": "Properties of AmlCompute",
- "$ref": "#/definitions/AmlComputeProperties"
- }
- }
- },
- "ComputeInstanceProperties": {
- "description": "Compute Instance properties",
- "type": "object",
- "properties": {
- "vmSize": {
- "description": "Virtual Machine Size",
- "type": "string"
- },
- "subnet": {
- "title": "Subnet.",
- "description": "Virtual network subnet resource ID the compute nodes belong to.",
- "$ref": "#/definitions/ResourceId",
- "x-nullable": true
- },
- "applicationSharingPolicy": {
- "type": "string",
- "default": "Shared",
- "title": "Sharing policy for applications on this compute instance",
- "description": "Policy for sharing applications on this compute instance among users of parent workspace. If Personal, only the creator can access applications on this compute instance. When Shared, any workspace user can access applications on this instance depending on his/her assigned role.",
- "enum": [
- "Personal",
- "Shared"
- ],
- "x-ms-enum": {
- "name": "applicationSharingPolicy",
- "modelAsString": true
- }
- },
- "sshSettings": {
- "description": "Specifies policy and settings for SSH access.",
- "$ref": "#/definitions/ComputeInstanceSshSettings",
- "x-nullable": true
- },
- "customServices": {
- "type": "array",
- "description": "List of Custom Services added to the compute.",
- "x-nullable": true,
- "items": {
- "$ref": "#/definitions/CustomService"
- },
- "x-ms-identifiers": [
- "name"
- ]
- },
- "osImageMetadata": {
- "readOnly": true,
- "description": "Returns metadata about the operating system image for this compute instance.",
- "$ref": "#/definitions/ImageMetadata"
- },
- "connectivityEndpoints": {
- "readOnly": true,
- "description": "Describes all connectivity endpoints available for this ComputeInstance.",
- "$ref": "#/definitions/ComputeInstanceConnectivityEndpoints"
- },
- "applications": {
- "type": "array",
- "readOnly": true,
- "description": "Describes available applications and their endpoints on this ComputeInstance.",
- "items": {
- "$ref": "#/definitions/ComputeInstanceApplication"
- },
- "x-ms-identifiers": [
- "displayName"
- ]
- },
- "createdBy": {
- "readOnly": true,
- "description": "Describes information on user who created this ComputeInstance.",
- "$ref": "#/definitions/ComputeInstanceCreatedBy"
- },
- "errors": {
- "readOnly": true,
- "title": "Errors.",
- "description": "Collection of errors encountered on this ComputeInstance.",
- "type": "array",
- "items": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- },
- "x-ms-identifiers": [
- "/error/code"
- ]
- },
- "state": {
- "description": "The current state of this ComputeInstance.",
- "$ref": "#/definitions/ComputeInstanceState",
- "readOnly": true
- },
- "computeInstanceAuthorizationType": {
- "type": "string",
- "title": "Compute Instance Authorization type.",
- "description": "The Compute Instance Authorization type. Available values are personal (default).",
- "default": "personal",
- "x-nullable": true,
- "enum": [
- "personal"
- ],
- "x-ms-enum": {
- "name": "ComputeInstanceAuthorizationType",
- "modelAsString": true
- }
- },
- "personalComputeInstanceSettings": {
- "title": "Personal Compute Instance settings.",
- "description": "Settings for a personal compute instance.",
- "$ref": "#/definitions/PersonalComputeInstanceSettings",
- "x-nullable": true
- },
- "setupScripts": {
- "description": "Details of customized scripts to execute for setting up the cluster.",
- "$ref": "#/definitions/SetupScripts",
- "x-nullable": true
- },
- "lastOperation": {
- "description": "The last operation on ComputeInstance.",
- "$ref": "#/definitions/ComputeInstanceLastOperation",
- "readOnly": true,
- "x-nullable": true
- },
- "schedules": {
- "description": "The list of schedules to be applied on the computes.",
- "$ref": "#/definitions/ComputeSchedules",
- "x-nullable": true
- },
- "enableNodePublicIp": {
- "type": "boolean",
- "title": "Enable node public IP.",
- "description": "Enable or disable node public IP address provisioning. Possible values are: Possible values are: true - Indicates that the compute nodes will have public IPs provisioned. false - Indicates that the compute nodes will have a private endpoint and no public IPs."
- },
- "containers": {
- "type": "array",
- "readOnly": true,
- "description": "Describes informations of containers on this ComputeInstance.",
- "x-nullable": true,
- "items": {
- "$ref": "#/definitions/ComputeInstanceContainer"
- },
- "x-ms-identifiers": [
- "name"
- ]
- },
- "dataDisks": {
- "type": "array",
- "readOnly": true,
- "description": "Describes informations of dataDisks on this ComputeInstance.",
- "x-nullable": true,
- "items": {
- "$ref": "#/definitions/ComputeInstanceDataDisk"
- },
- "x-ms-identifiers": []
- },
- "dataMounts": {
- "type": "array",
- "readOnly": true,
- "description": "Describes informations of dataMounts on this ComputeInstance.",
- "x-nullable": true,
- "items": {
- "$ref": "#/definitions/ComputeInstanceDataMount"
- },
- "x-ms-identifiers": []
- },
- "versions": {
- "description": "ComputeInstance version.",
- "$ref": "#/definitions/ComputeInstanceVersion",
- "readOnly": true
- }
- }
- },
- "ComputeInstance": {
- "description": "An Azure Machine Learning compute instance.",
- "allOf": [
- {
- "$ref": "#/definitions/Compute"
- },
- {
- "$ref": "#/definitions/ComputeInstanceSchema"
- }
- ],
- "x-ms-discriminator-value": "ComputeInstance"
- },
- "ComputeInstanceSchema": {
- "type": "object",
- "description": "Properties(top level) of ComputeInstance",
- "properties": {
- "properties": {
- "description": "Properties of ComputeInstance",
- "$ref": "#/definitions/ComputeInstanceProperties"
- }
- }
- },
- "VirtualMachine": {
- "description": "A Machine Learning compute based on Azure Virtual Machines.",
- "allOf": [
- {
- "$ref": "#/definitions/Compute"
- },
- {
- "$ref": "#/definitions/VirtualMachineSchema"
- }
- ],
- "x-ms-discriminator-value": "VirtualMachine"
- },
- "VirtualMachineSchema": {
- "type": "object",
- "properties": {
- "properties": {
- "type": "object",
- "properties": {
- "virtualMachineSize": {
- "description": "Virtual Machine size",
- "type": "string"
- },
- "sshPort": {
- "description": "Port open for ssh connections.",
- "type": "integer",
- "format": "int32"
- },
- "notebookServerPort": {
- "description": "Notebook server port open for ssh connections.",
- "type": "integer",
- "format": "int32"
- },
- "address": {
- "description": "Public IP address of the virtual machine.",
- "type": "string"
- },
- "administratorAccount": {
- "description": "Admin credentials for virtual machine",
- "$ref": "#/definitions/VirtualMachineSshCredentials"
- },
- "isNotebookInstanceCompute": {
- "description": "Indicates whether this compute will be used for running notebooks.",
- "type": "boolean"
- }
- }
- }
- }
- },
- "HDInsightProperties": {
- "type": "object",
- "description": "HDInsight compute properties",
- "properties": {
- "sshPort": {
- "description": "Port open for ssh connections on the master node of the cluster.",
- "type": "integer",
- "format": "int32"
- },
- "address": {
- "description": "Public IP address of the master node of the cluster.",
- "type": "string"
- },
- "administratorAccount": {
- "description": "Admin credentials for master node of the cluster",
- "$ref": "#/definitions/VirtualMachineSshCredentials",
- "x-nullable": true
- }
}
+ }
+ },
+ "parameters": {
+ "WorkspaceNameParameter": {
+ "name": "workspaceName",
+ "description": "Name of Azure Machine Learning workspace.",
+ "in": "path",
+ "type": "string",
+ "required": true,
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$",
+ "x-ms-parameter-location": "method"
},
- "HDInsight": {
- "description": "A HDInsight compute.",
- "allOf": [
- {
- "$ref": "#/definitions/Compute"
- },
- {
- "$ref": "#/definitions/HDInsightSchema"
- }
- ],
- "x-ms-discriminator-value": "HDInsight"
+ "ComputeNameParameter": {
+ "name": "computeName",
+ "description": "Name of the Azure Machine Learning compute.",
+ "in": "path",
+ "type": "string",
+ "required": true,
+ "x-ms-parameter-location": "method"
},
- "HDInsightSchema": {
- "type": "object",
- "properties": {
- "properties": {
- "$ref": "#/definitions/HDInsightProperties"
- }
- }
+ "AsyncOperationIdParameter": {
+ "name": "asyncOperationId",
+ "description": "Identifier of an asynchronous Azure Machine Learning compute operation.",
+ "in": "path",
+ "type": "string",
+ "required": true,
+ "x-ms-parameter-location": "method"
},
- "DataFactory": {
- "description": "A DataFactory compute.",
- "allOf": [
- {
- "$ref": "#/definitions/Compute"
- }
- ],
- "x-ms-discriminator-value": "DataFactory"
+ "LocationParameter": {
+ "name": "location",
+ "description": "The name of the Azure location/region.",
+ "in": "path",
+ "type": "string",
+ "required": true,
+ "x-ms-parameter-location": "method"
},
- "DatabricksProperties": {
- "type": "object",
- "description": "Properties of Databricks",
- "properties": {
- "databricksAccessToken": {
- "description": "Databricks access token",
- "type": "string"
- },
- "workspaceUrl": {
- "description": "Workspace Url",
- "type": "string"
- }
- }
+ "PaginationParameter": {
+ "in": "query",
+ "name": "$skip",
+ "type": "string",
+ "description": "Continuation token for pagination.",
+ "required": false,
+ "x-ms-parameter-location": "method"
},
- "Databricks": {
- "description": "A DataFactory compute.",
- "allOf": [
- {
- "$ref": "#/definitions/Compute"
- },
- {
- "$ref": "#/definitions/DatabricksSchema"
- }
- ],
- "x-ms-discriminator-value": "Databricks"
+ "ComputeDefinitionParameter": {
+ "in": "body",
+ "name": "parameters",
+ "description": "Payload with Machine Learning compute definition.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ComputeResource"
+ },
+ "x-ms-parameter-location": "method"
},
- "DatabricksSchema": {
- "type": "object",
- "properties": {
- "properties": {
- "$ref": "#/definitions/DatabricksProperties"
- }
- }
+ "ComputeTypeParameter": {
+ "in": "query",
+ "name": "compute-type",
+ "type": "string",
+ "description": "Type of compute to filter by.",
+ "required": false,
+ "x-ms-parameter-location": "method"
},
- "DataLakeAnalytics": {
- "description": "A DataLakeAnalytics compute.",
- "allOf": [
- {
- "$ref": "#/definitions/Compute"
- },
- {
- "$ref": "#/definitions/DataLakeAnalyticsSchema"
- }
+ "UnderlyingResourceActionParameter": {
+ "in": "query",
+ "name": "underlyingResourceAction",
+ "type": "string",
+ "description": "Delete the underlying compute if 'Delete', or detach the underlying compute from workspace if 'Detach'.",
+ "required": true,
+ "enum": [
+ "Delete",
+ "Detach"
],
- "x-ms-discriminator-value": "DataLakeAnalytics"
- },
- "DataLakeAnalyticsSchema": {
+ "x-ms-enum": {
+ "name": "UnderlyingResourceAction",
+ "modelAsString": true
+ },
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "definitions": {
+ "UsageName": {
"type": "object",
"properties": {
- "properties": {
- "type": "object",
- "properties": {
- "dataLakeStoreAccountName": {
- "description": "DataLake Store Account Name",
- "type": "string"
- }
- }
+ "value": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The name of the resource."
+ },
+ "localizedValue": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The localized name of the resource."
}
- }
+ },
+ "description": "The Usage Names."
},
- "SynapseSpark": {
+ "Usage": {
"type": "object",
- "description": "A SynapseSpark compute.",
"properties": {
- "properties": {
- "type": "object",
- "properties": {
- "autoScaleProperties": {
- "description": "Auto scale properties.",
- "$ref": "#/definitions/AutoScaleProperties"
- },
- "autoPauseProperties": {
- "description": "Auto pause properties.",
- "$ref": "#/definitions/AutoPauseProperties"
- },
- "sparkVersion": {
- "description": "Spark version.",
- "type": "string"
- },
- "nodeCount": {
- "description": "The number of compute nodes currently assigned to the compute.",
- "type": "integer",
- "format": "int32"
- },
- "nodeSize": {
- "description": "Node size.",
- "type": "string"
- },
- "nodeSizeFamily": {
- "description": "Node size family.",
- "type": "string"
- },
- "subscriptionId": {
- "description": "Azure subscription identifier.",
- "type": "string"
- },
- "resourceGroup": {
- "description": "Name of the resource group in which workspace is located.",
- "type": "string"
- },
- "workspaceName": {
- "description": "Name of Azure Machine Learning workspace.",
- "type": "string"
- },
- "poolName": {
- "description": "Pool name.",
- "type": "string"
- }
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Specifies the resource ID."
+ },
+ "amlWorkspaceLocation": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Region of the AML workspace in the id."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Specifies the resource type."
+ },
+ "unit": {
+ "readOnly": true,
+ "type": "string",
+ "description": "An enum describing the unit of usage measurement.",
+ "enum": [
+ "Count"
+ ],
+ "x-ms-enum": {
+ "name": "UsageUnit",
+ "modelAsString": true
}
+ },
+ "currentValue": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int64",
+ "description": "The current usage of the resource."
+ },
+ "limit": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int64",
+ "description": "The maximum permitted usage of the resource."
+ },
+ "name": {
+ "readOnly": true,
+ "$ref": "#/definitions/UsageName",
+ "description": "The name of the type of usage."
}
},
- "allOf": [
- {
- "$ref": "#/definitions/Compute"
- }
- ],
- "x-ms-discriminator-value": "SynapseSpark"
+ "description": "Describes AML Resource Usage."
},
- "SystemService": {
+ "ListUsagesResult": {
"type": "object",
- "description": "A system service running on a compute.",
"properties": {
- "systemServiceType": {
- "description": "The type of this system service.",
+ "value": {
"readOnly": true,
- "type": "string"
- },
- "publicIpAddress": {
- "type": "string",
- "description": "Public IP address",
- "readOnly": true
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Usage"
+ },
+ "description": "The list of AML resource usages."
},
- "version": {
- "description": "The version for this type.",
+ "nextLink": {
"readOnly": true,
- "type": "string"
+ "type": "string",
+ "description": "The URI to fetch the next page of AML resource usage information. Call ListNext() with this to fetch the next page of AML resource usage information."
}
- }
+ },
+ "description": "The List Usages operation response."
},
- "SslConfiguration": {
+ "VirtualMachineSize": {
"type": "object",
- "description": "The ssl configuration for scoring",
"properties": {
- "status": {
- "description": "Enable or disable ssl for scoring",
+ "name": {
"type": "string",
- "enum": [
- "Disabled",
- "Enabled",
- "Auto"
- ],
- "x-ms-enum": {
- "name": "SslConfigStatus",
- "modelAsString": true
- }
+ "title": "Virtual Machine size name",
+ "description": "The name of the virtual machine size.",
+ "readOnly": true
},
- "cert": {
- "description": "Cert data",
+ "family": {
"type": "string",
- "x-ms-secret": true,
- "x-nullable": true
+ "title": "Virtual Machine family name",
+ "description": "The family name of the virtual machine size.",
+ "readOnly": true
},
- "key": {
- "description": "Key data",
- "type": "string",
- "x-ms-secret": true,
- "x-nullable": true
+ "vCPUs": {
+ "type": "integer",
+ "format": "int32",
+ "title": "Number of vPUs",
+ "description": "The number of vCPUs supported by the virtual machine size.",
+ "readOnly": true
},
- "cname": {
- "description": "CNAME of the cert",
- "type": "string",
- "x-nullable": true
+ "gpus": {
+ "type": "integer",
+ "format": "int32",
+ "title": "Number of gPUs",
+ "description": "The number of gPUs supported by the virtual machine size.",
+ "readOnly": true
},
- "leafDomainLabel": {
- "description": "Leaf domain label of public endpoint",
- "type": "string",
- "x-nullable": true
+ "osVhdSizeMB": {
+ "type": "integer",
+ "format": "int32",
+ "title": "OS VHD Disk size",
+ "description": "The OS VHD disk size, in MB, allowed by the virtual machine size.",
+ "readOnly": true
},
- "overwriteExistingDomain": {
- "description": "Indicates whether to overwrite existing domain label.",
- "type": "boolean"
- }
- }
- },
- "AksNetworkingConfiguration": {
- "type": "object",
- "description": "Advance configuration for AKS networking",
- "properties": {
- "subnetId": {
- "description": "Virtual network subnet resource ID the compute nodes belong to",
- "type": "string"
+ "maxResourceVolumeMB": {
+ "type": "integer",
+ "format": "int32",
+ "title": "Resource volume size",
+ "description": "The resource volume size, in MB, allowed by the virtual machine size.",
+ "readOnly": true
},
- "serviceCidr": {
- "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$",
- "description": "A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges.",
- "type": "string"
+ "memoryGB": {
+ "type": "number",
+ "format": "double",
+ "title": "Memory size",
+ "description": "The amount of memory, in GB, supported by the virtual machine size.",
+ "readOnly": true
},
- "dnsServiceIP": {
- "pattern": "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$",
- "description": "An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr.",
- "type": "string"
+ "lowPriorityCapable": {
+ "type": "boolean",
+ "title": "Low priority capable",
+ "description": "Specifies if the virtual machine size supports low priority VMs.",
+ "readOnly": true
},
- "dockerBridgeCidr": {
- "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$",
- "description": "A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range.",
- "type": "string"
+ "premiumIO": {
+ "type": "boolean",
+ "title": "Premium IO supported",
+ "description": "Specifies if the virtual machine size supports premium IO.",
+ "readOnly": true
+ },
+ "estimatedVMPrices": {
+ "title": "Estimated VM prices",
+ "description": "The estimated price information for using a VM.",
+ "$ref": "#/definitions/EstimatedVMPrices"
+ },
+ "supportedComputeTypes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "title": "Supported Compute Types",
+ "description": "Specifies the compute types supported by the virtual machine size."
}
- }
+ },
+ "description": "Describes the properties of a VM size."
},
- "UserAccountCredentials": {
+ "EstimatedVMPrices": {
"type": "object",
"properties": {
- "adminUserName": {
+ "billingCurrency": {
"type": "string",
- "title": "User name.",
- "description": "Name of the administrator user account which can be used to SSH to nodes."
+ "title": "Billing currency",
+ "description": "Three lettered code specifying the currency of the VM price. Example: USD",
+ "enum": [
+ "USD"
+ ],
+ "x-ms-enum": {
+ "name": "BillingCurrency",
+ "modelAsString": true
+ }
},
- "adminUserSshPublicKey": {
+ "unitOfMeasure": {
"type": "string",
- "x-ms-secret": true,
- "title": "SSH public key.",
- "description": "SSH public key of the administrator user account."
+ "title": "Unit of time measure",
+ "description": "The unit of time measurement for the specified VM price. Example: OneHour",
+ "enum": [
+ "OneHour"
+ ],
+ "x-ms-enum": {
+ "name": "UnitOfMeasure",
+ "modelAsString": true
+ }
},
- "adminUserPassword": {
- "type": "string",
- "x-ms-secret": true,
- "title": "Password.",
- "description": "Password of the administrator user account."
+ "values": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EstimatedVMPrice"
+ },
+ "x-ms-identifiers": [],
+ "title": "List of estimated VM prices.",
+ "description": "The list of estimated prices for using a VM of a particular OS type, tier, etc."
}
},
"required": [
- "adminUserName"
+ "billingCurrency",
+ "unitOfMeasure",
+ "values"
],
- "description": "Settings for user account that gets created on each on the nodes of a compute."
+ "description": "The estimated price info for using a VM."
},
- "ScaleSettings": {
+ "EstimatedVMPrice": {
"type": "object",
- "description": "scale settings for AML Compute",
"properties": {
- "maxNodeCount": {
- "description": "Max number of nodes to use",
- "type": "integer",
- "format": "int32"
+ "retailPrice": {
+ "type": "number",
+ "format": "double",
+ "title": "Retail price",
+ "description": "The price charged for using the VM."
},
- "minNodeCount": {
- "description": "Min number of nodes to use",
- "type": "integer",
- "format": "int32",
- "default": 0
+ "osType": {
+ "type": "string",
+ "title": "OS type",
+ "description": "Operating system type used by the VM.",
+ "enum": [
+ "Linux",
+ "Windows"
+ ],
+ "x-ms-enum": {
+ "name": "VMPriceOSType",
+ "modelAsString": true
+ }
},
- "nodeIdleTimeBeforeScaleDown": {
+ "vmTier": {
"type": "string",
- "format": "duration",
- "description": "Node Idle Time before scaling down amlCompute. This string needs to be in the RFC Format."
+ "title": "VM tier",
+ "description": "The type of the VM.",
+ "enum": [
+ "Standard",
+ "LowPriority",
+ "Spot"
+ ],
+ "x-ms-enum": {
+ "name": "VMTier",
+ "modelAsString": true
+ }
}
},
"required": [
- "maxNodeCount"
- ]
+ "retailPrice",
+ "osType",
+ "vmTier"
+ ],
+ "description": "The estimated price info for using a VM of a particular OS type, tier, etc."
},
- "VirtualMachineImage": {
+ "VirtualMachineSizeListResult": {
"type": "object",
- "description": "Virtual Machine image for Windows AML Compute",
"properties": {
- "id": {
- "description": "Virtual Machine image path",
- "type": "string"
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineSize"
+ },
+ "x-ms-identifiers": [
+ "name"
+ ],
+ "description": "The list of virtual machine sizes supported by AmlCompute."
}
},
- "required": [
- "id"
- ]
+ "description": "The List Virtual Machine size operation response."
},
- "NodeStateCounts": {
+ "QuotaBaseProperties": {
"type": "object",
"properties": {
- "idleNodeCount": {
- "readOnly": true,
- "type": "integer",
- "format": "int32",
- "title": "Idle node count.",
- "description": "Number of compute nodes in idle state."
- },
- "runningNodeCount": {
- "readOnly": true,
- "type": "integer",
- "format": "int32",
- "title": "Running node count.",
- "description": "Number of compute nodes which are running jobs."
- },
- "preparingNodeCount": {
- "readOnly": true,
- "type": "integer",
- "format": "int32",
- "title": "Preparing node count.",
- "description": "Number of compute nodes which are being prepared."
+ "id": {
+ "type": "string",
+ "description": "Specifies the resource ID."
},
- "unusableNodeCount": {
- "readOnly": true,
- "type": "integer",
- "format": "int32",
- "title": "Unusable node count.",
- "description": "Number of compute nodes which are in unusable state."
+ "type": {
+ "type": "string",
+ "description": "Specifies the resource type."
},
- "leavingNodeCount": {
- "readOnly": true,
+ "limit": {
"type": "integer",
- "format": "int32",
- "title": "Leaving node count.",
- "description": "Number of compute nodes which are leaving the amlCompute."
+ "format": "int64",
+ "title": "Limit.",
+ "description": "The maximum permitted quota of the resource."
},
- "preemptedNodeCount": {
- "readOnly": true,
- "type": "integer",
- "format": "int32",
- "title": "Preempted node count.",
- "description": "Number of compute nodes which are in preempted state."
+ "unit": {
+ "type": "string",
+ "description": "An enum describing the unit of quota measurement.",
+ "enum": [
+ "Count"
+ ],
+ "x-ms-enum": {
+ "name": "QuotaUnit",
+ "modelAsString": true
+ }
}
},
- "description": "Counts of various compute node states on the amlCompute."
+ "description": "The properties for Quota update or retrieval."
},
- "ScaleSettingsInformation": {
+ "QuotaUpdateParameters": {
"type": "object",
"properties": {
- "scaleSettings": {
- "$ref": "#/definitions/ScaleSettings",
- "title": "Scale settings."
+ "value": {
+ "description": "The list for update quota.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/QuotaBaseProperties"
+ }
+ },
+ "location": {
+ "description": "Region of workspace quota to be updated.",
+ "type": "string"
}
},
- "description": "Desired scale settings for the amlCompute."
+ "description": "Quota update parameters."
},
- "ClusterUpdateProperties": {
+ "UpdateWorkspaceQuotasResult": {
"type": "object",
"properties": {
- "properties": {
- "description": "Properties of ClusterUpdate",
- "$ref": "#/definitions/ScaleSettingsInformation"
+ "value": {
+ "description": "The list of workspace quota update result.",
+ "items": {
+ "$ref": "#/definitions/UpdateWorkspaceQuotas"
+ },
+ "readOnly": true,
+ "type": "array"
+ },
+ "nextLink": {
+ "description": "The URI to fetch the next page of workspace quota update result. Call ListNext() with this to fetch the next page of Workspace Quota update result.",
+ "readOnly": true,
+ "type": "string"
}
},
- "description": "The properties of a amlCompute that need to be updated."
+ "description": "The result of update workspace quota."
},
- "ClusterUpdateParameters": {
+ "UpdateWorkspaceQuotas": {
"type": "object",
"properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ClusterUpdateProperties",
- "description": "The properties of the amlCompute."
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Specifies the resource ID."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Specifies the resource type."
+ },
+ "limit": {
+ "type": "integer",
+ "format": "int64",
+ "title": "Limit.",
+ "description": "The maximum permitted quota of the resource."
+ },
+ "unit": {
+ "readOnly": true,
+ "type": "string",
+ "description": "An enum describing the unit of quota measurement.",
+ "enum": [
+ "Count"
+ ],
+ "x-ms-enum": {
+ "name": "QuotaUnit",
+ "modelAsString": true
+ }
+ },
+ "status": {
+ "type": "string",
+ "readOnly": false,
+ "title": "Update Workspace Quota Status.",
+ "description": "Status of update workspace quota.",
+ "enum": [
+ "Undefined",
+ "Success",
+ "Failure",
+ "InvalidQuotaBelowClusterMinimum",
+ "InvalidQuotaExceedsSubscriptionLimit",
+ "InvalidVMFamilyName",
+ "OperationNotSupportedForSku",
+ "OperationNotEnabledForRegion"
+ ],
+ "x-ms-enum": {
+ "name": "status",
+ "modelAsString": true
+ }
}
},
- "description": "AmlCompute update parameters."
+ "description": "The properties for update Quota response."
},
- "AmlComputeNodesInformation": {
+ "ResourceName": {
"type": "object",
- "description": "Result of AmlCompute Nodes",
"properties": {
- "nodes": {
+ "value": {
"readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/AmlComputeNodeInformation"
- },
- "x-ms-identifiers": [
- "nodeId"
- ],
- "description": "The collection of returned AmlCompute nodes details."
+ "type": "string",
+ "description": "The name of the resource."
},
- "nextLink": {
+ "localizedValue": {
"readOnly": true,
"type": "string",
- "description": "The continuation token."
+ "description": "The localized name of the resource."
}
- }
+ },
+ "description": "The Resource Name."
},
- "AmlComputeNodeInformation": {
+ "ResourceQuota": {
"type": "object",
- "description": "Compute node information related to a AmlCompute.",
"properties": {
- "nodeId": {
+ "id": {
"readOnly": true,
"type": "string",
- "title": "Node ID.",
- "description": "ID of the compute node."
+ "description": "Specifies the resource ID."
},
- "privateIpAddress": {
+ "amlWorkspaceLocation": {
"readOnly": true,
"type": "string",
- "title": "Private IP address.",
- "description": "Private IP address of the compute node.",
- "x-nullable": true
+ "description": "Region of the AML workspace in the id."
},
- "publicIpAddress": {
+ "type": {
"readOnly": true,
"type": "string",
- "title": "Public IP address.",
- "description": "Public IP address of the compute node.",
- "x-nullable": true
+ "description": "Specifies the resource type."
},
- "port": {
+ "name": {
+ "$ref": "#/definitions/ResourceName",
+ "description": "Name of the resource.",
+ "readOnly": true
+ },
+ "limit": {
"readOnly": true,
- "type": "number",
- "format": "int32",
- "title": "Port.",
- "description": "SSH port number of the node."
+ "type": "integer",
+ "format": "int64",
+ "title": "Limit.",
+ "description": "The maximum permitted quota of the resource."
},
- "nodeState": {
+ "unit": {
"readOnly": true,
"type": "string",
+ "description": "An enum describing the unit of quota measurement.",
"enum": [
- "idle",
- "running",
- "preparing",
- "unusable",
- "leaving",
- "preempted"
+ "Count"
],
- "description": "State of the compute node. Values are idle, running, preparing, unusable, leaving and preempted.",
"x-ms-enum": {
- "name": "nodeState",
+ "name": "QuotaUnit",
"modelAsString": true
}
+ }
+ },
+ "description": "The quota assigned to a resource."
+ },
+ "ListWorkspaceQuotas": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The list of Workspace Quotas by VM Family",
+ "items": {
+ "$ref": "#/definitions/ResourceQuota"
+ },
+ "readOnly": true,
+ "type": "array"
+ },
+ "nextLink": {
+ "description": "The URI to fetch the next page of workspace quota information by VM Family. Call ListNext() with this to fetch the next page of Workspace Quota information.",
+ "readOnly": true,
+ "type": "string"
+ }
+ },
+ "description": "The List WorkspaceQuotasByVMFamily operation response."
+ },
+ "ResourceId": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The ID of the resource"
+ }
+ },
+ "required": [
+ "id"
+ ],
+ "description": "Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet.",
+ "x-ms-azure-resource": true
+ },
+ "PaginatedComputeResourcesList": {
+ "type": "object",
+ "description": "Paginated list of Machine Learning compute objects wrapped in ARM resource envelope.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "An array of Machine Learning compute objects wrapped in ARM resource envelope.",
+ "items": {
+ "$ref": "#/definitions/ComputeResource"
+ }
},
- "runId": {
- "readOnly": true,
+ "nextLink": {
"type": "string",
- "title": "Run ID.",
- "description": "ID of the Experiment running on the node, if any else null.",
- "x-nullable": true
+ "description": "A continuation link (absolute URI) to the next page of results in the list."
}
}
},
- "VirtualMachineSshCredentials": {
+ "ComputeResource": {
"type": "object",
- "description": "Admin credentials for virtual machine",
+ "description": "Machine Learning compute object wrapped into ARM resource envelope.",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource"
+ },
+ {
+ "$ref": "#/definitions/ComputeResourceSchema"
+ }
+ ],
"properties": {
- "username": {
- "description": "Username of admin account",
- "type": "string"
+ "identity": {
+ "$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/ManagedServiceIdentity",
+ "description": "The identity of the resource."
},
- "password": {
- "description": "Password of admin account",
+ "location": {
+ "description": "Specifies the location of the resource.",
"type": "string"
},
- "publicKeyData": {
- "description": "Public key data",
- "type": "string",
- "x-ms-secret": true
+ "tags": {
+ "description": "Contains resource tags defined as key/value pairs.",
+ "type": "object",
+ "x-nullable": true,
+ "additionalProperties": {
+ "type": "string"
+ }
},
- "privateKeyData": {
- "description": "Private key data",
- "type": "string",
- "x-ms-secret": true
+ "sku": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku",
+ "description": "The sku of the workspace.",
+ "x-nullable": true
}
}
},
- "ComputeSecrets": {
+ "ComputeResourceSchema": {
"type": "object",
- "description": "Secrets related to a Machine Learning compute. Might differ for every type of compute.",
- "discriminator": "computeType",
"properties": {
- "computeType": {
- "description": "The type of compute",
- "$ref": "#/definitions/ComputeType"
+ "properties": {
+ "description": "Compute properties",
+ "$ref": "#/definitions/Compute"
}
- },
- "required": [
- "computeType"
- ]
+ }
},
- "AksComputeSecretsProperties": {
+ "Compute": {
"type": "object",
- "description": "Properties of AksComputeSecrets",
+ "description": "Machine Learning compute object.",
+ "discriminator": "computeType",
"properties": {
- "userKubeConfig": {
+ "computeType": {
+ "description": "The type of compute",
+ "$ref": "#/definitions/ComputeType"
+ },
+ "computeLocation": {
+ "description": "Location for the underlying compute",
"type": "string",
- "description": "Content of kubeconfig file that can be used to connect to the Kubernetes cluster."
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
},
- "adminKubeConfig": {
+ "provisioningState": {
"type": "string",
- "description": "Content of kubeconfig file that can be used to connect to the Kubernetes cluster."
+ "description": "The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed.",
+ "enum": [
+ "Unknown",
+ "Updating",
+ "Creating",
+ "Deleting",
+ "Succeeded",
+ "Failed",
+ "Canceled"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true
+ },
+ "readOnly": true
},
- "imagePullSecretName": {
+ "description": {
"type": "string",
- "description": "Image registry pull secret.",
+ "description": "The description of the Machine Learning compute.",
+ "x-nullable": true
+ },
+ "createdOn": {
+ "type": "string",
+ "readOnly": true,
+ "format": "date-time",
+ "description": "The time at which the compute was created."
+ },
+ "modifiedOn": {
+ "type": "string",
+ "readOnly": true,
+ "format": "date-time",
+ "description": "The time at which the compute was last modified."
+ },
+ "resourceId": {
+ "type": "string",
+ "description": "ARM resource id of the underlying compute",
+ "x-nullable": true
+ },
+ "provisioningErrors": {
+ "type": "array",
+ "description": "Errors during provisioning",
+ "items": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ },
+ "x-ms-identifiers": [
+ "/error/code"
+ ],
+ "readOnly": true,
"x-nullable": true
+ },
+ "isAttachedCompute": {
+ "type": "boolean",
+ "description": "Indicating whether the compute was provisioned by user and brought from outside if true, or machine learning service provisioned it if false.",
+ "readOnly": true
+ },
+ "disableLocalAuth": {
+ "type": "boolean",
+ "description": "Opt-out of local authentication and ensure customers can use only MSI and AAD exclusively for authentication.",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
}
- }
+ },
+ "required": [
+ "computeType"
+ ]
},
- "AksComputeSecrets": {
- "description": "Secrets related to a Machine Learning compute based on AKS.",
+ "AKS": {
+ "description": "A Machine Learning compute based on AKS.",
"allOf": [
{
- "$ref": "#/definitions/ComputeSecrets"
+ "$ref": "#/definitions/Compute"
},
{
- "$ref": "#/definitions/AksComputeSecretsProperties"
+ "$ref": "#/definitions/AKSSchema"
+ }
+ ],
+ "x-ms-discriminator-value": "AKS"
+ },
+ "AKSSchema": {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "type": "object",
+ "description": "AKS properties",
+ "properties": {
+ "clusterFqdn": {
+ "description": "Cluster full qualified domain name",
+ "type": "string",
+ "x-nullable": true
+ },
+ "systemServices": {
+ "type": "array",
+ "description": "System services",
+ "items": {
+ "$ref": "#/definitions/SystemService"
+ },
+ "x-ms-identifiers": [
+ "publicIpAddress"
+ ],
+ "readOnly": true,
+ "x-nullable": true
+ },
+ "agentCount": {
+ "description": "Number of agents",
+ "type": "integer",
+ "format": "int32",
+ "minimum": 0,
+ "x-nullable": true
+ },
+ "agentVmSize": {
+ "description": "Agent virtual machine size",
+ "type": "string",
+ "x-nullable": true
+ },
+ "clusterPurpose": {
+ "description": "Intended usage of the cluster",
+ "type": "string",
+ "default": "FastProd",
+ "enum": [
+ "FastProd",
+ "DenseProd",
+ "DevTest"
+ ],
+ "x-ms-enum": {
+ "name": "ClusterPurpose",
+ "modelAsString": true
+ }
+ },
+ "sslConfiguration": {
+ "description": "SSL configuration",
+ "$ref": "#/definitions/SslConfiguration",
+ "x-nullable": true
+ },
+ "aksNetworkingConfiguration": {
+ "description": "AKS networking configuration for vnet",
+ "$ref": "#/definitions/AksNetworkingConfiguration",
+ "x-nullable": true
+ },
+ "loadBalancerType": {
+ "description": "Load Balancer Type",
+ "type": "string",
+ "default": "PublicIp",
+ "enum": [
+ "PublicIp",
+ "InternalLoadBalancer"
+ ],
+ "x-ms-enum": {
+ "name": "LoadBalancerType",
+ "modelAsString": true
+ }
+ },
+ "loadBalancerSubnet": {
+ "description": "Load Balancer Subnet",
+ "type": "string",
+ "x-nullable": true
+ }
+ }
}
- ],
- "x-ms-discriminator-value": "AKS"
+ }
},
- "VirtualMachineSecrets": {
- "description": "Secrets related to a Machine Learning compute based on AKS.",
+ "Kubernetes": {
+ "description": "A Machine Learning compute based on Kubernetes Compute.",
"allOf": [
{
- "$ref": "#/definitions/ComputeSecrets"
+ "$ref": "#/definitions/Compute"
},
{
- "$ref": "#/definitions/VirtualMachineSecretsSchema"
+ "$ref": "#/definitions/KubernetesSchema"
}
],
- "x-ms-discriminator-value": "VirtualMachine"
+ "x-ms-discriminator-value": "Kubernetes"
},
- "VirtualMachineSecretsSchema": {
+ "KubernetesSchema": {
"type": "object",
+ "description": "Kubernetes Compute Schema",
"properties": {
- "administratorAccount": {
- "description": "Admin credentials for virtual machine.",
- "$ref": "#/definitions/VirtualMachineSshCredentials"
+ "properties": {
+ "description": "Properties of Kubernetes",
+ "$ref": "#/definitions/KubernetesProperties"
}
}
},
- "DatabricksComputeSecretsProperties": {
+ "KubernetesProperties": {
"type": "object",
- "description": "Properties of Databricks Compute Secrets",
+ "description": "Kubernetes properties",
"properties": {
- "databricksAccessToken": {
- "description": "access token for databricks account.",
+ "relayConnectionString": {
+ "description": "Relay connection string.",
+ "type": "string",
+ "x-ms-secret": true,
+ "x-nullable": true
+ },
+ "serviceBusConnectionString": {
+ "description": "ServiceBus connection string.",
+ "type": "string",
+ "x-ms-secret": true,
+ "x-nullable": true
+ },
+ "extensionPrincipalId": {
+ "description": "Extension principal-id.",
+ "type": "string",
+ "x-nullable": true
+ },
+ "extensionInstanceReleaseTrain": {
+ "description": "Extension instance release train.",
"type": "string"
- }
- }
- },
- "DatabricksComputeSecrets": {
- "description": "Secrets related to a Machine Learning compute based on Databricks.",
- "allOf": [
- {
- "$ref": "#/definitions/ComputeSecrets"
},
- {
- "$ref": "#/definitions/DatabricksComputeSecretsProperties"
- }
- ],
- "x-ms-discriminator-value": "Databricks"
- },
- "ComputeType": {
- "type": "string",
- "description": "The type of compute",
- "enum": [
- "AKS",
- "Kubernetes",
- "AmlCompute",
- "ComputeInstance",
- "DataFactory",
- "VirtualMachine",
- "HDInsight",
- "Databricks",
- "DataLakeAnalytics",
- "SynapseSpark"
- ],
- "x-ms-enum": {
- "name": "ComputeType",
- "modelAsString": true
- }
- },
- "PrivateEndpointConnectionListResult": {
- "type": "object",
- "properties": {
- "value": {
- "type": "array",
- "description": "Array of private endpoint connections",
- "items": {
- "$ref": "#/definitions/PrivateEndpointConnection"
- }
- }
- },
- "description": "List of private endpoint connection associated with the specified workspace"
- },
- "PrivateEndpointConnection": {
- "type": "object",
- "properties": {
- "properties": {
- "$ref": "#/definitions/PrivateEndpointConnectionProperties",
- "x-ms-client-flatten": true,
- "description": "Resource properties."
+ "vcName": {
+ "description": "VC name.",
+ "type": "string"
},
- "identity": {
- "$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/ManagedServiceIdentity",
- "description": "The identity of the resource."
+ "namespace": {
+ "description": "Compute namespace",
+ "type": "string",
+ "default": "default"
},
- "location": {
- "description": "Specifies the location of the resource.",
+ "defaultInstanceType": {
+ "description": "Default instance type",
"type": "string"
},
- "tags": {
- "description": "Contains resource tags defined as key/value pairs.",
+ "instanceTypes": {
+ "description": "Instance Type Schema",
"type": "object",
"additionalProperties": {
- "type": "string"
+ "$ref": "#/definitions/InstanceTypeSchema"
}
- },
- "sku": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku",
- "description": "The sku of the workspace."
- }
- },
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource"
}
- ],
- "description": "The Private Endpoint Connection resource."
+ }
},
- "PrivateEndpointConnectionProperties": {
+ "AmlComputeProperties": {
"type": "object",
+ "description": "AML Compute properties",
"properties": {
- "privateEndpoint": {
- "$ref": "#/definitions/PrivateEndpoint",
- "description": "The resource of private end point."
+ "osType": {
+ "description": "Compute OS Type",
+ "type": "string",
+ "default": "Linux",
+ "enum": [
+ "Linux",
+ "Windows"
+ ],
+ "x-ms-enum": {
+ "name": "OsType",
+ "modelAsString": true
+ }
},
- "privateLinkServiceConnectionState": {
- "$ref": "#/definitions/PrivateLinkServiceConnectionState",
- "description": "A collection of information about the state of the connection between service consumer and provider."
+ "vmSize": {
+ "description": "Virtual Machine Size",
+ "type": "string"
},
- "provisioningState": {
- "$ref": "#/definitions/PrivateEndpointConnectionProvisioningState",
- "description": "The provisioning state of the private endpoint connection resource."
- }
- },
- "required": [
- "privateLinkServiceConnectionState"
- ],
- "description": "Properties of the PrivateEndpointConnectProperties."
- },
- "PrivateEndpoint": {
- "type": "object",
- "properties": {
- "id": {
- "readOnly": true,
+ "vmPriority": {
+ "description": "Virtual Machine priority",
"type": "string",
- "description": "The ARM identifier for Private Endpoint"
- }
- },
- "description": "The Private Endpoint resource."
- },
- "PrivateLinkServiceConnectionState": {
- "type": "object",
- "properties": {
- "status": {
- "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus",
- "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service."
+ "enum": [
+ "Dedicated",
+ "LowPriority"
+ ],
+ "x-ms-enum": {
+ "name": "VmPriority",
+ "modelAsString": true
+ }
},
- "description": {
+ "virtualMachineImage": {
+ "description": "Virtual Machine image for AML Compute - windows only",
+ "$ref": "#/definitions/VirtualMachineImage",
+ "x-nullable": true
+ },
+ "isolatedNetwork": {
+ "description": "Network is isolated or not",
+ "type": "boolean"
+ },
+ "scaleSettings": {
+ "description": "Scale settings for AML Compute",
+ "$ref": "#/definitions/ScaleSettings"
+ },
+ "userAccountCredentials": {
+ "title": "User account credentials.",
+ "description": "Credentials for an administrator user account that will be created on each compute node.",
+ "$ref": "#/definitions/UserAccountCredentials",
+ "x-nullable": true
+ },
+ "subnet": {
+ "title": "Subnet.",
+ "description": "Virtual network subnet resource ID the compute nodes belong to.",
+ "$ref": "#/definitions/ResourceId",
+ "x-nullable": true
+ },
+ "remoteLoginPortPublicAccess": {
"type": "string",
- "description": "The reason for approval/rejection of the connection."
+ "default": "NotSpecified",
+ "title": "Close remote Login Access Port",
+ "description": "State of the public SSH port. Possible values are: Disabled - Indicates that the public ssh port is closed on all nodes of the cluster. Enabled - Indicates that the public ssh port is open on all nodes of the cluster. NotSpecified - Indicates that the public ssh port is closed on all nodes of the cluster if VNet is defined, else is open all public nodes. It can be default only during cluster creation time, after creation it will be either enabled or disabled.",
+ "enum": [
+ "Enabled",
+ "Disabled",
+ "NotSpecified"
+ ],
+ "x-ms-enum": {
+ "name": "remoteLoginPortPublicAccess",
+ "modelAsString": true
+ }
},
- "actionsRequired": {
+ "allocationState": {
"type": "string",
- "description": "A message indicating if changes on the service provider require any updates on the consumer."
- }
- },
- "description": "A collection of information about the state of the connection between service consumer and provider."
- },
- "PrivateEndpointServiceConnectionStatus": {
- "type": "string",
- "description": "The private endpoint connection status.",
- "enum": [
- "Pending",
- "Approved",
- "Rejected",
- "Disconnected",
- "Timeout"
- ],
- "x-ms-enum": {
- "name": "PrivateEndpointServiceConnectionStatus",
- "modelAsString": true
- }
- },
- "PrivateEndpointConnectionProvisioningState": {
- "type": "string",
- "readOnly": true,
- "description": "The current provisioning state.",
- "enum": [
- "Succeeded",
- "Creating",
- "Deleting",
- "Failed"
- ],
- "x-ms-enum": {
- "name": "PrivateEndpointConnectionProvisioningState",
- "modelAsString": true
- }
- },
- "PrivateLinkResourceListResult": {
- "type": "object",
- "properties": {
- "value": {
+ "readOnly": true,
+ "title": "Allocation state.",
+ "description": "Allocation state of the compute. Possible values are: steady - Indicates that the compute is not resizing. There are no changes to the number of compute nodes in the compute in progress. A compute enters this state when it is created and when no operations are being performed on the compute to change the number of compute nodes. resizing - Indicates that the compute is resizing; that is, compute nodes are being added to or removed from the compute.",
+ "enum": [
+ "Steady",
+ "Resizing"
+ ],
+ "x-ms-enum": {
+ "name": "AllocationState",
+ "modelAsString": true
+ }
+ },
+ "allocationStateTransitionTime": {
+ "type": "string",
+ "readOnly": true,
+ "format": "date-time",
+ "title": "Allocation state transition time.",
+ "description": "The time at which the compute entered its current allocation state."
+ },
+ "errors": {
+ "readOnly": true,
+ "title": "Errors.",
+ "description": "Collection of errors encountered by various compute nodes during node setup.",
"type": "array",
- "description": "Array of private link resources",
+ "x-nullable": true,
"items": {
- "$ref": "#/definitions/PrivateLinkResource"
- }
- }
- },
- "description": "A list of private link resources"
- },
- "PrivateLinkResource": {
- "type": "object",
- "properties": {
- "properties": {
- "$ref": "#/definitions/PrivateLinkResourceProperties",
- "description": "Resource properties.",
- "x-ms-client-flatten": true
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ },
+ "x-ms-identifiers": [
+ "/error/code"
+ ]
},
- "identity": {
- "$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/ManagedServiceIdentity",
- "description": "The identity of the resource."
+ "currentNodeCount": {
+ "type": "integer",
+ "readOnly": true,
+ "format": "int32",
+ "title": "Current node count.",
+ "description": "The number of compute nodes currently assigned to the compute.",
+ "x-nullable": true
},
- "location": {
- "description": "Specifies the location of the resource.",
- "type": "string"
+ "targetNodeCount": {
+ "type": "integer",
+ "readOnly": true,
+ "format": "int32",
+ "title": "Target node count.",
+ "description": "The target number of compute nodes for the compute. If the allocationState is resizing, this property denotes the target node count for the ongoing resize operation. If the allocationState is steady, this property denotes the target node count for the previous resize operation.",
+ "x-nullable": true
},
- "tags": {
- "description": "Contains resource tags defined as key/value pairs.",
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
+ "nodeStateCounts": {
+ "title": "Node state counts.",
+ "description": "Counts of various node states on the compute.",
+ "readOnly": true,
+ "$ref": "#/definitions/NodeStateCounts",
+ "x-nullable": true
},
- "sku": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku",
- "description": "The sku of the workspace."
+ "enableNodePublicIp": {
+ "type": "boolean",
+ "default": true,
+ "title": "Enable node public IP.",
+ "description": "Enable or disable node public IP address provisioning. Possible values are: Possible values are: true - Indicates that the compute nodes will have public IPs provisioned. false - Indicates that the compute nodes will have a private endpoint and no public IPs.",
+ "x-nullable": true
+ },
+ "propertyBag": {
+ "type": "object",
+ "description": "A property bag containing additional properties.",
+ "x-nullable": true
}
- },
+ }
+ },
+ "AmlCompute": {
+ "description": "An Azure Machine Learning compute.",
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource"
- }
- ],
- "description": "A private link resource"
- },
- "PrivateLinkResourceProperties": {
- "type": "object",
- "properties": {
- "groupId": {
- "description": "The private link resource group id.",
- "type": "string",
- "readOnly": true
- },
- "requiredMembers": {
- "description": "The private link resource required member names.",
- "type": "array",
- "items": {
- "type": "string"
- },
- "readOnly": true
+ "$ref": "#/definitions/Compute"
},
- "requiredZoneNames": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "The private link resource Private link DNS zone name."
+ {
+ "$ref": "#/definitions/AmlComputeSchema"
}
- },
- "description": "Properties of a private link resource."
+ ],
+ "x-ms-discriminator-value": "AmlCompute"
},
- "SharedPrivateLinkResource": {
+ "AmlComputeSchema": {
"type": "object",
+ "description": "Properties(top level) of AmlCompute",
"properties": {
- "name": {
- "description": "Unique name of the private link.",
- "type": "string"
- },
"properties": {
- "$ref": "#/definitions/SharedPrivateLinkResourceProperty",
- "x-ms-client-flatten": true,
- "description": "Resource properties."
+ "description": "Properties of AmlCompute",
+ "$ref": "#/definitions/AmlComputeProperties"
}
}
},
- "SharedPrivateLinkResourceProperty": {
+ "ComputeInstanceProperties": {
+ "description": "Compute Instance properties",
"type": "object",
"properties": {
- "privateLinkResourceId": {
- "description": "The resource id that private link links to.",
- "type": "string"
- },
- "groupId": {
- "description": "The private link resource group id.",
+ "vmSize": {
+ "description": "Virtual Machine Size",
"type": "string"
},
- "requestMessage": {
- "description": "Request message.",
- "type": "string"
+ "subnet": {
+ "title": "Subnet.",
+ "description": "Virtual network subnet resource ID the compute nodes belong to.",
+ "$ref": "#/definitions/ResourceId",
+ "x-nullable": true
},
- "status": {
- "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus",
- "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service."
- }
- },
- "description": "Properties of a shared private link resource."
- },
- "EncryptionProperty": {
- "properties": {
- "status": {
- "description": "Indicates whether or not the encryption is enabled for the workspace.",
+ "applicationSharingPolicy": {
+ "type": "string",
+ "default": "Shared",
+ "title": "Sharing policy for applications on this compute instance",
+ "description": "Policy for sharing applications on this compute instance among users of parent workspace. If Personal, only the creator can access applications on this compute instance. When Shared, any workspace user can access applications on this instance depending on his/her assigned role.",
"enum": [
- "Enabled",
- "Disabled"
+ "Personal",
+ "Shared"
],
- "type": "string",
"x-ms-enum": {
- "name": "EncryptionStatus",
+ "name": "applicationSharingPolicy",
"modelAsString": true
}
},
- "identity": {
- "$ref": "#/definitions/IdentityForCmk",
- "description": "The identity that will be used to access the key vault for encryption at rest."
+ "sshSettings": {
+ "description": "Specifies policy and settings for SSH access.",
+ "$ref": "#/definitions/ComputeInstanceSshSettings",
+ "x-nullable": true
},
- "keyVaultProperties": {
- "$ref": "#/definitions/EncryptionKeyVaultProperties",
- "description": "Customer Key vault properties."
- }
- },
- "required": [
- "status",
- "keyVaultProperties"
- ],
- "type": "object"
- },
- "EncryptionKeyVaultProperties": {
- "properties": {
- "keyVaultArmId": {
- "description": "The ArmId of the keyVault where the customer owned encryption key is present.",
- "type": "string"
+ "customServices": {
+ "type": "array",
+ "description": "List of Custom Services added to the compute.",
+ "x-nullable": true,
+ "items": {
+ "$ref": "#/definitions/CustomService"
+ },
+ "x-ms-identifiers": [
+ "name"
+ ]
},
- "keyIdentifier": {
- "description": "Key vault uri to access the encryption key.",
- "type": "string"
+ "osImageMetadata": {
+ "readOnly": true,
+ "description": "Returns metadata about the operating system image for this compute instance.",
+ "$ref": "#/definitions/ImageMetadata"
},
- "identityClientId": {
- "description": "For future use - The client id of the identity which will be used to access key vault.",
- "type": "string"
- }
- },
- "required": [
- "keyIdentifier",
- "keyVaultArmId"
- ],
- "type": "object"
- },
- "IdentityForCmk": {
- "description": "Identity that will be used to access key vault for encryption at rest",
- "type": "object",
- "properties": {
- "userAssignedIdentity": {
- "description": "The ArmId of the user assigned identity that will be used to access the customer managed key vault",
- "type": "string"
- }
- }
- },
- "ImageMetadata": {
- "type": "object",
- "description": "Returns metadata about the operating system image for this compute instance.",
- "properties": {
- "currentImageVersion": {
- "type": "string",
- "description": "Specifies the current operating system image version this compute instance is running on."
+ "connectivityEndpoints": {
+ "readOnly": true,
+ "description": "Describes all connectivity endpoints available for this ComputeInstance.",
+ "$ref": "#/definitions/ComputeInstanceConnectivityEndpoints"
},
- "latestImageVersion": {
- "type": "string",
- "description": "Specifies the latest available operating system image version."
+ "applications": {
+ "type": "array",
+ "readOnly": true,
+ "description": "Describes available applications and their endpoints on this ComputeInstance.",
+ "items": {
+ "$ref": "#/definitions/ComputeInstanceApplication"
+ },
+ "x-ms-identifiers": [
+ "displayName"
+ ]
},
- "isLatestOsImageVersion": {
- "type": "boolean",
- "description": "Specifies whether this compute instance is running on the latest operating system image."
- }
- }
- },
- "CustomService": {
- "type": "object",
- "description": "Specifies the custom service configuration",
- "properties": {
- "name": {
- "type": "string",
- "description": "Name of the Custom Service"
+ "createdBy": {
+ "readOnly": true,
+ "description": "Describes information on user who created this ComputeInstance.",
+ "$ref": "#/definitions/ComputeInstanceCreatedBy"
},
- "image": {
- "$ref": "#/definitions/Image",
- "description": "Describes the Image Specifications"
+ "errors": {
+ "readOnly": true,
+ "title": "Errors.",
+ "description": "Collection of errors encountered on this ComputeInstance.",
+ "type": "array",
+ "items": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ },
+ "x-ms-identifiers": [
+ "/error/code"
+ ]
},
- "environmentVariables": {
- "type": "object",
- "description": "Environment Variable for the container",
- "additionalProperties": {
- "$ref": "#/definitions/EnvironmentVariable"
+ "state": {
+ "description": "The current state of this ComputeInstance.",
+ "$ref": "#/definitions/ComputeInstanceState",
+ "readOnly": true
+ },
+ "computeInstanceAuthorizationType": {
+ "type": "string",
+ "title": "Compute Instance Authorization type.",
+ "description": "The Compute Instance Authorization type. Available values are personal (default).",
+ "default": "personal",
+ "x-nullable": true,
+ "enum": [
+ "personal"
+ ],
+ "x-ms-enum": {
+ "name": "ComputeInstanceAuthorizationType",
+ "modelAsString": true
}
},
- "docker": {
- "description": "Describes the docker settings for the image",
- "$ref": "#/definitions/Docker",
+ "personalComputeInstanceSettings": {
+ "title": "Personal Compute Instance settings.",
+ "description": "Settings for a personal compute instance.",
+ "$ref": "#/definitions/PersonalComputeInstanceSettings",
+ "x-nullable": true
+ },
+ "setupScripts": {
+ "description": "Details of customized scripts to execute for setting up the cluster.",
+ "$ref": "#/definitions/SetupScripts",
+ "x-nullable": true
+ },
+ "lastOperation": {
+ "description": "The last operation on ComputeInstance.",
+ "$ref": "#/definitions/ComputeInstanceLastOperation",
+ "readOnly": true,
+ "x-nullable": true
+ },
+ "schedules": {
+ "description": "The list of schedules to be applied on the computes.",
+ "$ref": "#/definitions/ComputeSchedules",
"x-nullable": true
},
- "endpoints": {
+ "enableNodePublicIp": {
+ "type": "boolean",
+ "title": "Enable node public IP.",
+ "description": "Enable or disable node public IP address provisioning. Possible values are: Possible values are: true - Indicates that the compute nodes will have public IPs provisioned. false - Indicates that the compute nodes will have a private endpoint and no public IPs."
+ },
+ "containers": {
"type": "array",
- "description": "Configuring the endpoints for the container",
+ "readOnly": true,
+ "description": "Describes informations of containers on this ComputeInstance.",
+ "x-nullable": true,
"items": {
- "$ref": "#/definitions/Endpoint"
+ "$ref": "#/definitions/ComputeInstanceContainer"
},
"x-ms-identifiers": [
"name"
]
},
- "volumes": {
+ "dataDisks": {
"type": "array",
- "description": "Configuring the volumes for the container",
+ "readOnly": true,
+ "description": "Describes informations of dataDisks on this ComputeInstance.",
+ "x-nullable": true,
"items": {
- "$ref": "#/definitions/VolumeDefinition"
+ "$ref": "#/definitions/ComputeInstanceDataDisk"
},
- "x-ms-identifiers": [
- "source",
- "target"
- ]
+ "x-ms-identifiers": []
+ },
+ "dataMounts": {
+ "type": "array",
+ "readOnly": true,
+ "description": "Describes informations of dataMounts on this ComputeInstance.",
+ "x-nullable": true,
+ "items": {
+ "$ref": "#/definitions/ComputeInstanceDataMount"
+ },
+ "x-ms-identifiers": []
+ },
+ "versions": {
+ "description": "ComputeInstance version.",
+ "$ref": "#/definitions/ComputeInstanceVersion",
+ "readOnly": true
}
- },
- "additionalProperties": true
+ }
},
- "Image": {
- "type": "object",
- "description": "Describes the Image Specifications",
- "properties": {
- "type": {
- "default": "docker",
- "enum": [
- "docker",
- "azureml"
- ],
- "type": "string",
- "title": "Type of the image",
- "description": "Type of the image. Possible values are: docker - For docker images. azureml - For AzureML images",
- "x-ms-enum": {
- "name": "ImageType",
- "modelAsString": true
- }
+ "ComputeInstance": {
+ "description": "An Azure Machine Learning compute instance.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Compute"
},
- "reference": {
- "type": "string",
- "description": "Image reference"
+ {
+ "$ref": "#/definitions/ComputeInstanceSchema"
}
- },
- "additionalProperties": true
+ ],
+ "x-ms-discriminator-value": "ComputeInstance"
},
- "EnvironmentVariable": {
+ "ComputeInstanceSchema": {
"type": "object",
- "description": "Environment Variables for the container",
+ "description": "Properties(top level) of ComputeInstance",
"properties": {
- "type": {
- "enum": [
- "local"
- ],
- "default": "local",
- "title": "Type of Environment Variable",
- "description": "Type of the Environment Variable. Possible values are: local - For local variable",
- "type": "string",
- "x-ms-enum": {
- "name": "EnvironmentVariableType",
- "modelAsString": true
- }
+ "properties": {
+ "description": "Properties of ComputeInstance",
+ "$ref": "#/definitions/ComputeInstanceProperties"
+ }
+ }
+ },
+ "VirtualMachine": {
+ "description": "A Machine Learning compute based on Azure Virtual Machines.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Compute"
},
- "value": {
- "type": "string",
- "description": "Value of the Environment variable"
+ {
+ "$ref": "#/definitions/VirtualMachineSchema"
}
- },
- "additionalProperties": true
+ ],
+ "x-ms-discriminator-value": "VirtualMachine"
},
- "Docker": {
+ "VirtualMachineSchema": {
"type": "object",
- "description": "Docker container configuration",
"properties": {
- "privileged": {
- "type": "boolean",
- "description": "Indicate whether container shall run in privileged or non-privileged mode.",
- "x-nullable": true
+ "properties": {
+ "type": "object",
+ "properties": {
+ "virtualMachineSize": {
+ "description": "Virtual Machine size",
+ "type": "string"
+ },
+ "sshPort": {
+ "description": "Port open for ssh connections.",
+ "type": "integer",
+ "format": "int32"
+ },
+ "notebookServerPort": {
+ "description": "Notebook server port open for ssh connections.",
+ "type": "integer",
+ "format": "int32"
+ },
+ "address": {
+ "description": "Public IP address of the virtual machine.",
+ "type": "string"
+ },
+ "administratorAccount": {
+ "description": "Admin credentials for virtual machine",
+ "$ref": "#/definitions/VirtualMachineSshCredentials"
+ },
+ "isNotebookInstanceCompute": {
+ "description": "Indicates whether this compute will be used for running notebooks.",
+ "type": "boolean"
+ }
+ }
}
- },
- "additionalProperties": true
+ }
},
- "Endpoint": {
+ "HDInsightProperties": {
"type": "object",
- "description": "Describes the endpoint configuration for the container",
+ "description": "HDInsight compute properties",
"properties": {
- "protocol": {
- "enum": [
- "tcp",
- "udp",
- "http"
- ],
- "default": "tcp",
- "title": "Endpoint Communication Protocol",
- "description": "Protocol over which communication will happen over this endpoint",
- "x-ms-enum": {
- "name": "protocol",
- "modelAsString": true
- },
- "type": "string"
- },
- "name": {
- "type": "string",
- "description": "Name of the Endpoint"
- },
- "target": {
- "format": "int32",
+ "sshPort": {
+ "description": "Port open for ssh connections on the master node of the cluster.",
"type": "integer",
- "description": "Application port inside the container."
+ "format": "int32"
},
- "published": {
- "format": "int32",
- "type": "integer",
- "description": "Port over which the application is exposed from container.",
- "x-nullable": true
+ "address": {
+ "description": "Public IP address of the master node of the cluster.",
+ "type": "string"
},
- "hostIp": {
- "description": "Host IP over which the application is exposed from the container",
- "type": "string",
+ "administratorAccount": {
+ "description": "Admin credentials for master node of the cluster",
+ "$ref": "#/definitions/VirtualMachineSshCredentials",
"x-nullable": true
}
}
},
- "VolumeDefinition": {
- "type": "object",
- "description": "Describes the volume configuration for the container",
- "properties": {
- "type": {
- "enum": [
- "bind",
- "volume",
- "tmpfs",
- "npipe"
- ],
- "default": "bind",
- "title": "Type of Volume Definition",
- "description": "Type of Volume Definition. Possible Values: bind,volume,tmpfs,npipe",
- "x-ms-enum": {
- "name": "VolumeDefinitionType",
- "modelAsString": true
- },
- "type": "string"
- },
- "readOnly": {
- "type": "boolean",
- "description": "Indicate whether to mount volume as readOnly. Default value for this is false.",
- "x-nullable": true
- },
- "source": {
- "type": "string",
- "description": "Source of the mount. For bind mounts this is the host path."
- },
- "target": {
- "type": "string",
- "description": "Target of the mount. For bind mounts this is the path in the container."
- },
- "consistency": {
- "type": "string",
- "description": "Consistency of the volume"
- },
- "bind": {
- "$ref": "#/definitions/BindOptions",
- "description": "Bind Options of the mount"
- },
- "volume": {
- "$ref": "#/definitions/VolumeOptions",
- "description": "Volume Options of the mount"
+ "HDInsight": {
+ "description": "A HDInsight compute.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Compute"
},
- "tmpfs": {
- "$ref": "#/definitions/TmpfsOptions",
- "description": "tmpfs option of the mount"
+ {
+ "$ref": "#/definitions/HDInsightSchema"
}
- }
+ ],
+ "x-ms-discriminator-value": "HDInsight"
},
- "VolumeOptions": {
+ "HDInsightSchema": {
"type": "object",
- "description": "Describes the volume options for the container",
"properties": {
- "nocopy": {
- "type": "boolean",
- "description": "Indicate whether volume is nocopy",
- "x-nullable": true
+ "properties": {
+ "$ref": "#/definitions/HDInsightProperties"
}
}
},
- "BindOptions": {
+ "DataFactory": {
+ "description": "A DataFactory compute.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Compute"
+ }
+ ],
+ "x-ms-discriminator-value": "DataFactory"
+ },
+ "DatabricksProperties": {
"type": "object",
- "description": "Describes the bind options for the container",
+ "description": "Properties of Databricks",
"properties": {
- "propagation": {
- "type": "string",
- "description": "Type of Bind Option",
- "x-nullable": true
- },
- "createHostPath": {
- "type": "boolean",
- "description": "Indicate whether to create host path.",
- "x-nullable": true
+ "databricksAccessToken": {
+ "description": "Databricks access token",
+ "type": "string"
},
- "selinux": {
- "type": "string",
- "description": "Mention the selinux options.",
- "x-nullable": true
+ "workspaceUrl": {
+ "description": "Workspace Url",
+ "type": "string"
}
}
},
- "TmpfsOptions": {
- "description": "Describes the tmpfs options for the container",
+ "Databricks": {
+ "description": "A DataFactory compute.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Compute"
+ },
+ {
+ "$ref": "#/definitions/DatabricksSchema"
+ }
+ ],
+ "x-ms-discriminator-value": "Databricks"
+ },
+ "DatabricksSchema": {
"type": "object",
"properties": {
- "size": {
- "format": "int32",
- "type": "integer",
- "description": "Mention the Tmpfs size"
+ "properties": {
+ "$ref": "#/definitions/DatabricksProperties"
}
}
},
- "ComputeInstanceSshSettings": {
+ "DataLakeAnalytics": {
+ "description": "A DataLakeAnalytics compute.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Compute"
+ },
+ {
+ "$ref": "#/definitions/DataLakeAnalyticsSchema"
+ }
+ ],
+ "x-ms-discriminator-value": "DataLakeAnalytics"
+ },
+ "DataLakeAnalyticsSchema": {
"type": "object",
- "description": "Specifies policy and settings for SSH access.",
"properties": {
- "sshPublicAccess": {
- "type": "string",
- "default": "Disabled",
- "title": "Access policy for SSH",
- "description": "State of the public SSH port. Possible values are: Disabled - Indicates that the public ssh port is closed on this instance. Enabled - Indicates that the public ssh port is open and accessible according to the VNet/subnet policy if applicable.",
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "x-ms-enum": {
- "name": "sshPublicAccess",
- "modelAsString": true
+ "properties": {
+ "type": "object",
+ "properties": {
+ "dataLakeStoreAccountName": {
+ "description": "DataLake Store Account Name",
+ "type": "string"
+ }
}
- },
- "adminUserName": {
- "type": "string",
- "readOnly": true,
- "description": "Describes the admin user name."
- },
- "sshPort": {
- "type": "integer",
- "format": "int32",
- "readOnly": true,
- "description": "Describes the port for connecting through SSH."
- },
- "adminPublicKey": {
- "type": "string",
- "description": "Specifies the SSH rsa public key file as a string. Use \"ssh-keygen -t rsa -b 2048\" to generate your SSH key pairs."
}
}
},
- "ComputeInstanceState": {
- "type": "string",
- "description": "Current state of an ComputeInstance.",
- "enum": [
- "Creating",
- "CreateFailed",
- "Deleting",
- "Running",
- "Restarting",
- "JobRunning",
- "SettingUp",
- "SetupFailed",
- "Starting",
- "Stopped",
- "Stopping",
- "UserSettingUp",
- "UserSetupFailed",
- "Unknown",
- "Unusable"
+ "SynapseSpark": {
+ "type": "object",
+ "description": "A SynapseSpark compute.",
+ "properties": {
+ "properties": {
+ "type": "object",
+ "properties": {
+ "autoScaleProperties": {
+ "description": "Auto scale properties.",
+ "$ref": "#/definitions/AutoScaleProperties"
+ },
+ "autoPauseProperties": {
+ "description": "Auto pause properties.",
+ "$ref": "#/definitions/AutoPauseProperties"
+ },
+ "sparkVersion": {
+ "description": "Spark version.",
+ "type": "string"
+ },
+ "nodeCount": {
+ "description": "The number of compute nodes currently assigned to the compute.",
+ "type": "integer",
+ "format": "int32"
+ },
+ "nodeSize": {
+ "description": "Node size.",
+ "type": "string"
+ },
+ "nodeSizeFamily": {
+ "description": "Node size family.",
+ "type": "string"
+ },
+ "subscriptionId": {
+ "description": "Azure subscription identifier.",
+ "type": "string"
+ },
+ "resourceGroup": {
+ "description": "Name of the resource group in which workspace is located.",
+ "type": "string"
+ },
+ "workspaceName": {
+ "description": "Name of Azure Machine Learning workspace.",
+ "type": "string"
+ },
+ "poolName": {
+ "description": "Pool name.",
+ "type": "string"
+ }
+ }
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Compute"
+ }
],
- "x-ms-enum": {
- "name": "ComputeInstanceState",
- "modelAsString": true
- }
+ "x-ms-discriminator-value": "SynapseSpark"
},
- "ComputeInstanceLastOperation": {
+ "SystemService": {
"type": "object",
- "description": "The last operation on ComputeInstance.",
+ "description": "A system service running on a compute.",
"properties": {
- "operationName": {
- "type": "string",
- "description": "Name of the last operation.",
- "enum": [
- "Create",
- "Start",
- "Stop",
- "Restart",
- "Reimage",
- "Delete"
- ],
- "x-ms-enum": {
- "name": "OperationName",
- "modelAsString": true
- }
- },
- "operationTime": {
- "type": "string",
- "format": "date-time",
- "description": "Time of the last operation."
+ "systemServiceType": {
+ "description": "The type of this system service.",
+ "readOnly": true,
+ "type": "string"
},
- "operationStatus": {
+ "publicIpAddress": {
"type": "string",
- "description": "Operation status.",
- "enum": [
- "InProgress",
- "Succeeded",
- "CreateFailed",
- "StartFailed",
- "StopFailed",
- "RestartFailed",
- "ReimageFailed",
- "DeleteFailed"
- ],
- "x-ms-enum": {
- "name": "OperationStatus",
- "modelAsString": true
- }
+ "description": "Public IP address",
+ "readOnly": true
},
- "operationTrigger": {
+ "version": {
+ "description": "The version for this type.",
+ "readOnly": true,
+ "type": "string"
+ }
+ }
+ },
+ "SslConfiguration": {
+ "type": "object",
+ "description": "The ssl configuration for scoring",
+ "properties": {
+ "status": {
+ "description": "Enable or disable ssl for scoring",
"type": "string",
- "description": "Trigger of operation.",
"enum": [
- "User",
- "Schedule",
- "IdleShutdown"
+ "Disabled",
+ "Enabled",
+ "Auto"
],
"x-ms-enum": {
- "name": "operationTrigger",
+ "name": "SslConfigStatus",
"modelAsString": true
}
- }
- }
- },
- "ComputeInstanceVersion": {
- "type": "object",
- "description": "Version of computeInstance.",
- "properties": {
- "runtime": {
+ },
+ "cert": {
+ "description": "Cert data",
+ "type": "string",
+ "x-ms-secret": true,
+ "x-nullable": true
+ },
+ "key": {
+ "description": "Key data",
+ "type": "string",
+ "x-ms-secret": true,
+ "x-nullable": true
+ },
+ "cname": {
+ "description": "CNAME of the cert",
+ "type": "string",
+ "x-nullable": true
+ },
+ "leafDomainLabel": {
+ "description": "Leaf domain label of public endpoint",
"type": "string",
- "description": "Runtime of compute instance.",
"x-nullable": true
+ },
+ "overwriteExistingDomain": {
+ "description": "Indicates whether to overwrite existing domain label.",
+ "type": "boolean"
}
}
},
- "ComputeSchedules": {
+ "AksNetworkingConfiguration": {
"type": "object",
- "description": "The list of schedules to be applied on the computes",
+ "description": "Advance configuration for AKS networking",
"properties": {
- "computeStartStop": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ComputeStartStopSchedule"
- },
- "description": "The list of compute start stop schedules to be applied."
+ "subnetId": {
+ "description": "Virtual network subnet resource ID the compute nodes belong to",
+ "type": "string"
+ },
+ "serviceCidr": {
+ "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$",
+ "description": "A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges.",
+ "type": "string"
+ },
+ "dnsServiceIP": {
+ "pattern": "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$",
+ "description": "An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr.",
+ "type": "string"
+ },
+ "dockerBridgeCidr": {
+ "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$",
+ "description": "A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range.",
+ "type": "string"
}
}
},
- "ComputeStartStopSchedule": {
+ "UserAccountCredentials": {
"type": "object",
- "description": "Compute start stop schedule properties",
"properties": {
- "id": {
- "description": "A system assigned id for the schedule.",
+ "adminUserName": {
"type": "string",
- "x-nullable": true,
- "readOnly": true
+ "title": "User name.",
+ "description": "Name of the administrator user account which can be used to SSH to nodes."
},
- "provisioningStatus": {
- "description": "The current deployment state of schedule.",
+ "adminUserSshPublicKey": {
"type": "string",
- "enum": [
- "Completed",
- "Provisioning",
- "Failed"
- ],
- "x-ms-enum": {
- "name": "provisioningStatus",
- "modelAsString": true,
- "values": [
- {
- "value": "Completed"
- },
- {
- "value": "Provisioning"
- },
- {
- "value": "Failed"
- }
- ]
- },
- "readOnly": true
- },
- "status": {
- "$ref": "#/definitions/ScheduleStatus"
- },
- "action": {
- "description": "[Required] The compute power action.",
- "$ref": "#/definitions/ComputePowerAction"
- },
- "triggerType": {
- "description": "[Required] The schedule trigger type.",
- "$ref": "#/definitions/ComputeTriggerType"
- },
- "recurrence": {
- "description": "Required if triggerType is Recurrence.",
- "$ref": "#/definitions/Recurrence"
- },
- "cron": {
- "description": "Required if triggerType is Cron.",
- "$ref": "#/definitions/Cron"
+ "x-ms-secret": true,
+ "title": "SSH public key.",
+ "description": "SSH public key of the administrator user account."
},
- "schedule": {
- "description": "[Deprecated] Not used any more.",
- "$ref": "#/definitions/ScheduleBase"
+ "adminUserPassword": {
+ "type": "string",
+ "x-ms-secret": true,
+ "title": "Password.",
+ "description": "Password of the administrator user account."
}
- }
- },
- "ComputeTriggerType": {
- "enum": [
- "Recurrence",
- "Cron"
- ],
- "description": "Is the trigger type recurrence or cron.",
- "type": "string",
- "x-ms-enum": {
- "name": "ComputeTriggerType",
- "modelAsString": true,
- "values": [
- {
- "value": "Recurrence"
- },
- {
- "value": "Cron"
- }
- ]
},
- "additionalProperties": false
+ "required": [
+ "adminUserName"
+ ],
+ "description": "Settings for user account that gets created on each on the nodes of a compute."
},
- "ScheduleBase": {
+ "ScaleSettings": {
"type": "object",
+ "description": "scale settings for AML Compute",
"properties": {
- "id": {
- "description": "A system assigned id for the schedule.",
- "type": "string",
- "x-nullable": true
+ "maxNodeCount": {
+ "description": "Max number of nodes to use",
+ "type": "integer",
+ "format": "int32"
},
- "provisioningStatus": {
- "$ref": "#/definitions/ScheduleProvisioningState"
+ "minNodeCount": {
+ "description": "Min number of nodes to use",
+ "type": "integer",
+ "format": "int32",
+ "default": 0
},
- "status": {
- "$ref": "#/definitions/ScheduleStatus"
+ "nodeIdleTimeBeforeScaleDown": {
+ "type": "string",
+ "format": "duration",
+ "description": "Node Idle Time before scaling down amlCompute. This string needs to be in the RFC Format."
}
},
- "additionalProperties": false
- },
- "ScheduleProvisioningState": {
- "enum": [
- "Completed",
- "Provisioning",
- "Failed"
- ],
- "description": "The current deployment state of schedule.",
- "type": "string",
- "x-ms-enum": {
- "name": "ScheduleProvisioningState",
- "modelAsString": true,
- "values": [
- {
- "value": "Completed"
- },
- {
- "value": "Provisioning"
- },
- {
- "value": "Failed"
- }
- ]
- },
- "additionalProperties": false
+ "required": [
+ "maxNodeCount"
+ ]
},
- "ScheduleStatus": {
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "description": "Is the schedule enabled or disabled?",
- "type": "string",
- "x-ms-enum": {
- "name": "ScheduleStatus",
- "modelAsString": true,
- "values": [
- {
- "value": "Enabled"
- },
- {
- "value": "Disabled"
- }
- ]
+ "VirtualMachineImage": {
+ "type": "object",
+ "description": "Virtual Machine image for Windows AML Compute",
+ "properties": {
+ "id": {
+ "description": "Virtual Machine image path",
+ "type": "string"
+ }
},
- "additionalProperties": false
- },
- "ComputePowerAction": {
- "type": "string",
- "description": "The compute power action.",
- "enum": [
- "Start",
- "Stop"
- ],
- "x-ms-enum": {
- "name": "ComputePowerAction",
- "modelAsString": true
- }
+ "required": [
+ "id"
+ ]
},
- "Recurrence": {
+ "NodeStateCounts": {
"type": "object",
- "description": "The workflow trigger recurrence for ComputeStartStop schedule type.",
"properties": {
- "frequency": {
- "description": "[Required] The frequency to trigger schedule.",
- "$ref": "#/definitions/ComputeRecurrenceFrequency"
+ "idleNodeCount": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "title": "Idle node count.",
+ "description": "Number of compute nodes in idle state."
},
- "interval": {
- "description": "[Required] Specifies schedule interval in conjunction with frequency",
+ "runningNodeCount": {
+ "readOnly": true,
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "title": "Running node count.",
+ "description": "Number of compute nodes which are running jobs."
},
- "startTime": {
- "description": "The start time in yyyy-MM-ddTHH:mm:ss format.",
- "type": "string",
- "x-nullable": true
+ "preparingNodeCount": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "title": "Preparing node count.",
+ "description": "Number of compute nodes which are being prepared."
},
- "timeZone": {
- "description": "Specifies time zone in which the schedule runs.\r\nTimeZone should follow Windows time zone format. Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11",
- "default": "UTC",
- "type": "string"
+ "unusableNodeCount": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "title": "Unusable node count.",
+ "description": "Number of compute nodes which are in unusable state."
},
- "schedule": {
- "description": "[Required] The recurrence schedule.",
- "$ref": "#/definitions/ComputeRecurrenceSchedule"
+ "leavingNodeCount": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "title": "Leaving node count.",
+ "description": "Number of compute nodes which are leaving the amlCompute."
+ },
+ "preemptedNodeCount": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "title": "Preempted node count.",
+ "description": "Number of compute nodes which are in preempted state."
}
- }
- },
- "ComputeRecurrenceFrequency": {
- "description": "Enum to describe the frequency of a compute recurrence schedule",
- "enum": [
- "Minute",
- "Hour",
- "Day",
- "Week",
- "Month"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "ComputeRecurrenceFrequency",
- "modelAsString": true,
- "values": [
- {
- "value": "Minute",
- "description": "Minute frequency"
- },
- {
- "value": "Hour",
- "description": "Hour frequency"
- },
- {
- "value": "Day",
- "description": "Day frequency"
- },
- {
- "value": "Week",
- "description": "Week frequency"
- },
- {
- "value": "Month",
- "description": "Month frequency"
- }
- ]
},
- "additionalProperties": false
+ "description": "Counts of various compute node states on the amlCompute."
},
- "ComputeRecurrenceSchedule": {
- "required": [
- "hours",
- "minutes"
- ],
+ "ScaleSettingsInformation": {
"type": "object",
"properties": {
- "hours": {
- "description": "[Required] List of hours for the schedule.",
- "type": "array",
- "items": {
- "format": "int32",
- "type": "integer"
- }
- },
- "minutes": {
- "description": "[Required] List of minutes for the schedule.",
- "type": "array",
- "items": {
- "format": "int32",
- "type": "integer"
- }
- },
- "monthDays": {
- "description": "List of month days for the schedule",
- "type": "array",
- "items": {
- "format": "int32",
- "type": "integer"
- },
- "x-nullable": true
- },
- "weekDays": {
- "description": "List of days for the schedule.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/ComputeWeekDay"
- },
- "x-nullable": true
+ "scaleSettings": {
+ "$ref": "#/definitions/ScaleSettings",
+ "title": "Scale settings."
}
},
- "additionalProperties": false
+ "description": "Desired scale settings for the amlCompute."
},
- "ComputeWeekDay": {
- "description": "Enum of weekday",
- "enum": [
- "Monday",
- "Tuesday",
- "Wednesday",
- "Thursday",
- "Friday",
- "Saturday",
- "Sunday"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "ComputeWeekDay",
- "modelAsString": true,
- "values": [
- {
- "value": "Monday",
- "description": "Monday weekday"
- },
- {
- "value": "Tuesday",
- "description": "Tuesday weekday"
- },
- {
- "value": "Wednesday",
- "description": "Wednesday weekday"
- },
- {
- "value": "Thursday",
- "description": "Thursday weekday"
- },
- {
- "value": "Friday",
- "description": "Friday weekday"
- },
- {
- "value": "Saturday",
- "description": "Saturday weekday"
- },
- {
- "value": "Sunday",
- "description": "Sunday weekday"
- }
- ]
+ "ClusterUpdateProperties": {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "description": "Properties of ClusterUpdate",
+ "$ref": "#/definitions/ScaleSettingsInformation"
+ }
},
- "additionalProperties": false
+ "description": "The properties of a amlCompute that need to be updated."
},
- "Cron": {
+ "ClusterUpdateParameters": {
"type": "object",
- "description": "The workflow trigger cron for ComputeStartStop schedule type.",
"properties": {
- "startTime": {
- "description": "The start time in yyyy-MM-ddTHH:mm:ss format.",
- "type": "string",
- "x-nullable": true
- },
- "timeZone": {
- "description": "Specifies time zone in which the schedule runs.\r\nTimeZone should follow Windows time zone format. Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11",
- "type": "string",
- "default": "UTC"
- },
- "expression": {
- "description": "[Required] Specifies cron expression of schedule.\r\nThe expression should follow NCronTab format.",
- "type": "string"
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ClusterUpdateProperties",
+ "description": "The properties of the amlCompute."
}
- }
+ },
+ "description": "AmlCompute update parameters."
},
- "IdleShutdownSetting": {
+ "AmlComputeNodesInformation": {
"type": "object",
- "description": "Stops compute instance after user defined period of inactivity.",
+ "description": "Result of AmlCompute Nodes",
"properties": {
- "idleTimeBeforeShutdown": {
+ "nodes": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AmlComputeNodeInformation"
+ },
+ "x-ms-identifiers": [
+ "nodeId"
+ ],
+ "description": "The collection of returned AmlCompute nodes details."
+ },
+ "nextLink": {
+ "readOnly": true,
"type": "string",
- "description": "Time is defined in ISO8601 format. Minimum is 15 min, maximum is 3 days."
+ "description": "The continuation token."
}
}
},
- "ComputeInstanceDataMount": {
+ "AmlComputeNodeInformation": {
"type": "object",
- "description": "Defines an Aml Instance DataMount.",
- "properties": {
- "source": {
- "type": "string",
- "description": "Source of the ComputeInstance data mount."
- },
- "sourceType": {
- "description": "Data source type.",
- "type": "string",
- "enum": [
- "Dataset",
- "Datastore",
- "URI"
- ],
- "x-ms-enum": {
- "name": "sourceType",
- "modelAsString": true
- }
- },
- "mountName": {
+ "description": "Compute node information related to a AmlCompute.",
+ "properties": {
+ "nodeId": {
+ "readOnly": true,
"type": "string",
- "description": "name of the ComputeInstance data mount."
+ "title": "Node ID.",
+ "description": "ID of the compute node."
},
- "mountAction": {
- "description": "Mount Action.",
+ "privateIpAddress": {
+ "readOnly": true,
"type": "string",
- "enum": [
- "Mount",
- "Unmount"
- ],
- "x-ms-enum": {
- "name": "mountAction",
- "modelAsString": true
- }
+ "title": "Private IP address.",
+ "description": "Private IP address of the compute node.",
+ "x-nullable": true
},
- "createdBy": {
+ "publicIpAddress": {
+ "readOnly": true,
"type": "string",
- "description": "who this data mount created by."
+ "title": "Public IP address.",
+ "description": "Public IP address of the compute node.",
+ "x-nullable": true
},
- "mountPath": {
- "type": "string",
- "description": "Path of this data mount."
+ "port": {
+ "readOnly": true,
+ "type": "number",
+ "format": "int32",
+ "title": "Port.",
+ "description": "SSH port number of the node."
},
- "mountState": {
- "description": "Mount state.",
+ "nodeState": {
+ "readOnly": true,
"type": "string",
"enum": [
- "MountRequested",
- "Mounted",
- "MountFailed",
- "UnmountRequested",
- "UnmountFailed",
- "Unmounted"
+ "idle",
+ "running",
+ "preparing",
+ "unusable",
+ "leaving",
+ "preempted"
],
+ "description": "State of the compute node. Values are idle, running, preparing, unusable, leaving and preempted.",
"x-ms-enum": {
- "name": "mountState",
+ "name": "nodeState",
"modelAsString": true
}
},
- "mountedOn": {
- "type": "string",
- "format": "date-time",
- "title": "Mounted time.",
- "description": "The time when the disk mounted."
- },
- "error": {
+ "runId": {
+ "readOnly": true,
"type": "string",
- "description": "Error of this data mount."
+ "title": "Run ID.",
+ "description": "ID of the Experiment running on the node, if any else null.",
+ "x-nullable": true
}
}
},
- "ComputeInstanceDataDisk": {
+ "VirtualMachineSshCredentials": {
"type": "object",
- "description": "Defines an Aml Instance DataDisk.",
+ "description": "Admin credentials for virtual machine",
"properties": {
- "caching": {
- "description": "Caching type of Data Disk.",
- "type": "string",
- "enum": [
- "None",
- "ReadOnly",
- "ReadWrite"
- ],
- "x-ms-enum": {
- "name": "caching",
- "modelAsString": true
- }
+ "username": {
+ "description": "Username of admin account",
+ "type": "string"
},
- "diskSizeGB": {
- "type": "integer",
- "format": "int32",
- "title": "The initial disk size in gigabytes.",
- "description": "The initial disk size in gigabytes."
+ "password": {
+ "description": "Password of admin account",
+ "type": "string"
},
- "lun": {
- "type": "integer",
- "format": "int32",
- "title": "The logical unit number.",
- "description": "The lun is used to uniquely identify each data disk. If attaching multiple disks, each should have a distinct lun."
+ "publicKeyData": {
+ "description": "Public key data",
+ "type": "string",
+ "x-ms-secret": true
},
- "storageAccountType": {
- "description": "type of this storage account.",
+ "privateKeyData": {
+ "description": "Private key data",
"type": "string",
- "default": "Standard_LRS",
- "enum": [
- "Standard_LRS",
- "Premium_LRS"
- ],
- "x-ms-enum": {
- "name": "storageAccountType",
- "modelAsString": true
- }
+ "x-ms-secret": true
}
}
},
- "ComputeInstanceContainer": {
+ "ComputeSecrets": {
"type": "object",
- "description": "Defines an Aml Instance container.",
+ "description": "Secrets related to a Machine Learning compute. Might differ for every type of compute.",
+ "discriminator": "computeType",
"properties": {
- "name": {
- "type": "string",
- "description": "Name of the ComputeInstance container."
- },
- "autosave": {
- "description": "Auto save settings.",
+ "computeType": {
+ "description": "The type of compute",
+ "$ref": "#/definitions/ComputeType"
+ }
+ },
+ "required": [
+ "computeType"
+ ]
+ },
+ "AksComputeSecretsProperties": {
+ "type": "object",
+ "description": "Properties of AksComputeSecrets",
+ "properties": {
+ "userKubeConfig": {
"type": "string",
- "enum": [
- "None",
- "Local",
- "Remote"
- ],
- "x-ms-enum": {
- "name": "autosave",
- "modelAsString": true
- }
+ "description": "Content of kubeconfig file that can be used to connect to the Kubernetes cluster."
},
- "gpu": {
+ "adminKubeConfig": {
"type": "string",
- "description": "Information of GPU."
+ "description": "Content of kubeconfig file that can be used to connect to the Kubernetes cluster."
},
- "network": {
- "description": "network of this container.",
+ "imagePullSecretName": {
"type": "string",
- "enum": [
- "Bridge",
- "Host"
- ],
- "x-ms-enum": {
- "name": "network",
- "modelAsString": true
- }
+ "description": "Image registry pull secret.",
+ "x-nullable": true
+ }
+ }
+ },
+ "AksComputeSecrets": {
+ "description": "Secrets related to a Machine Learning compute based on AKS.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ComputeSecrets"
},
- "environment": {
- "description": "Environment information of this container.",
- "$ref": "#/definitions/ComputeInstanceEnvironmentInfo"
+ {
+ "$ref": "#/definitions/AksComputeSecretsProperties"
+ }
+ ],
+ "x-ms-discriminator-value": "AKS"
+ },
+ "VirtualMachineSecrets": {
+ "description": "Secrets related to a Machine Learning compute based on AKS.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ComputeSecrets"
},
- "services": {
- "type": "array",
- "readOnly": true,
- "description": "services of this containers.",
- "items": {
- "type": "object"
- },
- "x-ms-identifiers": []
+ {
+ "$ref": "#/definitions/VirtualMachineSecretsSchema"
}
- }
+ ],
+ "x-ms-discriminator-value": "VirtualMachine"
},
- "ComputeInstanceEnvironmentInfo": {
+ "VirtualMachineSecretsSchema": {
"type": "object",
- "description": "Environment information",
"properties": {
- "name": {
- "description": "name of environment.",
- "type": "string"
- },
- "version": {
- "description": "version of environment.",
- "type": "string"
+ "administratorAccount": {
+ "description": "Admin credentials for virtual machine.",
+ "$ref": "#/definitions/VirtualMachineSshCredentials"
}
}
},
- "ComputeInstanceApplication": {
+ "DatabricksComputeSecretsProperties": {
"type": "object",
- "description": "Defines an Aml Instance application and its connectivity endpoint URI.",
+ "description": "Properties of Databricks Compute Secrets",
"properties": {
- "displayName": {
- "type": "string",
- "description": "Name of the ComputeInstance application."
+ "databricksAccessToken": {
+ "description": "access token for databricks account.",
+ "type": "string"
+ }
+ }
+ },
+ "DatabricksComputeSecrets": {
+ "description": "Secrets related to a Machine Learning compute based on Databricks.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ComputeSecrets"
},
- "endpointUri": {
- "type": "string",
- "description": "Application' endpoint URI."
+ {
+ "$ref": "#/definitions/DatabricksComputeSecretsProperties"
}
+ ],
+ "x-ms-discriminator-value": "Databricks"
+ },
+ "ComputeType": {
+ "type": "string",
+ "description": "The type of compute",
+ "enum": [
+ "AKS",
+ "Kubernetes",
+ "AmlCompute",
+ "ComputeInstance",
+ "DataFactory",
+ "VirtualMachine",
+ "HDInsight",
+ "Databricks",
+ "DataLakeAnalytics",
+ "SynapseSpark"
+ ],
+ "x-ms-enum": {
+ "name": "ComputeType",
+ "modelAsString": true
}
},
- "ComputeInstanceConnectivityEndpoints": {
+ "ImageMetadata": {
"type": "object",
- "readOnly": true,
- "description": "Defines all connectivity endpoints and properties for an ComputeInstance.",
+ "description": "Returns metadata about the operating system image for this compute instance.",
"properties": {
- "publicIpAddress": {
+ "currentImageVersion": {
"type": "string",
- "readOnly": true,
- "description": "Public IP Address of this ComputeInstance.",
- "x-nullable": true
+ "description": "Specifies the current operating system image version this compute instance is running on."
},
- "privateIpAddress": {
+ "latestImageVersion": {
"type": "string",
- "readOnly": true,
- "description": "Private IP Address of this ComputeInstance (local to the VNET in which the compute instance is deployed).",
- "x-nullable": true
+ "description": "Specifies the latest available operating system image version."
+ },
+ "isLatestOsImageVersion": {
+ "type": "boolean",
+ "description": "Specifies whether this compute instance is running on the latest operating system image."
}
}
},
- "ComputeInstanceCreatedBy": {
+ "CustomService": {
"type": "object",
- "readOnly": true,
- "description": "Describes information on user who created this ComputeInstance.",
+ "description": "Specifies the custom service configuration",
"properties": {
- "userName": {
+ "name": {
"type": "string",
- "readOnly": true,
- "description": "Name of the user.",
- "x-nullable": true
+ "description": "Name of the Custom Service"
},
- "userOrgId": {
- "type": "string",
- "readOnly": true,
- "description": "Uniquely identifies user' Azure Active Directory organization."
+ "image": {
+ "$ref": "#/definitions/Image",
+ "description": "Describes the Image Specifications"
},
- "userId": {
- "type": "string",
- "readOnly": true,
- "description": "Uniquely identifies the user within his/her organization.",
+ "environmentVariables": {
+ "type": "object",
+ "description": "Environment Variable for the container",
+ "additionalProperties": {
+ "$ref": "#/definitions/EnvironmentVariable"
+ }
+ },
+ "docker": {
+ "description": "Describes the docker settings for the image",
+ "$ref": "#/definitions/Docker",
"x-nullable": true
- }
- }
- },
- "PersonalComputeInstanceSettings": {
- "type": "object",
- "properties": {
- "assignedUser": {
- "$ref": "#/definitions/AssignedUser",
- "title": "Assigned User.",
- "description": "A user explicitly assigned to a personal compute instance."
+ },
+ "endpoints": {
+ "type": "array",
+ "description": "Configuring the endpoints for the container",
+ "items": {
+ "$ref": "#/definitions/Endpoint"
+ },
+ "x-ms-identifiers": [
+ "name"
+ ]
+ },
+ "volumes": {
+ "type": "array",
+ "description": "Configuring the volumes for the container",
+ "items": {
+ "$ref": "#/definitions/VolumeDefinition"
+ },
+ "x-ms-identifiers": [
+ "source",
+ "target"
+ ]
}
},
- "description": "Settings for a personal compute instance."
+ "additionalProperties": true
},
- "AssignedUser": {
+ "Image": {
"type": "object",
- "description": "A user that can be assigned to a compute instance.",
+ "description": "Describes the Image Specifications",
"properties": {
- "objectId": {
+ "type": {
+ "default": "docker",
+ "enum": [
+ "docker",
+ "azureml"
+ ],
"type": "string",
- "description": "User’s AAD Object Id."
+ "title": "Type of the image",
+ "description": "Type of the image. Possible values are: docker - For docker images. azureml - For AzureML images",
+ "x-ms-enum": {
+ "name": "ImageType",
+ "modelAsString": true
+ }
},
- "tenantId": {
+ "reference": {
"type": "string",
- "description": "User’s AAD Tenant Id."
+ "description": "Image reference"
}
},
- "required": [
- "objectId",
- "tenantId"
- ]
+ "additionalProperties": true
},
- "ServerlessComputeSettings": {
+ "EnvironmentVariable": {
"type": "object",
+ "description": "Environment Variables for the container",
"properties": {
- "serverlessComputeCustomSubnet": {
- "description": "The resource ID of an existing virtual network subnet in which serverless compute nodes should be deployed",
+ "type": {
+ "enum": [
+ "local"
+ ],
+ "default": "local",
+ "title": "Type of Environment Variable",
+ "description": "Type of the Environment Variable. Possible values are: local - For local variable",
"type": "string",
- "format": "arm-id"
+ "x-ms-enum": {
+ "name": "EnvironmentVariableType",
+ "modelAsString": true
+ }
},
- "serverlessComputeNoPublicIP": {
- "description": "The flag to signal if serverless compute nodes deployed in custom vNet would have no public IP addresses for a workspace with private endpoint",
- "type": "boolean"
+ "value": {
+ "type": "string",
+ "description": "Value of the Environment variable"
}
- }
+ },
+ "additionalProperties": true
},
- "ServiceManagedResourcesSettings": {
+ "Docker": {
"type": "object",
+ "description": "Docker container configuration",
"properties": {
- "cosmosDb": {
- "$ref": "#/definitions/CosmosDbSettings",
- "description": "The settings for the service managed cosmosdb account."
+ "privileged": {
+ "type": "boolean",
+ "description": "Indicate whether container shall run in privileged or non-privileged mode.",
+ "x-nullable": true
}
- }
+ },
+ "additionalProperties": true
},
- "CosmosDbSettings": {
+ "Endpoint": {
"type": "object",
+ "description": "Describes the endpoint configuration for the container",
"properties": {
- "collectionsThroughput": {
+ "protocol": {
+ "enum": [
+ "tcp",
+ "udp",
+ "http"
+ ],
+ "default": "tcp",
+ "title": "Endpoint Communication Protocol",
+ "description": "Protocol over which communication will happen over this endpoint",
+ "x-ms-enum": {
+ "name": "protocol",
+ "modelAsString": true
+ },
+ "type": "string"
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the Endpoint"
+ },
+ "target": {
+ "format": "int32",
"type": "integer",
+ "description": "Application port inside the container."
+ },
+ "published": {
"format": "int32",
- "description": "The throughput of the collections in cosmosdb database"
+ "type": "integer",
+ "description": "Port over which the application is exposed from container.",
+ "x-nullable": true
+ },
+ "hostIp": {
+ "description": "Host IP over which the application is exposed from the container",
+ "type": "string",
+ "x-nullable": true
}
}
},
- "OutboundRuleListResult": {
- "description": "List of outbound rules for the managed network of a machine learning workspace.",
+ "VolumeDefinition": {
"type": "object",
+ "description": "Describes the volume configuration for the container",
"properties": {
- "nextLink": {
- "description": "The link to the next page constructed using the continuationToken. If null, there are no additional pages.",
+ "type": {
+ "enum": [
+ "bind",
+ "volume",
+ "tmpfs",
+ "npipe"
+ ],
+ "default": "bind",
+ "title": "Type of Volume Definition",
+ "description": "Type of Volume Definition. Possible Values: bind,volume,tmpfs,npipe",
+ "x-ms-enum": {
+ "name": "VolumeDefinitionType",
+ "modelAsString": true
+ },
"type": "string"
},
- "value": {
- "description": "The list of machine learning workspaces. Since this list may be incomplete, the nextLink field should be used to request the next list of machine learning workspaces.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/OutboundRuleBasicResource"
- }
+ "readOnly": {
+ "type": "boolean",
+ "description": "Indicate whether to mount volume as readOnly. Default value for this is false.",
+ "x-nullable": true
+ },
+ "source": {
+ "type": "string",
+ "description": "Source of the mount. For bind mounts this is the host path."
+ },
+ "target": {
+ "type": "string",
+ "description": "Target of the mount. For bind mounts this is the path in the container."
+ },
+ "consistency": {
+ "type": "string",
+ "description": "Consistency of the volume"
+ },
+ "bind": {
+ "$ref": "#/definitions/BindOptions",
+ "description": "Bind Options of the mount"
+ },
+ "volume": {
+ "$ref": "#/definitions/VolumeOptions",
+ "description": "Volume Options of the mount"
+ },
+ "tmpfs": {
+ "$ref": "#/definitions/TmpfsOptions",
+ "description": "tmpfs option of the mount"
}
}
},
- "OutboundRuleBasicResource": {
- "description": "Outbound Rule Basic Resource for the managed network of a machine learning workspace.",
- "required": [
- "properties"
- ],
+ "VolumeOptions": {
"type": "object",
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource"
- }
- ],
+ "description": "Describes the volume options for the container",
"properties": {
- "properties": {
- "$ref": "#/definitions/OutboundRule"
+ "nocopy": {
+ "type": "boolean",
+ "description": "Indicate whether volume is nocopy",
+ "x-nullable": true
}
}
},
- "ManagedNetworkSettings": {
- "description": "Managed Network settings for a machine learning workspace.",
+ "BindOptions": {
"type": "object",
+ "description": "Describes the bind options for the container",
"properties": {
- "isolationMode": {
- "description": "Isolation mode for the managed network of a machine learning workspace.",
- "$ref": "#/definitions/IsolationMode"
+ "propagation": {
+ "type": "string",
+ "description": "Type of Bind Option",
+ "x-nullable": true
+ },
+ "createHostPath": {
+ "type": "boolean",
+ "description": "Indicate whether to create host path.",
+ "x-nullable": true
},
- "networkId": {
+ "selinux": {
"type": "string",
- "readOnly": true
- },
- "outboundRules": {
- "type": "object",
- "additionalProperties": {
- "description": "Outbound Rule for the managed network of a machine learning workspace.",
- "$ref": "#/definitions/OutboundRule"
- },
+ "description": "Mention the selinux options.",
"x-nullable": true
- },
- "status": {
- "description": "Status of the Provisioning for the managed network of a machine learning workspace.",
- "$ref": "#/definitions/ManagedNetworkProvisionStatus"
}
}
},
- "ManagedNetworkProvisionOptions": {
- "description": "Managed Network Provisioning options for managed network of a machine learning workspace.",
+ "TmpfsOptions": {
+ "description": "Describes the tmpfs options for the container",
"type": "object",
"properties": {
- "includeSpark": {
- "type": "boolean"
+ "size": {
+ "format": "int32",
+ "type": "integer",
+ "description": "Mention the Tmpfs size"
}
}
},
- "ManagedNetworkProvisionStatus": {
- "description": "Status of the Provisioning for the managed network of a machine learning workspace.",
+ "ComputeInstanceSshSettings": {
"type": "object",
+ "description": "Specifies policy and settings for SSH access.",
"properties": {
- "sparkReady": {
- "type": "boolean"
+ "sshPublicAccess": {
+ "type": "string",
+ "default": "Disabled",
+ "title": "Access policy for SSH",
+ "description": "State of the public SSH port. Possible values are: Disabled - Indicates that the public ssh port is closed on this instance. Enabled - Indicates that the public ssh port is open and accessible according to the VNet/subnet policy if applicable.",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "x-ms-enum": {
+ "name": "sshPublicAccess",
+ "modelAsString": true
+ }
},
- "status": {
- "$ref": "#/definitions/ManagedNetworkStatus"
+ "adminUserName": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Describes the admin user name."
+ },
+ "sshPort": {
+ "type": "integer",
+ "format": "int32",
+ "readOnly": true,
+ "description": "Describes the port for connecting through SSH."
+ },
+ "adminPublicKey": {
+ "type": "string",
+ "description": "Specifies the SSH rsa public key file as a string. Use \"ssh-keygen -t rsa -b 2048\" to generate your SSH key pairs."
}
}
},
- "ManagedNetworkStatus": {
- "description": "Status for the managed network of a machine learning workspace.",
- "enum": [
- "Inactive",
- "Active"
- ],
+ "ComputeInstanceState": {
"type": "string",
- "x-ms-enum": {
- "name": "ManagedNetworkStatus",
- "modelAsString": true
- }
- },
- "IsolationMode": {
- "description": "Isolation mode for the managed network of a machine learning workspace.",
+ "description": "Current state of an ComputeInstance.",
"enum": [
- "Disabled",
- "AllowInternetOutbound",
- "AllowOnlyApprovedOutbound"
+ "Creating",
+ "CreateFailed",
+ "Deleting",
+ "Running",
+ "Restarting",
+ "JobRunning",
+ "SettingUp",
+ "SetupFailed",
+ "Starting",
+ "Stopped",
+ "Stopping",
+ "UserSettingUp",
+ "UserSetupFailed",
+ "Unknown",
+ "Unusable"
],
- "type": "string",
"x-ms-enum": {
- "name": "IsolationMode",
+ "name": "ComputeInstanceState",
"modelAsString": true
}
},
- "OutboundRule": {
- "description": "Outbound Rule for the managed network of a machine learning workspace.",
- "required": [
- "type"
- ],
+ "ComputeInstanceLastOperation": {
"type": "object",
+ "description": "The last operation on ComputeInstance.",
"properties": {
- "category": {
- "$ref": "#/definitions/RuleCategory"
+ "operationName": {
+ "type": "string",
+ "description": "Name of the last operation.",
+ "enum": [
+ "Create",
+ "Start",
+ "Stop",
+ "Restart",
+ "Reimage",
+ "Delete"
+ ],
+ "x-ms-enum": {
+ "name": "OperationName",
+ "modelAsString": true
+ }
},
- "status": {
- "$ref": "#/definitions/RuleStatus"
+ "operationTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Time of the last operation."
},
- "type": {
- "$ref": "#/definitions/RuleType"
- }
- },
- "discriminator": "type"
- },
- "PrivateEndpointOutboundRule": {
- "description": "Private Endpoint Outbound Rule for the managed network of a machine learning workspace.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/OutboundRule"
- }
- ],
- "properties": {
- "destination": {
- "$ref": "#/definitions/PrivateEndpointDestination"
+ "operationStatus": {
+ "type": "string",
+ "description": "Operation status.",
+ "enum": [
+ "InProgress",
+ "Succeeded",
+ "CreateFailed",
+ "StartFailed",
+ "StopFailed",
+ "RestartFailed",
+ "ReimageFailed",
+ "DeleteFailed"
+ ],
+ "x-ms-enum": {
+ "name": "OperationStatus",
+ "modelAsString": true
+ }
+ },
+ "operationTrigger": {
+ "type": "string",
+ "description": "Trigger of operation.",
+ "enum": [
+ "User",
+ "Schedule",
+ "IdleShutdown"
+ ],
+ "x-ms-enum": {
+ "name": "operationTrigger",
+ "modelAsString": true
+ }
}
- },
- "x-ms-discriminator-value": "PrivateEndpoint"
+ }
},
- "PrivateEndpointDestination": {
+ "ComputeInstanceVersion": {
"type": "object",
- "description": "Private Endpoint destination for a Private Endpoint Outbound Rule for the managed network of a machine learning workspace.",
+ "description": "Version of computeInstance.",
"properties": {
- "serviceResourceId": {
+ "runtime": {
"type": "string",
- "format": "arm-id"
- },
- "sparkEnabled": {
- "type": "boolean"
- },
- "sparkStatus": {
- "$ref": "#/definitions/RuleStatus"
- },
- "subresourceTarget": {
- "type": "string"
+ "description": "Runtime of compute instance.",
+ "x-nullable": true
}
}
},
- "ServiceTagOutboundRule": {
+ "ComputeSchedules": {
"type": "object",
- "description": "Service Tag Outbound Rule for the managed network of a machine learning workspace.",
- "allOf": [
- {
- "$ref": "#/definitions/OutboundRule"
- }
- ],
+ "description": "The list of schedules to be applied on the computes",
"properties": {
- "destination": {
- "$ref": "#/definitions/ServiceTagDestination"
+ "computeStartStop": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ComputeStartStopSchedule"
+ },
+ "description": "The list of compute start stop schedules to be applied."
}
- },
- "x-ms-discriminator-value": "ServiceTag"
+ }
},
- "ServiceTagDestination": {
+ "ComputeStartStopSchedule": {
"type": "object",
- "description": "Service Tag destination for a Service Tag Outbound Rule for the managed network of a machine learning workspace.",
+ "description": "Compute start stop schedule properties",
"properties": {
- "action": {
- "$ref": "#/definitions/RuleAction"
+ "id": {
+ "description": "A system assigned id for the schedule.",
+ "type": "string",
+ "x-nullable": true,
+ "readOnly": true
},
- "addressPrefixes": {
- "description": "Optional, if provided, the ServiceTag property will be ignored.",
- "type": "array",
- "items": {
- "type": "string"
+ "provisioningStatus": {
+ "description": "The current deployment state of schedule.",
+ "type": "string",
+ "enum": [
+ "Completed",
+ "Provisioning",
+ "Failed"
+ ],
+ "x-ms-enum": {
+ "name": "provisioningStatus",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Completed"
+ },
+ {
+ "value": "Provisioning"
+ },
+ {
+ "value": "Failed"
+ }
+ ]
},
"readOnly": true
},
- "portRanges": {
- "type": "string"
+ "status": {
+ "$ref": "#/definitions/ScheduleStatus"
},
- "protocol": {
- "type": "string"
+ "action": {
+ "description": "[Required] The compute power action.",
+ "$ref": "#/definitions/ComputePowerAction"
},
- "serviceTag": {
- "type": "string"
+ "triggerType": {
+ "description": "[Required] The schedule trigger type.",
+ "$ref": "#/definitions/ComputeTriggerType"
+ },
+ "recurrence": {
+ "description": "Required if triggerType is Recurrence.",
+ "$ref": "#/definitions/Recurrence"
+ },
+ "cron": {
+ "description": "Required if triggerType is Cron.",
+ "$ref": "#/definitions/Cron"
+ },
+ "schedule": {
+ "description": "[Deprecated] Not used any more.",
+ "$ref": "#/definitions/ScheduleBase"
}
}
},
- "RuleAction": {
- "description": "The action enum for networking rule.",
+ "ComputeTriggerType": {
"enum": [
- "Allow",
- "Deny"
+ "Recurrence",
+ "Cron"
],
+ "description": "Is the trigger type recurrence or cron.",
"type": "string",
"x-ms-enum": {
- "name": "RuleAction",
- "modelAsString": true
- }
+ "name": "ComputeTriggerType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Recurrence"
+ },
+ {
+ "value": "Cron"
+ }
+ ]
+ },
+ "additionalProperties": false
},
- "FqdnOutboundRule": {
+ "ScheduleBase": {
"type": "object",
- "description": "FQDN Outbound Rule for the managed network of a machine learning workspace.",
- "allOf": [
- {
- "$ref": "#/definitions/OutboundRule"
- }
- ],
"properties": {
- "destination": {
- "type": "string"
+ "id": {
+ "description": "A system assigned id for the schedule.",
+ "type": "string",
+ "x-nullable": true
+ },
+ "provisioningStatus": {
+ "$ref": "#/definitions/ScheduleProvisioningState"
+ },
+ "status": {
+ "$ref": "#/definitions/ScheduleStatus"
}
},
- "x-ms-discriminator-value": "FQDN"
+ "additionalProperties": false
},
- "RuleCategory": {
- "description": "Category of a managed network Outbound Rule of a machine learning workspace.",
+ "ScheduleProvisioningState": {
"enum": [
- "Required",
- "Recommended",
- "UserDefined",
- "Dependency"
+ "Completed",
+ "Provisioning",
+ "Failed"
],
+ "description": "The current deployment state of schedule.",
"type": "string",
"x-ms-enum": {
- "name": "RuleCategory",
- "modelAsString": true
- }
+ "name": "ScheduleProvisioningState",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Completed"
+ },
+ {
+ "value": "Provisioning"
+ },
+ {
+ "value": "Failed"
+ }
+ ]
+ },
+ "additionalProperties": false
},
- "RuleStatus": {
- "description": "Type of a managed network Outbound Rule of a machine learning workspace.",
+ "ScheduleStatus": {
"enum": [
- "Inactive",
- "Active"
+ "Enabled",
+ "Disabled"
],
+ "description": "Is the schedule enabled or disabled?",
"type": "string",
"x-ms-enum": {
- "name": "RuleStatus",
- "modelAsString": true
- }
+ "name": "ScheduleStatus",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Enabled"
+ },
+ {
+ "value": "Disabled"
+ }
+ ]
+ },
+ "additionalProperties": false
},
- "RuleType": {
- "description": "Type of a managed network Outbound Rule of a machine learning workspace.",
+ "ComputePowerAction": {
+ "type": "string",
+ "description": "The compute power action.",
"enum": [
- "FQDN",
- "PrivateEndpoint",
- "ServiceTag"
+ "Start",
+ "Stop"
],
- "type": "string",
"x-ms-enum": {
- "name": "RuleType",
+ "name": "ComputePowerAction",
"modelAsString": true
}
},
- "NotebookResourceInfo": {
+ "Recurrence": {
"type": "object",
+ "description": "The workflow trigger recurrence for ComputeStartStop schedule type.",
"properties": {
- "fqdn": {
- "type": "string"
+ "frequency": {
+ "description": "[Required] The frequency to trigger schedule.",
+ "$ref": "#/definitions/ComputeRecurrenceFrequency"
},
- "resourceId": {
- "type": "string",
- "description": "the data plane resourceId that used to initialize notebook component"
+ "interval": {
+ "description": "[Required] Specifies schedule interval in conjunction with frequency",
+ "type": "integer",
+ "format": "int32"
},
- "notebookPreparationError": {
- "$ref": "#/definitions/NotebookPreparationError",
- "description": "The error that occurs when preparing notebook.",
+ "startTime": {
+ "description": "The start time in yyyy-MM-ddTHH:mm:ss format.",
+ "type": "string",
"x-nullable": true
- }
- }
- },
- "NotebookPreparationError": {
- "type": "object",
- "properties": {
- "errorMessage": {
- "type": "string"
},
- "statusCode": {
- "format": "int32",
- "type": "integer"
- }
- }
- },
- "ListNotebookKeysResult": {
- "type": "object",
- "properties": {
- "primaryAccessKey": {
- "readOnly": true,
- "type": "string",
- "x-ms-secret": true
+ "timeZone": {
+ "description": "Specifies time zone in which the schedule runs.\r\nTimeZone should follow Windows time zone format. Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11",
+ "default": "UTC",
+ "type": "string"
},
- "secondaryAccessKey": {
- "readOnly": true,
- "type": "string",
- "x-ms-secret": true
- }
- }
- },
- "ListStorageAccountKeysResult": {
- "type": "object",
- "properties": {
- "userStorageKey": {
- "readOnly": true,
- "type": "string",
- "x-ms-secret": true
+ "schedule": {
+ "description": "[Required] The recurrence schedule.",
+ "$ref": "#/definitions/ComputeRecurrenceSchedule"
}
}
},
- "ConnectionAuthType": {
- "description": "Authentication type of the connection target",
+ "ComputeRecurrenceFrequency": {
+ "description": "Enum to describe the frequency of a compute recurrence schedule",
"enum": [
- "PAT",
- "ManagedIdentity",
- "UsernamePassword",
- "None",
- "SAS",
- "AccountKey",
- "ServicePrincipal",
- "AccessKey",
- "ApiKey",
- "CustomKeys",
- "OAuth2",
- "AAD"
+ "Minute",
+ "Hour",
+ "Day",
+ "Week",
+ "Month"
],
"type": "string",
"x-ms-enum": {
- "name": "ConnectionAuthType",
- "modelAsString": true
- }
+ "name": "ComputeRecurrenceFrequency",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Minute",
+ "description": "Minute frequency"
+ },
+ {
+ "value": "Hour",
+ "description": "Hour frequency"
+ },
+ {
+ "value": "Day",
+ "description": "Day frequency"
+ },
+ {
+ "value": "Week",
+ "description": "Week frequency"
+ },
+ {
+ "value": "Month",
+ "description": "Month frequency"
+ }
+ ]
+ },
+ "additionalProperties": false
},
- "ConnectionCategory": {
- "description": "Category of the connection",
- "enum": [
- "PythonFeed",
- "ContainerRegistry",
- "Git",
- "S3",
- "Snowflake",
- "AzureSqlDb",
- "AzureSynapseAnalytics",
- "AzureMySqlDb",
- "AzurePostgresDb",
- "ADLSGen2",
- "Redis",
- "ApiKey",
- "AzureOpenAI",
- "CognitiveSearch",
- "CognitiveService",
- "CustomKeys",
- "AzureBlob",
- "AzureOneLake",
- "CosmosDb",
- "CosmosDbMongoDbApi",
- "AzureDataExplorer",
- "AzureMariaDb",
- "AzureDatabricksDeltaLake",
- "AzureSqlMi",
- "AzureTableStorage",
- "AmazonRdsForOracle",
- "AmazonRdsForSqlServer",
- "AmazonRedshift",
- "Db2",
- "Drill",
- "GoogleBigQuery",
- "Greenplum",
- "Hbase",
- "Hive",
- "Impala",
- "Informix",
- "MariaDb",
- "MicrosoftAccess",
- "MySql",
- "Netezza",
- "Oracle",
- "Phoenix",
- "PostgreSql",
- "Presto",
- "SapOpenHub",
- "SapBw",
- "SapHana",
- "SapTable",
- "Spark",
- "SqlServer",
- "Sybase",
- "Teradata",
- "Vertica",
- "Cassandra",
- "Couchbase",
- "MongoDbV2",
- "MongoDbAtlas",
- "AmazonS3Compatible",
- "FileServer",
- "FtpServer",
- "GoogleCloudStorage",
- "Hdfs",
- "OracleCloudStorage",
- "Sftp",
- "GenericHttp",
- "ODataRest",
- "Odbc",
- "GenericRest",
- "AmazonMws",
- "Concur",
- "Dynamics",
- "DynamicsAx",
- "DynamicsCrm",
- "GoogleAdWords",
- "Hubspot",
- "Jira",
- "Magento",
- "Marketo",
- "Office365",
- "Eloqua",
- "Responsys",
- "OracleServiceCloud",
- "PayPal",
- "QuickBooks",
- "Salesforce",
- "SalesforceServiceCloud",
- "SalesforceMarketingCloud",
- "SapCloudForCustomer",
- "SapEcc",
- "ServiceNow",
- "SharePointOnlineList",
- "Shopify",
- "Square",
- "WebTable",
- "Xero",
- "Zoho",
- "GenericContainerRegistry",
- "OpenAI",
- "Serp",
- "BingLLMSearch",
- "Serverless",
- "AIServices"
+ "ComputeRecurrenceSchedule": {
+ "required": [
+ "hours",
+ "minutes"
],
- "type": "string",
- "x-ms-enum": {
- "name": "ConnectionCategory",
- "modelAsString": true
- }
- },
- "WorkspaceConnectionUsernamePassword": {
"type": "object",
"properties": {
- "username": {
- "type": "string"
+ "hours": {
+ "description": "[Required] List of hours for the schedule.",
+ "type": "array",
+ "items": {
+ "format": "int32",
+ "type": "integer"
+ }
},
- "password": {
- "type": "string"
+ "minutes": {
+ "description": "[Required] List of minutes for the schedule.",
+ "type": "array",
+ "items": {
+ "format": "int32",
+ "type": "integer"
+ }
},
- "securityToken": {
- "description": "Optional, required by connections like SalesForce for extra security in addition to UsernamePassword",
- "type": "string",
- "x-ms-secret": true
- }
- },
- "additionalProperties": false
- },
- "WorkspaceConnectionPersonalAccessToken": {
- "type": "object",
- "properties": {
- "pat": {
- "type": "string"
+ "monthDays": {
+ "description": "List of month days for the schedule",
+ "type": "array",
+ "items": {
+ "format": "int32",
+ "type": "integer"
+ },
+ "x-nullable": true
+ },
+ "weekDays": {
+ "description": "List of days for the schedule.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ComputeWeekDay"
+ },
+ "x-nullable": true
}
},
"additionalProperties": false
},
- "PATAuthTypeWorkspaceConnectionProperties": {
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/WorkspaceConnectionPropertiesV2"
- }
+ "ComputeWeekDay": {
+ "description": "Enum of weekday",
+ "enum": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday",
+ "Saturday",
+ "Sunday"
],
- "properties": {
- "credentials": {
- "$ref": "#/definitions/WorkspaceConnectionPersonalAccessToken"
- }
- },
- "additionalProperties": false,
- "x-ms-discriminator-value": "PAT"
- },
- "WorkspaceConnectionSharedAccessSignature": {
- "type": "object",
- "properties": {
- "sas": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "WorkspaceConnectionAccountKey": {
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "x-ms-secret": true
- }
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ComputeWeekDay",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Monday",
+ "description": "Monday weekday"
+ },
+ {
+ "value": "Tuesday",
+ "description": "Tuesday weekday"
+ },
+ {
+ "value": "Wednesday",
+ "description": "Wednesday weekday"
+ },
+ {
+ "value": "Thursday",
+ "description": "Thursday weekday"
+ },
+ {
+ "value": "Friday",
+ "description": "Friday weekday"
+ },
+ {
+ "value": "Saturday",
+ "description": "Saturday weekday"
+ },
+ {
+ "value": "Sunday",
+ "description": "Sunday weekday"
+ }
+ ]
},
"additionalProperties": false
},
- "SASAuthTypeWorkspaceConnectionProperties": {
+ "Cron": {
"type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/WorkspaceConnectionPropertiesV2"
- }
- ],
+ "description": "The workflow trigger cron for ComputeStartStop schedule type.",
"properties": {
- "credentials": {
- "$ref": "#/definitions/WorkspaceConnectionSharedAccessSignature"
+ "startTime": {
+ "description": "The start time in yyyy-MM-ddTHH:mm:ss format.",
+ "type": "string",
+ "x-nullable": true
+ },
+ "timeZone": {
+ "description": "Specifies time zone in which the schedule runs.\r\nTimeZone should follow Windows time zone format. Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11",
+ "type": "string",
+ "default": "UTC"
+ },
+ "expression": {
+ "description": "[Required] Specifies cron expression of schedule.\r\nThe expression should follow NCronTab format.",
+ "type": "string"
}
- },
- "additionalProperties": false,
- "x-ms-discriminator-value": "SAS"
+ }
},
- "UsernamePasswordAuthTypeWorkspaceConnectionProperties": {
+ "IdleShutdownSetting": {
"type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/WorkspaceConnectionPropertiesV2"
- }
- ],
+ "description": "Stops compute instance after user defined period of inactivity.",
"properties": {
- "credentials": {
- "$ref": "#/definitions/WorkspaceConnectionUsernamePassword"
+ "idleTimeBeforeShutdown": {
+ "type": "string",
+ "description": "Time is defined in ISO8601 format. Minimum is 15 min, maximum is 3 days."
}
- },
- "additionalProperties": false,
- "x-ms-discriminator-value": "UsernamePassword"
+ }
},
- "WorkspaceConnectionPropertiesV2": {
- "required": [
- "authType"
- ],
+ "ComputeInstanceDataMount": {
"type": "object",
+ "description": "Defines an Aml Instance DataMount.",
"properties": {
- "authType": {
- "description": "Authentication type of the connection target",
- "$ref": "#/definitions/ConnectionAuthType"
- },
- "category": {
- "description": "Category of the connection",
- "$ref": "#/definitions/ConnectionCategory"
+ "source": {
+ "type": "string",
+ "description": "Source of the ComputeInstance data mount."
},
- "createdByWorkspaceArmId": {
+ "sourceType": {
+ "description": "Data source type.",
"type": "string",
- "format": "arm-id",
- "readOnly": true
+ "enum": [
+ "Dataset",
+ "Datastore",
+ "URI"
+ ],
+ "x-ms-enum": {
+ "name": "sourceType",
+ "modelAsString": true
+ }
},
- "expiryTime": {
- "format": "date-time",
- "type": "string"
+ "mountName": {
+ "type": "string",
+ "description": "name of the ComputeInstance data mount."
},
- "group": {
- "description": "Group based on connection category",
- "$ref": "#/definitions/ConnectionGroup",
- "readOnly": true
+ "mountAction": {
+ "description": "Mount Action.",
+ "type": "string",
+ "enum": [
+ "Mount",
+ "Unmount"
+ ],
+ "x-ms-enum": {
+ "name": "mountAction",
+ "modelAsString": true
+ }
},
- "isSharedToAll": {
- "type": "boolean"
+ "createdBy": {
+ "type": "string",
+ "description": "who this data mount created by."
},
- "target": {
- "type": "string"
+ "mountPath": {
+ "type": "string",
+ "description": "Path of this data mount."
},
- "metadata": {
- "description": "Store user metadata for this connection",
- "type": "object",
- "additionalProperties": {
- "type": "string"
+ "mountState": {
+ "description": "Mount state.",
+ "type": "string",
+ "enum": [
+ "MountRequested",
+ "Mounted",
+ "MountFailed",
+ "UnmountRequested",
+ "UnmountFailed",
+ "Unmounted"
+ ],
+ "x-ms-enum": {
+ "name": "mountState",
+ "modelAsString": true
}
},
- "sharedUserList": {
- "type": "array",
- "items": {
- "type": "string"
+ "mountedOn": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Mounted time.",
+ "description": "The time when the disk mounted."
+ },
+ "error": {
+ "type": "string",
+ "description": "Error of this data mount."
+ }
+ }
+ },
+ "ComputeInstanceDataDisk": {
+ "type": "object",
+ "description": "Defines an Aml Instance DataDisk.",
+ "properties": {
+ "caching": {
+ "description": "Caching type of Data Disk.",
+ "type": "string",
+ "enum": [
+ "None",
+ "ReadOnly",
+ "ReadWrite"
+ ],
+ "x-ms-enum": {
+ "name": "caching",
+ "modelAsString": true
}
},
- "value": {
- "description": "Value details of the workspace connection.",
- "type": "string"
+ "diskSizeGB": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The initial disk size in gigabytes.",
+ "description": "The initial disk size in gigabytes."
+ },
+ "lun": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The logical unit number.",
+ "description": "The lun is used to uniquely identify each data disk. If attaching multiple disks, each should have a distinct lun."
},
- "valueFormat": {
- "description": "format for the workspace connection value",
+ "storageAccountType": {
+ "description": "type of this storage account.",
"type": "string",
+ "default": "Standard_LRS",
"enum": [
- "JSON"
+ "Standard_LRS",
+ "Premium_LRS"
],
"x-ms-enum": {
- "name": "ValueFormat",
+ "name": "storageAccountType",
"modelAsString": true
}
}
- },
- "discriminator": "authType"
+ }
},
- "NoneAuthTypeWorkspaceConnectionProperties": {
+ "ComputeInstanceContainer": {
"type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/WorkspaceConnectionPropertiesV2"
+ "description": "Defines an Aml Instance container.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the ComputeInstance container."
+ },
+ "autosave": {
+ "description": "Auto save settings.",
+ "type": "string",
+ "enum": [
+ "None",
+ "Local",
+ "Remote"
+ ],
+ "x-ms-enum": {
+ "name": "autosave",
+ "modelAsString": true
+ }
+ },
+ "gpu": {
+ "type": "string",
+ "description": "Information of GPU."
+ },
+ "network": {
+ "description": "network of this container.",
+ "type": "string",
+ "enum": [
+ "Bridge",
+ "Host"
+ ],
+ "x-ms-enum": {
+ "name": "network",
+ "modelAsString": true
+ }
+ },
+ "environment": {
+ "description": "Environment information of this container.",
+ "$ref": "#/definitions/ComputeInstanceEnvironmentInfo"
+ },
+ "services": {
+ "type": "array",
+ "readOnly": true,
+ "description": "services of this containers.",
+ "items": {
+ "type": "object"
+ },
+ "x-ms-identifiers": []
}
- ],
- "additionalProperties": false,
- "x-ms-discriminator-value": "None"
+ }
},
- "WorkspaceConnectionManagedIdentity": {
+ "ComputeInstanceEnvironmentInfo": {
"type": "object",
+ "description": "Environment information",
"properties": {
- "resourceId": {
+ "name": {
+ "description": "name of environment.",
"type": "string"
},
- "clientId": {
+ "version": {
+ "description": "version of environment.",
"type": "string"
}
- },
- "additionalProperties": false
+ }
},
- "ManagedIdentityAuthTypeWorkspaceConnectionProperties": {
+ "ComputeInstanceApplication": {
"type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/WorkspaceConnectionPropertiesV2"
+ "description": "Defines an Aml Instance application and its connectivity endpoint URI.",
+ "properties": {
+ "displayName": {
+ "type": "string",
+ "description": "Name of the ComputeInstance application."
+ },
+ "endpointUri": {
+ "type": "string",
+ "description": "Application' endpoint URI."
}
- ],
+ }
+ },
+ "ComputeInstanceConnectivityEndpoints": {
+ "type": "object",
+ "readOnly": true,
+ "description": "Defines all connectivity endpoints and properties for an ComputeInstance.",
+ "properties": {
+ "publicIpAddress": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Public IP Address of this ComputeInstance.",
+ "x-nullable": true
+ },
+ "privateIpAddress": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Private IP Address of this ComputeInstance (local to the VNET in which the compute instance is deployed).",
+ "x-nullable": true
+ }
+ }
+ },
+ "ComputeInstanceCreatedBy": {
+ "type": "object",
+ "readOnly": true,
+ "description": "Describes information on user who created this ComputeInstance.",
"properties": {
- "credentials": {
- "$ref": "#/definitions/WorkspaceConnectionManagedIdentity"
+ "userName": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Name of the user.",
+ "x-nullable": true
+ },
+ "userOrgId": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Uniquely identifies user' Azure Active Directory organization."
+ },
+ "userId": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Uniquely identifies the user within his/her organization.",
+ "x-nullable": true
}
- },
- "additionalProperties": false,
- "x-ms-discriminator-value": "ManagedIdentity"
+ }
},
- "WorkspaceConnectionPropertiesV2BasicResource": {
- "required": [
- "properties"
- ],
+ "PersonalComputeInstanceSettings": {
"type": "object",
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource"
- }
- ],
"properties": {
- "properties": {
- "$ref": "#/definitions/WorkspaceConnectionPropertiesV2"
+ "assignedUser": {
+ "$ref": "#/definitions/AssignedUser",
+ "title": "Assigned User.",
+ "description": "A user explicitly assigned to a personal compute instance."
}
},
- "additionalProperties": false
+ "description": "Settings for a personal compute instance."
},
- "WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult": {
+ "AssignedUser": {
"type": "object",
+ "description": "A user that can be assigned to a compute instance.",
"properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/WorkspaceConnectionPropertiesV2BasicResource"
- }
+ "objectId": {
+ "type": "string",
+ "description": "User’s AAD Object Id."
},
- "nextLink": {
- "readOnly": true,
- "type": "string"
+ "tenantId": {
+ "type": "string",
+ "description": "User’s AAD Tenant Id."
}
},
- "additionalProperties": false
+ "required": [
+ "objectId",
+ "tenantId"
+ ]
},
"SetupScripts": {
"type": "object",
@@ -6978,338 +3770,6 @@
"additionalProperties": {
"type": "string"
}
- },
- "FQDNEndpointDetail": {
- "type": "object",
- "properties": {
- "port": {
- "format": "int32",
- "type": "integer"
- }
- }
- },
- "FQDNEndpoint": {
- "type": "object",
- "properties": {
- "domainName": {
- "type": "string"
- },
- "endpointDetails": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/FQDNEndpointDetail"
- },
- "x-ms-identifiers": [
- "port"
- ]
- }
- }
- },
- "FQDNEndpointsProperties": {
- "type": "object",
- "properties": {
- "category": {
- "type": "string"
- },
- "endpoints": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/FQDNEndpoint"
- },
- "x-ms-identifiers": [
- "domainName"
- ]
- }
- }
- },
- "FQDNEndpoints": {
- "type": "object",
- "properties": {
- "properties": {
- "$ref": "#/definitions/FQDNEndpointsProperties"
- }
- }
- },
- "ExternalFQDNResponse": {
- "type": "object",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/FQDNEndpoints"
- },
- "x-ms-identifiers": [
- "/properties/category"
- ]
- }
- }
- },
- "FeatureStoreSettings": {
- "type": "object",
- "description": "Settings for feature store type workspace.",
- "properties": {
- "computeRuntime": {
- "$ref": "#/definitions/ComputeRuntimeDto"
- },
- "offlineStoreConnectionName": {
- "type": "string"
- },
- "onlineStoreConnectionName": {
- "type": "string"
- }
- }
- },
- "ComputeRuntimeDto": {
- "type": "object",
- "description": "Compute runtime config for feature store type workspace.",
- "properties": {
- "sparkRuntimeVersion": {
- "type": "string"
- }
- }
- },
- "AADAuthTypeWorkspaceConnectionProperties": {
- "description": "This connection type covers the AAD auth for any applicable Azure service",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/WorkspaceConnectionPropertiesV2"
- }
- ],
- "x-ms-discriminator-value": "AAD"
- },
- "AccessKeyAuthTypeWorkspaceConnectionProperties": {
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/WorkspaceConnectionPropertiesV2"
- }
- ],
- "properties": {
- "credentials": {
- "$ref": "#/definitions/WorkspaceConnectionAccessKey"
- }
- },
- "x-ms-discriminator-value": "AccessKey"
- },
- "WorkspaceConnectionAccessKey": {
- "type": "object",
- "properties": {
- "accessKeyId": {
- "type": "string"
- },
- "secretAccessKey": {
- "type": "string"
- }
- }
- },
- "AccountKeyAuthTypeWorkspaceConnectionProperties": {
- "description": "This connection type covers the account key connection for Azure storage",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/WorkspaceConnectionPropertiesV2"
- }
- ],
- "properties": {
- "credentials": {
- "$ref": "#/definitions/WorkspaceConnectionAccountKey"
- }
- },
- "x-ms-discriminator-value": "AccountKey"
- },
- "ApiKeyAuthWorkspaceConnectionProperties": {
- "description": "This connection type covers the generic ApiKey auth connection categories, for examples:\r\nAzureOpenAI:\r\n Category:= AzureOpenAI\r\n AuthType:= ApiKey (as type discriminator)\r\n Credentials:= {ApiKey} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey\r\n Target:= {ApiBase}\r\n \r\nCognitiveService:\r\n Category:= CognitiveService\r\n AuthType:= ApiKey (as type discriminator)\r\n Credentials:= {SubscriptionKey} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey\r\n Target:= ServiceRegion={serviceRegion}\r\n \r\nCognitiveSearch:\r\n Category:= CognitiveSearch\r\n AuthType:= ApiKey (as type discriminator)\r\n Credentials:= {Key} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey\r\n Target:= {Endpoint}\r\n \r\nUse Metadata property bag for ApiType, ApiVersion, Kind and other metadata fields",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/WorkspaceConnectionPropertiesV2"
- }
- ],
- "properties": {
- "credentials": {
- "$ref": "#/definitions/WorkspaceConnectionApiKey"
- }
- },
- "x-ms-discriminator-value": "ApiKey"
- },
- "WorkspaceConnectionApiKey": {
- "description": "Api key object for workspace connection credential.",
- "type": "object",
- "properties": {
- "key": {
- "type": "string"
- }
- }
- },
- "CustomKeysWorkspaceConnectionProperties": {
- "description": "Category:= CustomKeys\r\nAuthType:= CustomKeys (as type discriminator)\r\nCredentials:= {CustomKeys} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.CustomKeys\r\nTarget:= {any value}\r\nUse Metadata property bag for ApiVersion and other metadata fields",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/WorkspaceConnectionPropertiesV2"
- }
- ],
- "properties": {
- "credentials": {
- "description": "Custom Keys credential object",
- "$ref": "#/definitions/CustomKeys"
- }
- },
- "x-ms-discriminator-value": "CustomKeys"
- },
- "CustomKeys": {
- "description": "Custom Keys credential object",
- "type": "object",
- "properties": {
- "keys": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
- }
- }
- },
- "OAuth2AuthTypeWorkspaceConnectionProperties": {
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/WorkspaceConnectionPropertiesV2"
- }
- ],
- "properties": {
- "credentials": {
- "$ref": "#/definitions/WorkspaceConnectionOAuth2"
- }
- },
- "x-ms-discriminator-value": "OAuth2"
- },
- "WorkspaceConnectionOAuth2": {
- "description": "ClientId and ClientSecret are required. Other properties are optional\r\ndepending on each OAuth2 provider's implementation.",
- "type": "object",
- "properties": {
- "authUrl": {
- "description": "Required by Concur connection category",
- "type": "string",
- "format": "url"
- },
- "clientId": {
- "type": "string",
- "description": "Client id in the format of UUID",
- "format": "uuid"
- },
- "clientSecret": {
- "type": "string",
- "x-ms-secret": true
- },
- "developerToken": {
- "description": "Required by GoogleAdWords connection category",
- "type": "string",
- "x-ms-secret": true
- },
- "password": {
- "type": "string",
- "x-ms-secret": true
- },
- "refreshToken": {
- "description": "Required by GoogleBigQuery, GoogleAdWords, Hubspot, QuickBooks, Square, Xero, Zoho\r\nwhere user needs to get RefreshToken offline",
- "type": "string",
- "x-ms-secret": true
- },
- "tenantId": {
- "description": "Required by QuickBooks and Xero connection categories",
- "type": "string"
- },
- "username": {
- "description": "Concur, ServiceNow auth server AccessToken grant type is 'Password'\r\nwhich requires UsernamePassword",
- "type": "string"
- }
- }
- },
- "ServicePrincipalAuthTypeWorkspaceConnectionProperties": {
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/WorkspaceConnectionPropertiesV2"
- }
- ],
- "properties": {
- "credentials": {
- "$ref": "#/definitions/WorkspaceConnectionServicePrincipal"
- }
- },
- "x-ms-discriminator-value": "ServicePrincipal"
- },
- "WorkspaceConnectionServicePrincipal": {
- "type": "object",
- "properties": {
- "clientId": {
- "type": "string"
- },
- "clientSecret": {
- "x-ms-secret": true,
- "type": "string"
- },
- "tenantId": {
- "type": "string"
- }
- }
- },
- "ConnectionGroup": {
- "description": "Group based on connection category",
- "enum": [
- "Azure",
- "AzureAI",
- "Database",
- "NoSQL",
- "File",
- "GenericProtocol",
- "ServicesAndApps"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "ConnectionGroup",
- "modelAsString": true
- }
- },
- "EncryptionUpdateProperties": {
- "required": [
- "keyVaultProperties"
- ],
- "type": "object",
- "properties": {
- "keyVaultProperties": {
- "$ref": "#/definitions/EncryptionKeyVaultUpdateProperties"
- }
- }
- },
- "EncryptionKeyVaultUpdateProperties": {
- "required": [
- "keyIdentifier"
- ],
- "type": "object",
- "properties": {
- "keyIdentifier": {
- "minLength": 1,
- "pattern": "[a-zA-Z0-9_]",
- "type": "string"
- }
- }
- },
- "WorkspaceHubConfig": {
- "description": "WorkspaceHub's configuration object.",
- "type": "object",
- "properties": {
- "additionalWorkspaceStorageAccounts": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "defaultWorkspaceResourceGroup": {
- "type": "string"
- }
- }
}
}
}
diff --git a/swagger-specs/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/mfe.json b/swagger-specs/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-10-01/mfe.json
similarity index 99%
rename from swagger-specs/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/mfe.json
rename to swagger-specs/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-10-01/mfe.json
index 6ef352753..1cf6cf073 100644
--- a/swagger-specs/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/mfe.json
+++ b/swagger-specs/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-10-01/mfe.json
@@ -2,7 +2,7 @@
"swagger": "2.0",
"info": {
"title": "Azure Machine Learning Services",
- "version": "2024-04-01"
+ "version": "2024-10-01"
},
"host": "management.azure.com",
"schemes": [
@@ -37,17 +37,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/CodeContainerResourceArmPaginatedResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -93,11 +93,8 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
+ "200": {
+ "description": "Success"
},
"202": {
"description": "Accepted",
@@ -120,11 +117,14 @@
}
}
},
- "200": {
- "description": "Success"
- },
"204": {
"description": "No Content"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -169,17 +169,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/CodeContainerResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -232,12 +232,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Create or update request is successful.",
"schema": {
@@ -260,6 +254,12 @@
"type": "string"
}
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -322,17 +322,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/CodeVersionResourceArmPaginatedResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -385,11 +385,8 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
+ "200": {
+ "description": "Success"
},
"202": {
"description": "Accepted",
@@ -412,11 +409,14 @@
}
}
},
- "200": {
- "description": "Success"
- },
"204": {
"description": "No Content"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -468,17 +468,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/CodeVersionResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -538,12 +538,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Create or update request is successful.",
"schema": {
@@ -566,6 +560,12 @@
"type": "string"
}
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -631,17 +631,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/PendingUploadResponseDto"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -679,17 +679,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/ComponentContainerResourceArmPaginatedResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -735,11 +735,8 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
+ "200": {
+ "description": "Success"
},
"202": {
"description": "Accepted",
@@ -762,11 +759,14 @@
}
}
},
- "200": {
- "description": "Success"
- },
"204": {
"description": "No Content"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -811,17 +811,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/ComponentContainerResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -874,12 +874,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Create or update request is successful.",
"schema": {
@@ -902,6 +896,12 @@
"type": "string"
}
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -964,17 +964,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/ComponentVersionResourceArmPaginatedResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -1027,11 +1027,8 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
+ "200": {
+ "description": "Success"
},
"202": {
"description": "Accepted",
@@ -1054,11 +1051,14 @@
}
}
},
- "200": {
- "description": "Success"
- },
"204": {
"description": "No Content"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -1110,17 +1110,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/ComponentVersionResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -1180,12 +1180,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Create or update request is successful.",
"schema": {
@@ -1208,6 +1202,12 @@
"type": "string"
}
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -1276,17 +1276,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/DataContainerResourceArmPaginatedResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -1331,11 +1331,8 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
+ "200": {
+ "description": "Success"
},
"202": {
"description": "Accepted",
@@ -1358,11 +1355,14 @@
}
}
},
- "200": {
- "description": "Success"
- },
"204": {
"description": "No Content"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -1406,19 +1406,19 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/DataContainerResource"
}
- }
- },
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
"x-ms-examples": {
"Get Registry Data Container.": {
"$ref": "./examples/Registry/DataContainer/get.json"
@@ -1469,12 +1469,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Create or update request is successful.",
"schema": {
@@ -1497,6 +1491,12 @@
"type": "string"
}
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -1591,17 +1591,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/DataVersionBaseResourceArmPaginatedResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -1653,11 +1653,8 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
+ "200": {
+ "description": "Success"
},
"202": {
"description": "Accepted",
@@ -1680,11 +1677,14 @@
}
}
},
- "200": {
- "description": "Success"
- },
"204": {
"description": "No Content"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -1735,17 +1735,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/DataVersionBaseResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -1805,12 +1805,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Create or update request is successful.",
"schema": {
@@ -1833,6 +1827,12 @@
"type": "string"
}
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -1897,17 +1897,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/PendingUploadResponseDto"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -1969,17 +1969,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/GetBlobReferenceSASResponseDto"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -2044,17 +2044,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/EnvironmentContainerResourceArmPaginatedResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -2100,11 +2100,8 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
+ "200": {
+ "description": "Success"
},
"202": {
"description": "Accepted",
@@ -2127,11 +2124,14 @@
}
}
},
- "200": {
- "description": "Success"
- },
"204": {
"description": "No Content"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -2176,17 +2176,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/EnvironmentContainerResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -2239,12 +2239,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Create or update request is successful.",
"schema": {
@@ -2267,6 +2261,12 @@
"type": "string"
}
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -2356,17 +2356,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/EnvironmentVersionResourceArmPaginatedResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -2419,11 +2419,8 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
+ "200": {
+ "description": "Success"
},
"202": {
"description": "Accepted",
@@ -2446,11 +2443,14 @@
}
}
},
- "200": {
- "description": "Success"
- },
"204": {
"description": "No Content"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -2502,17 +2502,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/EnvironmentVersionResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -2572,12 +2572,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Create or update request is successful.",
"schema": {
@@ -2600,6 +2594,12 @@
"type": "string"
}
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -2668,17 +2668,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/ModelContainerResourceArmPaginatedResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -2724,11 +2724,8 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
+ "200": {
+ "description": "Success"
},
"202": {
"description": "Accepted",
@@ -2751,11 +2748,14 @@
}
}
},
- "200": {
- "description": "Success"
- },
"204": {
"description": "No Content"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -2800,17 +2800,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/ModelContainerResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -2863,12 +2863,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Create or update request is successful.",
"schema": {
@@ -2891,6 +2885,12 @@
"type": "string"
}
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -3004,16 +3004,16 @@
}
],
"responses": {
- "default": {
- "description": "Error",
+ "200": {
+ "description": "Success",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "#/definitions/ModelVersionResourceArmPaginatedResult"
}
},
- "200": {
- "description": "Success",
+ "default": {
+ "description": "Error",
"schema": {
- "$ref": "#/definitions/ModelVersionResourceArmPaginatedResult"
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
}
}
},
@@ -3067,11 +3067,8 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
+ "200": {
+ "description": "Success"
},
"202": {
"description": "Accepted",
@@ -3094,11 +3091,14 @@
}
}
},
- "200": {
- "description": "Success"
- },
"204": {
"description": "No Content"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -3150,17 +3150,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/ModelVersionResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -3220,12 +3220,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Create or update request is successful.",
"schema": {
@@ -3248,6 +3242,12 @@
"type": "string"
}
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -3313,17 +3313,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/PendingUploadResponseDto"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -3368,17 +3368,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/BatchEndpointTrackedResourceArmPaginatedResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -3423,12 +3423,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success"
},
@@ -3455,6 +3449,12 @@
},
"204": {
"description": "No Content"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -3498,17 +3498,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/BatchEndpointTrackedResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -3561,12 +3561,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
@@ -3593,6 +3587,12 @@
"minimum": 10
}
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -3646,12 +3646,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Create or update request is successful.",
"schema": {
@@ -3674,6 +3668,12 @@
"type": "string"
}
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -3735,17 +3735,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/BatchDeploymentTrackedResourceArmPaginatedResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -3797,11 +3797,8 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
+ "200": {
+ "description": "Success"
},
"202": {
"description": "Accepted",
@@ -3824,11 +3821,14 @@
}
}
},
- "200": {
- "description": "Success"
- },
"204": {
"description": "No Content"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -3879,17 +3879,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/BatchDeploymentTrackedResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -3950,12 +3950,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
@@ -3982,6 +3976,12 @@
"minimum": 10
}
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -4043,12 +4043,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Create or update request is successful.",
"schema": {
@@ -4071,6 +4065,12 @@
"type": "string"
}
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -4116,17 +4116,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/EndpointAuthKeys"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -4164,17 +4164,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/CodeContainerResourceArmPaginatedResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -4219,17 +4219,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success"
},
"204": {
"description": "No Content"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -4269,17 +4269,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/CodeContainerResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -4332,12 +4332,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Create or update request is successful.",
"schema": {
@@ -4349,6 +4343,12 @@
"schema": {
"$ref": "#/definitions/CodeContainerResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -4418,17 +4418,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/CodeVersionResourceArmPaginatedResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -4480,17 +4480,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success"
},
"204": {
"description": "No Content"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -4537,17 +4537,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/CodeVersionResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -4607,12 +4607,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Create or update request is successful.",
"schema": {
@@ -4624,6 +4618,12 @@
"schema": {
"$ref": "#/definitions/CodeVersionResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -4684,12 +4684,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success"
},
@@ -4708,6 +4702,12 @@
"minimum": 10
}
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -4772,17 +4772,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/PendingUploadResponseDto"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -4847,17 +4847,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/ComponentContainerResourceArmPaginatedResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -4902,17 +4902,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success"
},
"204": {
"description": "No Content"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -4952,17 +4952,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/ComponentContainerResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -5015,12 +5015,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Create or update request is successful.",
"schema": {
@@ -5032,6 +5026,12 @@
"schema": {
"$ref": "#/definitions/ComponentContainerResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -5116,17 +5116,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/ComponentVersionResourceArmPaginatedResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -5178,17 +5178,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success"
},
"204": {
"description": "No Content"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -5235,17 +5235,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/ComponentVersionResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -5305,12 +5305,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Create or update request is successful.",
"schema": {
@@ -5322,6 +5316,12 @@
"schema": {
"$ref": "#/definitions/ComponentVersionResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -5382,12 +5382,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success"
},
@@ -5406,6 +5400,12 @@
"minimum": 10
}
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -5474,17 +5474,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/DataContainerResourceArmPaginatedResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -5529,17 +5529,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success"
},
"204": {
"description": "No Content"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -5579,17 +5579,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/DataContainerResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -5642,12 +5642,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Create or update request is successful.",
"schema": {
@@ -5659,6 +5653,12 @@
"schema": {
"$ref": "#/definitions/DataContainerResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -5749,17 +5749,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/DataVersionBaseResourceArmPaginatedResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -5811,17 +5811,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success"
},
"204": {
"description": "No Content"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -5868,17 +5868,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/DataVersionBaseResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -5938,14 +5938,8 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
- "200": {
- "description": "Create or update request is successful.",
+ "200": {
+ "description": "Create or update request is successful.",
"schema": {
"$ref": "#/definitions/DataVersionBaseResource"
}
@@ -5955,6 +5949,12 @@
"schema": {
"$ref": "#/definitions/DataVersionBaseResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -6015,12 +6015,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success"
},
@@ -6039,6 +6033,12 @@
"minimum": 10
}
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -6122,17 +6122,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/DatastoreResourceArmPaginatedResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -6177,17 +6177,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success"
},
"204": {
"description": "No Content"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -6227,17 +6227,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/DatastoreResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -6297,12 +6297,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Create or update request is successful.",
"schema": {
@@ -6314,6 +6308,12 @@
"schema": {
"$ref": "#/definitions/DatastoreResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -6364,18 +6364,18 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"description": "Base definition for datastore secrets.",
"$ref": "#/definitions/DatastoreSecrets"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -6440,17 +6440,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/EnvironmentContainerResourceArmPaginatedResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -6495,17 +6495,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success"
},
"204": {
"description": "No Content"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -6545,17 +6545,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/EnvironmentContainerResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -6608,12 +6608,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Create or update request is successful.",
"schema": {
@@ -6625,6 +6619,12 @@
"schema": {
"$ref": "#/definitions/EnvironmentContainerResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -6709,17 +6709,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/EnvironmentVersionResourceArmPaginatedResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -6771,17 +6771,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success"
},
"204": {
"description": "No Content"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -6828,17 +6828,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/EnvironmentVersionResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -6898,12 +6898,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Create or update request is successful.",
"schema": {
@@ -6915,6 +6909,12 @@
"schema": {
"$ref": "#/definitions/EnvironmentVersionResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -6975,12 +6975,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success"
},
@@ -6999,6 +6993,12 @@
"minimum": 10
}
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -7099,17 +7099,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/FeaturesetContainerResourceArmPaginatedResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -7218,17 +7218,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/FeatureResourceArmPaginatedResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -7289,17 +7289,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/FeatureResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -7341,12 +7341,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success"
},
@@ -7373,6 +7367,12 @@
},
"204": {
"description": "No Content"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -7416,17 +7416,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/FeaturesetContainerResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -7479,14 +7479,8 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
- "200": {
- "description": "Create or update request is successful.",
+ "200": {
+ "description": "Create or update request is successful.",
"schema": {
"$ref": "#/definitions/FeaturesetContainerResource"
}
@@ -7507,6 +7501,12 @@
"type": "string"
}
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -7626,17 +7626,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/FeaturesetVersionResourceArmPaginatedResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -7688,12 +7688,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success"
},
@@ -7720,6 +7714,12 @@
},
"204": {
"description": "No Content"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -7770,17 +7770,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/FeaturesetVersionResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -7840,12 +7840,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Create or update request is successful.",
"schema": {
@@ -7868,6 +7862,12 @@
"type": "string"
}
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -7932,12 +7932,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
@@ -7959,6 +7953,12 @@
"minimum": 10
}
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -8059,17 +8059,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/FeaturestoreEntityContainerResourceArmPaginatedResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -8114,12 +8114,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success"
},
@@ -8146,6 +8140,12 @@
},
"204": {
"description": "No Content"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -8189,17 +8189,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/FeaturestoreEntityContainerResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -8252,12 +8252,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Create or update request is successful.",
"schema": {
@@ -8280,6 +8274,12 @@
"type": "string"
}
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -8399,17 +8399,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/FeaturestoreEntityVersionResourceArmPaginatedResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -8461,12 +8461,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success"
},
@@ -8493,6 +8487,12 @@
},
"204": {
"description": "No Content"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -8543,17 +8543,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/FeaturestoreEntityVersionResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -8613,12 +8613,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Create or update request is successful.",
"schema": {
@@ -8641,6 +8635,12 @@
"type": "string"
}
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -8727,17 +8727,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/JobBaseResourceArmPaginatedResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -8791,12 +8791,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success"
},
@@ -8823,6 +8817,12 @@
},
"204": {
"description": "No Content"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -8866,17 +8866,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/JobBaseResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -8938,12 +8938,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Create or update request is successful.",
"schema": {
@@ -8955,6 +8949,12 @@
"schema": {
"$ref": "#/definitions/JobBaseResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -9005,11 +9005,8 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
+ "200": {
+ "description": "Success"
},
"202": {
"description": "Accepted",
@@ -9027,8 +9024,11 @@
}
}
},
- "200": {
- "description": "Success"
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -9070,17 +9070,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/MarketplaceSubscriptionResourceArmPaginatedResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -9126,15 +9126,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
- "204": {
- "description": "No Content"
- },
"202": {
"description": "Accepted",
"headers": {
@@ -9155,11 +9146,20 @@
"minimum": 10
}
}
- }
- },
- "x-ms-examples": {
- "Delete Workspace Marketplace Subscription.": {
- "$ref": "./examples/Workspace/MarketplaceSubscription/delete.json"
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete Workspace Marketplace Subscription.": {
+ "$ref": "./examples/Workspace/MarketplaceSubscription/delete.json"
}
},
"x-ms-long-running-operation": true,
@@ -9198,17 +9198,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/MarketplaceSubscriptionResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -9261,12 +9261,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Create or update request is successful.",
"schema": {
@@ -9289,6 +9283,12 @@
"type": "string"
}
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -9364,17 +9364,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/ModelContainerResourceArmPaginatedResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -9419,17 +9419,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success"
},
"204": {
"description": "No Content"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -9469,17 +9469,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/ModelContainerResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -9532,12 +9532,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Create or update request is successful.",
"schema": {
@@ -9549,6 +9543,12 @@
"schema": {
"$ref": "#/definitions/ModelContainerResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -9670,17 +9670,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/ModelVersionResourceArmPaginatedResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -9732,17 +9732,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success"
},
"204": {
"description": "No Content"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -9789,17 +9789,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/ModelVersionResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -9859,12 +9859,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Create or update request is successful.",
"schema": {
@@ -9876,6 +9870,12 @@
"schema": {
"$ref": "#/definitions/ModelVersionResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -9936,12 +9936,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success"
},
@@ -9960,6 +9954,12 @@
"minimum": 10
}
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -10057,17 +10057,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/OnlineEndpointTrackedResourceArmPaginatedResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -10112,14 +10112,8 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
- "204": {
- "description": "No Content"
+ "200": {
+ "description": "Success"
},
"202": {
"description": "Accepted",
@@ -10142,8 +10136,14 @@
}
}
},
- "200": {
- "description": "Success"
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -10187,17 +10187,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/OnlineEndpointTrackedResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -10249,12 +10249,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
@@ -10281,6 +10275,12 @@
"minimum": 10
}
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -10334,12 +10334,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Create or update request is successful.",
"schema": {
@@ -10362,6 +10356,12 @@
"type": "string"
}
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -10423,17 +10423,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/OnlineDeploymentTrackedResourceArmPaginatedResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -10485,18 +10485,9 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success"
},
- "204": {
- "description": "No Content"
- },
"202": {
"description": "Accepted",
"headers": {
@@ -10517,6 +10508,15 @@
"minimum": 10
}
}
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -10567,17 +10567,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/OnlineDeploymentTrackedResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -10641,12 +10641,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
@@ -10673,6 +10667,12 @@
"minimum": 10
}
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -10737,12 +10737,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Create or update request is successful.",
"schema": {
@@ -10765,6 +10759,12 @@
"type": "string"
}
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -10832,17 +10832,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/DeploymentLogs"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -10901,17 +10901,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/SkuResourceArmPaginatedResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -10959,17 +10959,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/EndpointAuthKeys"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -11023,12 +11023,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success"
},
@@ -11047,6 +11041,12 @@
"minimum": 10
}
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -11092,17 +11092,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/EndpointAuthToken"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -11167,17 +11167,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/ScheduleResourceArmPaginatedResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -11222,12 +11222,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success"
},
@@ -11254,6 +11248,12 @@
},
"204": {
"description": "No Content"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -11297,17 +11297,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/ScheduleResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -11360,12 +11360,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Create or update request is successful.",
"schema": {
@@ -11388,6 +11382,12 @@
"type": "string"
}
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -11429,17 +11429,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/ServerlessEndpointTrackedResourceArmPaginatedResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -11485,15 +11485,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
- "204": {
- "description": "No Content"
- },
"202": {
"description": "Accepted",
"headers": {
@@ -11514,6 +11505,15 @@
"minimum": 10
}
}
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -11557,17 +11557,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/ServerlessEndpointTrackedResource"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -11620,12 +11620,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
@@ -11652,6 +11646,12 @@
"minimum": 10
}
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -11705,12 +11705,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Create or update request is successful.",
"schema": {
@@ -11733,6 +11727,12 @@
"type": "string"
}
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -11779,17 +11779,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/EndpointAuthKeys"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -11844,12 +11844,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- },
"200": {
"description": "Success",
"schema": {
@@ -11871,6 +11865,12 @@
"minimum": 10
}
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -11994,23 +11994,23 @@
}
],
"properties": {
- "isArchived": {
- "description": "Is the asset archived?",
+ "isAnonymous": {
+ "description": "If the name version are system generated (anonymous registration).",
"default": false,
"type": "boolean",
"x-ms-mutability": [
"create",
- "read",
- "update"
+ "read"
]
},
- "isAnonymous": {
- "description": "If the name version are system generated (anonymous registration).",
+ "isArchived": {
+ "description": "Is the asset archived?",
"default": false,
"type": "boolean",
"x-ms-mutability": [
"create",
- "read"
+ "read",
+ "update"
]
}
},
@@ -12062,12 +12062,6 @@
],
"type": "object",
"properties": {
- "uri": {
- "description": "[Required] Input Asset URI.",
- "minLength": 1,
- "pattern": "[a-zA-Z0-9_]",
- "type": "string"
- },
"mode": {
"description": "Input Asset Delivery Mode.",
"default": "ReadOnlyMount",
@@ -12076,6 +12070,12 @@
"create",
"read"
]
+ },
+ "uri": {
+ "description": "[Required] Input Asset URI.",
+ "minLength": 1,
+ "pattern": "[a-zA-Z0-9_]",
+ "type": "string"
}
},
"additionalProperties": false
@@ -12084,11 +12084,6 @@
"description": "Asset output type.",
"type": "object",
"properties": {
- "uri": {
- "description": "Output Asset URI.",
- "type": "string",
- "x-nullable": true
- },
"mode": {
"description": "Output Asset Delivery Mode.",
"default": "ReadWriteMount",
@@ -12097,9 +12092,14 @@
"create",
"read"
]
- }
- },
- "additionalProperties": false
+ },
+ "uri": {
+ "description": "Output Asset URI.",
+ "type": "string",
+ "x-nullable": true
+ }
+ },
+ "additionalProperties": false
},
"AssetProvisioningState": {
"description": "Provisioning state of registry asset.",
@@ -12175,15 +12175,6 @@
}
],
"properties": {
- "resources": {
- "description": "Compute Resource configuration for the job.",
- "default": "{}",
- "$ref": "#/definitions/JobResourceConfiguration",
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
"environmentId": {
"description": "The ARM resource ID of the Environment specification for the job.\r\nThis is optional value to provide, if not provided, AutoML will default this to Production AutoML curated environment version when running the job.",
"type": "string",
@@ -12206,10 +12197,6 @@
],
"x-nullable": true
},
- "taskDetails": {
- "description": "[Required] This represents scenario which can be one of Tables/NLP/Image",
- "$ref": "#/definitions/AutoMLVertical"
- },
"outputs": {
"description": "Mapping of output data bindings used in the job.",
"type": "object",
@@ -12232,6 +12219,19 @@
"read"
],
"x-nullable": true
+ },
+ "resources": {
+ "description": "Compute Resource configuration for the job.",
+ "default": "{}",
+ "$ref": "#/definitions/JobResourceConfiguration",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "taskDetails": {
+ "description": "[Required] This represents scenario which can be one of Tables/NLP/Image",
+ "$ref": "#/definitions/AutoMLVertical"
}
},
"x-ms-discriminator-value": "AutoML",
@@ -12245,6 +12245,16 @@
],
"type": "object",
"properties": {
+ "logVerbosity": {
+ "description": "Log verbosity for the job.",
+ "default": "Info",
+ "$ref": "#/definitions/LogVerbosity"
+ },
+ "targetColumnName": {
+ "description": "Target column name: This is prediction values column.\r\nAlso known as label column name in context of classification tasks.",
+ "type": "string",
+ "x-nullable": true
+ },
"taskType": {
"description": "[Required] Task type for AutoMLJob.",
"$ref": "#/definitions/TaskType",
@@ -12253,19 +12263,9 @@
"read"
]
},
- "logVerbosity": {
- "description": "Log verbosity for the job.",
- "default": "Info",
- "$ref": "#/definitions/LogVerbosity"
- },
"trainingData": {
"description": "[Required] Training data input.",
"$ref": "#/definitions/MLTableJobInput"
- },
- "targetColumnName": {
- "description": "Target column name: This is prediction values column.\r\nAlso known as label column name in context of classification tasks.",
- "type": "string",
- "x-nullable": true
}
},
"discriminator": "taskType"
@@ -12411,20 +12411,20 @@
}
],
"properties": {
- "storeName": {
- "description": "[Required] Azure Data Lake store name.",
- "minLength": 1,
- "pattern": "[a-zA-Z0-9_]",
- "type": "string",
+ "serviceDataAccessAuthIdentity": {
+ "description": "Indicates which identity to use to authenticate service data access to customer's storage.",
+ "default": "None",
+ "$ref": "#/definitions/ServiceDataAccessAuthIdentity",
"x-ms-mutability": [
"create",
"read"
]
},
- "serviceDataAccessAuthIdentity": {
- "description": "Indicates which identity to use to authenticate service data access to customer's storage.",
- "default": "None",
- "$ref": "#/definitions/ServiceDataAccessAuthIdentity",
+ "storeName": {
+ "description": "[Required] Azure Data Lake store name.",
+ "minLength": 1,
+ "pattern": "[a-zA-Z0-9_]",
+ "type": "string",
"x-ms-mutability": [
"create",
"read"
@@ -12450,16 +12450,6 @@
}
],
"properties": {
- "filesystem": {
- "description": "[Required] The name of the Data Lake Gen2 filesystem.",
- "minLength": 1,
- "pattern": "[a-zA-Z0-9_]",
- "type": "string",
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
"accountName": {
"description": "[Required] Storage account name.",
"minLength": 1,
@@ -12480,6 +12470,16 @@
],
"x-nullable": true
},
+ "filesystem": {
+ "description": "[Required] The name of the Data Lake Gen2 filesystem.",
+ "minLength": 1,
+ "pattern": "[a-zA-Z0-9_]",
+ "type": "string",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
"protocol": {
"description": "Protocol used to communicate with the storage account.",
"type": "string",
@@ -12507,13 +12507,13 @@
"description": "Base definition for Azure datastore contents configuration.",
"type": "object",
"properties": {
- "subscriptionId": {
- "description": "Azure Subscription Id",
+ "resourceGroup": {
+ "description": "Azure Resource Group name",
"type": "string",
"x-nullable": true
},
- "resourceGroup": {
- "description": "Azure Resource Group name",
+ "subscriptionId": {
+ "description": "Azure Subscription Id",
"type": "string",
"x-nullable": true
}
@@ -12557,16 +12557,6 @@
"read"
]
},
- "fileShareName": {
- "description": "[Required] The name of the Azure file share that the datastore points to.",
- "minLength": 1,
- "pattern": "[a-zA-Z0-9_]",
- "type": "string",
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
"endpoint": {
"description": "Azure cloud endpoint for the storage account.",
"type": "string",
@@ -12577,6 +12567,16 @@
],
"x-nullable": true
},
+ "fileShareName": {
+ "description": "[Required] The name of the Azure file share that the datastore points to.",
+ "minLength": 1,
+ "pattern": "[a-zA-Z0-9_]",
+ "type": "string",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
"protocol": {
"description": "Protocol used to communicate with the storage account.",
"type": "string",
@@ -12609,15 +12609,15 @@
}
],
"properties": {
- "slackFactor": {
+ "slackAmount": {
"format": "float",
- "description": "Ratio of the allowed distance from the best performing run.",
+ "description": "Absolute distance allowed from the best performing run.",
"default": 0,
"type": "number"
},
- "slackAmount": {
+ "slackFactor": {
"format": "float",
- "description": "Absolute distance allowed from the best performing run.",
+ "description": "Ratio of the allowed distance from the best performing run.",
"default": 0,
"type": "number"
}
@@ -12650,10 +12650,16 @@
"default": -1,
"type": "integer"
},
- "retrySettings": {
- "description": "Retry Settings for the batch inference operation.\r\nIf not provided, will default to the defaults defined in BatchRetrySettings.",
- "$ref": "#/definitions/BatchRetrySettings",
- "x-nullable": true
+ "loggingLevel": {
+ "description": "Logging level for batch inference operation.",
+ "default": "Info",
+ "$ref": "#/definitions/BatchLoggingLevel"
+ },
+ "maxConcurrencyPerInstance": {
+ "format": "int32",
+ "description": "Indicates maximum number of parallelism per instance.",
+ "default": 1,
+ "type": "integer"
},
"miniBatchSize": {
"format": "int64",
@@ -12661,22 +12667,11 @@
"default": 10,
"type": "integer"
},
- "loggingLevel": {
- "description": "Logging level for batch inference operation.",
- "default": "Info",
- "$ref": "#/definitions/BatchLoggingLevel"
- },
"model": {
"description": "Reference to the model asset for the endpoint deployment.",
"$ref": "#/definitions/AssetReferenceBase",
"x-nullable": true
},
- "maxConcurrencyPerInstance": {
- "format": "int32",
- "description": "Indicates maximum number of parallelism per instance.",
- "default": 1,
- "type": "integer"
- },
"outputAction": {
"description": "Indicates how the output will be organized.",
"default": "AppendRow",
@@ -12687,11 +12682,6 @@
"default": "predictions.csv",
"type": "string"
},
- "resources": {
- "description": "Indicates compute configuration for the job.\r\nIf not provided, will default to the defaults defined in ResourceConfiguration.",
- "$ref": "#/definitions/DeploymentResourceConfiguration",
- "x-nullable": true
- },
"provisioningState": {
"description": "Provisioning state for the endpoint deployment.",
"$ref": "#/definitions/DeploymentProvisioningState",
@@ -12699,6 +12689,16 @@
"x-ms-mutability": [
"read"
]
+ },
+ "resources": {
+ "description": "Indicates compute configuration for the job.\r\nIf not provided, will default to the defaults defined in ResourceConfiguration.",
+ "$ref": "#/definitions/DeploymentResourceConfiguration",
+ "x-nullable": true
+ },
+ "retrySettings": {
+ "description": "Retry Settings for the batch inference operation.\r\nIf not provided, will default to the defaults defined in BatchRetrySettings.",
+ "$ref": "#/definitions/BatchRetrySettings",
+ "x-nullable": true
}
},
"x-ms-client-name": "BatchDeploymentProperties",
@@ -12751,17 +12751,17 @@
}
],
"properties": {
- "properties": {
- "description": "[Required] Additional attributes of the entity.",
- "$ref": "#/definitions/BatchDeployment"
+ "identity": {
+ "description": "Managed service identity (system assigned and/or user assigned identities)",
+ "$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/ManagedServiceIdentity"
},
"kind": {
"description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.",
"type": "string"
},
- "identity": {
- "description": "Managed service identity (system assigned and/or user assigned identities)",
- "$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/ManagedServiceIdentity"
+ "properties": {
+ "description": "[Required] Additional attributes of the entity.",
+ "$ref": "#/definitions/BatchDeployment"
},
"sku": {
"description": "Sku details required for ARM contract for Autoscaling.",
@@ -12775,16 +12775,16 @@
"description": "A paginated list of BatchDeployment entities.",
"type": "object",
"properties": {
+ "nextLink": {
+ "description": "The link to the next page of BatchDeployment objects. If null, there are no additional pages.",
+ "type": "string"
+ },
"value": {
"description": "An array of objects of type BatchDeployment.",
"type": "array",
"items": {
"$ref": "#/definitions/BatchDeploymentTrackedResource"
}
- },
- "nextLink": {
- "description": "The link to the next page of BatchDeployment objects. If null, there are no additional pages.",
- "type": "string"
}
},
"additionalProperties": false
@@ -12839,17 +12839,17 @@
}
],
"properties": {
- "properties": {
- "description": "[Required] Additional attributes of the entity.",
- "$ref": "#/definitions/BatchEndpoint"
+ "identity": {
+ "description": "Managed service identity (system assigned and/or user assigned identities)",
+ "$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/ManagedServiceIdentity"
},
"kind": {
"description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.",
"type": "string"
},
- "identity": {
- "description": "Managed service identity (system assigned and/or user assigned identities)",
- "$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/ManagedServiceIdentity"
+ "properties": {
+ "description": "[Required] Additional attributes of the entity.",
+ "$ref": "#/definitions/BatchEndpoint"
},
"sku": {
"description": "Sku details required for ARM contract for Autoscaling.",
@@ -12863,16 +12863,16 @@
"description": "A paginated list of BatchEndpoint entities.",
"type": "object",
"properties": {
+ "nextLink": {
+ "description": "The link to the next page of BatchEndpoint objects. If null, there are no additional pages.",
+ "type": "string"
+ },
"value": {
"description": "An array of objects of type BatchEndpoint.",
"type": "array",
"items": {
"$ref": "#/definitions/BatchEndpointTrackedResource"
}
- },
- "nextLink": {
- "description": "The link to the next page of BatchEndpoint objects. If null, there are no additional pages.",
- "type": "string"
}
},
"additionalProperties": false
@@ -13003,15 +13003,15 @@
"type": "string",
"x-nullable": true
},
- "storageAccountArmId": {
- "description": "Arm ID of the storage account to use",
- "type": "string",
- "x-nullable": true
- },
"credential": {
"description": "Credential info to access storage account",
"$ref": "#/definitions/PendingUploadCredentialDto",
"x-nullable": true
+ },
+ "storageAccountArmId": {
+ "description": "Arm ID of the storage account to use",
+ "type": "string",
+ "x-nullable": true
}
},
"additionalProperties": false
@@ -13280,35 +13280,35 @@
"type": "string",
"x-nullable": true
},
+ "clientId": {
+ "format": "uuid",
+ "description": "[Required] Service principal client ID.",
+ "type": "string"
+ },
"resourceUrl": {
"description": "Resource the service principal has access to.",
"type": "string",
"x-nullable": true
},
+ "secrets": {
+ "description": "[Required] Service principal secrets.",
+ "$ref": "#/definitions/CertificateDatastoreSecrets",
+ "x-ms-mutability": [
+ "create",
+ "update"
+ ],
+ "x-ms-secret": true
+ },
"tenantId": {
"format": "uuid",
"description": "[Required] ID of the tenant to which the service principal belongs.",
"type": "string"
},
- "clientId": {
- "format": "uuid",
- "description": "[Required] Service principal client ID.",
- "type": "string"
- },
"thumbprint": {
"description": "[Required] Thumbprint of the certificate used for authentication.",
"minLength": 1,
"pattern": "[a-zA-Z0-9_]",
"type": "string"
- },
- "secrets": {
- "description": "[Required] Service principal secrets.",
- "$ref": "#/definitions/CertificateDatastoreSecrets",
- "x-ms-mutability": [
- "create",
- "update"
- ],
- "x-ms-secret": true
}
},
"x-ms-discriminator-value": "Certificate",
@@ -13344,6 +13344,11 @@
}
],
"properties": {
+ "positiveLabel": {
+ "description": "Positive label for binary metrics calculation.",
+ "type": "string",
+ "x-nullable": true
+ },
"primaryMetric": {
"description": "Primary metric for the task.",
"default": "AUCWeighted",
@@ -13353,11 +13358,6 @@
"description": "Inputs for training phase for an AutoML Job.",
"$ref": "#/definitions/ClassificationTrainingSettings",
"x-nullable": true
- },
- "positiveLabel": {
- "description": "Positive label for binary metrics calculation.",
- "type": "string",
- "x-nullable": true
}
},
"x-ms-discriminator-value": "Classification",
@@ -13419,7 +13419,7 @@
},
{
"value": "RandomForest",
- "description": "Random forest is a supervised learning algorithm.\nThe \"forest\" it builds, is an ensemble of decision trees, usually trained with the “bagging” method.\nThe general idea of the bagging method is that a combination of learning models increases the overall result."
+ "description": "Random forest is a supervised learning algorithm.\nThe \"forest\" it builds, is an ensemble of decision trees, usually trained with the \"bagging\" method.\nThe general idea of the bagging method is that a combination of learning models increases the overall result."
},
{
"value": "ExtremeRandomTrees",
@@ -13624,16 +13624,16 @@
"description": "A paginated list of CodeContainer entities.",
"type": "object",
"properties": {
+ "nextLink": {
+ "description": "The link to the next page of CodeContainer objects. If null, there are no additional pages.",
+ "type": "string"
+ },
"value": {
"description": "An array of objects of type CodeContainer.",
"type": "array",
"items": {
"$ref": "#/definitions/CodeContainerResource"
}
- },
- "nextLink": {
- "description": "The link to the next page of CodeContainer objects. If null, there are no additional pages.",
- "type": "string"
}
},
"additionalProperties": false
@@ -13689,16 +13689,16 @@
"description": "A paginated list of CodeVersion entities.",
"type": "object",
"properties": {
+ "nextLink": {
+ "description": "The link to the next page of CodeVersion objects. If null, there are no additional pages.",
+ "type": "string"
+ },
"value": {
"description": "An array of objects of type CodeVersion.",
"type": "array",
"items": {
"$ref": "#/definitions/CodeVersionResource"
}
- },
- "nextLink": {
- "description": "The link to the next page of CodeVersion objects. If null, there are no additional pages.",
- "type": "string"
}
},
"additionalProperties": false
@@ -13706,11 +13706,10 @@
"Collection": {
"type": "object",
"properties": {
- "samplingRate": {
- "format": "double",
- "description": "The sampling rate for collection. Sampling rate 1.0 means we collect 100% of data by default.",
- "default": 1,
- "type": "number"
+ "clientId": {
+ "description": "The msi client id used to collect logging to blob storage. If it's null,backend will pick a registered endpoint identity to auth.",
+ "type": "string",
+ "x-nullable": true
},
"dataCollectionMode": {
"description": "Enable or disable data collection.",
@@ -13722,10 +13721,11 @@
"type": "string",
"x-nullable": true
},
- "clientId": {
- "description": "The msi client id used to collect logging to blob storage. If it's null,backend will pick a registered endpoint identity to auth.",
- "type": "string",
- "x-nullable": true
+ "samplingRate": {
+ "format": "double",
+ "description": "The sampling rate for collection. Sampling rate 1.0 means we collect 100% of data by default.",
+ "default": 1,
+ "type": "number"
}
},
"additionalProperties": false
@@ -13763,15 +13763,6 @@
}
],
"properties": {
- "resources": {
- "description": "Compute Resource configuration for the job.",
- "default": "{}",
- "$ref": "#/definitions/JobResourceConfiguration",
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
"codeId": {
"description": "ARM resource ID of the code asset.",
"type": "string",
@@ -13791,6 +13782,15 @@
"read"
]
},
+ "distribution": {
+ "description": "Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.",
+ "$ref": "#/definitions/DistributionConfiguration",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ],
+ "x-nullable": true
+ },
"environmentId": {
"description": "[Required] The ARM resource ID of the Environment specification for the job.",
"minLength": 1,
@@ -13801,12 +13801,11 @@
"read"
]
},
- "inputs": {
- "description": "Mapping of input data bindings used in the job.",
+ "environmentVariables": {
+ "description": "Environment variables included in the job.",
"type": "object",
"additionalProperties": {
- "description": "Command job definition.",
- "$ref": "#/definitions/JobInput",
+ "type": "string",
"x-nullable": true
},
"x-ms-mutability": [
@@ -13815,12 +13814,12 @@
],
"x-nullable": true
},
- "outputs": {
- "description": "Mapping of output data bindings used in the job.",
+ "inputs": {
+ "description": "Mapping of input data bindings used in the job.",
"type": "object",
"additionalProperties": {
- "description": "Job output definition container information on where to find job output/logs.",
- "$ref": "#/definitions/JobOutput",
+ "description": "Command job definition.",
+ "$ref": "#/definitions/JobInput",
"x-nullable": true
},
"x-ms-mutability": [
@@ -13829,15 +13828,6 @@
],
"x-nullable": true
},
- "distribution": {
- "description": "Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.",
- "$ref": "#/definitions/DistributionConfiguration",
- "x-ms-mutability": [
- "create",
- "read"
- ],
- "x-nullable": true
- },
"limits": {
"description": "Command Job limit.",
"$ref": "#/definitions/CommandJobLimits",
@@ -13847,11 +13837,12 @@
],
"x-nullable": true
},
- "environmentVariables": {
- "description": "Environment variables included in the job.",
+ "outputs": {
+ "description": "Mapping of output data bindings used in the job.",
"type": "object",
"additionalProperties": {
- "type": "string",
+ "description": "Job output definition container information on where to find job output/logs.",
+ "$ref": "#/definitions/JobOutput",
"x-nullable": true
},
"x-ms-mutability": [
@@ -13877,6 +13868,15 @@
"read"
],
"x-nullable": true
+ },
+ "resources": {
+ "description": "Compute Resource configuration for the job.",
+ "default": "{}",
+ "$ref": "#/definitions/JobResourceConfiguration",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
}
},
"x-ms-discriminator-value": "Command",
@@ -13938,16 +13938,16 @@
"description": "A paginated list of ComponentContainer entities.",
"type": "object",
"properties": {
+ "nextLink": {
+ "description": "The link to the next page of ComponentContainer objects. If null, there are no additional pages.",
+ "type": "string"
+ },
"value": {
"description": "An array of objects of type ComponentContainer.",
"type": "array",
"items": {
"$ref": "#/definitions/ComponentContainerResource"
}
- },
- "nextLink": {
- "description": "The link to the next page of ComponentContainer objects. If null, there are no additional pages.",
- "type": "string"
}
},
"additionalProperties": false
@@ -14015,16 +14015,16 @@
"description": "A paginated list of ComponentVersion entities.",
"type": "object",
"properties": {
+ "nextLink": {
+ "description": "The link to the next page of ComponentVersion objects. If null, there are no additional pages.",
+ "type": "string"
+ },
"value": {
"description": "An array of objects of type ComponentVersion.",
"type": "array",
"items": {
"$ref": "#/definitions/ComponentVersionResource"
}
- },
- "nextLink": {
- "description": "The link to the next page of ComponentVersion objects. If null, there are no additional pages.",
- "type": "string"
}
},
"additionalProperties": false
@@ -14033,13 +14033,13 @@
"description": "Resource requirements for each container instance within an online deployment.",
"type": "object",
"properties": {
- "containerResourceRequests": {
- "description": "Container resource request info:",
+ "containerResourceLimits": {
+ "description": "Container resource limit info:",
"$ref": "#/definitions/ContainerResourceSettings",
"x-nullable": true
},
- "containerResourceLimits": {
- "description": "Container resource limit info:",
+ "containerResourceRequests": {
+ "description": "Container resource request info:",
"$ref": "#/definitions/ContainerResourceSettings",
"x-nullable": true
}
@@ -14055,17 +14055,17 @@
"example": "1",
"x-nullable": true
},
- "memory": {
- "description": "Memory size request/limit for container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/",
- "type": "string",
- "example": "2Gi",
- "x-nullable": true
- },
"gpu": {
"description": "Number of Nvidia GPU cards request/limit for container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/",
"type": "string",
"example": "1",
"x-nullable": true
+ },
+ "memory": {
+ "description": "Memory size request/limit for container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/",
+ "type": "string",
+ "example": "2Gi",
+ "x-nullable": true
}
},
"additionalProperties": false
@@ -14228,15 +14228,6 @@
],
"type": "object",
"properties": {
- "threshold": {
- "description": "The threshold value. If null, a default value will be set depending on the selected metric.",
- "$ref": "#/definitions/MonitoringThreshold",
- "x-ms-mutability": [
- "create",
- "read"
- ],
- "x-nullable": true
- },
"metric": {
"description": "[Required] The user-defined metric to calculate.",
"minLength": 1,
@@ -14246,6 +14237,15 @@
"create",
"read"
]
+ },
+ "threshold": {
+ "description": "The threshold value. If null, a default value will be set depending on the selected metric.",
+ "$ref": "#/definitions/MonitoringThreshold",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ],
+ "x-nullable": true
}
},
"additionalProperties": false
@@ -14288,6 +14288,16 @@
}
],
"properties": {
+ "componentId": {
+ "description": "[Required] Reference to the component asset used to calculate the custom metrics.",
+ "minLength": 1,
+ "pattern": "[a-zA-Z0-9_]",
+ "type": "string",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
"inputAssets": {
"description": "Monitoring assets to take as input. Key is the component input port name, value is the data asset.",
"type": "object",
@@ -14316,16 +14326,6 @@
],
"x-nullable": true
},
- "componentId": {
- "description": "[Required] Reference to the component asset used to calculate the custom metrics.",
- "minLength": 1,
- "pattern": "[a-zA-Z0-9_]",
- "type": "string",
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
"metricThresholds": {
"description": "[Required] A list of metrics to calculate and their associated thresholds.",
"type": "array",
@@ -14488,15 +14488,15 @@
"x-nullable": true
}
},
- "rollingRate": {
- "description": "When model data is collected to blob storage, we need to roll the data to different path to avoid logging all of them in a single blob file.\r\nIf the rolling rate is hour, all data will be collected in the blob path /yyyy/MM/dd/HH/.\r\nIf it's day, all data will be collected in blob path /yyyy/MM/dd/.\r\nThe other benefit of rolling path is that model monitoring ui is able to select a time range of data very quickly.",
- "default": "Hour",
- "$ref": "#/definitions/RollingRateType"
- },
"requestLogging": {
"description": "The request logging configuration for mdc, it includes advanced logging settings for all collections. It's optional.",
"$ref": "#/definitions/RequestLogging",
"x-nullable": true
+ },
+ "rollingRate": {
+ "description": "When model data is collected to blob storage, we need to roll the data to different path to avoid logging all of them in a single blob file.\r\nIf the rolling rate is hour, all data will be collected in the blob path /yyyy/MM/dd/HH/.\r\nIf it's day, all data will be collected in blob path /yyyy/MM/dd/.\r\nThe other benefit of rolling path is that model monitoring ui is able to select a time range of data very quickly.",
+ "default": "Hour",
+ "$ref": "#/definitions/RollingRateType"
}
},
"additionalProperties": false
@@ -14549,16 +14549,16 @@
"description": "A paginated list of DataContainer entities.",
"type": "object",
"properties": {
+ "nextLink": {
+ "description": "The link to the next page of DataContainer objects. If null, there are no additional pages.",
+ "type": "string"
+ },
"value": {
"description": "An array of objects of type DataContainer.",
"type": "array",
"items": {
"$ref": "#/definitions/DataContainerResource"
}
- },
- "nextLink": {
- "description": "The link to the next page of DataContainer objects. If null, there are no additional pages.",
- "type": "string"
}
},
"additionalProperties": false
@@ -14602,9 +14602,12 @@
}
],
"properties": {
- "features": {
- "description": "The feature filter which identifies which feature to calculate drift over.",
- "$ref": "#/definitions/MonitoringFeatureFilterBase",
+ "featureDataTypeOverride": {
+ "description": "A dictionary that maps feature names to their respective data types.",
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/MonitoringFeatureDataType"
+ },
"x-ms-mutability": [
"create",
"read"
@@ -14620,6 +14623,15 @@
],
"x-nullable": true
},
+ "features": {
+ "description": "The feature filter which identifies which feature to calculate drift over.",
+ "$ref": "#/definitions/MonitoringFeatureFilterBase",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ],
+ "x-nullable": true
+ },
"metricThresholds": {
"description": "[Required] A list of metrics to calculate and their associated thresholds.",
"type": "array",
@@ -14647,18 +14659,6 @@
"create",
"read"
]
- },
- "featureDataTypeOverride": {
- "description": "A dictionary that maps feature names to their respective data types.",
- "type": "object",
- "additionalProperties": {
- "$ref": "#/definitions/MonitoringFeatureDataType"
- },
- "x-ms-mutability": [
- "create",
- "read"
- ],
- "x-nullable": true
}
},
"x-ms-discriminator-value": "DataDrift",
@@ -14673,13 +14673,13 @@
}
],
"properties": {
- "path": {
- "description": "The path of the file/directory in the datastore.",
+ "datastoreId": {
+ "description": "ARM resource ID of the datastore where the asset is located.",
"type": "string",
"x-nullable": true
},
- "datastoreId": {
- "description": "ARM resource ID of the datastore where the asset is located.",
+ "path": {
+ "description": "The path of the file/directory in the datastore.",
"type": "string",
"x-nullable": true
}
@@ -14726,9 +14726,12 @@
}
],
"properties": {
- "features": {
- "description": "The features to calculate drift over.",
- "$ref": "#/definitions/MonitoringFeatureFilterBase",
+ "featureDataTypeOverride": {
+ "description": "A dictionary that maps feature names to their respective data types.",
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/MonitoringFeatureDataType"
+ },
"x-ms-mutability": [
"create",
"read"
@@ -14744,6 +14747,15 @@
],
"x-nullable": true
},
+ "features": {
+ "description": "The features to calculate drift over.",
+ "$ref": "#/definitions/MonitoringFeatureFilterBase",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ],
+ "x-nullable": true
+ },
"metricThresholds": {
"description": "[Required] A list of metrics to calculate and their associated thresholds.",
"type": "array",
@@ -14771,18 +14783,6 @@
"create",
"read"
]
- },
- "featureDataTypeOverride": {
- "description": "A dictionary that maps feature names to their respective data types.",
- "type": "object",
- "additionalProperties": {
- "$ref": "#/definitions/MonitoringFeatureDataType"
- },
- "x-ms-mutability": [
- "create",
- "read"
- ],
- "x-nullable": true
}
},
"x-ms-discriminator-value": "DataQuality",
@@ -14915,16 +14915,16 @@
"description": "A paginated list of DataVersionBase entities.",
"type": "object",
"properties": {
+ "nextLink": {
+ "description": "The link to the next page of DataVersionBase objects. If null, there are no additional pages.",
+ "type": "string"
+ },
"value": {
"description": "An array of objects of type DataVersionBase.",
"type": "array",
"items": {
"$ref": "#/definitions/DataVersionBaseResource"
}
- },
- "nextLink": {
- "description": "The link to the next page of DataVersionBase objects. If null, there are no additional pages.",
- "type": "string"
}
},
"additionalProperties": false
@@ -14942,6 +14942,10 @@
}
],
"properties": {
+ "credentials": {
+ "description": "[Required] Account credentials.",
+ "$ref": "#/definitions/DatastoreCredentials"
+ },
"datastoreType": {
"description": "[Required] Storage type backing the datastore.",
"$ref": "#/definitions/DatastoreType"
@@ -14953,10 +14957,6 @@
"x-ms-mutability": [
"read"
]
- },
- "credentials": {
- "description": "[Required] Account credentials.",
- "$ref": "#/definitions/DatastoreCredentials"
}
},
"discriminator": "datastoreType",
@@ -15000,16 +15000,16 @@
"description": "A paginated list of Datastore entities.",
"type": "object",
"properties": {
+ "nextLink": {
+ "description": "The link to the next page of Datastore objects. If null, there are no additional pages.",
+ "type": "string"
+ },
"value": {
"description": "An array of objects of type Datastore.",
"type": "array",
"items": {
"$ref": "#/definitions/DatastoreResource"
}
- },
- "nextLink": {
- "description": "The link to the next page of Datastore objects. If null, there are no additional pages.",
- "type": "string"
}
},
"additionalProperties": false
@@ -15153,11 +15153,6 @@
"description": "Publishing destination registry asset information",
"type": "object",
"properties": {
- "registryName": {
- "description": "Destination registry name",
- "type": "string",
- "x-nullable": true
- },
"destinationName": {
"description": "Destination asset name",
"type": "string",
@@ -15167,6 +15162,11 @@
"description": "Destination asset version",
"type": "string",
"x-nullable": true
+ },
+ "registryName": {
+ "description": "Destination registry name",
+ "type": "string",
+ "x-nullable": true
}
},
"additionalProperties": false
@@ -15223,13 +15223,13 @@
}
],
"properties": {
- "userName": {
- "description": "DockerCredential user name",
+ "password": {
+ "description": "DockerCredential user password",
"type": "string",
"x-nullable": true
},
- "password": {
- "description": "DockerCredential user password",
+ "userName": {
+ "description": "DockerCredential user name",
"type": "string",
"x-nullable": true
}
@@ -15244,21 +15244,21 @@
],
"type": "object",
"properties": {
- "policyType": {
- "description": "[Required] Name of policy configuration",
- "$ref": "#/definitions/EarlyTerminationPolicyType"
- },
- "evaluationInterval": {
+ "delayEvaluation": {
"format": "int32",
- "description": "Interval (number of runs) between policy evaluations.",
+ "description": "Number of intervals by which to delay the first evaluation.",
"default": 0,
"type": "integer"
},
- "delayEvaluation": {
+ "evaluationInterval": {
"format": "int32",
- "description": "Number of intervals by which to delay the first evaluation.",
+ "description": "Interval (number of runs) between policy evaluations.",
"default": 0,
"type": "integer"
+ },
+ "policyType": {
+ "description": "[Required] Name of policy configuration",
+ "$ref": "#/definitions/EarlyTerminationPolicyType"
}
},
"discriminator": "policyType"
@@ -15392,11 +15392,6 @@
"type": "string",
"x-nullable": true
},
- "tokenType": {
- "description": "Access token type.",
- "type": "string",
- "x-nullable": true
- },
"expiryTimeUtc": {
"format": "int64",
"description": "Access token expiry time (UTC).",
@@ -15408,6 +15403,11 @@
"description": "Refresh access token after time (UTC).",
"default": 0,
"type": "integer"
+ },
+ "tokenType": {
+ "description": "Access token type.",
+ "type": "string",
+ "x-nullable": true
}
},
"additionalProperties": false
@@ -15441,25 +15441,16 @@
"description": "Base definition for endpoint deployment.",
"type": "object",
"properties": {
- "description": {
- "description": "Description of the endpoint deployment.",
- "type": "string",
- "x-nullable": true
- },
- "properties": {
- "description": "Property dictionary. Properties can be added, but not removed or altered.",
- "type": "object",
- "additionalProperties": {
- "type": "string",
- "x-nullable": true
- },
- "x-nullable": true
- },
"codeConfiguration": {
"description": "Code configuration for the endpoint deployment.",
"$ref": "#/definitions/CodeConfiguration",
"x-nullable": true
},
+ "description": {
+ "description": "Description of the endpoint deployment.",
+ "type": "string",
+ "x-nullable": true
+ },
"environmentId": {
"description": "ARM resource ID or AssetId of the environment specification for the endpoint deployment.",
"type": "string",
@@ -15473,6 +15464,15 @@
"x-nullable": true
},
"x-nullable": true
+ },
+ "properties": {
+ "description": "Property dictionary. Properties can be added, but not removed or altered.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string",
+ "x-nullable": true
+ },
+ "x-nullable": true
}
},
"additionalProperties": false
@@ -15484,11 +15484,24 @@
],
"type": "object",
"properties": {
+ "authMode": {
+ "description": "[Required] The authentication method for invoking the endpoint (data plane operation). Use 'Key' for key-based authentication. Use 'AMLToken' for Azure Machine Learning token-based authentication. Use 'AADToken' for Microsoft Entra token-based authentication.",
+ "$ref": "#/definitions/EndpointAuthMode"
+ },
"description": {
"description": "Description of the inference endpoint.",
"type": "string",
"x-nullable": true
},
+ "keys": {
+ "description": "EndpointAuthKeys to set initially on an Endpoint.\r\nThis property will always be returned as null. AuthKey values must be retrieved using the ListKeys API.",
+ "$ref": "#/definitions/EndpointAuthKeys",
+ "x-ms-mutability": [
+ "create"
+ ],
+ "x-ms-secret": true,
+ "x-nullable": true
+ },
"properties": {
"description": "Property dictionary. Properties can be added, but not removed or altered.",
"type": "object",
@@ -15517,19 +15530,6 @@
"read"
],
"x-nullable": true
- },
- "authMode": {
- "description": "[Required] Use 'Key' for key based authentication and 'AMLToken' for Azure Machine Learning token-based authentication. 'Key' doesn't expire but 'AMLToken' does.",
- "$ref": "#/definitions/EndpointAuthMode"
- },
- "keys": {
- "description": "EndpointAuthKeys to set initially on an Endpoint.\r\nThis property will always be returned as null. AuthKey values must be retrieved using the ListKeys API.",
- "$ref": "#/definitions/EndpointAuthKeys",
- "x-ms-mutability": [
- "create"
- ],
- "x-ms-secret": true,
- "x-nullable": true
}
},
"additionalProperties": false
@@ -15647,16 +15647,16 @@
"description": "A paginated list of EnvironmentContainer entities.",
"type": "object",
"properties": {
+ "nextLink": {
+ "description": "The link to the next page of EnvironmentContainer objects. If null, there are no additional pages.",
+ "type": "string"
+ },
"value": {
"description": "An array of objects of type EnvironmentContainer.",
"type": "array",
"items": {
"$ref": "#/definitions/EnvironmentContainerResource"
}
- },
- "nextLink": {
- "description": "The link to the next page of EnvironmentContainer objects. If null, there are no additional pages.",
- "type": "string"
}
},
"additionalProperties": false
@@ -15691,18 +15691,18 @@
}
],
"properties": {
- "environmentType": {
- "description": "Environment type is either user managed or curated by the Azure ML service\r\n",
- "$ref": "#/definitions/EnvironmentType",
- "readOnly": true,
+ "autoRebuild": {
+ "description": "Defines if image needs to be rebuilt based on base image changes.",
+ "default": "Disabled",
+ "$ref": "#/definitions/AutoRebuildSetting",
"x-ms-mutability": [
+ "create",
"read"
]
},
- "image": {
- "description": "Name of the image that will be used for the environment.\r\n",
- "type": "string",
- "example": "docker.io/tensorflow/serving:latest",
+ "build": {
+ "description": "Configuration settings for Docker build context.",
+ "$ref": "#/definitions/BuildContext",
"x-ms-mutability": [
"create",
"read"
@@ -15716,18 +15716,18 @@
"read"
]
},
- "build": {
- "description": "Configuration settings for Docker build context.",
- "$ref": "#/definitions/BuildContext",
+ "environmentType": {
+ "description": "Environment type is either user managed or curated by the Azure ML service\r\n",
+ "$ref": "#/definitions/EnvironmentType",
+ "readOnly": true,
"x-ms-mutability": [
- "create",
"read"
]
},
- "osType": {
- "description": "The OS type of the environment.",
- "default": "Linux",
- "$ref": "#/definitions/OperatingSystemType",
+ "image": {
+ "description": "Name of the image that will be used for the environment.\r\n",
+ "type": "string",
+ "example": "docker.io/tensorflow/serving:latest",
"x-ms-mutability": [
"create",
"read"
@@ -15741,10 +15741,10 @@
"read"
]
},
- "autoRebuild": {
- "description": "Defines if image needs to be rebuilt based on base image changes.",
- "default": "Disabled",
- "$ref": "#/definitions/AutoRebuildSetting",
+ "osType": {
+ "description": "The OS type of the environment.",
+ "default": "Linux",
+ "$ref": "#/definitions/OperatingSystemType",
"x-ms-mutability": [
"create",
"read"
@@ -15791,16 +15791,16 @@
"description": "A paginated list of EnvironmentVersion entities.",
"type": "object",
"properties": {
+ "nextLink": {
+ "description": "The link to the next page of EnvironmentVersion objects. If null, there are no additional pages.",
+ "type": "string"
+ },
"value": {
"description": "An array of objects of type EnvironmentVersion.",
"type": "array",
"items": {
"$ref": "#/definitions/EnvironmentVersionResource"
}
- },
- "nextLink": {
- "description": "The link to the next page of EnvironmentVersion objects. If null, there are no additional pages.",
- "type": "string"
}
},
"additionalProperties": false
@@ -15814,15 +15814,15 @@
}
],
"properties": {
- "featureName": {
- "description": "Specifies name",
- "type": "string",
- "x-nullable": true
- },
"dataType": {
"description": "Specifies type",
"default": "String",
"$ref": "#/definitions/FeatureDataType"
+ },
+ "featureName": {
+ "description": "Specifies name",
+ "type": "string",
+ "x-nullable": true
}
},
"x-ms-client-name": "FeatureProperties",
@@ -15842,13 +15842,17 @@
}
],
"properties": {
- "metricThreshold": {
- "description": "[Required] A list of metrics to calculate and their associated thresholds.",
- "$ref": "#/definitions/FeatureAttributionMetricThreshold",
+ "featureDataTypeOverride": {
+ "description": "A dictionary that maps feature names to their respective data types.",
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/MonitoringFeatureDataType"
+ },
"x-ms-mutability": [
"create",
"read"
- ]
+ ],
+ "x-nullable": true
},
"featureImportanceSettings": {
"description": "[Required] The settings for computing feature importance.",
@@ -15858,6 +15862,14 @@
"read"
]
},
+ "metricThreshold": {
+ "description": "[Required] A list of metrics to calculate and their associated thresholds.",
+ "$ref": "#/definitions/FeatureAttributionMetricThreshold",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
"productionData": {
"description": "[Required] The data which drift will be calculated for.",
"type": "array",
@@ -15878,18 +15890,6 @@
"create",
"read"
]
- },
- "featureDataTypeOverride": {
- "description": "A dictionary that maps feature names to their respective data types.",
- "type": "object",
- "additionalProperties": {
- "$ref": "#/definitions/MonitoringFeatureDataType"
- },
- "x-ms-mutability": [
- "create",
- "read"
- ],
- "x-nullable": true
}
},
"x-ms-discriminator-value": "FeatureAttributionDrift",
@@ -15918,6 +15918,14 @@
],
"type": "object",
"properties": {
+ "metric": {
+ "description": "[Required] The feature attribution metric to calculate.",
+ "$ref": "#/definitions/FeatureAttributionMetric",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
"threshold": {
"description": "The threshold value. If null, a default value will be set depending on the selected metric.",
"$ref": "#/definitions/MonitoringThreshold",
@@ -15926,14 +15934,6 @@
"read"
],
"x-nullable": true
- },
- "metric": {
- "description": "[Required] The feature attribution metric to calculate.",
- "$ref": "#/definitions/FeatureAttributionMetric",
- "x-ms-mutability": [
- "create",
- "read"
- ]
}
},
"additionalProperties": false
@@ -16068,16 +16068,16 @@
"description": "A paginated list of Feature entities.",
"type": "object",
"properties": {
+ "nextLink": {
+ "description": "The link to the next page of Feature objects. If null, there are no additional pages.",
+ "type": "string"
+ },
"value": {
"description": "An array of objects of type Feature.",
"type": "array",
"items": {
"$ref": "#/definitions/FeatureResource"
}
- },
- "nextLink": {
- "description": "The link to the next page of Feature objects. If null, there are no additional pages.",
- "type": "string"
}
},
"additionalProperties": false
@@ -16113,15 +16113,15 @@
"description": "Specifies the feature window",
"type": "object",
"properties": {
- "featureWindowStart": {
+ "featureWindowEnd": {
"format": "date-time",
- "description": "Specifies the feature window start time",
+ "description": "Specifies the feature window end time",
"type": "string",
"x-nullable": true
},
- "featureWindowEnd": {
+ "featureWindowStart": {
"format": "date-time",
- "description": "Specifies the feature window end time",
+ "description": "Specifies the feature window start time",
"type": "string",
"x-nullable": true
}
@@ -16173,16 +16173,16 @@
"description": "A paginated list of FeaturesetContainer entities.",
"type": "object",
"properties": {
+ "nextLink": {
+ "description": "The link to the next page of FeaturesetContainer objects. If null, there are no additional pages.",
+ "type": "string"
+ },
"value": {
"description": "An array of objects of type FeaturesetContainer.",
"type": "array",
"items": {
"$ref": "#/definitions/FeaturesetContainerResource"
}
- },
- "nextLink": {
- "description": "The link to the next page of FeaturesetContainer objects. If null, there are no additional pages.",
- "type": "string"
}
},
"additionalProperties": false
@@ -16208,21 +16208,6 @@
}
],
"properties": {
- "specification": {
- "description": "Specifies the feature spec details",
- "$ref": "#/definitions/FeaturesetSpecification",
- "x-nullable": true
- },
- "materializationSettings": {
- "description": "Specifies the materialization settings",
- "$ref": "#/definitions/MaterializationSettings",
- "x-nullable": true
- },
- "stage": {
- "description": "Specifies the asset stage",
- "type": "string",
- "x-nullable": true
- },
"entities": {
"description": "Specifies list of entities",
"type": "array",
@@ -16231,6 +16216,11 @@
},
"x-nullable": true
},
+ "materializationSettings": {
+ "description": "Specifies the materialization settings",
+ "$ref": "#/definitions/MaterializationSettings",
+ "x-nullable": true
+ },
"provisioningState": {
"description": "Provisioning state for the featureset version container.",
"$ref": "#/definitions/AssetProvisioningState",
@@ -16238,6 +16228,16 @@
"x-ms-mutability": [
"read"
]
+ },
+ "specification": {
+ "description": "Specifies the feature spec details",
+ "$ref": "#/definitions/FeaturesetSpecification",
+ "x-nullable": true
+ },
+ "stage": {
+ "description": "Specifies the asset stage",
+ "type": "string",
+ "x-nullable": true
}
},
"x-ms-client-name": "FeaturesetVersionProperties",
@@ -16247,11 +16247,18 @@
"description": "Request payload for creating a backfill request for a given feature set version",
"type": "object",
"properties": {
- "displayName": {
+ "dataAvailabilityStatus": {
+ "description": "Specified the data availability status that you want to backfill",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DataAvailabilityStatus"
+ }
+ },
+ "description": {
"description": "Specifies description",
"type": "string"
},
- "description": {
+ "displayName": {
"description": "Specifies description",
"type": "string"
},
@@ -16260,19 +16267,12 @@
"$ref": "#/definitions/FeatureWindow",
"x-nullable": true
},
- "dataAvailabilityStatus": {
- "description": "Specified the data availability status that you want to backfill",
- "type": "array",
- "items": {
- "$ref": "#/definitions/DataAvailabilityStatus"
- }
- },
"jobId": {
"description": "Specify the jobId to retry the failed materialization",
"type": "string"
},
- "tags": {
- "description": "Specifies the tags",
+ "properties": {
+ "description": "Specifies the properties",
"type": "object",
"additionalProperties": {
"type": "string",
@@ -16291,8 +16291,8 @@
"x-nullable": true
}
},
- "properties": {
- "description": "Specifies the properties",
+ "tags": {
+ "description": "Specifies the tags",
"type": "object",
"additionalProperties": {
"type": "string",
@@ -16341,16 +16341,16 @@
"description": "A paginated list of FeaturesetVersion entities.",
"type": "object",
"properties": {
+ "nextLink": {
+ "description": "The link to the next page of FeaturesetVersion objects. If null, there are no additional pages.",
+ "type": "string"
+ },
"value": {
"description": "An array of objects of type FeaturesetVersion.",
"type": "array",
"items": {
"$ref": "#/definitions/FeaturesetVersionResource"
}
- },
- "nextLink": {
- "description": "The link to the next page of FeaturesetVersion objects. If null, there are no additional pages.",
- "type": "string"
}
},
"additionalProperties": false
@@ -16400,16 +16400,16 @@
"description": "A paginated list of FeaturestoreEntityContainer entities.",
"type": "object",
"properties": {
+ "nextLink": {
+ "description": "The link to the next page of FeaturestoreEntityContainer objects. If null, there are no additional pages.",
+ "type": "string"
+ },
"value": {
"description": "An array of objects of type FeaturestoreEntityContainer.",
"type": "array",
"items": {
"$ref": "#/definitions/FeaturestoreEntityContainerResource"
}
- },
- "nextLink": {
- "description": "The link to the next page of FeaturestoreEntityContainer objects. If null, there are no additional pages.",
- "type": "string"
}
},
"additionalProperties": false
@@ -16432,11 +16432,6 @@
"x-nullable": true,
"x-ms-identifiers": []
},
- "stage": {
- "description": "Specifies the asset stage",
- "type": "string",
- "x-nullable": true
- },
"provisioningState": {
"description": "Provisioning state for the featurestore entity version.",
"$ref": "#/definitions/AssetProvisioningState",
@@ -16444,6 +16439,11 @@
"x-ms-mutability": [
"read"
]
+ },
+ "stage": {
+ "description": "Specifies the asset stage",
+ "type": "string",
+ "x-nullable": true
}
},
"x-ms-client-name": "FeaturestoreEntityVersionProperties",
@@ -16473,16 +16473,16 @@
"description": "A paginated list of FeaturestoreEntityVersion entities.",
"type": "object",
"properties": {
+ "nextLink": {
+ "description": "The link to the next page of FeaturestoreEntityVersion objects. If null, there are no additional pages.",
+ "type": "string"
+ },
"value": {
"description": "An array of objects of type FeaturestoreEntityVersion.",
"type": "array",
"items": {
"$ref": "#/definitions/FeaturestoreEntityVersionResource"
}
- },
- "nextLink": {
- "description": "The link to the next page of FeaturestoreEntityVersion objects. If null, there are no additional pages.",
- "type": "string"
}
},
"additionalProperties": false
@@ -16606,16 +16606,16 @@
}
],
"properties": {
- "primaryMetric": {
- "description": "Primary metric for forecasting task.",
- "default": "NormalizedRootMeanSquaredError",
- "$ref": "#/definitions/ForecastingPrimaryMetrics"
- },
"forecastingSettings": {
"description": "Forecasting task specific inputs.",
"$ref": "#/definitions/ForecastingSettings",
"x-nullable": true
},
+ "primaryMetric": {
+ "description": "Primary metric for forecasting task.",
+ "default": "NormalizedRootMeanSquaredError",
+ "$ref": "#/definitions/ForecastingPrimaryMetrics"
+ },
"trainingSettings": {
"description": "Inputs for training phase for an AutoML Job.",
"$ref": "#/definitions/ForecastingTrainingSettings",
@@ -16715,7 +16715,7 @@
},
{
"value": "RandomForest",
- "description": "Random forest is a supervised learning algorithm.\nThe \"forest\" it builds, is an ensemble of decision trees, usually trained with the “bagging” method.\nThe general idea of the bagging method is that a combination of learning models increases the overall result."
+ "description": "Random forest is a supervised learning algorithm.\nThe \"forest\" it builds, is an ensemble of decision trees, usually trained with the \"bagging\" method.\nThe general idea of the bagging method is that a combination of learning models increases the overall result."
},
{
"value": "ExtremeRandomTrees",
@@ -16775,44 +16775,27 @@
"type": "string",
"x-nullable": true
},
- "timeColumnName": {
- "description": "The name of the time column. This parameter is required when forecasting to specify the datetime column in the input data used for building the time series and inferring its frequency.",
- "type": "string",
- "x-nullable": true
- },
- "targetLags": {
- "description": "The number of past periods to lag from the target column.",
- "$ref": "#/definitions/TargetLags",
+ "cvStepSize": {
+ "format": "int32",
+ "description": "Number of periods between the origin time of one CV fold and the next fold. For\r\nexample, if `CVStepSize` = 3 for daily data, the origin time for each fold will be\r\nthree days apart.",
+ "type": "integer",
"x-nullable": true
},
- "targetRollingWindowSize": {
- "description": "The number of past periods used to create a rolling window average of the target column.",
- "$ref": "#/definitions/TargetRollingWindowSize",
- "x-nullable": true
+ "featureLags": {
+ "description": "Flag for generating lags for the numeric features with 'auto' or null.",
+ "default": "None",
+ "$ref": "#/definitions/FeatureLags"
},
"forecastHorizon": {
"description": "The desired maximum forecast horizon in units of time-series frequency.",
"default": "{\"Mode\": \"Custom\", \"Value\": 1}",
"$ref": "#/definitions/ForecastHorizon"
},
- "timeSeriesIdColumnNames": {
- "description": "The names of columns used to group a timeseries. It can be used to create multiple series.\r\nIf grain is not defined, the data set is assumed to be one time-series. This parameter is used with task type forecasting.",
- "type": "array",
- "items": {
- "type": "string"
- },
- "x-nullable": true
- },
"frequency": {
"description": "When forecasting, this parameter represents the period with which the forecast is desired, for example daily, weekly, yearly, etc. The forecast frequency is dataset frequency by default.",
"type": "string",
"x-nullable": true
},
- "featureLags": {
- "description": "Flag for generating lags for the numeric features with 'auto' or null.",
- "default": "None",
- "$ref": "#/definitions/FeatureLags"
- },
"seasonality": {
"description": "Set time series seasonality as an integer multiple of the series frequency.\r\nIf seasonality is set to 'auto', it will be inferred.",
"default": "{\"Mode\": \"Auto\"}",
@@ -16823,21 +16806,38 @@
"default": "Auto",
"$ref": "#/definitions/ShortSeriesHandlingConfiguration"
},
- "useStl": {
- "description": "Configure STL Decomposition of the time-series target column.",
- "default": "None",
- "$ref": "#/definitions/UseStl"
- },
"targetAggregateFunction": {
"description": "The function to be used to aggregate the time series target column to conform to a user specified frequency.\r\nIf the TargetAggregateFunction is set i.e. not 'None', but the freq parameter is not set, the error is raised. The possible target aggregation functions are: \"sum\", \"max\", \"min\" and \"mean\".",
"default": "None",
"$ref": "#/definitions/TargetAggregationFunction"
},
- "cvStepSize": {
- "format": "int32",
- "description": "Number of periods between the origin time of one CV fold and the next fold. For\r\nexample, if `CVStepSize` = 3 for daily data, the origin time for each fold will be\r\nthree days apart.",
- "type": "integer",
+ "targetLags": {
+ "description": "The number of past periods to lag from the target column.",
+ "$ref": "#/definitions/TargetLags",
+ "x-nullable": true
+ },
+ "targetRollingWindowSize": {
+ "description": "The number of past periods used to create a rolling window average of the target column.",
+ "$ref": "#/definitions/TargetRollingWindowSize",
+ "x-nullable": true
+ },
+ "timeColumnName": {
+ "description": "The name of the time column. This parameter is required when forecasting to specify the datetime column in the input data used for building the time series and inferring its frequency.",
+ "type": "string",
+ "x-nullable": true
+ },
+ "timeSeriesIdColumnNames": {
+ "description": "The names of columns used to group a timeseries. It can be used to create multiple series.\r\nIf grain is not defined, the data set is assumed to be one time-series. This parameter is used with task type forecasting.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
"x-nullable": true
+ },
+ "useStl": {
+ "description": "Configure STL Decomposition of the time-series target column.",
+ "default": "None",
+ "$ref": "#/definitions/UseStl"
}
},
"additionalProperties": false
@@ -16879,15 +16879,15 @@
"type": "string",
"x-nullable": true
},
- "storageAccountArmId": {
- "description": "The ARM id of the storage account",
- "type": "string",
- "x-nullable": true
- },
"credential": {
"description": "Credential info to access storage account",
"$ref": "#/definitions/DataReferenceCredential",
"x-nullable": true
+ },
+ "storageAccountArmId": {
+ "description": "The ARM id of the storage account",
+ "type": "string",
+ "x-nullable": true
}
},
"additionalProperties": false
@@ -17111,6 +17111,12 @@
"description": "Limit settings for the AutoML job.",
"type": "object",
"properties": {
+ "maxConcurrentTrials": {
+ "format": "int32",
+ "description": "Maximum number of concurrent AutoML iterations.",
+ "default": 1,
+ "type": "integer"
+ },
"maxTrials": {
"format": "int32",
"description": "Maximum number of AutoML iterations.",
@@ -17122,12 +17128,6 @@
"description": "AutoML job timeout.",
"default": "P7D",
"type": "string"
- },
- "maxConcurrentTrials": {
- "format": "int32",
- "description": "Maximum number of concurrent AutoML iterations.",
- "default": 1,
- "type": "integer"
}
},
"additionalProperties": false
@@ -17184,18 +17184,18 @@
"example": "choice(1, 5)",
"x-nullable": true
},
- "evaluationFrequency": {
- "description": "Frequency to evaluate validation dataset to get metric scores. Must be a positive integer.",
- "type": "string",
- "example": "choice(1, 5)",
- "x-nullable": true
- },
"enableOnnxNormalization": {
"description": "Enable normalization when exporting ONNX model.",
"type": "string",
"example": "choice(true, false)",
"x-nullable": true
},
+ "evaluationFrequency": {
+ "description": "Frequency to evaluate validation dataset to get metric scores. Must be a positive integer.",
+ "type": "string",
+ "example": "choice(1, 5)",
+ "x-nullable": true
+ },
"gradientAccumulationStep": {
"description": "Gradient accumulation means running a configured number of \"GradAccumulationStep\" steps without\r\nupdating the model weights while accumulating the gradients of those steps, and then using\r\nthe accumulated gradients to compute the weight updates. Must be a positive integer.",
"type": "string",
@@ -17437,17 +17437,17 @@
"description": "Settings used for training the model.\r\nFor more information on the available settings please visit the official documentation:\r\nhttps://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models.",
"type": "object",
"properties": {
- "amsGradient": {
- "description": "Enable AMSGrad when optimizer is 'adam' or 'adamw'.",
- "type": "boolean",
- "x-nullable": true
- },
"advancedSettings": {
"description": "Settings for advanced scenarios.",
"type": "string",
"example": "key1:val1;key2;key3:val3;key4",
"x-nullable": true
},
+ "amsGradient": {
+ "description": "Enable AMSGrad when optimizer is 'adam' or 'adamw'.",
+ "type": "boolean",
+ "x-nullable": true
+ },
"augmentations": {
"description": "Settings for using Augmentations.",
"type": "string",
@@ -17472,16 +17472,16 @@
"type": "integer",
"x-nullable": true
},
- "checkpointRunId": {
- "description": "The id of a previous run that has a pretrained checkpoint for incremental training.",
- "type": "string",
- "x-nullable": true
- },
"checkpointModel": {
"description": "The pretrained checkpoint model for incremental training.",
"$ref": "#/definitions/MLFlowModelJobInput",
"x-nullable": true
},
+ "checkpointRunId": {
+ "description": "The id of a previous run that has a pretrained checkpoint for incremental training.",
+ "type": "string",
+ "x-nullable": true
+ },
"distributed": {
"description": "Whether to use distributed training.",
"type": "boolean",
@@ -17504,17 +17504,17 @@
"type": "integer",
"x-nullable": true
},
+ "enableOnnxNormalization": {
+ "description": "Enable normalization when exporting ONNX model.",
+ "type": "boolean",
+ "x-nullable": true
+ },
"evaluationFrequency": {
"format": "int32",
"description": "Frequency to evaluate validation dataset to get metric scores. Must be a positive integer.",
"type": "integer",
"x-nullable": true
},
- "enableOnnxNormalization": {
- "description": "Enable normalization when exporting ONNX model.",
- "type": "boolean",
- "x-nullable": true
- },
"gradientAccumulationStep": {
"format": "int32",
"description": "Gradient accumulation means running a configured number of \"GradAccumulationStep\" steps without\r\nupdating the model weights while accumulating the gradients of those steps, and then using\r\nthe accumulated gradients to compute the weight updates. Must be a positive integer.",
@@ -17798,14 +17798,14 @@
],
"type": "object",
"properties": {
- "samplingAlgorithm": {
- "description": "[Required] Type of the hyperparameter sampling algorithms.",
- "$ref": "#/definitions/SamplingAlgorithmType"
- },
"earlyTermination": {
"description": "Type of early termination policy.",
"$ref": "#/definitions/EarlyTerminationPolicy",
"x-nullable": true
+ },
+ "samplingAlgorithm": {
+ "description": "[Required] Type of the hyperparameter sampling algorithms.",
+ "$ref": "#/definitions/SamplingAlgorithmType"
}
},
"additionalProperties": false
@@ -17844,15 +17844,15 @@
"description": "DTO object representing index column",
"type": "object",
"properties": {
- "dataType": {
- "description": "Specifies the data type",
- "default": "String",
- "$ref": "#/definitions/FeatureDataType"
- },
"columnName": {
"description": "Specifies the column name",
"type": "string",
"x-nullable": true
+ },
+ "dataType": {
+ "description": "Specifies the data type",
+ "default": "String",
+ "$ref": "#/definitions/FeatureDataType"
}
},
"additionalProperties": false
@@ -17942,16 +17942,17 @@
}
],
"properties": {
- "jobType": {
- "description": "[Required] Specifies the type of job.",
- "$ref": "#/definitions/JobType",
+ "componentId": {
+ "description": "ARM resource ID of the component resource.",
+ "type": "string",
"x-ms-mutability": [
"create",
"read"
- ]
- },
- "displayName": {
- "description": "Display name of job.",
+ ],
+ "x-nullable": true
+ },
+ "computeId": {
+ "description": "ARM resource ID of the compute resource.",
"type": "string",
"x-ms-mutability": [
"create",
@@ -17959,13 +17960,14 @@
],
"x-nullable": true
},
- "status": {
- "description": "Status of the job.",
- "$ref": "#/definitions/JobStatus",
- "readOnly": true,
+ "displayName": {
+ "description": "Display name of job.",
+ "type": "string",
"x-ms-mutability": [
+ "create",
"read"
- ]
+ ],
+ "x-nullable": true
},
"experimentName": {
"description": "The name of the experiment the job belongs to. If not set, the job is placed in the \"Default\" experiment.",
@@ -17976,18 +17978,9 @@
"read"
]
},
- "services": {
- "description": "List of JobEndpoints.\r\nFor local jobs, a job endpoint will have an endpoint value of FileStreamObject.",
- "type": "object",
- "additionalProperties": {
- "$ref": "#/definitions/JobService",
- "x-nullable": true
- },
- "x-nullable": true
- },
- "computeId": {
- "description": "ARM resource ID of the compute resource.",
- "type": "string",
+ "identity": {
+ "description": "Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, UserIdentity or null.\r\nDefaults to AmlToken if null.",
+ "$ref": "#/definitions/IdentityConfiguration",
"x-ms-mutability": [
"create",
"read"
@@ -18004,23 +17997,13 @@
"update"
]
},
- "identity": {
- "description": "Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, UserIdentity or null.\r\nDefaults to AmlToken if null.",
- "$ref": "#/definitions/IdentityConfiguration",
- "x-ms-mutability": [
- "create",
- "read"
- ],
- "x-nullable": true
- },
- "componentId": {
- "description": "ARM resource ID of the component resource.",
- "type": "string",
+ "jobType": {
+ "description": "[Required] Specifies the type of job.",
+ "$ref": "#/definitions/JobType",
"x-ms-mutability": [
"create",
"read"
- ],
- "x-nullable": true
+ ]
},
"notificationSetting": {
"description": "Notification setting for the job",
@@ -18031,6 +18014,23 @@
"update"
],
"x-nullable": true
+ },
+ "services": {
+ "description": "List of JobEndpoints.\r\nFor local jobs, a job endpoint will have an endpoint value of FileStreamObject.",
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/JobService",
+ "x-nullable": true
+ },
+ "x-nullable": true
+ },
+ "status": {
+ "description": "Status of the job.",
+ "$ref": "#/definitions/JobStatus",
+ "readOnly": true,
+ "x-ms-mutability": [
+ "read"
+ ]
}
},
"discriminator": "jobType",
@@ -18060,16 +18060,16 @@
"description": "A paginated list of JobBase entities.",
"type": "object",
"properties": {
+ "nextLink": {
+ "description": "The link to the next page of JobBase objects. If null, there are no additional pages.",
+ "type": "string"
+ },
"value": {
"description": "An array of objects of type JobBase.",
"type": "array",
"items": {
"$ref": "#/definitions/JobBaseResource"
}
- },
- "nextLink": {
- "description": "The link to the next page of JobBase objects. If null, there are no additional pages.",
- "type": "string"
}
},
"additionalProperties": false
@@ -18081,14 +18081,6 @@
],
"type": "object",
"properties": {
- "jobInputType": {
- "description": "[Required] Specifies the type of job.",
- "$ref": "#/definitions/JobInputType",
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
"description": {
"description": "Description for the input.",
"type": "string",
@@ -18097,6 +18089,14 @@
"read"
],
"x-nullable": true
+ },
+ "jobInputType": {
+ "description": "[Required] Specifies the type of job.",
+ "$ref": "#/definitions/JobInputType",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
}
},
"discriminator": "jobInputType"
@@ -18188,14 +18188,6 @@
],
"type": "object",
"properties": {
- "jobOutputType": {
- "description": "[Required] Specifies the type of job.",
- "$ref": "#/definitions/JobOutputType",
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
"description": {
"description": "Description for the output.",
"type": "string",
@@ -18204,6 +18196,14 @@
"read"
],
"x-nullable": true
+ },
+ "jobOutputType": {
+ "description": "[Required] Specifies the type of job.",
+ "$ref": "#/definitions/JobOutputType",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
}
},
"discriminator": "jobOutputType"
@@ -18253,24 +18253,24 @@
}
],
"properties": {
- "shmSize": {
- "description": "Size of the docker container's shared memory block. This should be in the format of (number)(unit) where number as to be greater than 0 and the unit can be one of b(bytes), k(kilobytes), m(megabytes), or g(gigabytes).",
- "default": "2g",
- "pattern": "\\d+[bBkKmMgG]",
+ "dockerArgs": {
+ "description": "Extra arguments to pass to the Docker run command. This would override any parameters that have already been set by the system, or in this section. This parameter is only supported for Azure ML compute types.",
"type": "string",
"x-ms-mutability": [
"create",
"read"
- ]
+ ],
+ "x-nullable": true
},
- "dockerArgs": {
- "description": "Extra arguments to pass to the Docker run command. This would override any parameters that have already been set by the system, or in this section. This parameter is only supported for Azure ML compute types.",
+ "shmSize": {
+ "description": "Size of the docker container's shared memory block. This should be in the format of (number)(unit) where number as to be greater than 0 and the unit can be one of b(bytes), k(kilobytes), m(megabytes), or g(gigabytes).",
+ "default": "2g",
+ "pattern": "\\d+[bBkKmMgG]",
"type": "string",
"x-ms-mutability": [
"create",
"read"
- ],
- "x-nullable": true
+ ]
}
},
"additionalProperties": false
@@ -18304,8 +18304,8 @@
"description": "Job endpoint definition",
"type": "object",
"properties": {
- "jobServiceType": {
- "description": "Endpoint type.",
+ "endpoint": {
+ "description": "Url for endpoint.",
"type": "string",
"x-ms-mutability": [
"create",
@@ -18313,18 +18313,17 @@
],
"x-nullable": true
},
- "port": {
- "format": "int32",
- "description": "Port for endpoint.",
- "type": "integer",
+ "errorMessage": {
+ "description": "Any error in the service.",
+ "type": "string",
+ "readOnly": true,
"x-ms-mutability": [
- "create",
"read"
],
"x-nullable": true
},
- "endpoint": {
- "description": "Url for endpoint.",
+ "jobServiceType": {
+ "description": "Endpoint type.",
"type": "string",
"x-ms-mutability": [
"create",
@@ -18332,20 +18331,17 @@
],
"x-nullable": true
},
- "status": {
- "description": "Status of endpoint.",
- "type": "string",
- "readOnly": true,
- "x-ms-mutability": [
- "read"
- ],
+ "nodes": {
+ "description": "Nodes that user would like to start the service on.\r\nIf Nodes is not set or set to null, the service will only be started on leader node.",
+ "$ref": "#/definitions/Nodes",
"x-nullable": true
},
- "errorMessage": {
- "description": "Any error in the service.",
- "type": "string",
- "readOnly": true,
+ "port": {
+ "format": "int32",
+ "description": "Port for endpoint.",
+ "type": "integer",
"x-ms-mutability": [
+ "create",
"read"
],
"x-nullable": true
@@ -18359,9 +18355,13 @@
},
"x-nullable": true
},
- "nodes": {
- "description": "Nodes that user would like to start the service on.\r\nIf Nodes is not set or set to null, the service will only be started on leader node.",
- "$ref": "#/definitions/Nodes",
+ "status": {
+ "description": "Status of endpoint.",
+ "type": "string",
+ "readOnly": true,
+ "x-ms-mutability": [
+ "read"
+ ],
"x-nullable": true
}
},
@@ -18832,11 +18832,6 @@
"type": "string",
"x-nullable": true
},
- "userManagedIdentityResourceId": {
- "description": "Full arm scope for the Id. For ManagedIdentityType = SystemManaged, this field is null.",
- "type": "string",
- "x-nullable": true
- },
"userManagedIdentityClientId": {
"description": "ClientId for the UAMI. For ManagedIdentityType = SystemManaged, this field is null.",
"type": "string",
@@ -18847,6 +18842,11 @@
"type": "string",
"x-nullable": true
},
+ "userManagedIdentityResourceId": {
+ "description": "Full arm scope for the Id. For ManagedIdentityType = SystemManaged, this field is null.",
+ "type": "string",
+ "x-nullable": true
+ },
"userManagedIdentityTenantId": {
"description": "TenantId for the UAMI. For ManagedIdentityType = SystemManaged, this field is null.",
"type": "string",
@@ -18870,8 +18870,8 @@
"MarketplacePlan": {
"type": "object",
"properties": {
- "publisherId": {
- "description": "The identifying name of the Publisher of the Marketplace Plan.",
+ "offerId": {
+ "description": "The identifying name of the Offer of the Marketplace Plan.",
"type": "string",
"readOnly": true,
"x-ms-mutability": [
@@ -18879,8 +18879,8 @@
],
"x-nullable": true
},
- "offerId": {
- "description": "The identifying name of the Offer of the Marketplace Plan.",
+ "planId": {
+ "description": "The identifying name of the Plan of the Marketplace Plan.",
"type": "string",
"readOnly": true,
"x-ms-mutability": [
@@ -18888,8 +18888,8 @@
],
"x-nullable": true
},
- "planId": {
- "description": "The identifying name of the Plan of the Marketplace Plan.",
+ "publisherId": {
+ "description": "The identifying name of the Publisher of the Marketplace Plan.",
"type": "string",
"readOnly": true,
"x-ms-mutability": [
@@ -18906,12 +18906,6 @@
],
"type": "object",
"properties": {
- "modelId": {
- "description": "[Required] Target Marketplace Model ID to create a Marketplace Subscription for.",
- "minLength": 1,
- "pattern": "[a-zA-Z0-9_]",
- "type": "string"
- },
"marketplacePlan": {
"description": "Marketplace Plan associated with the Marketplace Subscription.",
"$ref": "#/definitions/MarketplacePlan",
@@ -18929,6 +18923,12 @@
"read"
]
},
+ "modelId": {
+ "description": "[Required] Target Marketplace Model ID to create a Marketplace Subscription for.",
+ "minLength": 1,
+ "pattern": "[a-zA-Z0-9_]",
+ "type": "string"
+ },
"provisioningState": {
"description": "Provisioning State of the Marketplace Subscription.",
"$ref": "#/definitions/MarketplaceSubscriptionProvisioningState",
@@ -19007,16 +19007,16 @@
"description": "A paginated list of MarketplaceSubscription entities.",
"type": "object",
"properties": {
+ "nextLink": {
+ "description": "The link to the next page of MarketplaceSubscription objects. If null, there are no additional pages.",
+ "type": "string"
+ },
"value": {
"description": "An array of objects of type MarketplaceSubscription.",
"type": "array",
"items": {
"$ref": "#/definitions/MarketplaceSubscriptionResource"
}
- },
- "nextLink": {
- "description": "The link to the next page of MarketplaceSubscription objects. If null, there are no additional pages.",
- "type": "string"
}
},
"additionalProperties": false
@@ -19063,16 +19063,6 @@
"MaterializationSettings": {
"type": "object",
"properties": {
- "storeType": {
- "description": "Specifies the stores to which materialization should happen",
- "default": "None",
- "$ref": "#/definitions/MaterializationStoreType"
- },
- "schedule": {
- "description": "Specifies the schedule details",
- "$ref": "#/definitions/RecurrenceTrigger",
- "x-nullable": true
- },
"notification": {
"description": "Specifies the notification details",
"$ref": "#/definitions/NotificationSetting",
@@ -19083,6 +19073,11 @@
"$ref": "#/definitions/MaterializationComputeResource",
"x-nullable": true
},
+ "schedule": {
+ "description": "Specifies the schedule details",
+ "$ref": "#/definitions/RecurrenceTrigger",
+ "x-nullable": true
+ },
"sparkConfiguration": {
"description": "Specifies the spark compute settings",
"type": "object",
@@ -19091,6 +19086,11 @@
"x-nullable": true
},
"x-nullable": true
+ },
+ "storeType": {
+ "description": "Specifies the stores to which materialization should happen",
+ "default": "None",
+ "$ref": "#/definitions/MaterializationStoreType"
}
},
"additionalProperties": false
@@ -19178,16 +19178,16 @@
"description": "A paginated list of ModelContainer entities.",
"type": "object",
"properties": {
+ "nextLink": {
+ "description": "The link to the next page of ModelContainer objects. If null, there are no additional pages.",
+ "type": "string"
+ },
"value": {
"description": "An array of objects of type ModelContainer.",
"type": "array",
"items": {
"$ref": "#/definitions/ModelContainerResource"
}
- },
- "nextLink": {
- "description": "The link to the next page of ModelContainer objects. If null, there are no additional pages.",
- "type": "string"
}
},
"additionalProperties": false
@@ -19280,6 +19280,11 @@
},
"x-nullable": true
},
+ "jobName": {
+ "description": "Name of the training job which produced this model",
+ "type": "string",
+ "x-nullable": true
+ },
"modelType": {
"description": "The storage format for this entity. Used for NCD.",
"type": "string",
@@ -19290,11 +19295,6 @@
"type": "string",
"x-nullable": true
},
- "jobName": {
- "description": "Name of the training job which produced this model",
- "type": "string",
- "x-nullable": true
- },
"provisioningState": {
"description": "Provisioning state for the model version.",
"$ref": "#/definitions/AssetProvisioningState",
@@ -19336,16 +19336,16 @@
"description": "A paginated list of ModelVersion entities.",
"type": "object",
"properties": {
+ "nextLink": {
+ "description": "The link to the next page of ModelVersion objects. If null, there are no additional pages.",
+ "type": "string"
+ },
"value": {
"description": "An array of objects of type ModelVersion.",
"type": "array",
"items": {
"$ref": "#/definitions/ModelVersionResource"
}
- },
- "nextLink": {
- "description": "The link to the next page of ModelVersion objects. If null, there are no additional pages.",
- "type": "string"
}
},
"additionalProperties": false
@@ -19434,6 +19434,23 @@
],
"type": "object",
"properties": {
+ "alertNotificationSettings": {
+ "description": "The monitor's notification settings.",
+ "$ref": "#/definitions/MonitorNotificationSettings",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ],
+ "x-nullable": true
+ },
+ "computeConfiguration": {
+ "description": "[Required] The ARM resource ID of the compute resource to run the monitoring job on.",
+ "$ref": "#/definitions/MonitorComputeConfigurationBase",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
"monitoringTarget": {
"description": "The entities targeted by the monitor.",
"$ref": "#/definitions/MonitoringTarget",
@@ -19454,23 +19471,6 @@
"create",
"read"
]
- },
- "computeConfiguration": {
- "description": "[Required] The ARM resource ID of the compute resource to run the monitoring job on.",
- "$ref": "#/definitions/MonitorComputeConfigurationBase",
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
- "alertNotificationSettings": {
- "description": "The monitor's notification settings.",
- "$ref": "#/definitions/MonitorNotificationSettings",
- "x-ms-mutability": [
- "create",
- "read"
- ],
- "x-nullable": true
}
},
"additionalProperties": false
@@ -19630,13 +19630,18 @@
],
"type": "object",
"properties": {
- "inputDataType": {
- "description": "[Required] Specifies the type of signal to monitor.",
- "$ref": "#/definitions/MonitoringInputDataType",
+ "columns": {
+ "description": "Mapping of column names to special uses.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string",
+ "x-nullable": true
+ },
"x-ms-mutability": [
"create",
"read"
- ]
+ ],
+ "x-nullable": true
},
"dataContext": {
"description": "The context metadata of the data source.",
@@ -19647,6 +19652,14 @@
],
"x-nullable": true
},
+ "inputDataType": {
+ "description": "[Required] Specifies the type of signal to monitor.",
+ "$ref": "#/definitions/MonitoringInputDataType",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
"jobInputType": {
"description": "[Required] Specifies the type of job.",
"$ref": "#/definitions/JobInputType",
@@ -19664,19 +19677,6 @@
"create",
"read"
]
- },
- "columns": {
- "description": "Mapping of column names to special uses.",
- "type": "object",
- "additionalProperties": {
- "type": "string",
- "x-nullable": true
- },
- "x-ms-mutability": [
- "create",
- "read"
- ],
- "x-nullable": true
}
},
"discriminator": "inputDataType"
@@ -19732,14 +19732,6 @@
],
"type": "object",
"properties": {
- "signalType": {
- "description": "[Required] Specifies the type of signal to monitor.",
- "$ref": "#/definitions/MonitoringSignalType",
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
"notificationTypes": {
"description": "The current notification mode for this signal.",
"type": "array",
@@ -19761,6 +19753,14 @@
"x-nullable": true
},
"x-nullable": true
+ },
+ "signalType": {
+ "description": "[Required] Specifies the type of signal to monitor.",
+ "$ref": "#/definitions/MonitoringSignalType",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
}
},
"discriminator": "signalType"
@@ -19809,8 +19809,8 @@
],
"type": "object",
"properties": {
- "modelId": {
- "description": "Reference to the model asset targeted by this monitor.",
+ "deploymentId": {
+ "description": "Reference to the deployment asset targeted by this monitor.",
"type": "string",
"x-ms-mutability": [
"create",
@@ -19818,8 +19818,8 @@
],
"x-nullable": true
},
- "deploymentId": {
- "description": "Reference to the deployment asset targeted by this monitor.",
+ "modelId": {
+ "description": "Reference to the model asset targeted by this monitor.",
"type": "string",
"x-ms-mutability": [
"create",
@@ -19922,16 +19922,16 @@
"description": "Abstract class for NLP related AutoML tasks.\r\nNLP - Natural Language Processing.",
"type": "object",
"properties": {
- "limitSettings": {
- "description": "Execution constraints for AutoMLJob.",
- "$ref": "#/definitions/NlpVerticalLimitSettings",
- "x-nullable": true
- },
"featurizationSettings": {
"description": "Featurization inputs needed for AutoML job.",
"$ref": "#/definitions/NlpVerticalFeaturizationSettings",
"x-nullable": true
},
+ "limitSettings": {
+ "description": "Execution constraints for AutoMLJob.",
+ "$ref": "#/definitions/NlpVerticalLimitSettings",
+ "x-nullable": true
+ },
"validationData": {
"description": "Validation data inputs.",
"$ref": "#/definitions/MLTableJobInput",
@@ -19953,23 +19953,23 @@
"description": "Job execution constraints.",
"type": "object",
"properties": {
- "timeout": {
- "format": "duration",
- "description": "AutoML job timeout.",
- "default": "P7D",
- "type": "string"
- },
- "maxTrials": {
+ "maxConcurrentTrials": {
"format": "int32",
- "description": "Number of AutoML iterations.",
+ "description": "Maximum Concurrent AutoML iterations.",
"default": 1,
"type": "integer"
},
- "maxConcurrentTrials": {
+ "maxTrials": {
"format": "int32",
- "description": "Maximum Concurrent AutoML iterations.",
+ "description": "Number of AutoML iterations.",
"default": 1,
"type": "integer"
+ },
+ "timeout": {
+ "format": "duration",
+ "description": "AutoML job timeout.",
+ "default": "P7D",
+ "type": "string"
}
},
"additionalProperties": false
@@ -20024,11 +20024,11 @@
"description": "Configuration for notification.",
"type": "object",
"properties": {
- "emails": {
- "description": "This is the email recipient list which has a limitation of 499 characters in total concat with comma separator",
+ "emailOn": {
+ "description": "Send email notification to user on specified notification type",
"type": "array",
"items": {
- "type": "string"
+ "$ref": "#/definitions/EmailNotificationEnableType"
},
"x-ms-mutability": [
"create",
@@ -20036,11 +20036,11 @@
],
"x-nullable": true
},
- "emailOn": {
- "description": "Send email notification to user on specified notification type",
+ "emails": {
+ "description": "This is the email recipient list which has a limitation of 499 characters in total concat with comma separator",
"type": "array",
"items": {
- "$ref": "#/definitions/EmailNotificationEnableType"
+ "type": "string"
},
"x-ms-mutability": [
"create",
@@ -20092,7 +20092,7 @@
},
{
"value": "TwoSampleKolmogorovSmirnovTest",
- "description": "The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric."
+ "description": "The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric."
}
]
},
@@ -20193,7 +20193,7 @@
},
{
"value": "TwoSampleKolmogorovSmirnovTest",
- "description": "The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric."
+ "description": "The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric."
}
]
},
@@ -20248,15 +20248,15 @@
],
"type": "object",
"properties": {
+ "goal": {
+ "description": "[Required] Defines supported metric goals for hyperparameter tuning",
+ "$ref": "#/definitions/Goal"
+ },
"primaryMetric": {
"description": "[Required] Name of the metric to optimize.",
"minLength": 1,
"pattern": "[a-zA-Z0-9_]",
"type": "string"
- },
- "goal": {
- "description": "[Required] Defines supported metric goals for hyperparameter tuning",
- "$ref": "#/definitions/Goal"
}
},
"additionalProperties": false
@@ -20269,10 +20269,6 @@
],
"type": "object",
"properties": {
- "artifactType": {
- "description": "[Required] OneLake artifact type",
- "$ref": "#/definitions/OneLakeArtifactType"
- },
"artifactName": {
"description": "[Required] OneLake artifact name",
"minLength": 1,
@@ -20282,6 +20278,10 @@
"create",
"read"
]
+ },
+ "artifactType": {
+ "description": "[Required] OneLake artifact type",
+ "$ref": "#/definitions/OneLakeArtifactType"
}
},
"discriminator": "artifactType"
@@ -20324,16 +20324,6 @@
"read"
]
},
- "oneLakeWorkspaceName": {
- "description": "[Required] OneLake workspace name.",
- "minLength": 1,
- "pattern": "[a-zA-Z0-9_]",
- "type": "string",
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
"endpoint": {
"description": "OneLake endpoint to use for the datastore.",
"type": "string",
@@ -20344,6 +20334,16 @@
],
"x-nullable": true
},
+ "oneLakeWorkspaceName": {
+ "description": "[Required] OneLake workspace name.",
+ "minLength": 1,
+ "pattern": "[a-zA-Z0-9_]",
+ "type": "string",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
"serviceDataAccessAuthIdentity": {
"description": "Indicates which identity to use to authenticate service data access to customer's storage.",
"default": "None",
@@ -20368,38 +20368,48 @@
}
],
"properties": {
- "endpointComputeType": {
- "description": "[Required] The compute type of the endpoint.",
- "$ref": "#/definitions/EndpointComputeType"
+ "appInsightsEnabled": {
+ "description": "If true, enables Application Insights logging.",
+ "default": false,
+ "type": "boolean"
},
- "scaleSettings": {
- "description": "Scale settings for the deployment.\r\nIf it is null or not provided,\r\nit defaults to TargetUtilizationScaleSettings for KubernetesOnlineDeployment\r\nand to DefaultScaleSettings for ManagedOnlineDeployment.",
- "$ref": "#/definitions/OnlineScaleSettings",
+ "dataCollector": {
+ "description": "The mdc configuration, we disable mdc when it's null.",
+ "$ref": "#/definitions/DataCollector",
"x-nullable": true
},
- "requestSettings": {
- "description": "Request settings for the deployment.",
- "$ref": "#/definitions/OnlineRequestSettings",
- "x-nullable": true
+ "egressPublicNetworkAccess": {
+ "description": "If Enabled, allow egress public network access. If Disabled, this will create secure egress. Default: Enabled.",
+ "default": "Enabled",
+ "$ref": "#/definitions/EgressPublicNetworkAccessType"
},
- "modelMountPath": {
- "description": "The path to mount the model in custom container.",
+ "endpointComputeType": {
+ "description": "[Required] The compute type of the endpoint.",
+ "$ref": "#/definitions/EndpointComputeType"
+ },
+ "instanceType": {
+ "description": "Compute instance type. Default: Standard_F4s_v2.",
+ "default": "Standard_F4s_v2",
"type": "string",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ],
"x-nullable": true
},
- "appInsightsEnabled": {
- "description": "If true, enables Application Insights logging.",
- "default": false,
- "type": "boolean"
- },
"livenessProbe": {
"description": "Liveness probe monitors the health of the container regularly.",
"$ref": "#/definitions/ProbeSettings",
"x-nullable": true
},
- "readinessProbe": {
- "description": "Readiness probe validates if the container is ready to serve traffic. The properties and defaults are the same as liveness probe.",
- "$ref": "#/definitions/ProbeSettings",
+ "model": {
+ "description": "The URI path to the model.",
+ "type": "string",
+ "x-nullable": true
+ },
+ "modelMountPath": {
+ "description": "The path to mount the model in custom container.",
+ "type": "string",
"x-nullable": true
},
"provisioningState": {
@@ -20410,28 +20420,19 @@
"read"
]
},
- "instanceType": {
- "description": "Compute instance type.",
- "type": "string",
- "x-ms-mutability": [
- "create",
- "read"
- ],
+ "readinessProbe": {
+ "description": "Readiness probe validates if the container is ready to serve traffic. The properties and defaults are the same as liveness probe.",
+ "$ref": "#/definitions/ProbeSettings",
"x-nullable": true
},
- "model": {
- "description": "The URI path to the model.",
- "type": "string",
+ "requestSettings": {
+ "description": "Request settings for the deployment.",
+ "$ref": "#/definitions/OnlineRequestSettings",
"x-nullable": true
},
- "egressPublicNetworkAccess": {
- "description": "If Enabled, allow egress public network access. If Disabled, this will create secure egress. Default: Enabled.",
- "default": "Enabled",
- "$ref": "#/definitions/EgressPublicNetworkAccessType"
- },
- "dataCollector": {
- "description": "The mdc configuration, we disable mdc when it's null.",
- "$ref": "#/definitions/DataCollector",
+ "scaleSettings": {
+ "description": "Scale settings for the deployment.\r\nIf it is null or not provided,\r\nit defaults to TargetUtilizationScaleSettings for KubernetesOnlineDeployment\r\nand to DefaultScaleSettings for ManagedOnlineDeployment.",
+ "$ref": "#/definitions/OnlineScaleSettings",
"x-nullable": true
}
},
@@ -20450,17 +20451,17 @@
}
],
"properties": {
- "properties": {
- "description": "[Required] Additional attributes of the entity.",
- "$ref": "#/definitions/OnlineDeployment"
+ "identity": {
+ "description": "Managed service identity (system assigned and/or user assigned identities)",
+ "$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/ManagedServiceIdentity"
},
"kind": {
"description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.",
"type": "string"
},
- "identity": {
- "description": "Managed service identity (system assigned and/or user assigned identities)",
- "$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/ManagedServiceIdentity"
+ "properties": {
+ "description": "[Required] Additional attributes of the entity.",
+ "$ref": "#/definitions/OnlineDeployment"
},
"sku": {
"description": "Sku details required for ARM contract for Autoscaling.",
@@ -20474,16 +20475,16 @@
"description": "A paginated list of OnlineDeployment entities.",
"type": "object",
"properties": {
+ "nextLink": {
+ "description": "The link to the next page of OnlineDeployment objects. If null, there are no additional pages.",
+ "type": "string"
+ },
"value": {
"description": "An array of objects of type OnlineDeployment.",
"type": "array",
"items": {
"$ref": "#/definitions/OnlineDeploymentTrackedResource"
}
- },
- "nextLink": {
- "description": "The link to the next page of OnlineDeployment objects. If null, there are no additional pages.",
- "type": "string"
}
},
"additionalProperties": false
@@ -20497,6 +20498,20 @@
}
],
"properties": {
+ "compute": {
+ "description": "ARM resource ID of the compute if it exists.\r\noptional",
+ "type": "string",
+ "x-nullable": true
+ },
+ "mirrorTraffic": {
+ "description": "Percentage of traffic to be mirrored to each deployment without using returned scoring. Traffic values need to sum to utmost 50.",
+ "type": "object",
+ "additionalProperties": {
+ "format": "int32",
+ "type": "integer"
+ },
+ "x-nullable": true
+ },
"provisioningState": {
"description": "Provisioning state for the endpoint.",
"$ref": "#/definitions/EndpointProvisioningState",
@@ -20505,11 +20520,6 @@
"read"
]
},
- "compute": {
- "description": "ARM resource ID of the compute if it exists.\r\noptional",
- "type": "string",
- "x-nullable": true
- },
"publicNetworkAccess": {
"description": "Set to \"Enabled\" for endpoints that should allow public access when Private Link is enabled.",
"default": "Enabled",
@@ -20523,15 +20533,6 @@
"type": "integer"
},
"x-nullable": true
- },
- "mirrorTraffic": {
- "description": "Percentage of traffic to be mirrored to each deployment without using returned scoring. Traffic values need to sum to utmost 50.",
- "type": "object",
- "additionalProperties": {
- "format": "int32",
- "type": "integer"
- },
- "x-nullable": true
}
},
"x-ms-client-name": "OnlineEndpointProperties",
@@ -20549,17 +20550,17 @@
}
],
"properties": {
- "properties": {
- "description": "[Required] Additional attributes of the entity.",
- "$ref": "#/definitions/OnlineEndpoint"
+ "identity": {
+ "description": "Managed service identity (system assigned and/or user assigned identities)",
+ "$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/ManagedServiceIdentity"
},
"kind": {
"description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.",
"type": "string"
},
- "identity": {
- "description": "Managed service identity (system assigned and/or user assigned identities)",
- "$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/ManagedServiceIdentity"
+ "properties": {
+ "description": "[Required] Additional attributes of the entity.",
+ "$ref": "#/definitions/OnlineEndpoint"
},
"sku": {
"description": "Sku details required for ARM contract for Autoscaling.",
@@ -20573,16 +20574,16 @@
"description": "A paginated list of OnlineEndpoint entities.",
"type": "object",
"properties": {
+ "nextLink": {
+ "description": "The link to the next page of OnlineEndpoint objects. If null, there are no additional pages.",
+ "type": "string"
+ },
"value": {
"description": "An array of objects of type OnlineEndpoint.",
"type": "array",
"items": {
"$ref": "#/definitions/OnlineEndpointTrackedResource"
}
- },
- "nextLink": {
- "description": "The link to the next page of OnlineEndpoint objects. If null, there are no additional pages.",
- "type": "string"
}
},
"additionalProperties": false
@@ -20591,6 +20592,12 @@
"description": "Online deployment scoring requests configuration.",
"type": "object",
"properties": {
+ "maxConcurrentRequestsPerInstance": {
+ "format": "int32",
+ "description": "The number of maximum concurrent requests per node allowed per deployment. Defaults to 1.",
+ "default": 1,
+ "type": "integer"
+ },
"maxQueueWait": {
"format": "duration",
"description": "(Deprecated for Managed Online Endpoints) The maximum amount of time a request will stay in the queue in ISO 8601 format.\r\nDefaults to 500ms.\r\n(Now increase `request_timeout_ms` to account for any networking/queue delays)",
@@ -20602,12 +20609,6 @@
"description": "The scoring timeout in ISO 8601 format.\r\nDefaults to 5000ms.",
"default": "PT5S",
"type": "string"
- },
- "maxConcurrentRequestsPerInstance": {
- "format": "int32",
- "description": "The number of maximum concurrent requests per node allowed per deployment. Defaults to 1.",
- "default": 1,
- "type": "integer"
}
},
"additionalProperties": false
@@ -20709,13 +20710,13 @@
}
],
"properties": {
- "path": {
- "description": "The path of the file/directory in the job output.",
+ "jobId": {
+ "description": "ARM resource ID of the job.",
"type": "string",
"x-nullable": true
},
- "jobId": {
- "description": "ARM resource ID of the job.",
+ "path": {
+ "description": "The path of the file/directory in the job output.",
"type": "string",
"x-nullable": true
}
@@ -20828,13 +20829,13 @@
}
],
"properties": {
- "sku": {
- "description": "Sku details required for ARM contract for Autoscaling.",
- "$ref": "#/definitions/PartialSku"
- },
"identity": {
"description": "Managed service identity (system assigned and/or user assigned identities)",
"$ref": "#/definitions/PartialManagedServiceIdentity"
+ },
+ "sku": {
+ "description": "Sku details required for ARM contract for Autoscaling.",
+ "$ref": "#/definitions/PartialSku"
}
},
"additionalProperties": false
@@ -20843,26 +20844,26 @@
"description": "Common SKU definition.",
"type": "object",
"properties": {
+ "capacity": {
+ "format": "int32",
+ "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.",
+ "type": "integer"
+ },
+ "family": {
+ "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here.",
+ "type": "string"
+ },
"name": {
"description": "The name of the SKU. Ex - P3. It is typically a letter+number code.",
"type": "string"
},
- "tier": {
- "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.",
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/SkuTier"
- },
"size": {
"description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.",
"type": "string"
},
- "family": {
- "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here.",
- "type": "string"
- },
- "capacity": {
- "format": "int32",
- "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.",
- "type": "integer"
+ "tier": {
+ "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.",
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/SkuTier"
}
},
"additionalProperties": false
@@ -20968,9 +20969,14 @@
}
],
"properties": {
- "settings": {
- "description": "Pipeline settings, for things like ContinueRunOnStepFailure etc.",
+ "inputs": {
+ "description": "Inputs for the pipeline job.",
"type": "object",
+ "additionalProperties": {
+ "description": "Command job definition.",
+ "$ref": "#/definitions/JobInput",
+ "x-nullable": true
+ },
"x-ms-mutability": [
"create",
"read"
@@ -20990,12 +20996,12 @@
],
"x-nullable": true
},
- "inputs": {
- "description": "Inputs for the pipeline job.",
+ "outputs": {
+ "description": "Outputs for the pipeline job",
"type": "object",
"additionalProperties": {
- "description": "Command job definition.",
- "$ref": "#/definitions/JobInput",
+ "description": "Job output definition container information on where to find job output/logs.",
+ "$ref": "#/definitions/JobOutput",
"x-nullable": true
},
"x-ms-mutability": [
@@ -21004,14 +21010,9 @@
],
"x-nullable": true
},
- "outputs": {
- "description": "Outputs for the pipeline job",
+ "settings": {
+ "description": "Pipeline settings, for things like ContinueRunOnStepFailure etc.",
"type": "object",
- "additionalProperties": {
- "description": "Job output definition container information on where to find job output/logs.",
- "$ref": "#/definitions/JobOutput",
- "x-nullable": true
- },
"x-ms-mutability": [
"create",
"read"
@@ -21070,6 +21071,18 @@
}
],
"properties": {
+ "featureDataTypeOverride": {
+ "description": "A dictionary that maps feature names to their respective data types.",
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/MonitoringFeatureDataType"
+ },
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ],
+ "x-nullable": true
+ },
"metricThresholds": {
"description": "[Required] A list of metrics to calculate and their associated thresholds.",
"type": "array",
@@ -21097,18 +21110,6 @@
"create",
"read"
]
- },
- "featureDataTypeOverride": {
- "description": "A dictionary that maps feature names to their respective data types.",
- "type": "object",
- "additionalProperties": {
- "$ref": "#/definitions/MonitoringFeatureDataType"
- },
- "x-ms-mutability": [
- "create",
- "read"
- ],
- "x-nullable": true
}
},
"x-ms-discriminator-value": "PredictionDrift",
@@ -21124,6 +21125,18 @@
"default": 30,
"type": "integer"
},
+ "initialDelay": {
+ "format": "duration",
+ "description": "The delay before the first probe in ISO 8601 format.",
+ "type": "string",
+ "x-nullable": true
+ },
+ "period": {
+ "format": "duration",
+ "description": "The length of time between probes in ISO 8601 format.",
+ "default": "PT10S",
+ "type": "string"
+ },
"successThreshold": {
"format": "int32",
"description": "The number of successful probes before returning a healthy status.",
@@ -21135,18 +21148,6 @@
"description": "The probe timeout in ISO 8601 format.",
"default": "PT2S",
"type": "string"
- },
- "period": {
- "format": "duration",
- "description": "The length of time between probes in ISO 8601 format.",
- "default": "PT10S",
- "type": "string"
- },
- "initialDelay": {
- "format": "duration",
- "description": "The delay before the first probe in ISO 8601 format.",
- "type": "string",
- "x-nullable": true
}
},
"additionalProperties": false
@@ -21215,16 +21216,16 @@
}
],
"properties": {
+ "rule": {
+ "description": "The specific type of random algorithm",
+ "default": "Random",
+ "$ref": "#/definitions/RandomSamplingAlgorithmRule"
+ },
"seed": {
"format": "int32",
"description": "An optional integer to use as the seed for random number generation",
"type": "integer",
"x-nullable": true
- },
- "rule": {
- "description": "The specific type of random algorithm",
- "default": "Random",
- "$ref": "#/definitions/RandomSamplingAlgorithmRule"
}
},
"x-ms-discriminator-value": "Random",
@@ -21312,20 +21313,20 @@
"type": "integer"
}
},
- "weekDays": {
- "description": "List of days for the schedule.",
+ "monthDays": {
+ "description": "List of month days for the schedule",
"type": "array",
"items": {
- "$ref": "#/definitions/WeekDay"
+ "format": "int32",
+ "type": "integer"
},
"x-nullable": true
},
- "monthDays": {
- "description": "List of month days for the schedule",
+ "weekDays": {
+ "description": "List of days for the schedule.",
"type": "array",
"items": {
- "format": "int32",
- "type": "integer"
+ "$ref": "#/definitions/WeekDay"
},
"x-nullable": true
}
@@ -21477,7 +21478,7 @@
},
{
"value": "RandomForest",
- "description": "Random forest is a supervised learning algorithm.\nThe \"forest\" it builds, is an ensemble of decision trees, usually trained with the “bagging” method.\nThe general idea of the bagging method is that a combination of learning models increases the overall result."
+ "description": "Random forest is a supervised learning algorithm.\nThe \"forest\" it builds, is an ensemble of decision trees, usually trained with the \"bagging\" method.\nThe general idea of the bagging method is that a combination of learning models increases the overall result."
},
{
"value": "ExtremeRandomTrees",
@@ -21578,8 +21579,8 @@
"type": "string",
"x-nullable": true
},
- "tags": {
- "description": "Tag dictionary. Tags can be added, removed, and updated.",
+ "properties": {
+ "description": "The asset property dictionary.",
"type": "object",
"additionalProperties": {
"type": "string",
@@ -21587,8 +21588,8 @@
},
"x-nullable": true
},
- "properties": {
- "description": "The asset property dictionary.",
+ "tags": {
+ "description": "Tag dictionary. Tags can be added, removed, and updated.",
"type": "object",
"additionalProperties": {
"type": "string",
@@ -21650,6 +21651,15 @@
}
],
"properties": {
+ "preprocessingComponentId": {
+ "description": "Reference to the component asset used to preprocess the data.",
+ "type": "string",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ],
+ "x-nullable": true
+ },
"windowOffset": {
"format": "duration",
"description": "[Required] The time offset between the end of the data window and the monitor's current run time.",
@@ -21667,15 +21677,6 @@
"create",
"read"
]
- },
- "preprocessingComponentId": {
- "description": "Reference to the component asset used to preprocess the data.",
- "type": "string",
- "x-ms-mutability": [
- "create",
- "read"
- ],
- "x-nullable": true
}
},
"x-ms-discriminator-value": "Rolling",
@@ -21886,6 +21887,15 @@
}
],
"properties": {
+ "action": {
+ "description": "[Required] Specifies the action of the schedule",
+ "$ref": "#/definitions/ScheduleActionBase",
+ "x-ms-mutability": [
+ "create",
+ "read",
+ "update"
+ ]
+ },
"displayName": {
"description": "Display name of schedule.",
"type": "string",
@@ -21905,6 +21915,14 @@
"update"
]
},
+ "provisioningState": {
+ "description": "Provisioning state for the schedule.",
+ "$ref": "#/definitions/ScheduleProvisioningStatus",
+ "readOnly": true,
+ "x-ms-mutability": [
+ "read"
+ ]
+ },
"trigger": {
"description": "[Required] Specifies the trigger details",
"$ref": "#/definitions/TriggerBase",
@@ -21913,23 +21931,6 @@
"read",
"update"
]
- },
- "action": {
- "description": "[Required] Specifies the action of the schedule",
- "$ref": "#/definitions/ScheduleActionBase",
- "x-ms-mutability": [
- "create",
- "read",
- "update"
- ]
- },
- "provisioningState": {
- "description": "Provisioning state for the schedule.",
- "$ref": "#/definitions/ScheduleProvisioningStatus",
- "readOnly": true,
- "x-ms-mutability": [
- "read"
- ]
}
},
"x-ms-client-name": "ScheduleProperties",
@@ -22061,16 +22062,16 @@
"description": "A paginated list of Schedule entities.",
"type": "object",
"properties": {
+ "nextLink": {
+ "description": "The link to the next page of Schedule objects. If null, there are no additional pages.",
+ "type": "string"
+ },
"value": {
"description": "An array of objects of type Schedule.",
"type": "array",
"items": {
"$ref": "#/definitions/ScheduleResource"
}
- },
- "nextLink": {
- "description": "The link to the next page of Schedule objects. If null, there are no additional pages.",
- "type": "string"
}
},
"additionalProperties": false
@@ -22151,39 +22152,31 @@
],
"type": "object",
"properties": {
- "modelSettings": {
- "description": "The model settings (model id) for the model being serviced on the ServerlessEndpoint.",
- "$ref": "#/definitions/ModelSettings",
- "x-nullable": true
- },
"authMode": {
"description": "[Required] Specifies the authentication mode for the Serverless endpoint.",
"$ref": "#/definitions/ServerlessInferenceEndpointAuthMode"
},
- "inferenceEndpoint": {
- "description": "The inference uri to target when making requests against the serverless endpoint",
- "$ref": "#/definitions/ServerlessInferenceEndpoint",
- "readOnly": true,
- "x-ms-mutability": [
- "read"
- ],
+ "contentSafety": {
+ "description": "Specifies the content safety options. If omitted, the default content safety settings will be configured",
+ "$ref": "#/definitions/ContentSafety",
"x-nullable": true
},
- "provisioningState": {
- "description": "Provisioning state for the endpoint.",
- "$ref": "#/definitions/EndpointProvisioningState",
+ "endpointState": {
+ "description": "The current state of the ServerlessEndpoint.",
+ "$ref": "#/definitions/ServerlessEndpointState",
"readOnly": true,
"x-ms-mutability": [
"read"
]
},
- "endpointState": {
- "description": "The current state of the ServerlessEndpoint.",
- "$ref": "#/definitions/ServerlessEndpointState",
+ "inferenceEndpoint": {
+ "description": "The inference uri to target when making requests against the serverless endpoint",
+ "$ref": "#/definitions/ServerlessInferenceEndpoint",
"readOnly": true,
"x-ms-mutability": [
"read"
- ]
+ ],
+ "x-nullable": true
},
"marketplaceSubscriptionId": {
"description": "The MarketplaceSubscription Azure ID associated to this ServerlessEndpoint.",
@@ -22194,10 +22187,18 @@
],
"x-nullable": true
},
- "contentSafety": {
- "description": "Specifies the content safety options. If omitted, the default content safety settings will be configured",
- "$ref": "#/definitions/ContentSafety",
+ "modelSettings": {
+ "description": "The model settings (model id) for the model being serviced on the ServerlessEndpoint.",
+ "$ref": "#/definitions/ModelSettings",
"x-nullable": true
+ },
+ "provisioningState": {
+ "description": "Provisioning state for the endpoint.",
+ "$ref": "#/definitions/EndpointProvisioningState",
+ "readOnly": true,
+ "x-ms-mutability": [
+ "read"
+ ]
}
},
"x-ms-client-name": "ServerlessEndpointProperties",
@@ -22264,17 +22265,17 @@
}
],
"properties": {
- "properties": {
- "description": "[Required] Additional attributes of the entity.",
- "$ref": "#/definitions/ServerlessEndpoint"
+ "identity": {
+ "description": "Managed service identity (system assigned and/or user assigned identities)",
+ "$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/ManagedServiceIdentity"
},
"kind": {
"description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.",
"type": "string"
},
- "identity": {
- "description": "Managed service identity (system assigned and/or user assigned identities)",
- "$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/ManagedServiceIdentity"
+ "properties": {
+ "description": "[Required] Additional attributes of the entity.",
+ "$ref": "#/definitions/ServerlessEndpoint"
},
"sku": {
"description": "Sku details required for ARM contract for Autoscaling.",
@@ -22288,16 +22289,16 @@
"description": "A paginated list of ServerlessEndpoint entities.",
"type": "object",
"properties": {
+ "nextLink": {
+ "description": "The link to the next page of ServerlessEndpoint objects. If null, there are no additional pages.",
+ "type": "string"
+ },
"value": {
"description": "An array of objects of type ServerlessEndpoint.",
"type": "array",
"items": {
"$ref": "#/definitions/ServerlessEndpointTrackedResource"
}
- },
- "nextLink": {
- "description": "The link to the next page of ServerlessEndpoint objects. If null, there are no additional pages.",
- "type": "string"
}
},
"additionalProperties": false
@@ -22308,14 +22309,6 @@
],
"type": "object",
"properties": {
- "uri": {
- "format": "uri",
- "description": "[Required] The inference uri to target when making requests against the Serverless Endpoint.",
- "type": "string",
- "x-ms-mutability": [
- "read"
- ]
- },
"headers": {
"description": "Specifies any required headers to target this serverless endpoint.",
"type": "object",
@@ -22328,6 +22321,14 @@
"read"
],
"x-nullable": true
+ },
+ "uri": {
+ "format": "uri",
+ "description": "[Required] The inference uri to target when making requests against the Serverless Endpoint.",
+ "type": "string",
+ "x-ms-mutability": [
+ "read"
+ ]
}
},
"additionalProperties": false
@@ -22394,21 +22395,16 @@
"type": "string",
"x-nullable": true
},
- "resourceUrl": {
- "description": "Resource the service principal has access to.",
- "type": "string",
- "x-nullable": true
- },
- "tenantId": {
- "format": "uuid",
- "description": "[Required] ID of the tenant to which the service principal belongs.",
- "type": "string"
- },
"clientId": {
"format": "uuid",
"description": "[Required] Service principal client ID.",
"type": "string"
},
+ "resourceUrl": {
+ "description": "Resource the service principal has access to.",
+ "type": "string",
+ "x-nullable": true
+ },
"secrets": {
"description": "[Required] Service principal secrets.",
"$ref": "#/definitions/ServicePrincipalDatastoreSecrets",
@@ -22417,6 +22413,11 @@
"update"
],
"x-ms-secret": true
+ },
+ "tenantId": {
+ "format": "uuid",
+ "description": "[Required] ID of the tenant to which the service principal belongs.",
+ "type": "string"
}
},
"x-ms-discriminator-value": "ServicePrincipal",
@@ -22477,9 +22478,9 @@
"description": "SKU capacity information",
"type": "object",
"properties": {
- "minimum": {
+ "default": {
"format": "int32",
- "description": "Gets or sets the minimum.",
+ "description": "Gets or sets the default capacity.",
"default": 0,
"type": "integer"
},
@@ -22489,9 +22490,9 @@
"default": 0,
"type": "integer"
},
- "default": {
+ "minimum": {
"format": "int32",
- "description": "Gets or sets the default capacity.",
+ "description": "Gets or sets the minimum.",
"default": 0,
"type": "integer"
},
@@ -22507,6 +22508,11 @@
"description": "Fulfills ARM Contract requirement to list all available SKUS for a resource.",
"type": "object",
"properties": {
+ "capacity": {
+ "description": "Gets or sets the Sku Capacity.",
+ "$ref": "#/definitions/SkuCapacity",
+ "x-nullable": true
+ },
"resourceType": {
"description": "The resource type name.",
"type": "string",
@@ -22520,11 +22526,6 @@
"description": "Gets or sets the Sku.",
"$ref": "#/definitions/SkuSetting",
"x-nullable": true
- },
- "capacity": {
- "description": "Gets or sets the Sku Capacity.",
- "$ref": "#/definitions/SkuCapacity",
- "x-nullable": true
}
},
"additionalProperties": false
@@ -22533,6 +22534,10 @@
"description": "A paginated list of SkuResource entities.",
"type": "object",
"properties": {
+ "nextLink": {
+ "description": "The link to the next page of SkuResource objects. If null, there are no additional pages.",
+ "type": "string"
+ },
"value": {
"description": "An array of objects of type SkuResource.",
"type": "array",
@@ -22540,10 +22545,6 @@
"$ref": "#/definitions/SkuResource"
},
"x-ms-identifiers": []
- },
- "nextLink": {
- "description": "The link to the next page of SkuResource objects. If null, there are no additional pages.",
- "type": "string"
}
},
"additionalProperties": false
@@ -22610,9 +22611,12 @@
}
],
"properties": {
- "resources": {
- "description": "Compute Resource configuration for the job.",
- "$ref": "#/definitions/SparkResourceConfiguration",
+ "archives": {
+ "description": "Archive files used in the job.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
"x-ms-mutability": [
"create",
"read"
@@ -22640,6 +22644,24 @@
"read"
]
},
+ "conf": {
+ "description": "Spark configured properties.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string",
+ "x-nullable": true
+ },
+ "example": [
+ {
+ "spark.driver.memory": "2g"
+ }
+ ],
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ],
+ "x-nullable": true
+ },
"entry": {
"description": "[Required] The entry to execute on startup of the job.",
"$ref": "#/definitions/SparkJobEntry",
@@ -22658,12 +22680,11 @@
],
"x-nullable": true
},
- "inputs": {
- "description": "Mapping of input data bindings used in the job.",
+ "environmentVariables": {
+ "description": "Environment variables included in the job.",
"type": "object",
"additionalProperties": {
- "description": "Command job definition.",
- "$ref": "#/definitions/JobInput",
+ "type": "string",
"x-nullable": true
},
"x-ms-mutability": [
@@ -22672,13 +22693,11 @@
],
"x-nullable": true
},
- "outputs": {
- "description": "Mapping of output data bindings used in the job.",
- "type": "object",
- "additionalProperties": {
- "description": "Job output definition container information on where to find job output/logs.",
- "$ref": "#/definitions/JobOutput",
- "x-nullable": true
+ "files": {
+ "description": "Files used in the job.",
+ "type": "array",
+ "items": {
+ "type": "string"
},
"x-ms-mutability": [
"create",
@@ -22686,11 +22705,13 @@
],
"x-nullable": true
},
- "pyFiles": {
- "description": "Python files used in the job.",
- "type": "array",
- "items": {
- "type": "string"
+ "inputs": {
+ "description": "Mapping of input data bindings used in the job.",
+ "type": "object",
+ "additionalProperties": {
+ "description": "Command job definition.",
+ "$ref": "#/definitions/JobInput",
+ "x-nullable": true
},
"x-ms-mutability": [
"create",
@@ -22710,11 +22731,13 @@
],
"x-nullable": true
},
- "files": {
- "description": "Files used in the job.",
- "type": "array",
- "items": {
- "type": "string"
+ "outputs": {
+ "description": "Mapping of output data bindings used in the job.",
+ "type": "object",
+ "additionalProperties": {
+ "description": "Job output definition container information on where to find job output/logs.",
+ "$ref": "#/definitions/JobOutput",
+ "x-nullable": true
},
"x-ms-mutability": [
"create",
@@ -22722,8 +22745,8 @@
],
"x-nullable": true
},
- "archives": {
- "description": "Archive files used in the job.",
+ "pyFiles": {
+ "description": "Python files used in the job.",
"type": "array",
"items": {
"type": "string"
@@ -22734,24 +22757,6 @@
],
"x-nullable": true
},
- "conf": {
- "description": "Spark configured properties.",
- "type": "object",
- "additionalProperties": {
- "type": "string",
- "x-nullable": true
- },
- "example": [
- {
- "spark.driver.memory": "2g"
- }
- ],
- "x-ms-mutability": [
- "create",
- "read"
- ],
- "x-nullable": true
- },
"queueSettings": {
"description": "Queue settings for the job",
"$ref": "#/definitions/QueueSettings",
@@ -22761,13 +22766,9 @@
],
"x-nullable": true
},
- "environmentVariables": {
- "description": "Environment variables included in the job.",
- "type": "object",
- "additionalProperties": {
- "type": "string",
- "x-nullable": true
- },
+ "resources": {
+ "description": "Compute Resource configuration for the job.",
+ "$ref": "#/definitions/SparkResourceConfiguration",
"x-ms-mutability": [
"create",
"read"
@@ -22896,21 +22897,21 @@
"description": "Advances setting to customize StackEnsemble run.",
"type": "object",
"properties": {
- "stackMetaLearnerType": {
- "description": "The meta-learner is a model trained on the output of the individual heterogeneous models.",
- "default": "None",
- "$ref": "#/definitions/StackMetaLearnerType"
- },
- "stackMetaLearnerTrainPercentage": {
+ "stackMetaLearnerKWargs": {
+ "description": "Optional parameters to pass to the initializer of the meta-learner.",
+ "type": "object",
+ "x-nullable": true
+ },
+ "stackMetaLearnerTrainPercentage": {
"format": "double",
"description": "Specifies the proportion of the training set (when choosing train and validation type of training) to be reserved for training the meta-learner. Default value is 0.2.",
"default": 0.2,
"type": "number"
},
- "stackMetaLearnerKWargs": {
- "description": "Optional parameters to pass to the initializer of the meta-learner.",
- "type": "object",
- "x-nullable": true
+ "stackMetaLearnerType": {
+ "description": "The meta-learner is a model trained on the output of the individual heterogeneous models.",
+ "default": "None",
+ "$ref": "#/definitions/StackMetaLearnerType"
}
},
"additionalProperties": false
@@ -22977,14 +22978,14 @@
}
],
"properties": {
- "windowStart": {
- "format": "date-time",
- "description": "[Required] The start date of the data window.",
+ "preprocessingComponentId": {
+ "description": "Reference to the component asset used to preprocess the data.",
"type": "string",
"x-ms-mutability": [
"create",
"read"
- ]
+ ],
+ "x-nullable": true
},
"windowEnd": {
"format": "date-time",
@@ -22995,14 +22996,14 @@
"read"
]
},
- "preprocessingComponentId": {
- "description": "Reference to the component asset used to preprocess the data.",
+ "windowStart": {
+ "format": "date-time",
+ "description": "[Required] The start date of the data window.",
"type": "string",
"x-ms-mutability": [
"create",
"read"
- ],
- "x-nullable": true
+ ]
}
},
"x-ms-discriminator-value": "Static",
@@ -23056,36 +23057,11 @@
}
],
"properties": {
- "searchSpace": {
- "description": "[Required] A dictionary containing each parameter and its distribution. The dictionary key is the name of the parameter",
- "type": "object"
- },
- "samplingAlgorithm": {
- "description": "[Required] The hyperparameter sampling algorithm",
- "$ref": "#/definitions/SamplingAlgorithm"
- },
- "limits": {
- "description": "Sweep Job limit.",
- "default": "{}",
- "$ref": "#/definitions/SweepJobLimits",
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
"earlyTermination": {
"description": "Early termination policies enable canceling poor-performing runs before they complete",
"$ref": "#/definitions/EarlyTerminationPolicy",
"x-nullable": true
},
- "objective": {
- "description": "[Required] Optimization objective.",
- "$ref": "#/definitions/Objective"
- },
- "trial": {
- "description": "[Required] Trial component definition.",
- "$ref": "#/definitions/TrialComponent"
- },
"inputs": {
"description": "Mapping of input data bindings used in the job.",
"type": "object",
@@ -23100,6 +23076,19 @@
],
"x-nullable": true
},
+ "limits": {
+ "description": "Sweep Job limit.",
+ "default": "{}",
+ "$ref": "#/definitions/SweepJobLimits",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "objective": {
+ "description": "[Required] Optimization objective.",
+ "$ref": "#/definitions/Objective"
+ },
"outputs": {
"description": "Mapping of output data bindings used in the job.",
"type": "object",
@@ -23122,6 +23111,18 @@
"read"
],
"x-nullable": true
+ },
+ "samplingAlgorithm": {
+ "description": "[Required] The hyperparameter sampling algorithm",
+ "$ref": "#/definitions/SamplingAlgorithm"
+ },
+ "searchSpace": {
+ "description": "[Required] A dictionary containing each parameter and its distribution. The dictionary key is the name of the parameter",
+ "type": "object"
+ },
+ "trial": {
+ "description": "[Required] Trial component definition.",
+ "$ref": "#/definitions/TrialComponent"
}
},
"x-ms-discriminator-value": "Sweep",
@@ -23136,15 +23137,15 @@
}
],
"properties": {
- "maxTotalTrials": {
+ "maxConcurrentTrials": {
"format": "int32",
- "description": "Sweep Job max total trials.",
+ "description": "Sweep Job max concurrent trials.",
"type": "integer",
"x-nullable": true
},
- "maxConcurrentTrials": {
+ "maxTotalTrials": {
"format": "int32",
- "description": "Sweep Job max concurrent trials.",
+ "description": "Sweep Job max total trials.",
"type": "integer",
"x-nullable": true
},
@@ -23162,16 +23163,6 @@
"description": "Abstract class for AutoML tasks that use table dataset as input - such as Classification/Regression/Forecasting.",
"type": "object",
"properties": {
- "limitSettings": {
- "description": "Execution constraints for AutoMLJob.",
- "$ref": "#/definitions/TableVerticalLimitSettings",
- "x-nullable": true
- },
- "nCrossValidations": {
- "description": "Number of cross validation folds to be applied on training dataset\r\nwhen validation dataset is not provided.",
- "$ref": "#/definitions/NCrossValidations",
- "x-nullable": true
- },
"cvSplitColumnNames": {
"description": "Columns to use for CVSplit data.",
"type": "array",
@@ -23180,14 +23171,19 @@
},
"x-nullable": true
},
- "weightColumnName": {
- "description": "The name of the sample weight column. Automated ML supports a weighted column as an input, causing rows in the data to be weighted up or down.",
- "type": "string",
+ "featurizationSettings": {
+ "description": "Featurization inputs needed for AutoML job.",
+ "$ref": "#/definitions/TableVerticalFeaturizationSettings",
"x-nullable": true
},
- "validationData": {
- "description": "Validation data inputs.",
- "$ref": "#/definitions/MLTableJobInput",
+ "limitSettings": {
+ "description": "Execution constraints for AutoMLJob.",
+ "$ref": "#/definitions/TableVerticalLimitSettings",
+ "x-nullable": true
+ },
+ "nCrossValidations": {
+ "description": "Number of cross validation folds to be applied on training dataset\r\nwhen validation dataset is not provided.",
+ "$ref": "#/definitions/NCrossValidations",
"x-nullable": true
},
"testData": {
@@ -23195,21 +23191,26 @@
"$ref": "#/definitions/MLTableJobInput",
"x-nullable": true
},
- "validationDataSize": {
+ "testDataSize": {
"format": "double",
- "description": "The fraction of training dataset that needs to be set aside for validation purpose.\r\nValues between (0.0 , 1.0)\r\nApplied when validation dataset is not provided.",
+ "description": "The fraction of test dataset that needs to be set aside for validation purpose.\r\nValues between (0.0 , 1.0)\r\nApplied when validation dataset is not provided.",
"type": "number",
"x-nullable": true
},
- "testDataSize": {
+ "validationData": {
+ "description": "Validation data inputs.",
+ "$ref": "#/definitions/MLTableJobInput",
+ "x-nullable": true
+ },
+ "validationDataSize": {
"format": "double",
- "description": "The fraction of test dataset that needs to be set aside for validation purpose.\r\nValues between (0.0 , 1.0)\r\nApplied when validation dataset is not provided.",
+ "description": "The fraction of training dataset that needs to be set aside for validation purpose.\r\nValues between (0.0 , 1.0)\r\nApplied when validation dataset is not provided.",
"type": "number",
"x-nullable": true
},
- "featurizationSettings": {
- "description": "Featurization inputs needed for AutoML job.",
- "$ref": "#/definitions/TableVerticalFeaturizationSettings",
+ "weightColumnName": {
+ "description": "The name of the sample weight column. Automated ML supports a weighted column as an input, causing rows in the data to be weighted up or down.",
+ "type": "string",
"x-nullable": true
}
},
@@ -23224,11 +23225,6 @@
}
],
"properties": {
- "mode": {
- "description": "Featurization mode - User can keep the default 'Auto' mode and AutoML will take care of necessary transformation of the data in featurization phase.\r\nIf 'Off' is selected then no featurization is done.\r\nIf 'Custom' is selected then user can specify additional inputs to customize how featurization is done.",
- "default": "Auto",
- "$ref": "#/definitions/FeaturizationMode"
- },
"blockedTransformers": {
"description": "These transformers shall not be used in featurization.",
"type": "array",
@@ -23246,6 +23242,16 @@
},
"x-nullable": true
},
+ "enableDnnFeaturization": {
+ "description": "Determines whether to use Dnn based featurizers for data featurization.",
+ "default": false,
+ "type": "boolean"
+ },
+ "mode": {
+ "description": "Featurization mode - User can keep the default 'Auto' mode and AutoML will take care of necessary transformation of the data in featurization phase.\r\nIf 'Off' is selected then no featurization is done.\r\nIf 'Custom' is selected then user can specify additional inputs to customize how featurization is done.",
+ "default": "Auto",
+ "$ref": "#/definitions/FeaturizationMode"
+ },
"transformerParams": {
"description": "User can specify additional transformers to be used along with the columns to which it would be applied and parameters for the transformer constructor.",
"type": "object",
@@ -23258,11 +23264,6 @@
"x-ms-identifiers": []
},
"x-nullable": true
- },
- "enableDnnFeaturization": {
- "description": "Determines whether to use Dnn based featurizers for data featurization.",
- "default": false,
- "type": "boolean"
}
},
"additionalProperties": false
@@ -23271,23 +23272,16 @@
"description": "Job execution constraints.",
"type": "object",
"properties": {
- "maxTrials": {
- "format": "int32",
- "description": "Number of iterations.",
- "default": 1000,
- "type": "integer"
- },
- "trialTimeout": {
- "format": "duration",
- "description": "Iteration timeout.",
- "default": "PT30M",
- "type": "string"
+ "enableEarlyTermination": {
+ "description": "Enable early termination, determines whether or not if AutoMLJob will terminate early if there is no score improvement in last 20 iterations.",
+ "default": true,
+ "type": "boolean"
},
- "timeout": {
- "format": "duration",
- "description": "AutoML job timeout.",
- "default": "PT6H",
- "type": "string"
+ "exitScore": {
+ "format": "double",
+ "description": "Exit score for the AutoML job.",
+ "type": "number",
+ "x-nullable": true
},
"maxConcurrentTrials": {
"format": "int32",
@@ -23301,16 +23295,23 @@
"default": -1,
"type": "integer"
},
- "exitScore": {
- "format": "double",
- "description": "Exit score for the AutoML job.",
- "type": "number",
- "x-nullable": true
+ "maxTrials": {
+ "format": "int32",
+ "description": "Number of iterations.",
+ "default": 1000,
+ "type": "integer"
},
- "enableEarlyTermination": {
- "description": "Enable early termination, determines whether or not if AutoMLJob will terminate early if there is no score improvement in last 20 iterations.",
- "default": true,
- "type": "boolean"
+ "timeout": {
+ "format": "duration",
+ "description": "AutoML job timeout.",
+ "default": "PT6H",
+ "type": "string"
+ },
+ "trialTimeout": {
+ "format": "duration",
+ "description": "Iteration timeout.",
+ "default": "PT30M",
+ "type": "string"
}
},
"additionalProperties": false
@@ -23439,16 +23440,10 @@
}
],
"properties": {
- "pollingInterval": {
- "format": "duration",
- "description": "The polling interval in ISO 8691 format. Only supports duration with precision as low as Seconds.",
- "default": "PT1S",
- "type": "string"
- },
- "targetUtilizationPercentage": {
+ "maxInstances": {
"format": "int32",
- "description": "Target CPU usage for the autoscaler.",
- "default": 70,
+ "description": "The maximum number of instances that the deployment can scale to. The quota will be reserved for max_instances.",
+ "default": 1,
"type": "integer"
},
"minInstances": {
@@ -23457,10 +23452,16 @@
"default": 1,
"type": "integer"
},
- "maxInstances": {
+ "pollingInterval": {
+ "format": "duration",
+ "description": "The polling interval in ISO 8691 format. Only supports duration with precision as low as Seconds.",
+ "default": "PT1S",
+ "type": "string"
+ },
+ "targetUtilizationPercentage": {
"format": "int32",
- "description": "The maximum number of instances that the deployment can scale to. The quota will be reserved for max_instances.",
- "default": 1,
+ "description": "Target CPU usage for the autoscaler.",
+ "default": 70,
"type": "integer"
}
},
@@ -23539,25 +23540,25 @@
}
],
"properties": {
- "workerCount": {
+ "parameterServerCount": {
"format": "int32",
- "description": "Number of workers. If not specified, will default to the instance count.",
+ "description": "Number of parameter server tasks.",
+ "default": 0,
"type": "integer",
"x-ms-mutability": [
"create",
"read"
- ],
- "x-nullable": true
+ ]
},
- "parameterServerCount": {
+ "workerCount": {
"format": "int32",
- "description": "Number of parameter server tasks.",
- "default": 0,
+ "description": "Number of workers. If not specified, will default to the instance count.",
"type": "integer",
"x-ms-mutability": [
"create",
"read"
- ]
+ ],
+ "x-nullable": true
}
},
"x-ms-discriminator-value": "TensorFlow",
@@ -23655,16 +23656,21 @@
"description": "Training related configuration.",
"type": "object",
"properties": {
+ "enableDnnTraining": {
+ "description": "Enable recommendation of DNN models.",
+ "default": false,
+ "type": "boolean"
+ },
+ "enableModelExplainability": {
+ "description": "Flag to turn on explainability on best model.",
+ "default": true,
+ "type": "boolean"
+ },
"enableOnnxCompatibleModels": {
"description": "Flag for enabling onnx compatible models.",
"default": false,
"type": "boolean"
},
- "stackEnsembleSettings": {
- "description": "Stack ensemble settings for stack ensemble run.",
- "$ref": "#/definitions/StackEnsembleSettings",
- "x-nullable": true
- },
"enableStackEnsemble": {
"description": "Enable stack ensemble run.",
"default": true,
@@ -23681,15 +23687,10 @@
"default": "PT5M",
"type": "string"
},
- "enableModelExplainability": {
- "description": "Flag to turn on explainability on best model.",
- "default": true,
- "type": "boolean"
- },
- "enableDnnTraining": {
- "description": "Enable recommendation of DNN models.",
- "default": false,
- "type": "boolean"
+ "stackEnsembleSettings": {
+ "description": "Stack ensemble settings for stack ensemble run.",
+ "$ref": "#/definitions/StackEnsembleSettings",
+ "x-nullable": true
}
},
"additionalProperties": false
@@ -23721,6 +23722,15 @@
"read"
]
},
+ "distribution": {
+ "description": "Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.",
+ "$ref": "#/definitions/DistributionConfiguration",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ],
+ "x-nullable": true
+ },
"environmentId": {
"description": "[Required] The ARM resource ID of the Environment specification for the job.",
"minLength": 1,
@@ -23740,15 +23750,6 @@
],
"x-nullable": true
},
- "distribution": {
- "description": "Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.",
- "$ref": "#/definitions/DistributionConfiguration",
- "x-ms-mutability": [
- "create",
- "read"
- ],
- "x-nullable": true
- },
"resources": {
"description": "Compute Resource configuration for the job.",
"default": "{}",
@@ -23767,15 +23768,6 @@
],
"type": "object",
"properties": {
- "triggerType": {
- "description": "[Required] ",
- "$ref": "#/definitions/TriggerType",
- "x-ms-mutability": [
- "create",
- "read",
- "update"
- ]
- },
"endTime": {
"description": "Specifies end time of schedule in ISO 8601, but without a UTC offset. Refer https://en.wikipedia.org/wiki/ISO_8601.\r\nRecommented format would be \"2022-06-01T00:00:01\"\r\nIf not present, the schedule will run indefinitely",
"type": "string",
@@ -23790,6 +23782,15 @@
"description": "Specifies time zone in which the schedule runs.\r\nTimeZone should follow Windows time zone format. Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11",
"default": "UTC",
"type": "string"
+ },
+ "triggerType": {
+ "description": "[Required] ",
+ "$ref": "#/definitions/TriggerType",
+ "x-ms-mutability": [
+ "create",
+ "read",
+ "update"
+ ]
}
},
"discriminator": "triggerType"
@@ -24010,14 +24011,6 @@
],
"type": "object",
"properties": {
- "webhookType": {
- "description": "[Required] Specifies the type of service to send a callback",
- "$ref": "#/definitions/WebhookType",
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
"eventType": {
"description": "Send callback on a specified notification event",
"type": "string",
@@ -24026,6 +24019,14 @@
"read"
],
"x-nullable": true
+ },
+ "webhookType": {
+ "description": "[Required] Specifies the type of service to send a callback",
+ "$ref": "#/definitions/WebhookType",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
}
},
"discriminator": "webhookType"
diff --git a/swagger-specs/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/registries.json b/swagger-specs/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-10-01/registries.json
similarity index 99%
rename from swagger-specs/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/registries.json
rename to swagger-specs/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-10-01/registries.json
index d58ba78a0..469254245 100644
--- a/swagger-specs/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/registries.json
+++ b/swagger-specs/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-10-01/registries.json
@@ -2,7 +2,7 @@
"swagger": "2.0",
"info": {
"title": "Azure Machine Learning Services",
- "version": "2024-04-01"
+ "version": "2024-10-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/workspaceFeatures.json b/swagger-specs/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-10-01/workspaceFeatures.json
similarity index 99%
rename from swagger-specs/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/workspaceFeatures.json
rename to swagger-specs/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-10-01/workspaceFeatures.json
index 9e107b898..dace57fd8 100644
--- a/swagger-specs/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/workspaceFeatures.json
+++ b/swagger-specs/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-10-01/workspaceFeatures.json
@@ -2,7 +2,7 @@
"swagger": "2.0",
"info": {
"title": "Azure Machine Learning Services",
- "version": "2024-04-01"
+ "version": "2024-10-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-10-01/workspaceRP.json b/swagger-specs/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-10-01/workspaceRP.json
new file mode 100644
index 000000000..6fd7a07db
--- /dev/null
+++ b/swagger-specs/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-10-01/workspaceRP.json
@@ -0,0 +1,3706 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Azure Machine Learning Services",
+ "description": "These APIs allow end users to operate on Azure Machine Learning Workspace resources.",
+ "version": "2024-10-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/providers/Microsoft.MachineLearningServices/operations": {
+ "get": {
+ "tags": [
+ "Operation"
+ ],
+ "description": "Lists all of the available Azure Machine Learning Workspaces REST API operations.",
+ "operationId": "Operations_List",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-examples": {
+ "OperationsList": {
+ "$ref": "./examples/Workspace/operationsList.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}": {
+ "get": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Gets the properties of the specified machine learning workspace.",
+ "operationId": "Workspaces_Get",
+ "x-ms-examples": {
+ "Get Workspace": {
+ "$ref": "./examples/Workspace/get.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Workspace"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Creates or updates a workspace with the specified parameters.",
+ "operationId": "Workspaces_CreateOrUpdate",
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Create Workspace": {
+ "$ref": "./examples/Workspace/create.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "description": "The parameters for creating or updating a machine learning workspace.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Workspace"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Workspace"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "headers": {
+ "Location": {
+ "description": "URI to poll for asynchronous operation result.",
+ "type": "string"
+ },
+ "Retry-After": {
+ "description": "Duration the client should wait between requests, in seconds.",
+ "type": "integer",
+ "format": "int32",
+ "maximum": 600,
+ "minimum": 10
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Deletes a machine learning workspace.",
+ "operationId": "Workspaces_Delete",
+ "x-ms-examples": {
+ "Delete Workspace": {
+ "$ref": "./examples/Workspace/delete.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceForceToPurgeParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly."
+ },
+ "202": {
+ "description": "Accepted",
+ "headers": {
+ "Location": {
+ "description": "URI to poll for asynchronous operation result.",
+ "type": "string"
+ },
+ "Retry-After": {
+ "description": "Duration the client should wait between requests, in seconds.",
+ "type": "integer",
+ "format": "int32"
+ }
+ }
+ },
+ "204": {
+ "description": "The machine learning workspace does not exist in the subscription."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ },
+ "patch": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Updates a machine learning workspace with the specified parameters.",
+ "operationId": "Workspaces_Update",
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Update Workspace": {
+ "$ref": "./examples/Workspace/update.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "description": "The parameters for updating a machine learning workspace.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/WorkspaceUpdateParameters"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Workspace"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "headers": {
+ "Location": {
+ "description": "URI to poll for asynchronous operation result.",
+ "type": "string"
+ },
+ "Retry-After": {
+ "description": "Duration the client should wait between requests, in seconds.",
+ "type": "integer",
+ "format": "int32",
+ "maximum": 600,
+ "minimum": 10
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces": {
+ "get": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Lists all the available machine learning workspaces under the specified resource group.",
+ "operationId": "Workspaces_ListByResourceGroup",
+ "x-ms-examples": {
+ "Get Workspaces by Resource Group": {
+ "$ref": "./examples/Workspace/listByResourceGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PaginationParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/WorkspaceListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/diagnose": {
+ "post": {
+ "tags": [
+ "Workspaces"
+ ],
+ "summary": "Diagnose workspace setup issue.",
+ "operationId": "Workspaces_Diagnose",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "parameters",
+ "description": "The parameter of diagnosing workspace health",
+ "schema": {
+ "$ref": "#/definitions/DiagnoseWorkspaceParameters"
+ }
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Success",
+ "headers": {
+ "Location": {
+ "description": "URI to poll for asynchronous operation result.",
+ "type": "string"
+ },
+ "Retry-After": {
+ "description": "Duration the client should wait between requests, in seconds.",
+ "type": "integer",
+ "format": "int32",
+ "maximum": 600,
+ "minimum": 10
+ }
+ }
+ },
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/DiagnoseResponseResult"
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Diagnose Workspace": {
+ "$ref": "./examples/Workspace/diagnose.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listKeys": {
+ "post": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Lists all the keys associated with this workspace. This includes keys for the storage account, app insights and password for container registry",
+ "operationId": "Workspaces_ListKeys",
+ "x-ms-examples": {
+ "List Workspace Keys": {
+ "$ref": "./examples/Workspace/listKeys.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/ListWorkspaceKeysResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/resyncKeys": {
+ "post": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Resync all the keys associated with this workspace. This includes keys for the storage account, app insights and password for container registry",
+ "operationId": "Workspaces_ResyncKeys",
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Resync Workspace Keys": {
+ "$ref": "./examples/Workspace/resyncKeys.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly."
+ },
+ "202": {
+ "description": "Accepted",
+ "headers": {
+ "Location": {
+ "description": "URI to poll for asynchronous operation result.",
+ "type": "string"
+ },
+ "Retry-After": {
+ "description": "Duration the client should wait between requests, in seconds.",
+ "type": "integer",
+ "format": "int32",
+ "maximum": 600,
+ "minimum": 10
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces": {
+ "get": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Lists all the available machine learning workspaces under the specified subscription.",
+ "operationId": "Workspaces_ListBySubscription",
+ "x-ms-examples": {
+ "Get Workspaces by subscription": {
+ "$ref": "./examples/Workspace/listBySubscription.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/PaginationParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/WorkspaceListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookAccessToken": {
+ "post": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "return notebook access token and refresh token",
+ "operationId": "Workspaces_ListNotebookAccessToken",
+ "x-ms-examples": {
+ "List Workspace Keys": {
+ "$ref": "./examples/Workspace/listNotebookAccessToken.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/NotebookAccessTokenResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections": {
+ "get": {
+ "tags": [
+ "PrivateEndpointConnections"
+ ],
+ "operationId": "PrivateEndpointConnections_List",
+ "description": "List all the private endpoint connections associated with the workspace.",
+ "x-ms-examples": {
+ "StorageAccountListPrivateEndpointConnections": {
+ "$ref": "./examples/PrivateEndpointConnection/list.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK -- Successfully retrieved private endpoint connections.",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnectionListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}": {
+ "get": {
+ "tags": [
+ "WorkspacePrivateEndpointConnections"
+ ],
+ "operationId": "PrivateEndpointConnections_Get",
+ "description": "Gets the specified private endpoint connection associated with the workspace.",
+ "x-ms-examples": {
+ "WorkspaceGetPrivateEndpointConnection": {
+ "$ref": "./examples/PrivateEndpointConnection/get.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PrivateEndpointConnectionName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK -- Get the private endpoint connection properties successfully.",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "WorkspacePrivateEndpointConnections"
+ ],
+ "operationId": "PrivateEndpointConnections_CreateOrUpdate",
+ "description": "Update the state of specified private endpoint connection associated with the workspace.",
+ "x-ms-examples": {
+ "WorkspacePutPrivateEndpointConnection": {
+ "$ref": "./examples/PrivateEndpointConnection/createOrUpdate.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PrivateEndpointConnectionName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "properties",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ },
+ "description": "The private endpoint connection properties."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK -- Update the private endpoint connection properties successfully.",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "WorkspacePrivateEndpointConnections"
+ ],
+ "operationId": "PrivateEndpointConnections_Delete",
+ "description": "Deletes the specified private endpoint connection associated with the workspace.",
+ "x-ms-examples": {
+ "WorkspaceDeletePrivateEndpointConnection": {
+ "$ref": "./examples/PrivateEndpointConnection/delete.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PrivateEndpointConnectionName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK -- Delete the private endpoint connection successfully."
+ },
+ "204": {
+ "description": "No Content -- The private endpoint connection does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateLinkResources": {
+ "get": {
+ "tags": [
+ "WorkspacePrivateLinkResources"
+ ],
+ "operationId": "PrivateLinkResources_List",
+ "description": "Gets the private link resources that need to be created for a workspace.",
+ "x-ms-examples": {
+ "WorkspaceListPrivateLinkResources": {
+ "$ref": "./examples/PrivateLinkResource/list.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved private link resources.",
+ "schema": {
+ "$ref": "#/definitions/PrivateLinkResourceListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/prepareNotebook": {
+ "post": {
+ "tags": [
+ "ProxyOperations"
+ ],
+ "operationId": "Workspaces_PrepareNotebook",
+ "description": "Prepare a notebook.",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Prepare Notebook": {
+ "$ref": "./examples/Notebook/prepare.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/NotebookResourceInfo"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "headers": {
+ "Location": {
+ "description": "URI to poll for asynchronous operation result.",
+ "type": "string"
+ },
+ "Retry-After": {
+ "description": "Duration the client should wait between requests, in seconds.",
+ "type": "integer",
+ "format": "int32",
+ "maximum": 600,
+ "minimum": 10
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listStorageAccountKeys": {
+ "post": {
+ "tags": [
+ "ProxyOperations"
+ ],
+ "operationId": "Workspaces_ListStorageAccountKeys",
+ "description": "List storage account keys of a workspace.",
+ "x-ms-examples": {
+ "List Workspace Keys": {
+ "$ref": "./examples/Workspace/listStorageAccountKeys.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/ListStorageAccountKeysResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookKeys": {
+ "post": {
+ "tags": [
+ "ProxyOperations"
+ ],
+ "operationId": "Workspaces_ListNotebookKeys",
+ "description": "List keys of a notebook.",
+ "x-ms-examples": {
+ "List Workspace Keys": {
+ "$ref": "./examples/Notebook/listKeys.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/ListNotebookKeysResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}": {
+ "put": {
+ "tags": [
+ "V2WorkspaceConnectionResource"
+ ],
+ "operationId": "WorkspaceConnections_Create",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ConnectionName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "description": "The object for creating or updating a new workspace connection",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/WorkspaceConnectionPropertiesV2BasicResource"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/WorkspaceConnectionPropertiesV2BasicResource"
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "CreateWorkspaceConnection": {
+ "$ref": "./examples/WorkspaceConnection/create.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "V2WorkspaceConnectionResource"
+ ],
+ "operationId": "WorkspaceConnections_Get",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ConnectionName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/WorkspaceConnectionPropertiesV2BasicResource"
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GetWorkspaceConnection": {
+ "$ref": "./examples/WorkspaceConnection/get.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "V2WorkspaceConnectionResource"
+ ],
+ "operationId": "WorkspaceConnections_Delete",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ConnectionName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Success"
+ },
+ "204": {
+ "description": "Success"
+ }
+ },
+ "x-ms-examples": {
+ "DeleteWorkspaceConnection": {
+ "$ref": "./examples/WorkspaceConnection/delete.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "V2WorkspaceConnectionResource"
+ ],
+ "summary": "Update machine learning workspaces connections under the specified workspace.",
+ "operationId": "WorkspaceConnections_Update",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ConnectionName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "body",
+ "description": "Parameters for workspace connection update.",
+ "schema": {
+ "$ref": "#/definitions/WorkspaceConnectionUpdateParameter"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/WorkspaceConnectionPropertiesV2BasicResource"
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "UpdateWorkspaceConnection": {
+ "$ref": "./examples/WorkspaceConnection/update.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections": {
+ "get": {
+ "tags": [
+ "V2WorkspaceConnectionResource"
+ ],
+ "operationId": "WorkspaceConnections_List",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TargetParameter"
+ },
+ {
+ "$ref": "#/parameters/CategoryParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "query",
+ "name": "includeAll",
+ "description": "query parameter that indicates if get connection call should return both connections and datastores",
+ "type": "boolean",
+ "default": false
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult"
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ListWorkspaceConnections": {
+ "$ref": "./examples/WorkspaceConnection/list.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/listsecrets": {
+ "post": {
+ "tags": [
+ "V2WorkspaceConnectionResource"
+ ],
+ "summary": "List all the secrets of a machine learning workspaces connections.",
+ "operationId": "WorkspaceConnections_ListSecrets",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ConnectionName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/WorkspaceConnectionPropertiesV2BasicResource"
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GetWorkspaceConnection": {
+ "$ref": "./examples/WorkspaceConnection/listSecrets.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/outboundNetworkDependenciesEndpoints": {
+ "get": {
+ "tags": [
+ "OutboundNetworkDependenciesEndpoints"
+ ],
+ "summary": "Called by Client (Portal, CLI, etc) to get a list of all external outbound dependencies (FQDNs) programmatically.",
+ "operationId": "Workspaces_ListOutboundNetworkDependenciesEndpoints",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ExternalFQDNResponse"
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ListOutboundNetworkDependenciesEndpoints": {
+ "$ref": "./examples/ExternalFQDN/get.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/outboundRules": {
+ "get": {
+ "tags": [
+ "ManagedNetwork"
+ ],
+ "summary": "Lists the managed network outbound rules for a machine learning workspace.",
+ "operationId": "ManagedNetworkSettingsRule_List",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/OutboundRuleListResult"
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List ManagedNetworkSettingsRule": {
+ "$ref": "./examples/ManagedNetwork/listRule.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/outboundRules/{ruleName}": {
+ "delete": {
+ "tags": [
+ "ManagedNetwork"
+ ],
+ "operationId": "ManagedNetworkSettingsRule_Delete",
+ "summary": "Deletes an outbound rule from the managed network of a machine learning workspace.",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RuleName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted",
+ "headers": {
+ "Location": {
+ "description": "URI to poll for asynchronous operation result.",
+ "type": "string"
+ }
+ }
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly."
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete ManagedNetworkSettingsRule": {
+ "$ref": "./examples/ManagedNetwork/deleteRule.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "get": {
+ "tags": [
+ "ManagedNetwork"
+ ],
+ "operationId": "ManagedNetworkSettingsRule_Get",
+ "summary": "Gets an outbound rule from the managed network of a machine learning workspace.",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RuleName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/OutboundRuleBasicResource"
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get ManagedNetworkSettingsRule": {
+ "$ref": "./examples/ManagedNetwork/getRule.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ManagedNetwork"
+ ],
+ "operationId": "ManagedNetworkSettingsRule_CreateOrUpdate",
+ "summary": "Creates or updates an outbound rule in the managed network of a machine learning workspace.",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RuleName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "description": "Outbound Rule to be created or updated in the managed network of a machine learning workspace.",
+ "schema": {
+ "$ref": "#/definitions/OutboundRuleBasicResource"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/OutboundRuleBasicResource"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "headers": {
+ "Location": {
+ "description": "URI to poll for asynchronous operation result.",
+ "type": "string"
+ },
+ "Retry-After": {
+ "description": "Duration the client should wait between requests, in seconds.",
+ "type": "integer",
+ "format": "int32",
+ "maximum": 600,
+ "minimum": 10
+ }
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "CreateOrUpdate ManagedNetworkSettingsRule": {
+ "$ref": "./examples/ManagedNetwork/createOrUpdateRule.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/provisionManagedNetwork": {
+ "post": {
+ "tags": [
+ "ManagedNetwork"
+ ],
+ "operationId": "ManagedNetworkProvisions_ProvisionManagedNetwork",
+ "summary": "Provisions the managed network of a machine learning workspace.",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "body",
+ "description": "Managed Network Provisioning Options for a machine learning workspace.",
+ "schema": {
+ "$ref": "#/definitions/ManagedNetworkProvisionOptions"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/ManagedNetworkProvisionStatus"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "headers": {
+ "Location": {
+ "description": "URI to poll for asynchronous operation result.",
+ "type": "string"
+ },
+ "Retry-After": {
+ "description": "Duration the client should wait between requests, in seconds.",
+ "type": "integer",
+ "format": "int32",
+ "maximum": 600,
+ "minimum": 10
+ }
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Provision ManagedNetwork": {
+ "$ref": "./examples/ManagedNetwork/provision.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "WorkspaceNameParameter": {
+ "name": "workspaceName",
+ "description": "Name of Azure Machine Learning workspace.",
+ "in": "path",
+ "type": "string",
+ "required": true,
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$",
+ "x-ms-parameter-location": "method"
+ },
+ "PaginationParameter": {
+ "in": "query",
+ "name": "$skip",
+ "type": "string",
+ "description": "Continuation token for pagination.",
+ "required": false,
+ "x-ms-parameter-location": "method"
+ },
+ "PrivateEndpointConnectionName": {
+ "name": "privateEndpointConnectionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the private endpoint connection associated with the workspace",
+ "x-ms-parameter-location": "method"
+ },
+ "ConnectionName": {
+ "name": "connectionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Friendly name of the workspace connection",
+ "x-ms-parameter-location": "method",
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$"
+ },
+ "TargetParameter": {
+ "in": "query",
+ "name": "target",
+ "type": "string",
+ "description": "Target of the workspace connection.",
+ "required": false,
+ "x-ms-parameter-location": "method"
+ },
+ "CategoryParameter": {
+ "in": "query",
+ "name": "category",
+ "type": "string",
+ "description": "Category of the workspace connection.",
+ "required": false,
+ "x-ms-parameter-location": "method"
+ },
+ "RuleName": {
+ "in": "path",
+ "name": "ruleName",
+ "description": "Name of the workspace managed network outbound rule",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$"
+ },
+ "WorkspaceForceToPurgeParameter": {
+ "in": "query",
+ "name": "forceToPurge",
+ "description": "Flag to indicate delete is a purge request.",
+ "type": "boolean",
+ "default": false,
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "definitions": {
+ "Workspace": {
+ "type": "object",
+ "description": "An object that represents a machine learning workspace.",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/WorkspaceProperties",
+ "description": "The properties of the machine learning workspace.",
+ "x-ms-client-flatten": true
+ },
+ "identity": {
+ "$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/ManagedServiceIdentity",
+ "description": "The identity of the resource."
+ },
+ "kind": {
+ "type": "string"
+ },
+ "location": {
+ "description": "Specifies the location of the resource.",
+ "type": "string"
+ },
+ "tags": {
+ "description": "Contains resource tags defined as key/value pairs.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "sku": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku",
+ "description": "The sku of the workspace."
+ }
+ }
+ },
+ "WorkspaceProperties": {
+ "type": "object",
+ "description": "The properties of a machine learning workspace.",
+ "properties": {
+ "workspaceId": {
+ "description": "The immutable id associated with this workspace.",
+ "type": "string",
+ "readOnly": true
+ },
+ "description": {
+ "description": "The description of this workspace.",
+ "type": "string"
+ },
+ "friendlyName": {
+ "description": "The friendly name for this workspace. This name in mutable",
+ "type": "string"
+ },
+ "keyVault": {
+ "description": "ARM id of the key vault associated with this workspace. This cannot be changed once the workspace has been created",
+ "type": "string"
+ },
+ "applicationInsights": {
+ "description": "ARM id of the application insights associated with this workspace.",
+ "type": "string"
+ },
+ "containerRegistry": {
+ "description": "ARM id of the container registry associated with this workspace.",
+ "type": "string",
+ "x-nullable": true
+ },
+ "storageAccount": {
+ "description": "ARM id of the storage account associated with this workspace. This cannot be changed once the workspace has been created",
+ "type": "string"
+ },
+ "discoveryUrl": {
+ "description": "Url for the discovery service to identify regional endpoints for machine learning experimentation services",
+ "type": "string"
+ },
+ "provisioningState": {
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "Updating",
+ "Creating",
+ "Deleting",
+ "Succeeded",
+ "Failed",
+ "Canceled"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true
+ },
+ "readOnly": true,
+ "description": "The current deployment state of workspace resource. The provisioningState is to indicate states for resource provisioning."
+ },
+ "encryption": {
+ "$ref": "#/definitions/EncryptionProperty",
+ "description": "The encryption settings of Azure ML workspace."
+ },
+ "hbiWorkspace": {
+ "type": "boolean",
+ "description": "The flag to signal HBI data in the workspace and reduce diagnostic data collected by the service",
+ "default": false
+ },
+ "serviceProvisionedResourceGroup": {
+ "type": "string",
+ "description": "The name of the managed resource group created by workspace RP in customer subscription if the workspace is CMK workspace",
+ "readOnly": true
+ },
+ "privateLinkCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Count of private connections in the workspace",
+ "readOnly": true
+ },
+ "imageBuildCompute": {
+ "description": "The compute name for image build",
+ "type": "string"
+ },
+ "allowPublicAccessWhenBehindVnet": {
+ "type": "boolean",
+ "description": "The flag to indicate whether to allow public access when behind VNet.",
+ "default": false
+ },
+ "publicNetworkAccess": {
+ "type": "string",
+ "description": "Whether requests from Public Network are allowed.",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "PublicNetworkAccess"
+ }
+ },
+ "privateEndpointConnections": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ },
+ "x-ms-identifiers": [
+ "name"
+ ],
+ "description": "The list of private endpoint connections in the workspace."
+ },
+ "serverlessComputeSettings": {
+ "description": "Settings for serverless compute created in the workspace",
+ "$ref": "#/definitions/ServerlessComputeSettings"
+ },
+ "sharedPrivateLinkResources": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SharedPrivateLinkResource"
+ },
+ "x-ms-identifiers": [
+ "name"
+ ],
+ "description": "The list of shared private link resources in this workspace."
+ },
+ "notebookInfo": {
+ "readOnly": true,
+ "$ref": "#/definitions/NotebookResourceInfo",
+ "description": "The notebook info of Azure ML workspace."
+ },
+ "serviceManagedResourcesSettings": {
+ "$ref": "#/definitions/ServiceManagedResourcesSettings",
+ "description": "The service managed resource settings."
+ },
+ "primaryUserAssignedIdentity": {
+ "description": "The user assigned identity resource id that represents the workspace identity.",
+ "type": "string"
+ },
+ "tenantId": {
+ "description": "The tenant id associated with this workspace.",
+ "type": "string",
+ "readOnly": true
+ },
+ "storageHnsEnabled": {
+ "description": "If the storage associated with the workspace has hierarchical namespace(HNS) enabled.",
+ "type": "boolean",
+ "readOnly": true
+ },
+ "mlFlowTrackingUri": {
+ "description": "The URI associated with this workspace that machine learning flow must point at to set up tracking.",
+ "type": "string",
+ "readOnly": true
+ },
+ "v1LegacyMode": {
+ "description": "Enabling v1_legacy_mode may prevent you from using features provided by the v2 API.",
+ "default": false,
+ "type": "boolean"
+ },
+ "managedNetwork": {
+ "$ref": "#/definitions/ManagedNetworkSettings"
+ },
+ "featureStoreSettings": {
+ "description": "Settings for feature store type workspace.",
+ "$ref": "#/definitions/FeatureStoreSettings"
+ },
+ "associatedWorkspaces": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "enableDataIsolation": {
+ "type": "boolean"
+ },
+ "hubResourceId": {
+ "type": "string"
+ },
+ "workspaceHubConfig": {
+ "description": "WorkspaceHub's configuration object.",
+ "$ref": "#/definitions/WorkspaceHubConfig"
+ }
+ }
+ },
+ "WorkspaceUpdateParameters": {
+ "type": "object",
+ "description": "The parameters for updating a machine learning workspace.",
+ "properties": {
+ "tags": {
+ "description": "The resource tags for the machine learning workspace.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "sku": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku",
+ "description": "The sku of the workspace."
+ },
+ "identity": {
+ "$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/ManagedServiceIdentity",
+ "description": "The identity of the resource."
+ },
+ "properties": {
+ "$ref": "#/definitions/WorkspacePropertiesUpdateParameters",
+ "description": "The properties that the machine learning workspace will be updated with.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "WorkspacePropertiesUpdateParameters": {
+ "type": "object",
+ "description": "The parameters for updating the properties of a machine learning workspace.",
+ "properties": {
+ "description": {
+ "description": "The description of this workspace.",
+ "type": "string"
+ },
+ "friendlyName": {
+ "description": "The friendly name for this workspace.",
+ "type": "string"
+ },
+ "imageBuildCompute": {
+ "description": "The compute name for image build",
+ "type": "string"
+ },
+ "serviceManagedResourcesSettings": {
+ "$ref": "#/definitions/ServiceManagedResourcesSettings",
+ "description": "The service managed resource settings."
+ },
+ "primaryUserAssignedIdentity": {
+ "description": "The user assigned identity resource id that represents the workspace identity.",
+ "type": "string"
+ },
+ "serverlessComputeSettings": {
+ "description": "Settings for serverless compute created in the workspace",
+ "$ref": "#/definitions/ServerlessComputeSettings"
+ },
+ "publicNetworkAccess": {
+ "type": "string",
+ "description": "Whether requests from Public Network are allowed.",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "PublicNetworkAccess"
+ }
+ },
+ "applicationInsights": {
+ "description": "ARM id of the application insights associated with this workspace.",
+ "type": "string"
+ },
+ "containerRegistry": {
+ "description": "ARM id of the container registry associated with this workspace.",
+ "type": "string"
+ },
+ "featureStoreSettings": {
+ "description": "Settings for feature store type workspace.",
+ "$ref": "#/definitions/FeatureStoreSettings"
+ },
+ "managedNetwork": {
+ "$ref": "#/definitions/ManagedNetworkSettings"
+ },
+ "enableDataIsolation": {
+ "type": "boolean"
+ },
+ "v1LegacyMode": {
+ "description": "Enabling v1_legacy_mode may prevent you from using features provided by the v2 API.",
+ "type": "boolean"
+ },
+ "encryption": {
+ "$ref": "#/definitions/EncryptionUpdateProperties"
+ }
+ }
+ },
+ "WorkspaceListResult": {
+ "type": "object",
+ "description": "The result of a request to list machine learning workspaces.",
+ "properties": {
+ "value": {
+ "description": "The list of machine learning workspaces. Since this list may be incomplete, the nextLink field should be used to request the next list of machine learning workspaces.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Workspace"
+ }
+ },
+ "nextLink": {
+ "description": "The URI that can be used to request the next list of machine learning workspaces.",
+ "type": "string"
+ }
+ }
+ },
+ "DiagnoseRequestProperties": {
+ "type": "object",
+ "properties": {
+ "udr": {
+ "description": "Setting for diagnosing user defined routing",
+ "type": "object",
+ "additionalProperties": {
+ "type": "object"
+ }
+ },
+ "nsg": {
+ "description": "Setting for diagnosing network security group",
+ "type": "object",
+ "additionalProperties": {
+ "type": "object"
+ }
+ },
+ "resourceLock": {
+ "description": "Setting for diagnosing resource lock",
+ "type": "object",
+ "additionalProperties": {
+ "type": "object"
+ }
+ },
+ "dnsResolution": {
+ "description": "Setting for diagnosing dns resolution",
+ "type": "object",
+ "additionalProperties": {
+ "type": "object"
+ }
+ },
+ "storageAccount": {
+ "description": "Setting for diagnosing dependent storage account",
+ "type": "object",
+ "additionalProperties": {
+ "type": "object"
+ }
+ },
+ "keyVault": {
+ "description": "Setting for diagnosing dependent key vault",
+ "type": "object",
+ "additionalProperties": {
+ "type": "object"
+ }
+ },
+ "containerRegistry": {
+ "description": "Setting for diagnosing dependent container registry",
+ "type": "object",
+ "additionalProperties": {
+ "type": "object"
+ }
+ },
+ "applicationInsights": {
+ "description": "Setting for diagnosing dependent application insights",
+ "type": "object",
+ "additionalProperties": {
+ "type": "object"
+ }
+ },
+ "others": {
+ "description": "Setting for diagnosing unclassified category of problems",
+ "type": "object",
+ "additionalProperties": {
+ "type": "object"
+ }
+ }
+ }
+ },
+ "DiagnoseWorkspaceParameters": {
+ "type": "object",
+ "description": "Parameters to diagnose a workspace",
+ "properties": {
+ "value": {
+ "description": "Value of Parameters",
+ "$ref": "#/definitions/DiagnoseRequestProperties"
+ }
+ }
+ },
+ "DiagnoseResult": {
+ "type": "object",
+ "description": "Result of Diagnose",
+ "properties": {
+ "code": {
+ "description": "Code for workspace setup error",
+ "type": "string",
+ "readOnly": true
+ },
+ "level": {
+ "description": "Level of workspace setup error",
+ "enum": [
+ "Warning",
+ "Error",
+ "Information"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "DiagnoseResultLevel",
+ "modelAsString": true
+ }
+ },
+ "message": {
+ "description": "Message of workspace setup error",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "DiagnoseResponseResult": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "object",
+ "properties": {
+ "userDefinedRouteResults": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DiagnoseResult"
+ },
+ "x-ms-identifiers": [
+ "message"
+ ]
+ },
+ "networkSecurityRuleResults": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DiagnoseResult"
+ },
+ "x-ms-identifiers": [
+ "message"
+ ]
+ },
+ "resourceLockResults": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DiagnoseResult"
+ },
+ "x-ms-identifiers": [
+ "message"
+ ]
+ },
+ "dnsResolutionResults": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DiagnoseResult"
+ },
+ "x-ms-identifiers": [
+ "message"
+ ]
+ },
+ "storageAccountResults": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DiagnoseResult"
+ },
+ "x-ms-identifiers": [
+ "message"
+ ]
+ },
+ "keyVaultResults": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DiagnoseResult"
+ },
+ "x-ms-identifiers": [
+ "message"
+ ]
+ },
+ "containerRegistryResults": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DiagnoseResult"
+ },
+ "x-ms-identifiers": [
+ "message"
+ ]
+ },
+ "applicationInsightsResults": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DiagnoseResult"
+ },
+ "x-ms-identifiers": [
+ "message"
+ ]
+ },
+ "otherResults": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DiagnoseResult"
+ },
+ "x-ms-identifiers": [
+ "message"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "ListWorkspaceKeysResult": {
+ "type": "object",
+ "properties": {
+ "userStorageKey": {
+ "readOnly": true,
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "userStorageResourceId": {
+ "readOnly": true,
+ "type": "string"
+ },
+ "appInsightsInstrumentationKey": {
+ "readOnly": true,
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "containerRegistryCredentials": {
+ "readOnly": true,
+ "$ref": "#/definitions/RegistryListCredentialsResult"
+ },
+ "notebookAccessKeys": {
+ "readOnly": true,
+ "$ref": "#/definitions/ListNotebookKeysResult"
+ }
+ }
+ },
+ "NotebookAccessTokenResult": {
+ "type": "object",
+ "properties": {
+ "notebookResourceId": {
+ "readOnly": true,
+ "type": "string"
+ },
+ "hostName": {
+ "readOnly": true,
+ "type": "string"
+ },
+ "publicDns": {
+ "readOnly": true,
+ "type": "string"
+ },
+ "accessToken": {
+ "readOnly": true,
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "tokenType": {
+ "readOnly": true,
+ "type": "string"
+ },
+ "expiresIn": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32"
+ },
+ "refreshToken": {
+ "readOnly": true,
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "scope": {
+ "readOnly": true,
+ "type": "string"
+ }
+ }
+ },
+ "RegistryListCredentialsResult": {
+ "type": "object",
+ "properties": {
+ "location": {
+ "readOnly": true,
+ "type": "string"
+ },
+ "username": {
+ "readOnly": true,
+ "type": "string"
+ },
+ "passwords": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Password"
+ },
+ "x-ms-identifiers": [
+ "name"
+ ]
+ }
+ }
+ },
+ "Password": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "readOnly": true,
+ "type": "string"
+ },
+ "value": {
+ "readOnly": true,
+ "type": "string"
+ }
+ }
+ },
+ "PrivateEndpointConnectionListResult": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "Array of private endpoint connections",
+ "items": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ }
+ }
+ },
+ "description": "List of private endpoint connection associated with the specified workspace"
+ },
+ "PrivateEndpointConnection": {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/PrivateEndpointConnectionProperties",
+ "x-ms-client-flatten": true,
+ "description": "Resource properties."
+ },
+ "identity": {
+ "$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/ManagedServiceIdentity",
+ "description": "The identity of the resource."
+ },
+ "location": {
+ "description": "Specifies the location of the resource.",
+ "type": "string"
+ },
+ "tags": {
+ "description": "Contains resource tags defined as key/value pairs.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "sku": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku",
+ "description": "The sku of the workspace."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource"
+ }
+ ],
+ "description": "The Private Endpoint Connection resource."
+ },
+ "PrivateEndpointConnectionProperties": {
+ "type": "object",
+ "properties": {
+ "privateEndpoint": {
+ "$ref": "#/definitions/PrivateEndpoint",
+ "description": "The resource of private end point."
+ },
+ "privateLinkServiceConnectionState": {
+ "$ref": "#/definitions/PrivateLinkServiceConnectionState",
+ "description": "A collection of information about the state of the connection between service consumer and provider."
+ },
+ "provisioningState": {
+ "$ref": "#/definitions/PrivateEndpointConnectionProvisioningState",
+ "description": "The provisioning state of the private endpoint connection resource."
+ }
+ },
+ "required": [
+ "privateLinkServiceConnectionState"
+ ],
+ "description": "Properties of the PrivateEndpointConnectProperties."
+ },
+ "PrivateEndpoint": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The ARM identifier for Private Endpoint"
+ }
+ },
+ "description": "The Private Endpoint resource."
+ },
+ "PrivateLinkServiceConnectionState": {
+ "type": "object",
+ "properties": {
+ "status": {
+ "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus",
+ "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service."
+ },
+ "description": {
+ "type": "string",
+ "description": "The reason for approval/rejection of the connection."
+ },
+ "actionsRequired": {
+ "type": "string",
+ "description": "A message indicating if changes on the service provider require any updates on the consumer."
+ }
+ },
+ "description": "A collection of information about the state of the connection between service consumer and provider."
+ },
+ "PrivateEndpointServiceConnectionStatus": {
+ "type": "string",
+ "description": "The private endpoint connection status.",
+ "enum": [
+ "Pending",
+ "Approved",
+ "Rejected",
+ "Disconnected",
+ "Timeout"
+ ],
+ "x-ms-enum": {
+ "name": "PrivateEndpointServiceConnectionStatus",
+ "modelAsString": true
+ }
+ },
+ "PrivateEndpointConnectionProvisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The current provisioning state.",
+ "enum": [
+ "Succeeded",
+ "Creating",
+ "Deleting",
+ "Failed"
+ ],
+ "x-ms-enum": {
+ "name": "PrivateEndpointConnectionProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "PrivateLinkResourceListResult": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "Array of private link resources",
+ "items": {
+ "$ref": "#/definitions/PrivateLinkResource"
+ }
+ }
+ },
+ "description": "A list of private link resources"
+ },
+ "PrivateLinkResource": {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/PrivateLinkResourceProperties",
+ "description": "Resource properties.",
+ "x-ms-client-flatten": true
+ },
+ "identity": {
+ "$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/ManagedServiceIdentity",
+ "description": "The identity of the resource."
+ },
+ "location": {
+ "description": "Specifies the location of the resource.",
+ "type": "string"
+ },
+ "tags": {
+ "description": "Contains resource tags defined as key/value pairs.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "sku": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku",
+ "description": "The sku of the workspace."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource"
+ }
+ ],
+ "description": "A private link resource"
+ },
+ "PrivateLinkResourceProperties": {
+ "type": "object",
+ "properties": {
+ "groupId": {
+ "description": "The private link resource group id.",
+ "type": "string",
+ "readOnly": true
+ },
+ "requiredMembers": {
+ "description": "The private link resource required member names.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ },
+ "requiredZoneNames": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The private link resource Private link DNS zone name."
+ }
+ },
+ "description": "Properties of a private link resource."
+ },
+ "SharedPrivateLinkResource": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Unique name of the private link.",
+ "type": "string"
+ },
+ "properties": {
+ "$ref": "#/definitions/SharedPrivateLinkResourceProperty",
+ "x-ms-client-flatten": true,
+ "description": "Resource properties."
+ }
+ }
+ },
+ "SharedPrivateLinkResourceProperty": {
+ "type": "object",
+ "properties": {
+ "privateLinkResourceId": {
+ "description": "The resource id that private link links to.",
+ "type": "string"
+ },
+ "groupId": {
+ "description": "The private link resource group id.",
+ "type": "string"
+ },
+ "requestMessage": {
+ "description": "Request message.",
+ "type": "string"
+ },
+ "status": {
+ "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus",
+ "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service."
+ }
+ },
+ "description": "Properties of a shared private link resource."
+ },
+ "EncryptionProperty": {
+ "properties": {
+ "status": {
+ "description": "Indicates whether or not the encryption is enabled for the workspace.",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "EncryptionStatus",
+ "modelAsString": true
+ }
+ },
+ "identity": {
+ "$ref": "#/definitions/IdentityForCmk",
+ "description": "The identity that will be used to access the key vault for encryption at rest."
+ },
+ "keyVaultProperties": {
+ "$ref": "#/definitions/EncryptionKeyVaultProperties",
+ "description": "Customer Key vault properties."
+ }
+ },
+ "required": [
+ "status",
+ "keyVaultProperties"
+ ],
+ "type": "object"
+ },
+ "EncryptionKeyVaultProperties": {
+ "properties": {
+ "keyVaultArmId": {
+ "description": "The ArmId of the keyVault where the customer owned encryption key is present.",
+ "type": "string"
+ },
+ "keyIdentifier": {
+ "description": "Key vault uri to access the encryption key.",
+ "type": "string"
+ },
+ "identityClientId": {
+ "description": "For future use - The client id of the identity which will be used to access key vault.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "keyIdentifier",
+ "keyVaultArmId"
+ ],
+ "type": "object"
+ },
+ "IdentityForCmk": {
+ "description": "Identity that will be used to access key vault for encryption at rest",
+ "type": "object",
+ "properties": {
+ "userAssignedIdentity": {
+ "description": "The ArmId of the user assigned identity that will be used to access the customer managed key vault",
+ "type": "string"
+ }
+ }
+ },
+ "ServerlessComputeSettings": {
+ "type": "object",
+ "properties": {
+ "serverlessComputeCustomSubnet": {
+ "description": "The resource ID of an existing virtual network subnet in which serverless compute nodes should be deployed",
+ "type": "string",
+ "format": "arm-id"
+ },
+ "serverlessComputeNoPublicIP": {
+ "description": "The flag to signal if serverless compute nodes deployed in custom vNet would have no public IP addresses for a workspace with private endpoint",
+ "type": "boolean"
+ }
+ }
+ },
+ "ServiceManagedResourcesSettings": {
+ "type": "object",
+ "properties": {
+ "cosmosDb": {
+ "$ref": "#/definitions/CosmosDbSettings",
+ "description": "The settings for the service managed cosmosdb account."
+ }
+ }
+ },
+ "CosmosDbSettings": {
+ "type": "object",
+ "properties": {
+ "collectionsThroughput": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The throughput of the collections in cosmosdb database"
+ }
+ }
+ },
+ "OutboundRuleListResult": {
+ "description": "List of outbound rules for the managed network of a machine learning workspace.",
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The link to the next page constructed using the continuationToken. If null, there are no additional pages.",
+ "type": "string"
+ },
+ "value": {
+ "description": "The list of machine learning workspaces. Since this list may be incomplete, the nextLink field should be used to request the next list of machine learning workspaces.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/OutboundRuleBasicResource"
+ }
+ }
+ }
+ },
+ "OutboundRuleBasicResource": {
+ "description": "Outbound Rule Basic Resource for the managed network of a machine learning workspace.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/OutboundRule"
+ }
+ }
+ },
+ "ManagedNetworkSettings": {
+ "description": "Managed Network settings for a machine learning workspace.",
+ "type": "object",
+ "properties": {
+ "isolationMode": {
+ "description": "Isolation mode for the managed network of a machine learning workspace.",
+ "$ref": "#/definitions/IsolationMode"
+ },
+ "networkId": {
+ "type": "string",
+ "readOnly": true
+ },
+ "outboundRules": {
+ "type": "object",
+ "additionalProperties": {
+ "description": "Outbound Rule for the managed network of a machine learning workspace.",
+ "$ref": "#/definitions/OutboundRule"
+ },
+ "x-nullable": true
+ },
+ "status": {
+ "description": "Status of the Provisioning for the managed network of a machine learning workspace.",
+ "$ref": "#/definitions/ManagedNetworkProvisionStatus"
+ },
+ "firewallSku": {
+ "description": "Firewall Sku used for FQDN Rules",
+ "$ref": "#/definitions/FirewallSku"
+ }
+ }
+ },
+ "ManagedNetworkProvisionOptions": {
+ "description": "Managed Network Provisioning options for managed network of a machine learning workspace.",
+ "type": "object",
+ "properties": {
+ "includeSpark": {
+ "type": "boolean"
+ }
+ }
+ },
+ "ManagedNetworkProvisionStatus": {
+ "description": "Status of the Provisioning for the managed network of a machine learning workspace.",
+ "type": "object",
+ "properties": {
+ "sparkReady": {
+ "type": "boolean"
+ },
+ "status": {
+ "$ref": "#/definitions/ManagedNetworkStatus"
+ }
+ }
+ },
+ "ManagedNetworkStatus": {
+ "description": "Status for the managed network of a machine learning workspace.",
+ "enum": [
+ "Inactive",
+ "Active"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ManagedNetworkStatus",
+ "modelAsString": true
+ }
+ },
+ "IsolationMode": {
+ "description": "Isolation mode for the managed network of a machine learning workspace.",
+ "enum": [
+ "Disabled",
+ "AllowInternetOutbound",
+ "AllowOnlyApprovedOutbound"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "IsolationMode",
+ "modelAsString": true
+ }
+ },
+ "OutboundRule": {
+ "description": "Outbound Rule for the managed network of a machine learning workspace.",
+ "required": [
+ "type"
+ ],
+ "type": "object",
+ "properties": {
+ "category": {
+ "$ref": "#/definitions/RuleCategory"
+ },
+ "status": {
+ "$ref": "#/definitions/RuleStatus"
+ },
+ "type": {
+ "$ref": "#/definitions/RuleType"
+ }
+ },
+ "discriminator": "type"
+ },
+ "PrivateEndpointOutboundRule": {
+ "description": "Private Endpoint Outbound Rule for the managed network of a machine learning workspace.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/OutboundRule"
+ }
+ ],
+ "properties": {
+ "destination": {
+ "$ref": "#/definitions/PrivateEndpointDestination"
+ }
+ },
+ "x-ms-discriminator-value": "PrivateEndpoint"
+ },
+ "PrivateEndpointDestination": {
+ "type": "object",
+ "description": "Private Endpoint destination for a Private Endpoint Outbound Rule for the managed network of a machine learning workspace.",
+ "properties": {
+ "serviceResourceId": {
+ "type": "string",
+ "format": "arm-id"
+ },
+ "sparkEnabled": {
+ "type": "boolean"
+ },
+ "sparkStatus": {
+ "$ref": "#/definitions/RuleStatus"
+ },
+ "subresourceTarget": {
+ "type": "string"
+ }
+ }
+ },
+ "ServiceTagOutboundRule": {
+ "type": "object",
+ "description": "Service Tag Outbound Rule for the managed network of a machine learning workspace.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/OutboundRule"
+ }
+ ],
+ "properties": {
+ "destination": {
+ "$ref": "#/definitions/ServiceTagDestination"
+ }
+ },
+ "x-ms-discriminator-value": "ServiceTag"
+ },
+ "ServiceTagDestination": {
+ "type": "object",
+ "description": "Service Tag destination for a Service Tag Outbound Rule for the managed network of a machine learning workspace.",
+ "properties": {
+ "action": {
+ "$ref": "#/definitions/RuleAction"
+ },
+ "addressPrefixes": {
+ "description": "Optional, if provided, the ServiceTag property will be ignored.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ },
+ "portRanges": {
+ "type": "string"
+ },
+ "protocol": {
+ "type": "string"
+ },
+ "serviceTag": {
+ "type": "string"
+ }
+ }
+ },
+ "RuleAction": {
+ "description": "The action enum for networking rule.",
+ "enum": [
+ "Allow",
+ "Deny"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "RuleAction",
+ "modelAsString": true
+ }
+ },
+ "FqdnOutboundRule": {
+ "type": "object",
+ "description": "FQDN Outbound Rule for the managed network of a machine learning workspace.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/OutboundRule"
+ }
+ ],
+ "properties": {
+ "destination": {
+ "type": "string"
+ }
+ },
+ "x-ms-discriminator-value": "FQDN"
+ },
+ "RuleCategory": {
+ "description": "Category of a managed network Outbound Rule of a machine learning workspace.",
+ "enum": [
+ "Required",
+ "Recommended",
+ "UserDefined",
+ "Dependency"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "RuleCategory",
+ "modelAsString": true
+ }
+ },
+ "RuleStatus": {
+ "description": "Type of a managed network Outbound Rule of a machine learning workspace.",
+ "enum": [
+ "Inactive",
+ "Active"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "RuleStatus",
+ "modelAsString": true
+ }
+ },
+ "RuleType": {
+ "description": "Type of a managed network Outbound Rule of a machine learning workspace.",
+ "enum": [
+ "FQDN",
+ "PrivateEndpoint",
+ "ServiceTag"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "RuleType",
+ "modelAsString": true
+ }
+ },
+ "NotebookResourceInfo": {
+ "type": "object",
+ "properties": {
+ "fqdn": {
+ "type": "string"
+ },
+ "resourceId": {
+ "type": "string",
+ "description": "the data plane resourceId that used to initialize notebook component"
+ },
+ "notebookPreparationError": {
+ "$ref": "#/definitions/NotebookPreparationError",
+ "description": "The error that occurs when preparing notebook.",
+ "x-nullable": true
+ }
+ }
+ },
+ "NotebookPreparationError": {
+ "type": "object",
+ "properties": {
+ "errorMessage": {
+ "type": "string"
+ },
+ "statusCode": {
+ "format": "int32",
+ "type": "integer"
+ }
+ }
+ },
+ "ListNotebookKeysResult": {
+ "type": "object",
+ "properties": {
+ "primaryAccessKey": {
+ "readOnly": true,
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "secondaryAccessKey": {
+ "readOnly": true,
+ "type": "string",
+ "x-ms-secret": true
+ }
+ }
+ },
+ "ListStorageAccountKeysResult": {
+ "type": "object",
+ "properties": {
+ "userStorageKey": {
+ "readOnly": true,
+ "type": "string",
+ "x-ms-secret": true
+ }
+ }
+ },
+ "ConnectionAuthType": {
+ "description": "Authentication type of the connection target",
+ "enum": [
+ "PAT",
+ "ManagedIdentity",
+ "UsernamePassword",
+ "None",
+ "SAS",
+ "AccountKey",
+ "ServicePrincipal",
+ "AccessKey",
+ "ApiKey",
+ "CustomKeys",
+ "OAuth2",
+ "AAD"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ConnectionAuthType",
+ "modelAsString": true
+ }
+ },
+ "ConnectionCategory": {
+ "description": "Category of the connection",
+ "enum": [
+ "PythonFeed",
+ "ContainerRegistry",
+ "Git",
+ "S3",
+ "Snowflake",
+ "AzureSqlDb",
+ "AzureSynapseAnalytics",
+ "AzureMySqlDb",
+ "AzurePostgresDb",
+ "ADLSGen2",
+ "Redis",
+ "ApiKey",
+ "AzureOpenAI",
+ "AIServices",
+ "CognitiveSearch",
+ "CognitiveService",
+ "CustomKeys",
+ "AzureBlob",
+ "AzureOneLake",
+ "CosmosDb",
+ "CosmosDbMongoDbApi",
+ "AzureDataExplorer",
+ "AzureMariaDb",
+ "AzureDatabricksDeltaLake",
+ "AzureSqlMi",
+ "AzureTableStorage",
+ "AmazonRdsForOracle",
+ "AmazonRdsForSqlServer",
+ "AmazonRedshift",
+ "Db2",
+ "Drill",
+ "GoogleBigQuery",
+ "Greenplum",
+ "Hbase",
+ "Hive",
+ "Impala",
+ "Informix",
+ "MariaDb",
+ "MicrosoftAccess",
+ "MySql",
+ "Netezza",
+ "Oracle",
+ "Phoenix",
+ "PostgreSql",
+ "Presto",
+ "SapOpenHub",
+ "SapBw",
+ "SapHana",
+ "SapTable",
+ "Spark",
+ "SqlServer",
+ "Sybase",
+ "Teradata",
+ "Vertica",
+ "Pinecone",
+ "Cassandra",
+ "Couchbase",
+ "MongoDbV2",
+ "MongoDbAtlas",
+ "AmazonS3Compatible",
+ "FileServer",
+ "FtpServer",
+ "GoogleCloudStorage",
+ "Hdfs",
+ "OracleCloudStorage",
+ "Sftp",
+ "GenericHttp",
+ "ODataRest",
+ "Odbc",
+ "GenericRest",
+ "AmazonMws",
+ "Concur",
+ "Dynamics",
+ "DynamicsAx",
+ "DynamicsCrm",
+ "GoogleAdWords",
+ "Hubspot",
+ "Jira",
+ "Magento",
+ "Marketo",
+ "Office365",
+ "Eloqua",
+ "Responsys",
+ "OracleServiceCloud",
+ "PayPal",
+ "QuickBooks",
+ "Salesforce",
+ "SalesforceServiceCloud",
+ "SalesforceMarketingCloud",
+ "SapCloudForCustomer",
+ "SapEcc",
+ "ServiceNow",
+ "SharePointOnlineList",
+ "Shopify",
+ "Square",
+ "WebTable",
+ "Xero",
+ "Zoho",
+ "GenericContainerRegistry",
+ "Elasticsearch",
+ "OpenAI",
+ "Serp",
+ "BingLLMSearch",
+ "Serverless",
+ "ManagedOnlineEndpoint"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ConnectionCategory",
+ "modelAsString": true
+ }
+ },
+ "WorkspaceConnectionUsernamePassword": {
+ "type": "object",
+ "properties": {
+ "username": {
+ "type": "string"
+ },
+ "password": {
+ "type": "string"
+ },
+ "securityToken": {
+ "description": "Optional, required by connections like SalesForce for extra security in addition to UsernamePassword",
+ "type": "string",
+ "x-ms-secret": true
+ }
+ },
+ "additionalProperties": false
+ },
+ "WorkspaceConnectionPersonalAccessToken": {
+ "type": "object",
+ "properties": {
+ "pat": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "PATAuthTypeWorkspaceConnectionProperties": {
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/WorkspaceConnectionPropertiesV2"
+ }
+ ],
+ "properties": {
+ "credentials": {
+ "$ref": "#/definitions/WorkspaceConnectionPersonalAccessToken"
+ }
+ },
+ "additionalProperties": false,
+ "x-ms-discriminator-value": "PAT"
+ },
+ "WorkspaceConnectionSharedAccessSignature": {
+ "type": "object",
+ "properties": {
+ "sas": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "WorkspaceConnectionAccountKey": {
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "x-ms-secret": true
+ }
+ },
+ "additionalProperties": false
+ },
+ "SASAuthTypeWorkspaceConnectionProperties": {
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/WorkspaceConnectionPropertiesV2"
+ }
+ ],
+ "properties": {
+ "credentials": {
+ "$ref": "#/definitions/WorkspaceConnectionSharedAccessSignature"
+ }
+ },
+ "additionalProperties": false,
+ "x-ms-discriminator-value": "SAS"
+ },
+ "UsernamePasswordAuthTypeWorkspaceConnectionProperties": {
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/WorkspaceConnectionPropertiesV2"
+ }
+ ],
+ "properties": {
+ "credentials": {
+ "$ref": "#/definitions/WorkspaceConnectionUsernamePassword"
+ }
+ },
+ "additionalProperties": false,
+ "x-ms-discriminator-value": "UsernamePassword"
+ },
+ "WorkspaceConnectionPropertiesV2": {
+ "required": [
+ "authType"
+ ],
+ "type": "object",
+ "properties": {
+ "authType": {
+ "description": "Authentication type of the connection target",
+ "$ref": "#/definitions/ConnectionAuthType"
+ },
+ "category": {
+ "description": "Category of the connection",
+ "$ref": "#/definitions/ConnectionCategory"
+ },
+ "createdByWorkspaceArmId": {
+ "type": "string",
+ "format": "arm-id",
+ "readOnly": true
+ },
+ "expiryTime": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "group": {
+ "description": "Group based on connection category",
+ "$ref": "#/definitions/ConnectionGroup",
+ "readOnly": true
+ },
+ "isSharedToAll": {
+ "type": "boolean"
+ },
+ "target": {
+ "type": "string"
+ },
+ "metadata": {
+ "description": "Store user metadata for this connection",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "sharedUserList": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "value": {
+ "description": "Value details of the workspace connection.",
+ "type": "string"
+ },
+ "valueFormat": {
+ "description": "format for the workspace connection value",
+ "type": "string",
+ "enum": [
+ "JSON"
+ ],
+ "x-ms-enum": {
+ "name": "ValueFormat",
+ "modelAsString": true
+ }
+ }
+ },
+ "discriminator": "authType"
+ },
+ "NoneAuthTypeWorkspaceConnectionProperties": {
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/WorkspaceConnectionPropertiesV2"
+ }
+ ],
+ "additionalProperties": false,
+ "x-ms-discriminator-value": "None"
+ },
+ "WorkspaceConnectionManagedIdentity": {
+ "type": "object",
+ "properties": {
+ "resourceId": {
+ "type": "string"
+ },
+ "clientId": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "ManagedIdentityAuthTypeWorkspaceConnectionProperties": {
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/WorkspaceConnectionPropertiesV2"
+ }
+ ],
+ "properties": {
+ "credentials": {
+ "$ref": "#/definitions/WorkspaceConnectionManagedIdentity"
+ }
+ },
+ "additionalProperties": false,
+ "x-ms-discriminator-value": "ManagedIdentity"
+ },
+ "WorkspaceConnectionPropertiesV2BasicResource": {
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/WorkspaceConnectionPropertiesV2"
+ }
+ },
+ "additionalProperties": false
+ },
+ "WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/WorkspaceConnectionPropertiesV2BasicResource"
+ }
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "FQDNEndpointDetail": {
+ "type": "object",
+ "properties": {
+ "port": {
+ "format": "int32",
+ "type": "integer"
+ }
+ }
+ },
+ "FQDNEndpoint": {
+ "type": "object",
+ "properties": {
+ "domainName": {
+ "type": "string"
+ },
+ "endpointDetails": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FQDNEndpointDetail"
+ },
+ "x-ms-identifiers": [
+ "port"
+ ]
+ }
+ }
+ },
+ "FQDNEndpointsProperties": {
+ "type": "object",
+ "properties": {
+ "category": {
+ "type": "string"
+ },
+ "endpoints": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FQDNEndpoint"
+ },
+ "x-ms-identifiers": [
+ "domainName"
+ ]
+ }
+ }
+ },
+ "FQDNEndpoints": {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/FQDNEndpointsProperties"
+ }
+ }
+ },
+ "ExternalFQDNResponse": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FQDNEndpoints"
+ },
+ "x-ms-identifiers": [
+ "/properties/category"
+ ]
+ }
+ }
+ },
+ "FeatureStoreSettings": {
+ "type": "object",
+ "description": "Settings for feature store type workspace.",
+ "properties": {
+ "computeRuntime": {
+ "$ref": "#/definitions/ComputeRuntimeDto"
+ },
+ "offlineStoreConnectionName": {
+ "type": "string"
+ },
+ "onlineStoreConnectionName": {
+ "type": "string"
+ }
+ }
+ },
+ "ComputeRuntimeDto": {
+ "type": "object",
+ "description": "Compute runtime config for feature store type workspace.",
+ "properties": {
+ "sparkRuntimeVersion": {
+ "type": "string"
+ }
+ }
+ },
+ "AADAuthTypeWorkspaceConnectionProperties": {
+ "description": "This connection type covers the AAD auth for any applicable Azure service",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/WorkspaceConnectionPropertiesV2"
+ }
+ ],
+ "x-ms-discriminator-value": "AAD"
+ },
+ "AccessKeyAuthTypeWorkspaceConnectionProperties": {
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/WorkspaceConnectionPropertiesV2"
+ }
+ ],
+ "properties": {
+ "credentials": {
+ "$ref": "#/definitions/WorkspaceConnectionAccessKey"
+ }
+ },
+ "x-ms-discriminator-value": "AccessKey"
+ },
+ "WorkspaceConnectionAccessKey": {
+ "type": "object",
+ "properties": {
+ "accessKeyId": {
+ "type": "string"
+ },
+ "secretAccessKey": {
+ "type": "string"
+ }
+ }
+ },
+ "AccountKeyAuthTypeWorkspaceConnectionProperties": {
+ "description": "This connection type covers the account key connection for Azure storage",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/WorkspaceConnectionPropertiesV2"
+ }
+ ],
+ "properties": {
+ "credentials": {
+ "$ref": "#/definitions/WorkspaceConnectionAccountKey"
+ }
+ },
+ "x-ms-discriminator-value": "AccountKey"
+ },
+ "ApiKeyAuthWorkspaceConnectionProperties": {
+ "description": "This connection type covers the generic ApiKey auth connection categories, for examples:\r\nAzureOpenAI:\r\n Category:= AzureOpenAI\r\n AuthType:= ApiKey (as type discriminator)\r\n Credentials:= {ApiKey} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey\r\n Target:= {ApiBase}\r\n \r\nCognitiveService:\r\n Category:= CognitiveService\r\n AuthType:= ApiKey (as type discriminator)\r\n Credentials:= {SubscriptionKey} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey\r\n Target:= ServiceRegion={serviceRegion}\r\n \r\nCognitiveSearch:\r\n Category:= CognitiveSearch\r\n AuthType:= ApiKey (as type discriminator)\r\n Credentials:= {Key} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey\r\n Target:= {Endpoint}\r\n \r\nUse Metadata property bag for ApiType, ApiVersion, Kind and other metadata fields",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/WorkspaceConnectionPropertiesV2"
+ }
+ ],
+ "properties": {
+ "credentials": {
+ "$ref": "#/definitions/WorkspaceConnectionApiKey"
+ }
+ },
+ "x-ms-discriminator-value": "ApiKey"
+ },
+ "WorkspaceConnectionApiKey": {
+ "description": "Api key object for workspace connection credential.",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string"
+ }
+ }
+ },
+ "CustomKeysWorkspaceConnectionProperties": {
+ "description": "Category:= CustomKeys\r\nAuthType:= CustomKeys (as type discriminator)\r\nCredentials:= {CustomKeys} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.CustomKeys\r\nTarget:= {any value}\r\nUse Metadata property bag for ApiVersion and other metadata fields",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/WorkspaceConnectionPropertiesV2"
+ }
+ ],
+ "properties": {
+ "credentials": {
+ "description": "Custom Keys credential object",
+ "$ref": "#/definitions/CustomKeys"
+ }
+ },
+ "x-ms-discriminator-value": "CustomKeys"
+ },
+ "CustomKeys": {
+ "description": "Custom Keys credential object",
+ "type": "object",
+ "properties": {
+ "keys": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "OAuth2AuthTypeWorkspaceConnectionProperties": {
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/WorkspaceConnectionPropertiesV2"
+ }
+ ],
+ "properties": {
+ "credentials": {
+ "$ref": "#/definitions/WorkspaceConnectionOAuth2"
+ }
+ },
+ "x-ms-discriminator-value": "OAuth2"
+ },
+ "WorkspaceConnectionOAuth2": {
+ "description": "ClientId and ClientSecret are required. Other properties are optional\r\ndepending on each OAuth2 provider's implementation.",
+ "type": "object",
+ "properties": {
+ "authUrl": {
+ "description": "Required by Concur connection category",
+ "type": "string",
+ "format": "url"
+ },
+ "clientId": {
+ "type": "string",
+ "description": "Client id in the format of UUID",
+ "format": "uuid"
+ },
+ "clientSecret": {
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "developerToken": {
+ "description": "Required by GoogleAdWords connection category",
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "password": {
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "refreshToken": {
+ "description": "Required by GoogleBigQuery, GoogleAdWords, Hubspot, QuickBooks, Square, Xero, Zoho\r\nwhere user needs to get RefreshToken offline",
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "tenantId": {
+ "description": "Required by QuickBooks and Xero connection categories",
+ "type": "string"
+ },
+ "username": {
+ "description": "Concur, ServiceNow auth server AccessToken grant type is 'Password'\r\nwhich requires UsernamePassword",
+ "type": "string"
+ }
+ }
+ },
+ "ServicePrincipalAuthTypeWorkspaceConnectionProperties": {
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/WorkspaceConnectionPropertiesV2"
+ }
+ ],
+ "properties": {
+ "credentials": {
+ "$ref": "#/definitions/WorkspaceConnectionServicePrincipal"
+ }
+ },
+ "x-ms-discriminator-value": "ServicePrincipal"
+ },
+ "WorkspaceConnectionServicePrincipal": {
+ "type": "object",
+ "properties": {
+ "clientId": {
+ "type": "string"
+ },
+ "clientSecret": {
+ "x-ms-secret": true,
+ "type": "string"
+ },
+ "tenantId": {
+ "type": "string"
+ }
+ }
+ },
+ "ConnectionGroup": {
+ "description": "Group based on connection category",
+ "enum": [
+ "Azure",
+ "AzureAI",
+ "Database",
+ "NoSQL",
+ "File",
+ "GenericProtocol",
+ "ServicesAndApps"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ConnectionGroup",
+ "modelAsString": true
+ }
+ },
+ "EncryptionUpdateProperties": {
+ "required": [
+ "keyVaultProperties"
+ ],
+ "type": "object",
+ "properties": {
+ "keyVaultProperties": {
+ "$ref": "#/definitions/EncryptionKeyVaultUpdateProperties"
+ }
+ }
+ },
+ "EncryptionKeyVaultUpdateProperties": {
+ "required": [
+ "keyIdentifier"
+ ],
+ "type": "object",
+ "properties": {
+ "keyIdentifier": {
+ "minLength": 1,
+ "pattern": "[a-zA-Z0-9_]",
+ "type": "string"
+ }
+ }
+ },
+ "WorkspaceHubConfig": {
+ "description": "WorkspaceHub's configuration object.",
+ "type": "object",
+ "properties": {
+ "additionalWorkspaceStorageAccounts": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "defaultWorkspaceResourceGroup": {
+ "type": "string"
+ }
+ }
+ },
+ "WorkspaceConnectionUpdateParameter": {
+ "description": "The properties that the machine learning workspace connection will be updated with.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "description": "The properties that the machine learning workspace connection will be updated with.",
+ "$ref": "#/definitions/WorkspaceConnectionPropertiesV2"
+ }
+ }
+ },
+ "FirewallSku": {
+ "description": "Firewall Sku used for FQDN Rules",
+ "enum": [
+ "Standard",
+ "Basic"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "FirewallSku",
+ "modelAsString": true
+ }
+ }
+ }
+}
diff --git a/swagger-specs/machinelearningservices/resource-manager/api-set.json b/swagger-specs/machinelearningservices/resource-manager/api-set.json
index 48b1578a2..f69397641 100644
--- a/swagger-specs/machinelearningservices/resource-manager/api-set.json
+++ b/swagger-specs/machinelearningservices/resource-manager/api-set.json
@@ -1 +1 @@
-{"addition_input_file_paths": [], "input_files": ["Microsoft.MachineLearningServices/stable/2024-04-01/machineLearningServices.json", "Microsoft.MachineLearningServices/stable/2024-04-01/mfe.json", "Microsoft.MachineLearningServices/stable/2024-04-01/registries.json", "Microsoft.MachineLearningServices/stable/2024-04-01/workspaceFeatures.json"], "name": "package-2024-04"}
\ No newline at end of file
+{"addition_input_file_paths": [], "input_files": ["Microsoft.MachineLearningServices/stable/2024-10-01/machineLearningServices.json", "Microsoft.MachineLearningServices/stable/2024-10-01/mfe.json", "Microsoft.MachineLearningServices/stable/2024-10-01/registries.json", "Microsoft.MachineLearningServices/stable/2024-10-01/workspaceFeatures.json", "Microsoft.MachineLearningServices/stable/2024-10-01/workspaceRP.json"], "name": "package-2024-10"}
\ No newline at end of file
diff --git a/swagger-specs/maps/data-plane/Route/preview/1.0/route.json b/swagger-specs/maps/data-plane/Route/preview/1.0/route.json
index 848fab43b..8dc5e2121 100644
--- a/swagger-specs/maps/data-plane/Route/preview/1.0/route.json
+++ b/swagger-specs/maps/data-plane/Route/preview/1.0/route.json
@@ -887,7 +887,7 @@
"/route/matrix/{format}": {
"post": {
"summary": "Use to get a route matrix showing the travel time and distance for all possible pairs in a list of origins and destinations, using an asynchronous request.",
- "description": "\n\nThe `Post Route Matrix` API is an HTTP `POST` request that allows calculation of a matrix of route summaries for a set of routes defined by origin and destination locations by using an asynchronous (async) request. To make a synchronous (sync) request, see [Post Route Matrix Sync](/rest/api/maps/route/post-route-matrix-sync). For every given origin, the service calculates the cost of routing from that origin to every given destination. The set of origins and the set of destinations can be thought of as the column and row headers of a table and each cell in the table contains the costs of routing from the origin to the destination for that cell. As an example, let's say a food delivery company has 20 drivers and they need to find the closest driver to pick up the delivery from the restaurant. To solve this use case, they can call Matrix Route API.\n\n\nFor each route, the travel times and distances are returned. You can use the computed costs to determine which detailed routes to calculate using the Route Directions API.\n\n\nThe maximum size of a matrix for async request is **700** and for sync request it's **100** (the number of origins multiplied by the number of destinations).\n\n\n\n### Submit Synchronous Route Matrix Request\nIf your scenario requires synchronous requests and the maximum size of the matrix is less than or equal to 100, you might want to make synchronous request. The maximum size of a matrix for this API is **100** (the number of origins multiplied by the number of destinations). With that constraint in mind, examples of possible matrix dimensions are: 10x10, 6x8, 9x8 (it does not need to be square).\n\n```\nPOST https://atlas.microsoft.com/route/matrix/sync/json?api-version=1.0&subscription-key={subscription-key}\n```\n\n### Submit Asynchronous Route Matrix Request\nThe Asynchronous API is appropriate for processing big volumes of relatively complex routing requests. When you make a request by using async request, by default the service returns a 202 response code along a redirect URL in the Location field of the response header. This URL should be checked periodically until the response data or error information is available. If `waitForResults` parameter in the request is set to true, user will get a 200 response if the request is finished under 120 seconds.\n\n\nThe maximum size of a matrix for this API is **700** (the number of origins multiplied by the number of destinations). With that constraint in mind, examples of possible matrix dimensions are: 50x10, 10x10, 28x25. 10x70 (it does not need to be square).\n\n\nThe asynchronous responses are stored for **24** hours. The redirect URL returns a 404 response if used after the expiration period.\n\n\n\n\n```\nPOST https://atlas.microsoft.com/route/matrix/json?api-version=1.0&subscription-key={subscription-key}\n```\n\nHere's a typical sequence of asynchronous operations:\n1. Client sends a Route Matrix POST request to Azure Maps\n\n2. The server will respond with one of the following:\n\n > HTTP `202 Accepted` - Route Matrix request has been accepted.\n\n > HTTP `Error` - There was an error processing your Route Matrix request. This could either be a 400 Bad Request or any other Error status code.\n\n\n3. If the Matrix Route request was accepted successfully, the Location header in the response contains the URL to download the results of the request. This status URI looks like the following:\n\n ```\n GET https://atlas.microsoft.com/route/matrix/{matrixId}?api-version=1.0?subscription-key={subscription-key}\n ```\n\n\n4. Client issues a GET request on the download URL obtained in Step 3 to download the results\n\n### Download Sync Results\nWhen you make a POST request for Route Matrix Sync API, the service returns 200 response code for successful request and a response array. The response body will contain the data and there will be no possibility to retrieve the results later.\n\n### Download Async Results\nWhen a request issues a `202 Accepted` response, the request is being processed using our async pipeline. You will be given a URL to check the progress of your async request in the location header of the response. This status URI looks like the following:\n```\n GET https://atlas.microsoft.com/route/matrix/{matrixId}?api-version=1.0?subscription-key={subscription-key}\n```\n\nThe URL provided by the location header will return the following responses when a `GET` request is issued.\n\n > HTTP `202 Accepted` - Matrix request was accepted but is still being processed. Please try again in some time.\n\n > HTTP `200 OK` - Matrix request successfully processed. The response body contains all of the results.",
+ "description": "\n\nThe `Post Route Matrix` API is an HTTP `POST` request that allows calculation of a matrix of route summaries for a set of routes defined by origin and destination locations by using an asynchronous (async) request. To make a synchronous (sync) request, see [Post Route Matrix Sync](/rest/api/maps/route/post-route-matrix-sync). For every given origin, the service calculates the cost of routing from that origin to every given destination. The set of origins and the set of destinations can be thought of as the column and row headers of a table and each cell in the table contains the costs of routing from the origin to the destination for that cell. As an example, let's say a food delivery company has 20 drivers and they need to find the closest driver to pick up the delivery from the restaurant. To solve this use case, they can call Matrix Route API.\n\n\nFor each route, the travel times and distances are returned. You can use the computed costs to determine which detailed routes to calculate using the Route Directions API.\n\n\nThe maximum size of a matrix for async request is **700** and for sync request it's **100** (the number of origins multiplied by the number of destinations).\n\n> [!NOTE]\n> All origins and destinations should be contained in an axis-aligned 400 km x 400 km bounding box. Otherwise some matrix cells will be resolved as OUT_OF_REGION.\n\n\n\n### Submit Synchronous Route Matrix Request\nIf your scenario requires synchronous requests and the maximum size of the matrix is less than or equal to 100, you might want to make synchronous request. The maximum size of a matrix for this API is **100** (the number of origins multiplied by the number of destinations). With that constraint in mind, examples of possible matrix dimensions are: 10x10, 6x8, 9x8 (it does not need to be square).\n\n```\nPOST https://atlas.microsoft.com/route/matrix/sync/json?api-version=1.0&subscription-key={subscription-key}\n```\n\n### Submit Asynchronous Route Matrix Request\nThe Asynchronous API is appropriate for processing big volumes of relatively complex routing requests. When you make a request by using async request, by default the service returns a 202 response code along a redirect URL in the Location field of the response header. This URL should be checked periodically until the response data or error information is available. If `waitForResults` parameter in the request is set to true, user will get a 200 response if the request is finished under 120 seconds.\n\n\nThe maximum size of a matrix for this API is **700** (the number of origins multiplied by the number of destinations). With that constraint in mind, examples of possible matrix dimensions are: 50x10, 10x10, 28x25. 10x70 (it does not need to be square).\n\n\nThe asynchronous responses are stored for **24** hours. The redirect URL returns a 404 response if used after the expiration period.\n\n\n\n\n```\nPOST https://atlas.microsoft.com/route/matrix/json?api-version=1.0&subscription-key={subscription-key}\n```\n\nHere's a typical sequence of asynchronous operations:\n1. Client sends a Route Matrix POST request to Azure Maps\n\n2. The server will respond with one of the following:\n\n > HTTP `202 Accepted` - Route Matrix request has been accepted.\n\n > HTTP `Error` - There was an error processing your Route Matrix request. This could either be a 400 Bad Request or any other Error status code.\n\n\n3. If the Matrix Route request was accepted successfully, the Location header in the response contains the URL to download the results of the request. This status URI looks like the following:\n\n ```\n GET https://atlas.microsoft.com/route/matrix/{matrixId}?api-version=1.0?subscription-key={subscription-key}\n ```\n\n\n4. Client issues a GET request on the download URL obtained in Step 3 to download the results\n\n### Download Sync Results\nWhen you make a POST request for Route Matrix Sync API, the service returns 200 response code for successful request and a response array. The response body will contain the data and there will be no possibility to retrieve the results later.\n\n### Download Async Results\nWhen a request issues a `202 Accepted` response, the request is being processed using our async pipeline. You will be given a URL to check the progress of your async request in the location header of the response. This status URI looks like the following:\n```\n GET https://atlas.microsoft.com/route/matrix/{matrixId}?api-version=1.0?subscription-key={subscription-key}\n```\n\nThe URL provided by the location header will return the following responses when a `GET` request is issued.\n\n > HTTP `202 Accepted` - Matrix request was accepted but is still being processed. Please try again in some time.\n\n > HTTP `200 OK` - Matrix request successfully processed. The response body contains all of the results.",
"operationId": "Route_PostRouteMatrix",
"x-ms-client-name": "RequestRouteMatrix",
"x-ms-long-running-operation": true,
diff --git a/swagger-specs/maps/data-plane/Weather/stable/1.1/weather.json b/swagger-specs/maps/data-plane/Weather/stable/1.1/weather.json
index 47d5ab673..cea6c4b5c 100644
--- a/swagger-specs/maps/data-plane/Weather/stable/1.1/weather.json
+++ b/swagger-specs/maps/data-plane/Weather/stable/1.1/weather.json
@@ -552,7 +552,7 @@
"/weather/severe/alerts/{format}": {
"get": {
"summary": "Use to get information about severe weather conditions such as hurricanes, thunderstorms, flooding, lightning, heat waves or forest fires for a given location.",
- "description": "\n\nSevere weather phenomenon can significantly impact our everyday life and business operations. For example, severe weather conditions such as tropical storms, high winds or flooding can close roads and force logistics companies to reroute their fleet causing delays in reaching destinations and breaking the cold chain of refrigerated food products. \n\n The `Get Severe Weather Alerts` API is an HTTP `GET` request that returns the severe weather alerts that are available worldwide from both official Government Meteorological Agencies and leading global to regional weather alert providers. The service can return details such as alert type, category, level and detailed description about the active severe alerts for the requested location, like hurricanes, thunderstorms, lightning, heat waves or forest fires. For more information, see [Request severe weather alerts](/azure-maps/how-to-request-weather-data#request-severe-weather-alerts)",
+ "description": "\n\nSevere weather phenomenon can significantly impact our everyday life and business operations. For example, severe weather conditions such as tropical storms, high winds or flooding can close roads and force logistics companies to reroute their fleet causing delays in reaching destinations and breaking the cold chain of refrigerated food products. \n\n The `Get Severe Weather Alerts` API is an HTTP `GET` request that returns the severe weather alerts that are available worldwide from both official Government Meteorological Agencies and leading global to regional weather alert providers. The service can return details such as alert type, category, level and detailed description about the active severe alerts for the requested location, like hurricanes, thunderstorms, lightning, heat waves or forest fires. For more information, see [Request severe weather alerts](/azure/azure-maps/how-to-request-weather-data#request-severe-weather-alerts)",
"operationId": "Weather_GetSevereWeatherAlerts",
"x-ms-examples": {
"Successfully retrieve severe weather alerts": {
@@ -1523,7 +1523,7 @@
"UnitType": {
"type": "integer",
"format": "int32",
- "description": "Numeric ID value associated with the type of unit being displayed. Can be used for unit translation. Please refer to [Weather services in Azure Maps](/azure/azure-maps/weather-services-concepts#unittype) for details.",
+ "description": "Numeric ID value associated with the type of unit being displayed. Can be used for unit translation. Please refer to [Weather services in Azure Maps](/azure/azure-maps/weather-services-concepts#unit-types) for details.",
"enum": [
0,
1,
diff --git a/swagger-specs/mysql/resource-manager/Microsoft.DBforMySQL/common-types/v3/common-types.json b/swagger-specs/mysql/resource-manager/Microsoft.DBforMySQL/common-types/v3/common-types.json
new file mode 100644
index 000000000..e94c35db0
--- /dev/null
+++ b/swagger-specs/mysql/resource-manager/Microsoft.DBforMySQL/common-types/v3/common-types.json
@@ -0,0 +1,137 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2024-10-01-preview",
+ "title": "Common types"
+ },
+ "paths": {},
+ "definitions": {
+ "BackupName": {
+ "type": "string",
+ "description": "The name of the backup.",
+ "pattern": "(^[a-z0-9]$)|(^[a-z0-9][a-z0-9-]*[a-z0-9]$)"
+ },
+ "OperationStatusExtendedResult": {
+ "description": "Represents Operation Results API Response",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/extendedData",
+ "description": "The extended properties of Operation Results"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult"
+ }
+ ]
+ },
+ "extendedData": {
+ "type": "object",
+ "additionalProperties": true,
+ "description": "A name-value pair that represents extended info."
+ },
+ "OperationProgressResult": {
+ "description": "Represents Operation Results API Response",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "description": "The response properties specific to the operation",
+ "$ref": "#/definitions/OperationProgressResponseType",
+ "x-ms-client-flatten": true
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult"
+ }
+ ]
+ },
+ "OperationProgressResponseType": {
+ "description": "Represents the response properties specific to the operation",
+ "type": "object",
+ "discriminator": "objectType",
+ "required": [
+ "objectType"
+ ],
+ "properties": {
+ "objectType": {
+ "description": "Identifies the type of source operation",
+ "type": "string",
+ "enum": [
+ "BackupAndExportResponse",
+ "ImportFromStorageResponse"
+ ],
+ "x-ms-enum": {
+ "name": "ObjectType",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "BackupAndExportResponseType": {
+ "description": "BackupAndExport Response Properties",
+ "type": "object",
+ "x-ms-discriminator-value": "BackupAndExportResponse",
+ "properties": {
+ "datasourceSizeInBytes": {
+ "format": "int64",
+ "description": "Size of datasource in bytes",
+ "type": "integer"
+ },
+ "dataTransferredInBytes": {
+ "format": "int64",
+ "description": "Data transferred in bytes",
+ "type": "integer"
+ },
+ "backupMetadata": {
+ "description": "Metadata related to backup to be stored for restoring resource in key-value pairs.",
+ "type": "string"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/OperationProgressResponseType"
+ }
+ ]
+ },
+ "ImportFromStorageResponseType": {
+ "description": "ImportFromStorage Response Properties",
+ "type": "object",
+ "x-ms-discriminator-value": "ImportFromStorageResponse",
+ "properties": {
+ "estimatedCompletionTime": {
+ "description": "The estimated time of operation completion.",
+ "type": "string",
+ "format": "date-time"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/OperationProgressResponseType"
+ }
+ ]
+ }
+ },
+ "parameters": {
+ "ServerNameParameter": {
+ "name": "serverName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the server.",
+ "pattern": "^[a-z0-9][-a-z0-9]*(?clusterPeeringStatus is pending
",
+ "type": "string"
+ }
+ }
+ },
+ "svmPeerCommandResponse": {
+ "description": "Information about svm peering process",
+ "type": "object",
+ "properties": {
+ "svmPeeringCommand": {
+ "description": "A command that needs to be run on the external ONTAP to accept svm peering. Will only be present if svmPeeringStatus
is pending
",
+ "type": "string"
+ }
+ }
+ },
+ "peerClusterForVolumeMigrationRequest": {
+ "description": "Source Cluster properties for a cluster peer request",
+ "type": "object",
+ "required": [
+ "peerIpAddresses"
+ ],
+ "properties": {
+ "peerIpAddresses": {
+ "type": "array",
+ "minItems": 1,
+ "description": "A list of IC-LIF IPs that can be used to connect to the On-prem cluster",
+ "example": [
+ "0.0.0.1",
+ "0.0.0.2",
+ "0.0.0.3",
+ "0.0.0.4",
+ "0.0.0.5",
+ "0.0.0.6"
+ ],
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
"smbAccessBasedEnumeration": {
"title": "smbAccessBasedEnumeration",
"type": "string",
@@ -8936,6 +9292,14 @@
"properties": {
"backupPolicyId": {
"type": "string",
+ "format": "arm-id",
+ "x-ms-arm-id-details": {
+ "allowedResources": [
+ {
+ "type": "Microsoft.NetApp/netAppAccounts/backupPolicies"
+ }
+ ]
+ },
"description": "Backup Policy Resource ID"
},
"policyEnforced": {
@@ -8944,6 +9308,14 @@
},
"backupVaultId": {
"type": "string",
+ "format": "arm-id",
+ "x-ms-arm-id-details": {
+ "allowedResources": [
+ {
+ "type": "Microsoft.NetApp/netAppAccounts/backupVaults"
+ }
+ ]
+ },
"description": "Backup Vault Resource ID"
}
}
@@ -9266,6 +9638,14 @@
"properties": {
"backupVaultId": {
"type": "string",
+ "format": "arm-id",
+ "x-ms-arm-id-details": {
+ "allowedResources": [
+ {
+ "type": "Microsoft.NetApp/netAppAccounts/backupVaults"
+ }
+ ]
+ },
"description": "The ResourceId of the Backup Vault",
"example": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1"
}
diff --git a/swagger-specs/netapp/resource-manager/api-set.json b/swagger-specs/netapp/resource-manager/api-set.json
index 50f348590..dae3c6c71 100644
--- a/swagger-specs/netapp/resource-manager/api-set.json
+++ b/swagger-specs/netapp/resource-manager/api-set.json
@@ -1 +1 @@
-{"addition_input_file_paths": [], "input_files": ["Microsoft.NetApp/stable/2024-03-01/netapp.json"], "name": "package-2024-03"}
\ No newline at end of file
+{"addition_input_file_paths": [], "input_files": ["Microsoft.NetApp/stable/2024-07-01/netapp.json"], "name": "package-2024-07"}
\ No newline at end of file
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/applicationGateway.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/applicationGateway.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/applicationGateway.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/applicationGateway.json
index e772446d2..872b5db65 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/applicationGateway.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/applicationGateway.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/applicationGatewayWafDynamicManifests.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/applicationGatewayWafDynamicManifests.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/applicationGatewayWafDynamicManifests.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/applicationGatewayWafDynamicManifests.json
index d183f4f56..3fbc0445e 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/applicationGatewayWafDynamicManifests.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/applicationGatewayWafDynamicManifests.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/applicationSecurityGroup.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/applicationSecurityGroup.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/applicationSecurityGroup.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/applicationSecurityGroup.json
index 5768c4135..ec42e945e 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/applicationSecurityGroup.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/applicationSecurityGroup.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/availableDelegations.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/availableDelegations.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/availableDelegations.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/availableDelegations.json
index 36a29e377..eaf1fafcd 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/availableDelegations.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/availableDelegations.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/availableServiceAliases.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/availableServiceAliases.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/availableServiceAliases.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/availableServiceAliases.json
index 2579f9136..f3b182ed3 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/availableServiceAliases.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/availableServiceAliases.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/azureFirewall.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/azureFirewall.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/azureFirewall.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/azureFirewall.json
index 2f375ba5a..e262fbc8f 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/azureFirewall.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/azureFirewall.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/azureFirewallFqdnTag.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/azureFirewallFqdnTag.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/azureFirewallFqdnTag.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/azureFirewallFqdnTag.json
index b0cee4307..98e6d203b 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/azureFirewallFqdnTag.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/azureFirewallFqdnTag.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/azureWebCategory.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/azureWebCategory.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/azureWebCategory.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/azureWebCategory.json
index 6bead59e7..bf8c378cf 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/azureWebCategory.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/azureWebCategory.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/bastionHost.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/bastionHost.json
similarity index 98%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/bastionHost.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/bastionHost.json
index c537f0b4e..f72e631fd 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/bastionHost.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/bastionHost.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
@@ -128,6 +128,9 @@
},
"Get Bastion Host With Zones": {
"$ref": "./examples/BastionHostGetWithZones.json"
+ },
+ "Get Bastion Host With Private Only": {
+ "$ref": "./examples/BastionHostGetWithPrivateOnly.json"
}
}
},
@@ -187,6 +190,9 @@
"Create Bastion Host With Zones": {
"$ref": "./examples/BastionHostPutWithZones.json"
},
+ "Create Bastion Host With Private Only": {
+ "$ref": "./examples/BastionHostPutWithPrivateOnly.json"
+ },
"Create Developer Bastion Host": {
"$ref": "./examples/BastionHostDeveloperPut.json"
}
@@ -681,7 +687,7 @@
},
"publicIPAddress": {
"$ref": "./network.json#/definitions/SubResource",
- "description": "Reference of the PublicIP resource."
+ "description": "Reference of the PublicIP resource. Null for private only bastion"
},
"provisioningState": {
"readOnly": true,
@@ -694,8 +700,7 @@
}
},
"required": [
- "subnet",
- "publicIPAddress"
+ "subnet"
],
"description": "Properties of IP configuration of an Bastion Host."
},
@@ -803,6 +808,11 @@
"type": "boolean",
"default": false,
"description": "Enable/Disable Session Recording feature of the Bastion Host resource."
+ },
+ "enablePrivateOnlyBastion": {
+ "type": "boolean",
+ "default": false,
+ "description": "Enable/Disable Private Only feature of the Bastion Host resource."
}
},
"description": "Properties of the Bastion Host."
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/checkDnsAvailability.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/checkDnsAvailability.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/checkDnsAvailability.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/checkDnsAvailability.json
index cfc53a448..2a4241bf1 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/checkDnsAvailability.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/checkDnsAvailability.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/cloudServiceNetworkInterface.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/cloudServiceNetworkInterface.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/cloudServiceNetworkInterface.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/cloudServiceNetworkInterface.json
index 1ff12faf3..b1b8b9b01 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/cloudServiceNetworkInterface.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/cloudServiceNetworkInterface.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/cloudServicePublicIpAddress.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/cloudServicePublicIpAddress.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/cloudServicePublicIpAddress.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/cloudServicePublicIpAddress.json
index f69c850a0..0476b5cc8 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/cloudServicePublicIpAddress.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/cloudServicePublicIpAddress.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/cloudServiceSwap.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/cloudServiceSwap.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/cloudServiceSwap.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/cloudServiceSwap.json
index bb6363d9b..6085d0718 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/cloudServiceSwap.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/cloudServiceSwap.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/customIpPrefix.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/customIpPrefix.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/customIpPrefix.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/customIpPrefix.json
index 05f483687..84efe5bc2 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/customIpPrefix.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/customIpPrefix.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/ddosCustomPolicy.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/ddosCustomPolicy.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/ddosCustomPolicy.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/ddosCustomPolicy.json
index 85826b601..1801b704c 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/ddosCustomPolicy.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/ddosCustomPolicy.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/ddosProtectionPlan.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/ddosProtectionPlan.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/ddosProtectionPlan.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/ddosProtectionPlan.json
index c8f01d162..11999a2c0 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/ddosProtectionPlan.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/ddosProtectionPlan.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/dscpConfiguration.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/dscpConfiguration.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/dscpConfiguration.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/dscpConfiguration.json
index 273d47093..7c3966146 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/dscpConfiguration.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/dscpConfiguration.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/endpointService.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/endpointService.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/endpointService.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/endpointService.json
index a7863162b..07c3b4378 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/endpointService.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/endpointService.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/expressRouteCircuit.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/expressRouteCircuit.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/expressRouteCircuit.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/expressRouteCircuit.json
index cfbbdb24b..ed04f2698 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/expressRouteCircuit.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/expressRouteCircuit.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/expressRouteCrossConnection.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/expressRouteCrossConnection.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/expressRouteCrossConnection.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/expressRouteCrossConnection.json
index 3599429b2..5681295b8 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/expressRouteCrossConnection.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/expressRouteCrossConnection.json
@@ -3,7 +3,7 @@
"info": {
"title": "ExpressRouteCrossConnection REST APIs",
"description": "The Microsoft Azure ExpressRouteCrossConnection Resource Provider REST APIs describes the operations for the connectivity provider to provision ExpressRoute circuit, create and modify BGP peering entities and troubleshoot connectivity on customer's ExpressRoute circuit.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/expressRoutePort.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/expressRoutePort.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/expressRoutePort.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/expressRoutePort.json
index 7946f980c..f913e2631 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/expressRoutePort.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/expressRoutePort.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/expressRouteProviderPort.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/expressRouteProviderPort.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/expressRouteProviderPort.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/expressRouteProviderPort.json
index 7f668efff..ce6fb5d0f 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/expressRouteProviderPort.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/expressRouteProviderPort.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/firewallPolicy.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/firewallPolicy.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/firewallPolicy.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/firewallPolicy.json
index cfe82dd6c..a423743ce 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/firewallPolicy.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/firewallPolicy.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
@@ -2575,13 +2575,14 @@
"direction": {
"type": "integer",
"format": "int32",
- "description": "Describes in which direction signature is being enforced: 0 - OutBound, 1 - InBound, 2 - Any, 3 - Internal, 4 - InternalOutbound",
+ "description": "Describes in which direction signature is being enforced: 0 - OutBound, 1 - InBound, 2 - Any, 3 - Internal, 4 - InternalOutbound, 5 - InternalInbound",
"enum": [
0,
1,
2,
3,
- 4
+ 4,
+ 5
],
"x-ms-enum": {
"name": "FirewallPolicyIDPSSignatureDirection",
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/ipAddressManager.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/ipAddressManager.json
new file mode 100644
index 000000000..de26597d3
--- /dev/null
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/ipAddressManager.json
@@ -0,0 +1,1119 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "IPAddressManagerClient - Public Preview",
+ "version": "2024-05-01"
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools": {
+ "get": {
+ "tags": [
+ "IpamPools"
+ ],
+ "summary": "Gets list of Pool resources at Network Manager level.",
+ "operationId": "IpamPools_List",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/NetworkManagerNameParameter"
+ },
+ {
+ "in": "query",
+ "name": "skipToken",
+ "description": "Optional skip token.",
+ "type": "string"
+ },
+ {
+ "in": "query",
+ "name": "skip",
+ "description": "Optional num entries to skip.",
+ "type": "integer",
+ "format": "int32",
+ "default": 0
+ },
+ {
+ "in": "query",
+ "name": "top",
+ "description": "Optional num entries to show.",
+ "type": "integer",
+ "format": "int32",
+ "default": 50
+ },
+ {
+ "in": "query",
+ "name": "sortKey",
+ "description": "Optional key by which to sort.",
+ "type": "string"
+ },
+ {
+ "in": "query",
+ "name": "sortValue",
+ "description": "Optional sort value for pagination.",
+ "type": "string"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "List of IpamPools",
+ "schema": {
+ "$ref": "#/definitions/IpamPoolList"
+ }
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CommonErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "IpamPools_List": {
+ "$ref": "./examples/IpamPools_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}": {
+ "put": {
+ "tags": [
+ "IpamPools"
+ ],
+ "summary": "Creates/Updates the Pool resource.",
+ "operationId": "IpamPools_Create",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/NetworkManagerNameParameter"
+ },
+ {
+ "in": "path",
+ "name": "poolName",
+ "description": "IP Address Manager Pool resource name.",
+ "required": true,
+ "type": "string",
+ "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "body",
+ "description": "Pool resource object to create/update.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/IpamPool"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Pool was updated",
+ "schema": {
+ "$ref": "#/definitions/IpamPool"
+ }
+ },
+ "201": {
+ "description": "Pool was created",
+ "schema": {
+ "$ref": "#/definitions/IpamPool"
+ },
+ "headers": {
+ "Azure-AsyncOperation": {
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CommonErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "IpamPools_Create": {
+ "$ref": "./examples/IpamPools_Create.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "IpamPools"
+ ],
+ "summary": "Updates the specific Pool resource.",
+ "operationId": "IpamPools_Update",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/NetworkManagerNameParameter"
+ },
+ {
+ "in": "path",
+ "name": "poolName",
+ "description": "IP Address Manager Pool resource name.",
+ "required": true,
+ "type": "string",
+ "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "body",
+ "description": "Pool resource object to update partially.",
+ "schema": {
+ "$ref": "#/definitions/IpamPoolUpdate"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Pool was updated",
+ "schema": {
+ "$ref": "#/definitions/IpamPool"
+ }
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CommonErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "IpamPools_Update": {
+ "$ref": "./examples/IpamPools_Update.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "IpamPools"
+ ],
+ "summary": "Gets the specific Pool resource.",
+ "operationId": "IpamPools_Get",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/NetworkManagerNameParameter"
+ },
+ {
+ "in": "path",
+ "name": "poolName",
+ "description": "Pool resource name.",
+ "required": true,
+ "type": "string",
+ "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "IpamPool",
+ "schema": {
+ "$ref": "#/definitions/IpamPool"
+ }
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CommonErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "IpamPools_Get": {
+ "$ref": "./examples/IpamPools_Get.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "IpamPools"
+ ],
+ "summary": "Delete the Pool resource.",
+ "operationId": "IpamPools_Delete",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/NetworkManagerNameParameter"
+ },
+ {
+ "in": "path",
+ "name": "poolName",
+ "description": "Pool resource name.",
+ "required": true,
+ "type": "string",
+ "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Pool delete request accepted and will complete asynchronously",
+ "headers": {
+ "Location": {
+ "type": "string"
+ }
+ }
+ },
+ "204": {
+ "description": "Pool delete request succeeded"
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CommonErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "IpamPools_Delete": {
+ "$ref": "./examples/IpamPools_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}/getPoolUsage": {
+ "post": {
+ "tags": [
+ "IpamPools"
+ ],
+ "summary": "Get the Pool Usage.",
+ "operationId": "IpamPools_GetPoolUsage",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/NetworkManagerNameParameter"
+ },
+ {
+ "in": "path",
+ "name": "poolName",
+ "description": "Pool resource name.",
+ "required": true,
+ "type": "string",
+ "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Show the summary of usage info of ipamPool",
+ "schema": {
+ "$ref": "#/definitions/PoolUsage"
+ }
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CommonErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "IpamPools_GetPoolUsage": {
+ "$ref": "./examples/IpamPools_GetPoolUsage.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}/listAssociatedResources": {
+ "post": {
+ "tags": [
+ "IpamPools"
+ ],
+ "summary": "List Associated Resource in the Pool.",
+ "operationId": "IpamPools_ListAssociatedResources",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/NetworkManagerNameParameter"
+ },
+ {
+ "in": "path",
+ "name": "poolName",
+ "description": "Pool resource name.",
+ "required": true,
+ "type": "string",
+ "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "List of PoolAssociation",
+ "schema": {
+ "$ref": "#/definitions/PoolAssociationList"
+ }
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CommonErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "IpamPools_ListAssociatedResources": {
+ "$ref": "./examples/IpamPools_ListAssociatedResources.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}/staticCidrs": {
+ "get": {
+ "tags": [
+ "StaticCidrs"
+ ],
+ "summary": "Gets list of Static CIDR resources at Network Manager level.",
+ "operationId": "StaticCidrs_List",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/NetworkManagerNameParameter"
+ },
+ {
+ "in": "path",
+ "name": "poolName",
+ "description": "Pool resource name.",
+ "required": true,
+ "type": "string",
+ "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$"
+ },
+ {
+ "in": "query",
+ "name": "skipToken",
+ "description": "Optional skip token.",
+ "type": "string"
+ },
+ {
+ "in": "query",
+ "name": "skip",
+ "description": "Optional num entries to skip.",
+ "type": "integer",
+ "format": "int32",
+ "default": 0
+ },
+ {
+ "in": "query",
+ "name": "top",
+ "description": "Optional num entries to show.",
+ "type": "integer",
+ "format": "int32",
+ "default": 50
+ },
+ {
+ "in": "query",
+ "name": "sortKey",
+ "description": "Optional key by which to sort.",
+ "type": "string"
+ },
+ {
+ "in": "query",
+ "name": "sortValue",
+ "description": "Optional sort value for pagination.",
+ "type": "string"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "List of StaticCidrs",
+ "schema": {
+ "$ref": "#/definitions/StaticCidrList"
+ }
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CommonErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "StaticCidrs_List": {
+ "$ref": "./examples/StaticCidrs_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}/staticCidrs/{staticCidrName}": {
+ "put": {
+ "tags": [
+ "StaticCidrs"
+ ],
+ "summary": "Creates/Updates the Static CIDR resource.",
+ "operationId": "StaticCidrs_Create",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/NetworkManagerNameParameter"
+ },
+ {
+ "in": "path",
+ "name": "poolName",
+ "description": "IP Address Manager Pool resource name.",
+ "required": true,
+ "type": "string",
+ "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$"
+ },
+ {
+ "in": "path",
+ "name": "staticCidrName",
+ "description": "Static Cidr allocation name.",
+ "required": true,
+ "type": "string",
+ "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "body",
+ "description": "StaticCidr resource object to create/update.",
+ "schema": {
+ "$ref": "#/definitions/StaticCidr"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Static CIDR was updated",
+ "schema": {
+ "$ref": "#/definitions/StaticCidr"
+ }
+ },
+ "201": {
+ "description": "Static CIDR was created",
+ "schema": {
+ "$ref": "#/definitions/StaticCidr"
+ }
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CommonErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "StaticCidrs_Create": {
+ "$ref": "./examples/StaticCidrs_Create.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "StaticCidrs"
+ ],
+ "summary": "Gets the specific Static CIDR resource.",
+ "operationId": "StaticCidrs_Get",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/NetworkManagerNameParameter"
+ },
+ {
+ "in": "path",
+ "name": "poolName",
+ "description": "Pool resource name.",
+ "required": true,
+ "type": "string",
+ "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$"
+ },
+ {
+ "in": "path",
+ "name": "staticCidrName",
+ "description": "StaticCidr resource name to retrieve.",
+ "required": true,
+ "type": "string",
+ "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Static CIDR",
+ "schema": {
+ "$ref": "#/definitions/StaticCidr"
+ }
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CommonErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "StaticCidrs_Get": {
+ "$ref": "./examples/StaticCidrs_Get.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "StaticCidrs"
+ ],
+ "summary": "Delete the Static CIDR resource.",
+ "operationId": "StaticCidrs_Delete",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/NetworkManagerNameParameter"
+ },
+ {
+ "in": "path",
+ "name": "poolName",
+ "description": "Pool resource name.",
+ "required": true,
+ "type": "string",
+ "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$"
+ },
+ {
+ "in": "path",
+ "name": "staticCidrName",
+ "description": "StaticCidr resource name to delete.",
+ "required": true,
+ "type": "string",
+ "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Static CIDR delete request accepted and will complete asynchronously",
+ "headers": {
+ "Location": {
+ "type": "string"
+ }
+ }
+ },
+ "204": {
+ "description": "Static CIDR delete request succeeded"
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CommonErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "StaticCidrs_Delete": {
+ "$ref": "./examples/StaticCidrs_Delete.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "IpType": {
+ "description": "Enumeration to indicate the IP type.",
+ "enum": [
+ "IPv4",
+ "IPv6"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "IpType"
+ }
+ },
+ "IpamPool": {
+ "description": "Instance of Pool resource.",
+ "type": "object",
+ "required": [
+ "properties"
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/IpamPoolProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/CommonTrackedResource"
+ }
+ ]
+ },
+ "IpamPoolList": {
+ "description": "List of IpamPool",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IpamPool"
+ }
+ },
+ "nextLink": {
+ "description": "The link used to get the next page of operations.",
+ "type": "string"
+ }
+ }
+ },
+ "IpamPoolProperties": {
+ "description": "Properties of IpamPool resource properties which are specific to the Pool resource.",
+ "required": [
+ "addressPrefixes"
+ ],
+ "type": "object",
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "displayName": {
+ "description": "String representing a friendly name for the resource.",
+ "type": "string"
+ },
+ "ipAddressType": {
+ "description": "List of IP address type for the IpamPool.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IpType"
+ },
+ "readOnly": true,
+ "x-ms-identifiers": []
+ },
+ "parentPoolName": {
+ "description": "String representing parent IpamPool resource name. If empty the IpamPool will be a root pool.",
+ "type": "string"
+ },
+ "addressPrefixes": {
+ "description": "List of IP address prefixes of the resource.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "provisioningState": {
+ "$ref": "#/definitions/ProvisioningState"
+ }
+ }
+ },
+ "IpamPoolUpdate": {
+ "description": "Represents the IpamPool update API request interface.",
+ "type": "object",
+ "properties": {
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "properties": {
+ "$ref": "#/definitions/IpamPoolUpdateProperties"
+ }
+ }
+ },
+ "IpamPoolUpdateProperties": {
+ "description": "Represents the IpamPool update properties.",
+ "type": "object",
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "displayName": {
+ "description": "String representing a friendly name for the resource.",
+ "type": "string"
+ }
+ }
+ },
+ "PoolAssociation": {
+ "description": "IpamPool association information.",
+ "required": [
+ "resourceId"
+ ],
+ "type": "object",
+ "properties": {
+ "resourceId": {
+ "format": "arm-id",
+ "description": "Resource id of the associated Azure resource.",
+ "type": "string"
+ },
+ "poolId": {
+ "format": "arm-id",
+ "description": "IpamPool id for which the resource is associated to.",
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "addressPrefixes": {
+ "description": "List of assigned IP address prefixes in the IpamPool of the associated resource.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ },
+ "reservedPrefixes": {
+ "description": "List of reserved IP address prefixes in the IpamPool of the associated resource.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ },
+ "totalNumberOfIPAddresses": {
+ "description": "Total number of assigned IP addresses of the association.",
+ "type": "string",
+ "readOnly": true
+ },
+ "numberOfReservedIPAddresses": {
+ "description": "Total number of reserved IP addresses of the association.",
+ "type": "string",
+ "readOnly": true
+ },
+ "createdAt": {
+ "format": "date-time",
+ "description": "Creation time of the association.",
+ "type": "string",
+ "readOnly": true
+ },
+ "reservationExpiresAt": {
+ "format": "date-time",
+ "description": "Expire time for IP addresses reserved.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "PoolAssociationList": {
+ "description": "List of PoolAssociation",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PoolAssociation"
+ },
+ "x-ms-identifiers": []
+ },
+ "nextLink": {
+ "description": "The link used to get the next page of operations.",
+ "type": "string"
+ }
+ }
+ },
+ "PoolUsage": {
+ "description": "IpamPool usage information.",
+ "type": "object",
+ "properties": {
+ "addressPrefixes": {
+ "description": "List of IP address prefixes of the resource.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ },
+ "childPools": {
+ "description": "List of IpamPool that are children of this IpamPool.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ResourceBasics"
+ },
+ "readOnly": true,
+ "x-ms-identifiers": [
+ "resourceId"
+ ]
+ },
+ "allocatedAddressPrefixes": {
+ "description": "List of assigned IP address prefixes.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ },
+ "reservedAddressPrefixes": {
+ "description": "List of reserved IP address prefixes. These IP addresses could be reclaimed if not assigned in the given time.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ },
+ "availableAddressPrefixes": {
+ "description": "List of available IP address prefixes.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ },
+ "totalNumberOfIPAddresses": {
+ "description": "Total number of IP addresses managed in the IpamPool.",
+ "type": "string",
+ "readOnly": true
+ },
+ "numberOfAllocatedIPAddresses": {
+ "description": "Total number of assigned IP addresses in the IpamPool.",
+ "type": "string",
+ "readOnly": true
+ },
+ "numberOfReservedIPAddresses": {
+ "description": "Total number of reserved IP addresses in the IpamPool.",
+ "type": "string",
+ "readOnly": true
+ },
+ "numberOfAvailableIPAddresses": {
+ "description": "Total number of available IP addresses in the IpamPool.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ProvisioningState": {
+ "description": "Provisioning states of a resource.",
+ "enum": [
+ "Failed",
+ "Succeeded",
+ "Canceled",
+ "Creating",
+ "Updating",
+ "Deleting"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "ProvisioningState"
+ }
+ },
+ "ResourceBasics": {
+ "description": "Representation of basic resource information.",
+ "type": "object",
+ "properties": {
+ "resourceId": {
+ "format": "arm-id",
+ "description": "ResourceId of the Azure resource.",
+ "type": "string"
+ },
+ "addressPrefixes": {
+ "description": "List of IP address prefixes of the resource.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "StaticCidr": {
+ "description": "Instance of StaticCidr resource.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/StaticCidrProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/CommonProxyResource"
+ }
+ ]
+ },
+ "StaticCidrList": {
+ "description": "List of StaticCidr",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/StaticCidr"
+ }
+ },
+ "nextLink": {
+ "description": "The link used to get the next page of operations.",
+ "type": "string"
+ }
+ }
+ },
+ "StaticCidrProperties": {
+ "description": "Properties of static CIDR resource.",
+ "type": "object",
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "numberOfIPAddressesToAllocate": {
+ "description": "Number of IP addresses to allocate for a static CIDR resource. The IP addresses will be assigned based on IpamPools available space.",
+ "type": "string"
+ },
+ "addressPrefixes": {
+ "description": "List of IP address prefixes of the resource.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "totalNumberOfIPAddresses": {
+ "description": "Total number of IP addresses allocated for the static CIDR resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "$ref": "#/definitions/ProvisioningState"
+ }
+ }
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "flow": "implicit",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ },
+ "description": "Azure Active Directory OAuth2 Flow."
+ }
+ },
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ]
+}
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/ipAllocation.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/ipAllocation.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/ipAllocation.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/ipAllocation.json
index 2cf63fb28..91636fde7 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/ipAllocation.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/ipAllocation.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/ipGroups.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/ipGroups.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/ipGroups.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/ipGroups.json
index 78331f082..7d3d28b9d 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/ipGroups.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/ipGroups.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/loadBalancer.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/loadBalancer.json
similarity index 95%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/loadBalancer.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/loadBalancer.json
index 60f9d13d5..5d7f15365 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/loadBalancer.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/loadBalancer.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
@@ -1461,6 +1461,79 @@
}
}
},
+ "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules/{loadBalancingRuleName}/health": {
+ "post": {
+ "tags": [
+ "LoadBalancers"
+ ],
+ "operationId": "LoadBalancerLoadBalancingRules_Health",
+ "description": "Get health details of a load balancing rule.",
+ "parameters": [
+ {
+ "name": "groupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group.",
+ "pattern": "^[a-z][a-z0-9]*$"
+ },
+ {
+ "name": "loadBalancerName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the load balancer.",
+ "pattern": "^[a-z][a-z0-9]*$"
+ },
+ {
+ "name": "loadBalancingRuleName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the load balancing rule.",
+ "pattern": "^[a-z][a-z0-9]*$"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successful request for query load balancer health per rule.",
+ "schema": {
+ "$ref": "#/definitions/LoadBalancerHealthPerRule"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously.",
+ "headers": {
+ "Location": {
+ "description": "URI to query the status of the long-running operation.",
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Query load balancing rule health": {
+ "$ref": "./examples/LoadBalancerHealth.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}": {
"get": {
"tags": [
@@ -2736,6 +2809,51 @@
},
"description": "Individual port mappings for inbound NAT rule created for backend pool."
},
+ "LoadBalancerHealthPerRule": {
+ "type": "object",
+ "properties": {
+ "up": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Number of backend instances associated to the LB rule that are considered healthy."
+ },
+ "down": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Number of backend instances associated to the LB rule that are considered unhealthy."
+ },
+ "loadBalancerBackendAddresses": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/LoadBalancerHealthPerRulePerBackendAddress"
+ },
+ "description": "Information about the health per rule of the backend addresses."
+ }
+ },
+ "description": "The response for a Health API."
+ },
+ "LoadBalancerHealthPerRulePerBackendAddress": {
+ "type": "object",
+ "properties": {
+ "ipAddress": {
+ "type": "string",
+ "description": "The IP address belonging to the backend address."
+ },
+ "networkInterfaceIPConfigurationId": {
+ "$ref": "./networkInterface.json#/definitions/NetworkInterfaceIPConfiguration",
+ "description": "The id of the network interface ip configuration belonging to the backend address"
+ },
+ "state": {
+ "type": "string",
+ "description": "The current health of the backend instances that is associated to the LB rule."
+ },
+ "reason": {
+ "type": "string",
+ "description": "The explanation of the State"
+ }
+ },
+ "description": "The information about health per rule per backend address."
+ },
"MigrateLoadBalancerToIpBasedRequest": {
"type": "object",
"properties": {
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/natGateway.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/natGateway.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/natGateway.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/natGateway.json
index e4957b64f..944afd801 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/natGateway.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/natGateway.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/network.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/network.json
similarity index 74%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/network.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/network.json
index 8761b9bdb..c2d503263 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/network.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/network.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
@@ -80,6 +80,75 @@
},
"description": "Common error representation."
},
+ "CommonErrorDetail": {
+ "description": "The error detail.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The error code."
+ },
+ "message": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The error message."
+ },
+ "target": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The error target."
+ },
+ "details": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CommonErrorDetail"
+ },
+ "x-ms-identifiers": [
+ "message",
+ "target"
+ ],
+ "description": "The error details."
+ },
+ "additionalInfo": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CommonErrorAdditionalInfo"
+ },
+ "x-ms-identifiers": [],
+ "description": "The error additional info."
+ }
+ }
+ },
+ "CommonErrorResponse": {
+ "title": "Error response",
+ "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).",
+ "type": "object",
+ "properties": {
+ "error": {
+ "description": "The error object.",
+ "$ref": "#/definitions/CommonErrorDetail"
+ }
+ }
+ },
+ "CommonErrorAdditionalInfo": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The additional info type."
+ },
+ "info": {
+ "readOnly": true,
+ "type": "object",
+ "description": "The additional info."
+ }
+ },
+ "description": "The resource management error additional info."
+ },
"CloudError": {
"x-ms-external": true,
"properties": {
@@ -137,6 +206,80 @@
},
"description": "The response body contains the status of the specified asynchronous operation, indicating whether it has succeeded, is in progress, or has failed. Note that this status is distinct from the HTTP status code returned for the Get Operation Status operation itself. If the asynchronous operation succeeded, the response body includes the HTTP status code for the successful request. If the asynchronous operation failed, the response body includes the HTTP status code for the failed request and error information regarding the failure."
},
+ "CommonResource": {
+ "title": "Resource",
+ "description": "Common fields that are returned in the response for all Azure Resource Manager resources",
+ "type": "object",
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "format": "arm-id",
+ "description": "Fully qualified resource ID for the resource. E.g. \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\""
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The name of the resource"
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\""
+ },
+ "systemData": {
+ "readOnly": true,
+ "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.",
+ "$ref": "#/definitions/SystemData"
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "CommonTrackedResource": {
+ "title": "Tracked Resource",
+ "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'",
+ "type": "object",
+ "properties": {
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create",
+ "update"
+ ],
+ "description": "Resource tags."
+ },
+ "location": {
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ],
+ "description": "The geo-location where the resource lives"
+ }
+ },
+ "required": [
+ "location"
+ ],
+ "allOf": [
+ {
+ "$ref": "#/definitions/CommonResource"
+ }
+ ]
+ },
+ "CommonProxyResource": {
+ "title": "Proxy Resource",
+ "description": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CommonResource"
+ }
+ ]
+ },
"Resource": {
"properties": {
"id": {
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkInterface.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkInterface.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkInterface.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkInterface.json
index 6ad07b8b2..3a12ddb66 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkInterface.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkInterface.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
@@ -1147,6 +1147,11 @@
"type": "boolean",
"description": "Whether the virtual machine this nic is attached to supports encryption."
},
+ "defaultOutboundConnectivityEnabled": {
+ "readOnly": true,
+ "type": "boolean",
+ "description": "Whether default outbound connectivity for nic was configured or not."
+ },
"enableAcceleratedNetworking": {
"type": "boolean",
"description": "If the network interface is configured for accelerated networking. Not applicable to VM sizes which require accelerated networking."
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkManager.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkManager.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkManager.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkManager.json
index 2f7cd6ab6..b110e0b36 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkManager.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkManager.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManager",
"description": "The Microsoft Azure Virtual Network Manager API provides a RESTful set of web services that interact with Microsoft Azure Network Manager service to manage your network resources.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
@@ -519,8 +519,7 @@
}
},
"required": [
- "networkManagerScopes",
- "networkManagerScopeAccesses"
+ "networkManagerScopes"
],
"description": "Properties of Managed Network"
},
@@ -713,6 +712,7 @@
"in": "path",
"required": true,
"type": "string",
+ "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$",
"description": "The name of the network manager.",
"x-ms-parameter-location": "method"
},
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkManagerActiveConfiguration.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkManagerActiveConfiguration.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkManagerActiveConfiguration.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkManagerActiveConfiguration.json
index 377eacfa6..939be6269 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkManagerActiveConfiguration.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkManagerActiveConfiguration.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagerActiveConfiguration",
"description": "The Microsoft Azure Network Manager Active Configuration API provides a RESTful set of web services that interact with Microsoft Azure Network Manager service to list all active configuration by network manager.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkManagerConnection.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkManagerConnection.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkManagerConnection.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkManagerConnection.json
index 958530e79..e365331bd 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkManagerConnection.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkManagerConnection.json
@@ -3,7 +3,7 @@
"info": {
"title": "ScopeConnections",
"description": "The Microsoft Azure Virtual Network Manager API provides a RESTful set of web services that interact with Microsoft Azure Network Manager service to manage your network resources.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkManagerConnectivityConfiguration.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkManagerConnectivityConfiguration.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkManagerConnectivityConfiguration.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkManagerConnectivityConfiguration.json
index b4fab7ddd..f030dc4bc 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkManagerConnectivityConfiguration.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkManagerConnectivityConfiguration.json
@@ -3,7 +3,7 @@
"info": {
"title": "ConnectivityConfiguration",
"description": "The Microsoft Azure Virtual Network Manager Connectivity Configuration API provides a RESTful set of web services that interact with Microsoft Azure Network Manager service to manage your network resources.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkManagerEffectiveConfiguration.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkManagerEffectiveConfiguration.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkManagerEffectiveConfiguration.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkManagerEffectiveConfiguration.json
index bf7c391bf..bf760555e 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkManagerEffectiveConfiguration.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkManagerEffectiveConfiguration.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagerEffectiveConfiguration",
"description": "The Microsoft Azure Network Manager effective configuration API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkManagerGroup.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkManagerGroup.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkManagerGroup.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkManagerGroup.json
index 1b86ed00f..5776ed584 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkManagerGroup.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkManagerGroup.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkGroup",
"description": "The Microsoft Azure Network Group API provides a RESTful set of web services that interact with Microsoft Azure Network Manager service to manage your network resources.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkManagerRoutingConfiguration.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkManagerRoutingConfiguration.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkManagerRoutingConfiguration.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkManagerRoutingConfiguration.json
index bdebf932e..d64548d77 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkManagerRoutingConfiguration.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkManagerRoutingConfiguration.json
@@ -2,7 +2,7 @@
"swagger": "2.0",
"info": {
"title": "RoutingConfiguration",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkManagerScopeConnection.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkManagerScopeConnection.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkManagerScopeConnection.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkManagerScopeConnection.json
index bc9270a5a..562911c57 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkManagerScopeConnection.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkManagerScopeConnection.json
@@ -3,7 +3,7 @@
"info": {
"title": "ScopeConnections",
"description": "The Microsoft Azure Virtual Network Manager API provides a RESTful set of web services that interact with Microsoft Azure Network Manager service to manage your network resources.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkManagerSecurityAdminConfiguration.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkManagerSecurityAdminConfiguration.json
similarity index 90%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkManagerSecurityAdminConfiguration.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkManagerSecurityAdminConfiguration.json
index f9d5e9fc4..92e9af174 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkManagerSecurityAdminConfiguration.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkManagerSecurityAdminConfiguration.json
@@ -2,7 +2,7 @@
"swagger": "2.0",
"info": {
"title": "SecurityAdminConfiguration",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
@@ -48,10 +48,10 @@
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "#/parameters/ResourceGroupNameParameter"
+ "$ref": "./networkManager.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/NetworkManagerNameParameter"
+ "$ref": "./networkManager.json#/parameters/NetworkManagerNameParameter"
},
{
"$ref": "#/parameters/ListTopParameter"
@@ -70,7 +70,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "./network.json#/definitions/CloudError"
+ "$ref": "./network.json#/definitions/CommonErrorResponse"
}
}
},
@@ -93,10 +93,10 @@
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "#/parameters/ResourceGroupNameParameter"
+ "$ref": "./networkManager.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/NetworkManagerNameParameter"
+ "$ref": "./networkManager.json#/parameters/NetworkManagerNameParameter"
},
{
"$ref": "#/parameters/SecurityConfigurationParameter"
@@ -118,7 +118,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "./network.json#/definitions/CloudError"
+ "$ref": "./network.json#/definitions/CommonErrorResponse"
}
}
},
@@ -161,13 +161,16 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "./network.json#/definitions/CloudError"
+ "$ref": "./network.json#/definitions/CommonErrorResponse"
}
}
},
"x-ms-examples": {
"Create network manager security admin configuration": {
"$ref": "./examples/NetworkManagerSecurityAdminConfigurationPut.json"
+ },
+ "Create manual-mode security admin configuration": {
+ "$ref": "./examples/NetworkManagerSecurityAdminConfigurationPut_ManualAggregation.json"
}
}
},
@@ -201,7 +204,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "./network.json#/definitions/CloudError"
+ "$ref": "./network.json#/definitions/CommonErrorResponse"
}
}
},
@@ -231,10 +234,10 @@
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "#/parameters/ResourceGroupNameParameter"
+ "$ref": "./networkManager.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/NetworkManagerNameParameter"
+ "$ref": "./networkManager.json#/parameters/NetworkManagerNameParameter"
},
{
"$ref": "#/parameters/SecurityConfigurationParameter"
@@ -256,7 +259,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "./network.json#/definitions/CloudError"
+ "$ref": "./network.json#/definitions/CommonErrorResponse"
}
}
},
@@ -279,10 +282,10 @@
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "#/parameters/ResourceGroupNameParameter"
+ "$ref": "./networkManager.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/NetworkManagerNameParameter"
+ "$ref": "./networkManager.json#/parameters/NetworkManagerNameParameter"
},
{
"$ref": "#/parameters/SecurityConfigurationParameter"
@@ -307,7 +310,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "./network.json#/definitions/CloudError"
+ "$ref": "./network.json#/definitions/CommonErrorResponse"
}
}
},
@@ -350,7 +353,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "./network.json#/definitions/CloudError"
+ "$ref": "./network.json#/definitions/CommonErrorResponse"
}
}
},
@@ -390,7 +393,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "./network.json#/definitions/CloudError"
+ "$ref": "./network.json#/definitions/CommonErrorResponse"
}
}
},
@@ -414,10 +417,10 @@
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "#/parameters/ResourceGroupNameParameter"
+ "$ref": "./networkManager.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/NetworkManagerNameParameter"
+ "$ref": "./networkManager.json#/parameters/NetworkManagerNameParameter"
},
{
"$ref": "#/parameters/SecurityConfigurationParameter"
@@ -448,7 +451,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "./network.json#/definitions/CloudError"
+ "$ref": "./network.json#/definitions/CommonErrorResponse"
}
}
},
@@ -471,10 +474,10 @@
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "#/parameters/ResourceGroupNameParameter"
+ "$ref": "./networkManager.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/NetworkManagerNameParameter"
+ "$ref": "./networkManager.json#/parameters/NetworkManagerNameParameter"
},
{
"$ref": "#/parameters/SecurityConfigurationParameter"
@@ -502,7 +505,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "./network.json#/definitions/CloudError"
+ "$ref": "./network.json#/definitions/CommonErrorResponse"
}
}
},
@@ -548,7 +551,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "./network.json#/definitions/CloudError"
+ "$ref": "./network.json#/definitions/CommonErrorResponse"
}
}
},
@@ -556,8 +559,8 @@
"Create an admin rule": {
"$ref": "./examples/NetworkManagerAdminRulePut.json"
},
- "Create a default admin rule": {
- "$ref": "./examples/NetworkManagerDefaultAdminRulePut.json"
+ "Create a admin rule with network group as source or destination": {
+ "$ref": "./examples/NetworkManagerAdminRulePut_NetworkGroupSource.json"
}
}
},
@@ -591,7 +594,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "./network.json#/definitions/CloudError"
+ "$ref": "./network.json#/definitions/CommonErrorResponse"
}
}
},
@@ -643,9 +646,14 @@
},
"description": "Enum list of network intent policy based services."
},
+ "networkGroupAddressSpaceAggregationOption": {
+ "type": "string",
+ "$ref": "#/definitions/AddressSpaceAggregationOption",
+ "description": "Determine update behavior for changes to network groups referenced within the rules in this configuration."
+ },
"provisioningState": {
"readOnly": true,
- "$ref": "./network.json#/definitions/ProvisioningState",
+ "$ref": "#/definitions/ProvisioningState",
"description": "The provisioning state of the resource."
},
"resourceGuid": {
@@ -747,7 +755,7 @@
},
"provisioningState": {
"readOnly": true,
- "$ref": "./network.json#/definitions/ProvisioningState",
+ "$ref": "#/definitions/ProvisioningState",
"description": "The provisioning state of the resource."
},
"resourceGuid": {
@@ -875,7 +883,7 @@
},
"provisioningState": {
"readOnly": true,
- "$ref": "./network.json#/definitions/ProvisioningState",
+ "$ref": "#/definitions/ProvisioningState",
"description": "The provisioning state of the resource."
},
"resourceGuid": {
@@ -985,7 +993,7 @@
},
"provisioningState": {
"readOnly": true,
- "$ref": "./network.json#/definitions/ProvisioningState",
+ "$ref": "#/definitions/ProvisioningState",
"description": "The provisioning state of the resource."
},
"resourceGuid": {
@@ -996,6 +1004,23 @@
},
"description": "Security default admin rule resource."
},
+ "ProvisioningState": {
+ "description": "Provisioning states of a resource.",
+ "enum": [
+ "Failed",
+ "Succeeded",
+ "Canceled",
+ "Creating",
+ "Updating",
+ "Deleting"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "ProvisioningState"
+ }
+ },
"SecurityConfigurationRuleAccess": {
"type": "string",
"description": "Whether network traffic is allowed or denied.",
@@ -1062,7 +1087,8 @@
"description": "Address prefix type.",
"enum": [
"IPPrefix",
- "ServiceTag"
+ "ServiceTag",
+ "NetworkGroup"
],
"x-ms-enum": {
"name": "AddressPrefixType",
@@ -1084,6 +1110,18 @@
"name": "NetworkIntentPolicyBasedService",
"modelAsString": true
}
+ },
+ "AddressSpaceAggregationOption": {
+ "type": "string",
+ "description": "Option indicating the update behavior of a resource's address prefixes referenced within a network manager configuration.",
+ "enum": [
+ "None",
+ "Manual"
+ ],
+ "x-ms-enum": {
+ "name": "AddressSpaceAggregationOption",
+ "modelAsString": true
+ }
}
},
"parameters": {
@@ -1111,22 +1149,6 @@
"type": "string",
"x-ms-parameter-location": "method"
},
- "ResourceGroupNameParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the resource group.",
- "x-ms-parameter-location": "method"
- },
- "NetworkManagerNameParameter": {
- "name": "networkManagerName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the network manager.",
- "x-ms-parameter-location": "method"
- },
"ListTopParameter": {
"name": "$top",
"description": "An optional query parameter which specifies the maximum number of records to be returned by the server.",
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkManagerSecurityUserConfiguration.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkManagerSecurityUserConfiguration.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkManagerSecurityUserConfiguration.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkManagerSecurityUserConfiguration.json
index 9b78708a3..7d5afa864 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkManagerSecurityUserConfiguration.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkManagerSecurityUserConfiguration.json
@@ -2,7 +2,7 @@
"swagger": "2.0",
"info": {
"title": "SecurityUserConfiguration",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkProfile.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkProfile.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkProfile.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkProfile.json
index 76b64f52c..8128847bb 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkProfile.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkProfile.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkSecurityGroup.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkSecurityGroup.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkSecurityGroup.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkSecurityGroup.json
index d8add1858..6b49a2d1b 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkSecurityGroup.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkSecurityGroup.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkVerifier.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkVerifier.json
new file mode 100644
index 000000000..f732f7a76
--- /dev/null
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkVerifier.json
@@ -0,0 +1,1264 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagerVerifierManagementClient",
+ "version": "2024-05-01"
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces/{workspaceName}/reachabilityAnalysisIntents": {
+ "get": {
+ "tags": [
+ "ReachabilityAnalysisIntents"
+ ],
+ "summary": "Gets list of Reachability Analysis Intents .",
+ "operationId": "ReachabilityAnalysisIntents_List",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/NetworkManagerNameParameter"
+ },
+ {
+ "in": "path",
+ "name": "workspaceName",
+ "description": "Workspace name.",
+ "required": true,
+ "type": "string",
+ "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$"
+ },
+ {
+ "in": "query",
+ "name": "skipToken",
+ "description": "Optional skip token.",
+ "type": "string"
+ },
+ {
+ "in": "query",
+ "name": "skip",
+ "description": "Optional num entries to skip.",
+ "type": "integer",
+ "format": "int32",
+ "default": 0
+ },
+ {
+ "in": "query",
+ "name": "top",
+ "description": "Optional num entries to show.",
+ "type": "integer",
+ "format": "int32",
+ "default": 50
+ },
+ {
+ "in": "query",
+ "name": "sortKey",
+ "description": "Optional key by which to sort.",
+ "type": "string"
+ },
+ {
+ "in": "query",
+ "name": "sortValue",
+ "description": "Optional sort value for pagination.",
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "List of ReachabilityAnalysisIntents",
+ "schema": {
+ "$ref": "#/definitions/ReachabilityAnalysisIntentListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CommonErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "ReachabilityAnalysisIntentList": {
+ "$ref": "./examples/ReachabilityAnalysisIntentList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces/{workspaceName}/reachabilityAnalysisIntents/{reachabilityAnalysisIntentName}": {
+ "get": {
+ "tags": [
+ "ReachabilityAnalysisIntents"
+ ],
+ "summary": "Get the Reachability Analysis Intent.",
+ "operationId": "ReachabilityAnalysisIntents_Get",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/NetworkManagerNameParameter"
+ },
+ {
+ "in": "path",
+ "name": "workspaceName",
+ "description": "Workspace name.",
+ "required": true,
+ "type": "string",
+ "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$"
+ },
+ {
+ "in": "path",
+ "name": "reachabilityAnalysisIntentName",
+ "description": "Reachability Analysis Intent name.",
+ "required": true,
+ "type": "string",
+ "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Get a reachabilityAnalysisIntent",
+ "schema": {
+ "$ref": "#/definitions/ReachabilityAnalysisIntent"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CommonErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ReachabilityAnalysisIntentGet": {
+ "$ref": "./examples/ReachabilityAnalysisIntentGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ReachabilityAnalysisIntents"
+ ],
+ "summary": "Creates Reachability Analysis Intent.",
+ "operationId": "ReachabilityAnalysisIntents_Create",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/NetworkManagerNameParameter"
+ },
+ {
+ "in": "path",
+ "name": "workspaceName",
+ "description": "Workspace name.",
+ "required": true,
+ "type": "string",
+ "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$"
+ },
+ {
+ "in": "path",
+ "name": "reachabilityAnalysisIntentName",
+ "description": "Reachability Analysis Intent name.",
+ "required": true,
+ "type": "string",
+ "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$"
+ },
+ {
+ "in": "body",
+ "name": "body",
+ "description": "Reachability Analysis Intent object to create/update.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ReachabilityAnalysisIntent"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "ReachabilityAnalysisIntent updated.",
+ "schema": {
+ "$ref": "#/definitions/ReachabilityAnalysisIntent"
+ }
+ },
+ "201": {
+ "description": "ReachabilityAnalysisIntent created.",
+ "schema": {
+ "$ref": "#/definitions/ReachabilityAnalysisIntent"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CommonErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ReachabilityAnalysisIntentCreate": {
+ "$ref": "./examples/ReachabilityAnalysisIntentPut.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "ReachabilityAnalysisIntent"
+ ],
+ "summary": "Deletes Reachability Analysis Intent.",
+ "operationId": "ReachabilityAnalysisIntents_Delete",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/NetworkManagerNameParameter"
+ },
+ {
+ "in": "path",
+ "name": "workspaceName",
+ "description": "Workspace name.",
+ "required": true,
+ "type": "string",
+ "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$"
+ },
+ {
+ "in": "path",
+ "name": "reachabilityAnalysisIntentName",
+ "description": "Reachability Analysis Intent name.",
+ "required": true,
+ "type": "string",
+ "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "ReachabilityAnalysisIntent was deleted."
+ },
+ "204": {
+ "description": "ReachabilityAnalysisIntent delete request succeeded."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CommonErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ReachabilityAnalysisIntentDelete": {
+ "$ref": "./examples/ReachabilityAnalysisIntentDelete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces/{workspaceName}/reachabilityAnalysisRuns": {
+ "get": {
+ "tags": [
+ "ReachabilityAnalysisRuns"
+ ],
+ "summary": "Gets list of Reachability Analysis Runs.",
+ "operationId": "ReachabilityAnalysisRuns_List",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/NetworkManagerNameParameter"
+ },
+ {
+ "in": "path",
+ "name": "workspaceName",
+ "description": "Workspace name.",
+ "required": true,
+ "type": "string",
+ "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$"
+ },
+ {
+ "in": "query",
+ "name": "skipToken",
+ "description": "Optional skip token.",
+ "type": "string"
+ },
+ {
+ "in": "query",
+ "name": "skip",
+ "description": "Optional num entries to skip.",
+ "type": "integer",
+ "format": "int32",
+ "default": 0
+ },
+ {
+ "in": "query",
+ "name": "top",
+ "description": "Optional num entries to show.",
+ "type": "integer",
+ "format": "int32",
+ "default": 50
+ },
+ {
+ "in": "query",
+ "name": "sortKey",
+ "description": "Optional key by which to sort.",
+ "type": "string"
+ },
+ {
+ "in": "query",
+ "name": "sortValue",
+ "description": "Optional sort value for pagination.",
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "List of ReachabilityAnalysisRuns",
+ "schema": {
+ "$ref": "#/definitions/ReachabilityAnalysisRunListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CommonErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "ReachabilityAnalysisRunList": {
+ "$ref": "./examples/ReachabilityAnalysisRunList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces/{workspaceName}/reachabilityAnalysisRuns/{reachabilityAnalysisRunName}": {
+ "get": {
+ "tags": [
+ "ReachabilityAnalysisRuns"
+ ],
+ "summary": "Gets Reachability Analysis Run.",
+ "operationId": "ReachabilityAnalysisRuns_Get",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/NetworkManagerNameParameter"
+ },
+ {
+ "in": "path",
+ "name": "workspaceName",
+ "description": "Workspace name.",
+ "required": true,
+ "type": "string",
+ "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$"
+ },
+ {
+ "in": "path",
+ "name": "reachabilityAnalysisRunName",
+ "description": "Reachability Analysis Run name.",
+ "required": true,
+ "type": "string",
+ "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Get a reachabilityAnalysisRun",
+ "schema": {
+ "$ref": "#/definitions/ReachabilityAnalysisRun"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CommonErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ReachabilityAnalysisRunGet": {
+ "$ref": "./examples/ReachabilityAnalysisRunGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ReachabilityAnalysisRuns"
+ ],
+ "summary": "Creates Reachability Analysis Runs.",
+ "operationId": "ReachabilityAnalysisRuns_Create",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/NetworkManagerNameParameter"
+ },
+ {
+ "in": "path",
+ "name": "workspaceName",
+ "description": "Workspace name.",
+ "required": true,
+ "type": "string",
+ "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$"
+ },
+ {
+ "in": "path",
+ "name": "reachabilityAnalysisRunName",
+ "description": "Reachability Analysis Run name.",
+ "required": true,
+ "type": "string",
+ "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$"
+ },
+ {
+ "in": "body",
+ "name": "body",
+ "description": "Analysis Run resource object to create/update.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ReachabilityAnalysisRun"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "ReachabilityAnalysisRun updated.",
+ "schema": {
+ "$ref": "#/definitions/ReachabilityAnalysisRun"
+ }
+ },
+ "201": {
+ "description": "ReachabilityAnalysisRun created and will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/ReachabilityAnalysisRun"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CommonErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ReachabilityAnalysisRunCreate": {
+ "$ref": "./examples/ReachabilityAnalysisRunPut.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "ReachabilityAnalysisRuns"
+ ],
+ "summary": "Deletes Reachability Analysis Run.",
+ "operationId": "ReachabilityAnalysisRuns_Delete",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/NetworkManagerNameParameter"
+ },
+ {
+ "in": "path",
+ "name": "workspaceName",
+ "description": "Workspace name.",
+ "required": true,
+ "type": "string",
+ "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$"
+ },
+ {
+ "in": "path",
+ "name": "reachabilityAnalysisRunName",
+ "description": "Reachability Analysis Run name.",
+ "required": true,
+ "type": "string",
+ "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "ReachabilityAnalysisRun delete request accepted and will complete asynchronously.",
+ "headers": {
+ "Location": {
+ "description": "The URL of the resource used to check the status of the asynchronous operation.",
+ "type": "string"
+ }
+ }
+ },
+ "204": {
+ "description": "ReachabilityAnalysisRun delete request succeeded."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CommonErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "ReachabilityAnalysisRunDelete": {
+ "$ref": "./examples/ReachabilityAnalysisRunDelete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces": {
+ "get": {
+ "tags": [
+ "VerifierWorkspaces"
+ ],
+ "summary": "Gets list of Verifier Workspaces.",
+ "operationId": "VerifierWorkspaces_List",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/NetworkManagerNameParameter"
+ },
+ {
+ "in": "query",
+ "name": "skipToken",
+ "description": "Optional skip token.",
+ "type": "string"
+ },
+ {
+ "in": "query",
+ "name": "skip",
+ "description": "Optional num entries to skip.",
+ "type": "integer",
+ "format": "int32",
+ "default": 0
+ },
+ {
+ "in": "query",
+ "name": "top",
+ "description": "Optional num entries to show.",
+ "type": "integer",
+ "format": "int32",
+ "default": 50
+ },
+ {
+ "in": "query",
+ "name": "sortKey",
+ "description": "Optional key by which to sort.",
+ "type": "string"
+ },
+ {
+ "in": "query",
+ "name": "sortValue",
+ "description": "Optional sort value for pagination.",
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "List of VerifierWorkspaces.",
+ "schema": {
+ "$ref": "#/definitions/VerifierWorkspaceListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CommonErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "VerifierWorkspaceList": {
+ "$ref": "./examples/VerifierWorkspaceList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces/{workspaceName}": {
+ "get": {
+ "tags": [
+ "VerifierWorkspaces"
+ ],
+ "summary": "Gets Verifier Workspace.",
+ "operationId": "VerifierWorkspaces_Get",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/NetworkManagerNameParameter"
+ },
+ {
+ "in": "path",
+ "name": "workspaceName",
+ "description": "Workspace name.",
+ "required": true,
+ "type": "string",
+ "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Get a VerifierWorkspace.",
+ "schema": {
+ "$ref": "#/definitions/VerifierWorkspace"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CommonErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VerifierWorkspaceGet": {
+ "$ref": "./examples/VerifierWorkspaceGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "VerifierWorkspaces"
+ ],
+ "summary": "Creates Verifier Workspace.",
+ "operationId": "VerifierWorkspaces_Create",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/NetworkManagerNameParameter"
+ },
+ {
+ "in": "path",
+ "name": "workspaceName",
+ "description": "Workspace name.",
+ "required": true,
+ "type": "string",
+ "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$"
+ },
+ {
+ "in": "body",
+ "name": "body",
+ "description": "Verifier Workspace object to create/update.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/VerifierWorkspace"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "VerifierWorkspace updated.",
+ "schema": {
+ "$ref": "#/definitions/VerifierWorkspace"
+ }
+ },
+ "201": {
+ "description": "VerifierWorkspace created.",
+ "schema": {
+ "$ref": "#/definitions/VerifierWorkspace"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CommonErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VerifierWorkspaceCreate": {
+ "$ref": "./examples/VerifierWorkspacePut.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "VerifierWorkspaces"
+ ],
+ "summary": "Updates Verifier Workspace.",
+ "operationId": "VerifierWorkspaces_Update",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/NetworkManagerNameParameter"
+ },
+ {
+ "in": "path",
+ "name": "workspaceName",
+ "description": "Workspace name.",
+ "required": true,
+ "type": "string",
+ "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$"
+ },
+ {
+ "in": "body",
+ "name": "body",
+ "description": "Verifier Workspace object to create/update.",
+ "schema": {
+ "$ref": "#/definitions/VerifierWorkspaceUpdate"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "VerifierWorkspace updated.",
+ "schema": {
+ "$ref": "#/definitions/VerifierWorkspace"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CommonErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VerifierWorkspacePatch": {
+ "$ref": "./examples/VerifierWorkspacePatch.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "VerifierWorkspaces"
+ ],
+ "summary": "Deletes Verifier Workspace.",
+ "operationId": "VerifierWorkspaces_Delete",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./networkManager.json#/parameters/NetworkManagerNameParameter"
+ },
+ {
+ "in": "path",
+ "name": "workspaceName",
+ "description": "Workspace name.",
+ "required": true,
+ "type": "string",
+ "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "VerifierWorkspace delete request accepted and will complete asynchronously.",
+ "headers": {
+ "Location": {
+ "description": "The URL of the resource used to check the status of the asynchronous operation.",
+ "type": "string"
+ }
+ }
+ },
+ "204": {
+ "description": "VerifierWorkspace delete request succeeded."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CommonErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "VerifierWorkspaceDelete": {
+ "$ref": "./examples/VerifierWorkspaceDelete.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "IPTraffic": {
+ "required": [
+ "sourceIps",
+ "destinationIps",
+ "sourcePorts",
+ "destinationPorts",
+ "protocols"
+ ],
+ "description": "IP traffic information.",
+ "type": "object",
+ "properties": {
+ "sourceIps": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "description": "Source IP address of the traffic.."
+ },
+ "description": "List of source IP addresses of the traffic.."
+ },
+ "destinationIps": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "description": "Destination IP address of the traffic.."
+ },
+ "description": "List of destination IP addresses of the traffic.."
+ },
+ "sourcePorts": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "description": "The source port."
+ },
+ "description": "The source ports of the traffic."
+ },
+ "destinationPorts": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "description": "The destination port."
+ },
+ "description": "The destination ports of the traffic."
+ },
+ "protocols": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NetworkProtocol",
+ "description": "Network protocol this resource applies to."
+ }
+ }
+ }
+ },
+ "IntentContent": {
+ "required": [
+ "destinationResourceId",
+ "ipTraffic",
+ "sourceResourceId"
+ ],
+ "description": "Intent information.",
+ "type": "object",
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "sourceResourceId": {
+ "format": "arm-id",
+ "type": "string",
+ "description": "Source resource id of the intent."
+ },
+ "destinationResourceId": {
+ "format": "arm-id",
+ "type": "string",
+ "description": "Destination resource id of the intent."
+ },
+ "ipTraffic": {
+ "$ref": "#/definitions/IPTraffic",
+ "description": "IP traffic information."
+ }
+ }
+ },
+ "NetworkProtocol": {
+ "enum": [
+ "Any",
+ "TCP",
+ "UDP",
+ "ICMP"
+ ],
+ "x-ms-enum": {
+ "name": "NetworkProtocol",
+ "modelAsString": true
+ },
+ "description": "Network Protocol.",
+ "type": "string"
+ },
+ "ProvisioningState": {
+ "enum": [
+ "Failed",
+ "Succeeded",
+ "Canceled",
+ "Creating",
+ "Updating",
+ "Deleting"
+ ],
+ "description": "Provisioning states of a resource.",
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true
+ },
+ "type": "string",
+ "readOnly": true
+ },
+ "ReachabilityAnalysisIntentListResult": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ReachabilityAnalysisIntent"
+ },
+ "description": "Gets a page of Reachability Analysis Intents"
+ },
+ "nextLink": {
+ "description": "Gets the URL to get the next page of results.",
+ "type": "string"
+ }
+ },
+ "description": "A list of Reachability Analysis Intents."
+ },
+ "ReachabilityAnalysisIntent": {
+ "description": "Configuration information or intent on which to do the analysis on.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ReachabilityAnalysisIntentProperties"
+ },
+ "systemData": {
+ "readOnly": true,
+ "description": "The system metadata related to this resource.",
+ "$ref": "./network.json#/definitions/SystemData"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/CommonProxyResource"
+ }
+ ]
+ },
+ "ReachabilityAnalysisIntentProperties": {
+ "required": [
+ "destinationResourceId",
+ "ipTraffic",
+ "sourceResourceId"
+ ],
+ "description": "Represents the Reachability Analysis Intent properties.",
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "$ref": "#/definitions/ProvisioningState"
+ },
+ "description": {
+ "type": "string"
+ },
+ "sourceResourceId": {
+ "format": "arm-id",
+ "type": "string",
+ "description": "Source resource id to verify the reachability path of."
+ },
+ "destinationResourceId": {
+ "format": "arm-id",
+ "type": "string",
+ "description": "Destination resource id to verify the reachability path of."
+ },
+ "ipTraffic": {
+ "$ref": "#/definitions/IPTraffic",
+ "description": "IP traffic information."
+ }
+ }
+ },
+ "ReachabilityAnalysisRunListResult": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ReachabilityAnalysisRun"
+ },
+ "description": "Gets a page of Reachability Analysis Runs."
+ },
+ "nextLink": {
+ "description": "Gets the URL to get the next page of results.",
+ "type": "string"
+ }
+ },
+ "description": "A list of Reachability Analysis Run"
+ },
+ "ReachabilityAnalysisRun": {
+ "required": [
+ "properties"
+ ],
+ "description": "Configuration information for analysis run.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ReachabilityAnalysisRunProperties"
+ },
+ "systemData": {
+ "readOnly": true,
+ "description": "The system metadata related to this resource.",
+ "$ref": "./network.json#/definitions/SystemData"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/CommonProxyResource"
+ }
+ ]
+ },
+ "ReachabilityAnalysisRunProperties": {
+ "required": [
+ "intentId"
+ ],
+ "description": "Represents the Reachability Analysis Run properties.",
+ "type": "object",
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "intentId": {
+ "type": "string",
+ "description": "Id of the intent resource to run analysis on."
+ },
+ "intentContent": {
+ "readOnly": true,
+ "$ref": "#/definitions/IntentContent",
+ "description": "Intent information."
+ },
+ "analysisResult": {
+ "type": "string",
+ "readOnly": true
+ },
+ "errorMessage": {
+ "type": "string",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "$ref": "#/definitions/ProvisioningState"
+ }
+ }
+ },
+ "VerifierWorkspaceListResult": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VerifierWorkspace"
+ },
+ "description": "Gets a page of Verifier Workspaces."
+ },
+ "nextLink": {
+ "description": "Gets the URL to get the next page of results.",
+ "type": "string"
+ }
+ },
+ "description": "A list of Verifier Workspace"
+ },
+ "VerifierWorkspace": {
+ "description": "Instance of Verifier Workspace.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/VerifierWorkspaceProperties"
+ },
+ "systemData": {
+ "readOnly": true,
+ "description": "The system metadata related to this resource.",
+ "$ref": "./network.json#/definitions/SystemData"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/CommonTrackedResource"
+ }
+ ]
+ },
+ "VerifierWorkspaceProperties": {
+ "type": "object",
+ "description": "Properties of Verifier Workspace resource.",
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "provisioningState": {
+ "$ref": "#/definitions/ProvisioningState"
+ }
+ }
+ },
+ "VerifierWorkspaceUpdate": {
+ "type": "object",
+ "description": "Represents the VerifierWorkspace update API request interface.",
+ "properties": {
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "properties": {
+ "$ref": "#/definitions/VerifierWorkspaceUpdateProperties"
+ }
+ }
+ },
+ "VerifierWorkspaceUpdateProperties": {
+ "type": "object",
+ "description": "Represents the VerifierWorkspace update properties.",
+ "properties": {
+ "description": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "flow": "implicit",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ },
+ "description": "Azure Active Directory OAuth2 Flow."
+ }
+ },
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ]
+}
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkVirtualAppliance.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkVirtualAppliance.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkVirtualAppliance.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkVirtualAppliance.json
index 0151f38be..cb5759554 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkVirtualAppliance.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkVirtualAppliance.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkWatcher.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkWatcher.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkWatcher.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkWatcher.json
index 5ef350754..34d26143d 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/networkWatcher.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/networkWatcher.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/operation.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/operation.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/operation.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/operation.json
index a17f3972e..1c925cb3b 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/operation.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/operation.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/privateEndpoint.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/privateEndpoint.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/privateEndpoint.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/privateEndpoint.json
index 224b1a665..0c9b49940 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/privateEndpoint.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/privateEndpoint.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/privateLinkService.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/privateLinkService.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/privateLinkService.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/privateLinkService.json
index 7bf26eae5..023574e63 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/privateLinkService.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/privateLinkService.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/publicIpAddress.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/publicIpAddress.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/publicIpAddress.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/publicIpAddress.json
index 3f6c8cfc3..397bbd72b 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/publicIpAddress.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/publicIpAddress.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/publicIpPrefix.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/publicIpPrefix.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/publicIpPrefix.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/publicIpPrefix.json
index c57f756d8..b35589772 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/publicIpPrefix.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/publicIpPrefix.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/routeFilter.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/routeFilter.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/routeFilter.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/routeFilter.json
index dea216b9d..81affda16 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/routeFilter.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/routeFilter.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/routeTable.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/routeTable.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/routeTable.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/routeTable.json
index 70a8729a0..1f02ae5c5 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/routeTable.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/routeTable.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/securityPartnerProvider.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/securityPartnerProvider.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/securityPartnerProvider.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/securityPartnerProvider.json
index 638aeb183..981b3902f 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/securityPartnerProvider.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/securityPartnerProvider.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/serviceCommunity.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/serviceCommunity.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/serviceCommunity.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/serviceCommunity.json
index 555fe3093..35e9ead6f 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/serviceCommunity.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/serviceCommunity.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/serviceEndpointPolicy.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/serviceEndpointPolicy.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/serviceEndpointPolicy.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/serviceEndpointPolicy.json
index 6920034a7..a5d00450b 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/serviceEndpointPolicy.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/serviceEndpointPolicy.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/serviceTags.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/serviceTags.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/serviceTags.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/serviceTags.json
index 1862a2ac6..ac77e5a55 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/serviceTags.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/serviceTags.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/usage.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/usage.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/usage.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/usage.json
index cece37edd..251691737 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/usage.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/usage.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/virtualNetwork.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualNetwork.json
similarity index 98%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/virtualNetwork.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualNetwork.json
index 09b0a7de0..6b2df94cf 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/virtualNetwork.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualNetwork.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
@@ -236,6 +236,9 @@
},
"Create virtual network with encryption": {
"$ref": "./examples/VirtualNetworkCreateWithEncryption.json"
+ },
+ "Create virtual network with ipamPool": {
+ "$ref": "./examples/VirtualNetworkCreateWithIpamPool.json"
}
}
},
@@ -1677,6 +1680,13 @@
"defaultOutboundAccess": {
"type": "boolean",
"description": "Set this property to false to disable default outbound connectivity for all VMs in the subnet. This property can only be set at the time of subnet creation and cannot be updated for an existing subnet."
+ },
+ "ipamPoolPrefixAllocations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IpamPoolPrefixAllocation"
+ },
+ "description": "A list of IPAM Pools for allocating IP address prefixes."
}
},
"description": "Properties of the subnet."
@@ -2078,6 +2088,13 @@
"type": "string"
},
"description": "A list of address blocks reserved for this virtual network in CIDR notation."
+ },
+ "ipamPoolPrefixAllocations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IpamPoolPrefixAllocation"
+ },
+ "description": "A list of IPAM Pools allocating IP address prefixes."
}
},
"description": "AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network."
@@ -2302,6 +2319,35 @@
}
},
"description": "Response for GetVirtualNetworkDdosProtectionStatusOperation."
+ },
+ "IpamPoolPrefixAllocation": {
+ "type": "object",
+ "properties": {
+ "pool": {
+ "type": "object",
+ "x-ms-client-flatten": true,
+ "properties": {
+ "id": {
+ "type": "string",
+ "format": "arm-id",
+ "description": "Resource id of the associated Azure IpamPool resource."
+ }
+ }
+ },
+ "numberOfIpAddresses": {
+ "type": "string",
+ "description": "Number of IP addresses to allocate."
+ },
+ "allocatedAddressPrefixes": {
+ "description": "List of assigned IP address prefixes in the IpamPool of the associated resource.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ }
+ },
+ "description": "IpamPool prefix allocation reference."
}
}
}
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/virtualNetworkGateway.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualNetworkGateway.json
similarity index 89%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/virtualNetworkGateway.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualNetworkGateway.json
index f3de30c62..d5487f278 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/virtualNetworkGateway.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualNetworkGateway.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
@@ -1231,6 +1231,298 @@
}
}
},
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getFailoverAllTestsDetails": {
+ "post": {
+ "tags": [
+ "VirtualNetworkGateways"
+ ],
+ "operationId": "VirtualNetworkGateways_GetFailoverAllTestDetails",
+ "description": "This operation retrieves the details of all the failover tests performed on the gateway for different peering locations",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "virtualNetworkGatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the virtual network gateway."
+ },
+ {
+ "name": "type",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "The type of failover test"
+ },
+ {
+ "name": "fetchLatest",
+ "in": "query",
+ "required": true,
+ "type": "boolean",
+ "description": "Fetch only the latest tests for each peering location"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Failover test details for the gateway",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteFailoverAllTestDetails"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously.",
+ "headers": {
+ "location": {
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VirtualNetworkGatewayGetFailoverAllTestsDetails": {
+ "$ref": "./examples/VirtualNetworkGatewayGetFailoverAllTestsDetails.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getFailoverSingleTestDetails": {
+ "post": {
+ "tags": [
+ "VirtualNetworkGateways"
+ ],
+ "operationId": "VirtualNetworkGateways_GetFailoverSingleTestDetails",
+ "description": "This operation retrieves the details of a particular failover test performed on the gateway based on the test Guid",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "virtualNetworkGatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the virtual network gateway."
+ },
+ {
+ "name": "peeringLocation",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Peering location of the test"
+ },
+ {
+ "name": "failoverTestId",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "The unique Guid value which identifies the test"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Details of the failover test",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteFailoverSingleTestDetailsObject"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously.",
+ "headers": {
+ "location": {
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VirtualNetworkGatewayGetFailoverSingleTestDetails": {
+ "$ref": "./examples/VirtualNetworkGatewayGetFailoverSingleTestDetails.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/startSiteFailoverTest": {
+ "post": {
+ "tags": [
+ "VirtualNetworkGateways"
+ ],
+ "operationId": "VirtualNetworkGateways_StartExpressRouteSiteFailoverSimulation",
+ "description": "This operation starts failover simulation on the gateway for the specified peering location",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "virtualNetworkGatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the virtual network gateway."
+ },
+ {
+ "name": "peeringLocation",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Peering location of the test"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously.",
+ "headers": {
+ "location": {
+ "type": "string"
+ }
+ }
+ },
+ "200": {
+ "description": "Request successful. The operation start failover simulation started on virtual network gateway.",
+ "schema": {
+ "type": "string"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VirtualNetworkGatewayStartSiteFailoverSimulation": {
+ "$ref": "./examples/VirtualNetworkGatewayStartSiteFailoverSimulation.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/stopSiteFailoverTest": {
+ "post": {
+ "tags": [
+ "VirtualNetworkGateways"
+ ],
+ "operationId": "VirtualNetworkGateways_StopExpressRouteSiteFailoverSimulation",
+ "description": "This operation stops failover simulation on the gateway for the specified peering location",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "virtualNetworkGatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the virtual network gateway."
+ },
+ {
+ "name": "stopParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteFailoverStopApiParameters"
+ },
+ "description": "Virtual network gateway stop simulation parameters supplied to stop failover simulation on gateway."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously.",
+ "headers": {
+ "location": {
+ "type": "string"
+ }
+ }
+ },
+ "200": {
+ "description": "Request successful. Started the operation stop failover simulation on virtual network gateway.",
+ "schema": {
+ "type": "string"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VirtualNetworkGatewayStopSiteFailoverSimulation": {
+ "$ref": "./examples/VirtualNetworkGatewayStopSiteFailoverSimulation.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}": {
"put": {
"tags": [
@@ -4447,6 +4739,262 @@
},
"description": "Start packet capture parameters on virtual network gateway."
},
+ "ExpressRouteFailoverAllTestDetails": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ExpressRouteFailoverTestDetails"
+ },
+ "description": "Gateway Failover All Test Details"
+ },
+ "ExpressRouteFailoverTestDetails": {
+ "type": "object",
+ "properties": {
+ "peeringLocation": {
+ "type": "string",
+ "description": "Peering location of the test"
+ },
+ "circuits": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ExpressRouteFailoverCircuitResourceDetails"
+ },
+ "description": "All circuits in the peering location"
+ },
+ "status": {
+ "type": "string",
+ "description": "The current status of the test",
+ "enum": [
+ "NotStarted",
+ "Starting",
+ "Running",
+ "StartFailed",
+ "Stopping",
+ "Completed",
+ "StopFailed",
+ "Invalid",
+ "Expired"
+ ],
+ "x-ms-enum": {
+ "name": "FailoverTestStatus",
+ "modelAsString": true
+ }
+ },
+ "startTime": {
+ "type": "string",
+ "description": "Time when the test was started"
+ },
+ "endTime": {
+ "type": "string",
+ "description": "Time when the test was completed"
+ },
+ "connections": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ExpressRouteFailoverConnectionResourceDetails"
+ },
+ "description": "All connections to the circuits in the peering location"
+ },
+ "testGuid": {
+ "type": "string",
+ "description": "The unique GUID associated with the test"
+ },
+ "testType": {
+ "type": "string",
+ "description": "The type of failover test",
+ "enum": [
+ "SingleSiteFailover",
+ "MultiSiteFailover",
+ "All"
+ ],
+ "x-ms-enum": {
+ "name": "FailoverTestType",
+ "modelAsString": true
+ }
+ },
+ "issues": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of all issues with the test"
+ }
+ },
+ "description": "ExpressRoute failover test details"
+ },
+ "ExpressRouteFailoverCircuitResourceDetails": {
+ "type": "object",
+ "properties": {
+ "nrpResourceUri": {
+ "type": "string",
+ "description": "NRP Resource URI of the circuit",
+ "format": "arm-id"
+ },
+ "name": {
+ "type": "string",
+ "description": "Circuit Name"
+ },
+ "connectionName": {
+ "type": "string",
+ "description": "Connection name associated with the circuit"
+ }
+ }
+ },
+ "ExpressRouteFailoverConnectionResourceDetails": {
+ "type": "object",
+ "properties": {
+ "nrpResourceUri": {
+ "type": "string",
+ "description": "NRP Resource URI of the connection",
+ "format": "arm-id"
+ },
+ "name": {
+ "type": "string",
+ "description": "Connection Name"
+ },
+ "status": {
+ "type": "string",
+ "description": "The current status of the connection",
+ "enum": [
+ "Connected",
+ "Disconnected"
+ ],
+ "x-ms-enum": {
+ "name": "FailoverConnectionStatus",
+ "modelAsString": true
+ }
+ },
+ "lastUpdatedTime": {
+ "type": "string",
+ "description": "Time when the connection was last updated"
+ }
+ }
+ },
+ "ExpressRouteFailoverSingleTestDetailsObject": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ExpressRouteFailoverSingleTestDetails"
+ },
+ "description": "Gateway Failover Single Test Details Object"
+ },
+ "ExpressRouteFailoverSingleTestDetails": {
+ "type": "object",
+ "properties": {
+ "peeringLocation": {
+ "type": "string",
+ "description": "Peering location of the test"
+ },
+ "status": {
+ "type": "string",
+ "description": "The current status of the test",
+ "enum": [
+ "NotStarted",
+ "Starting",
+ "Running",
+ "StartFailed",
+ "Stopping",
+ "Completed",
+ "StopFailed",
+ "Invalid",
+ "Expired"
+ ],
+ "x-ms-enum": {
+ "name": "FailoverTestStatusForSingleTest",
+ "modelAsString": true
+ }
+ },
+ "startTimeUtc": {
+ "type": "string",
+ "description": "Time when the test was started"
+ },
+ "endTimeUtc": {
+ "type": "string",
+ "description": "Time when the test was completed"
+ },
+ "redundantRoutes": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ExpressRouteFailoverRedundantRoute"
+ },
+ "description": "List of routes received from this peering as well as some other peering location"
+ },
+ "nonRedundantRoutes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "List of al the routes that were received only from this peering location"
+ },
+ "wasSimulationSuccessful": {
+ "type": "boolean",
+ "description": "Whether the failover simulation was successful or not"
+ },
+ "failoverConnectionDetails": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FailoverConnectionDetails"
+ },
+ "description": "List of all the failover connections for this peering location"
+ }
+ },
+ "description": "ExpressRoute failover single test details"
+ },
+ "ExpressRouteFailoverRedundantRoute": {
+ "type": "object",
+ "properties": {
+ "peeringLocations": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of all the peering locations for the redundant routes"
+ },
+ "routes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of all the redundant routes in the peering locations"
+ }
+ }
+ },
+ "FailoverConnectionDetails": {
+ "type": "object",
+ "properties": {
+ "failoverConnectionName": {
+ "type": "string",
+ "description": "Name of the failover connection"
+ },
+ "failoverLocation": {
+ "type": "string",
+ "description": "Location of the failover connection"
+ },
+ "isVerified": {
+ "type": "boolean",
+ "description": "Whether the customer was able to establish connectivity through this failover connection or not"
+ }
+ }
+ },
+ "ExpressRouteFailoverStopApiParameters": {
+ "type": "object",
+ "properties": {
+ "peeringLocation": {
+ "type": "string",
+ "description": "Peering location of the test"
+ },
+ "wasSimulationSuccessful": {
+ "type": "boolean",
+ "description": "Whether the failover simulation was successful or not"
+ },
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FailoverConnectionDetails"
+ },
+ "description": "List of all the failover connections for this peering location"
+ }
+ },
+ "description": "Start packet capture parameters on virtual network gateway."
+ },
"IPConfigurationBgpPeeringAddress": {
"properties": {
"ipconfigurationId": {
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/virtualNetworkTap.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualNetworkTap.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/virtualNetworkTap.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualNetworkTap.json
index 697a5d67b..54fdc72e6 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/virtualNetworkTap.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualNetworkTap.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/virtualRouter.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualRouter.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/virtualRouter.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualRouter.json
index 36f218b5b..207ee8e1a 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/virtualRouter.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualRouter.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/virtualWan.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualWan.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/virtualWan.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualWan.json
index cd4aef1a7..d143c70e6 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/virtualWan.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualWan.json
@@ -3,7 +3,7 @@
"info": {
"title": "VirtualWANAsAServiceManagementClient",
"description": "REST API for Azure VirtualWAN As a Service.",
- "version": "2024-03-01"
+ "version": "2024-05-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/vmssNetworkInterface.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/vmssNetworkInterface.json
similarity index 100%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/vmssNetworkInterface.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/vmssNetworkInterface.json
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/vmssPublicIpAddress.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/vmssPublicIpAddress.json
similarity index 100%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/vmssPublicIpAddress.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/vmssPublicIpAddress.json
diff --git a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/webapplicationfirewall.json b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/webapplicationfirewall.json
similarity index 99%
rename from swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/webapplicationfirewall.json
rename to swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/webapplicationfirewall.json
index cf056cbb0..d250c7b84 100644
--- a/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-03-01/webapplicationfirewall.json
+++ b/swagger-specs/network/resource-manager/Microsoft.Network/stable/2024-05-01/webapplicationfirewall.json
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
- "version": "2024-03-01",
+ "version": "2024-05-01",
"title": "WebApplicationFirewallManagement",
"description": "APIs to manage web application firewall rules."
},
diff --git a/swagger-specs/network/resource-manager/api-set.json b/swagger-specs/network/resource-manager/api-set.json
index d08bcddbb..50f72f567 100644
--- a/swagger-specs/network/resource-manager/api-set.json
+++ b/swagger-specs/network/resource-manager/api-set.json
@@ -1 +1 @@
-{"addition_input_file_paths": [], "input_files": ["Microsoft.Network/stable/2024-03-01/applicationGateway.json", "Microsoft.Network/stable/2024-03-01/applicationGatewayWafDynamicManifests.json", "Microsoft.Network/stable/2024-03-01/applicationSecurityGroup.json", "Microsoft.Network/stable/2024-03-01/availableDelegations.json", "Microsoft.Network/stable/2024-03-01/availableServiceAliases.json", "Microsoft.Network/stable/2024-03-01/azureFirewall.json", "Microsoft.Network/stable/2024-03-01/azureFirewallFqdnTag.json", "Microsoft.Network/stable/2024-03-01/azureWebCategory.json", "Microsoft.Network/stable/2024-03-01/bastionHost.json", "Microsoft.Network/stable/2024-03-01/checkDnsAvailability.json", "Microsoft.Network/stable/2024-03-01/cloudServiceNetworkInterface.json", "Microsoft.Network/stable/2024-03-01/cloudServicePublicIpAddress.json", "Microsoft.Network/stable/2024-03-01/cloudServiceSwap.json", "Microsoft.Network/stable/2024-03-01/customIpPrefix.json", "Microsoft.Network/stable/2024-03-01/ddosCustomPolicy.json", "Microsoft.Network/stable/2024-03-01/ddosProtectionPlan.json", "Microsoft.Network/stable/2024-03-01/dscpConfiguration.json", "Microsoft.Network/stable/2024-03-01/endpointService.json", "Microsoft.Network/stable/2024-03-01/expressRouteCircuit.json", "Microsoft.Network/stable/2024-03-01/expressRouteCrossConnection.json", "Microsoft.Network/stable/2024-03-01/expressRoutePort.json", "Microsoft.Network/stable/2024-03-01/expressRouteProviderPort.json", "Microsoft.Network/stable/2024-03-01/firewallPolicy.json", "Microsoft.Network/stable/2024-03-01/ipAllocation.json", "Microsoft.Network/stable/2024-03-01/ipGroups.json", "Microsoft.Network/stable/2024-03-01/loadBalancer.json", "Microsoft.Network/stable/2024-03-01/natGateway.json", "Microsoft.Network/stable/2024-03-01/network.json", "Microsoft.Network/stable/2024-03-01/networkInterface.json", "Microsoft.Network/stable/2024-03-01/networkManager.json", "Microsoft.Network/stable/2024-03-01/networkManagerActiveConfiguration.json", "Microsoft.Network/stable/2024-03-01/networkManagerConnection.json", "Microsoft.Network/stable/2024-03-01/networkManagerConnectivityConfiguration.json", "Microsoft.Network/stable/2024-03-01/networkManagerEffectiveConfiguration.json", "Microsoft.Network/stable/2024-03-01/networkManagerGroup.json", "Microsoft.Network/stable/2024-03-01/networkManagerScopeConnection.json", "Microsoft.Network/stable/2024-03-01/networkManagerSecurityAdminConfiguration.json", "Microsoft.Network/stable/2024-03-01/networkManagerSecurityUserConfiguration.json", "Microsoft.Network/stable/2024-03-01/networkManagerRoutingConfiguration.json", "Microsoft.Network/stable/2024-03-01/networkProfile.json", "Microsoft.Network/stable/2024-03-01/networkSecurityGroup.json", "Microsoft.Network/stable/2024-03-01/networkVirtualAppliance.json", "Microsoft.Network/stable/2024-03-01/networkWatcher.json", "Microsoft.Network/stable/2024-03-01/operation.json", "Microsoft.Network/stable/2024-03-01/privateEndpoint.json", "Microsoft.Network/stable/2024-03-01/privateLinkService.json", "Microsoft.Network/stable/2024-03-01/publicIpAddress.json", "Microsoft.Network/stable/2024-03-01/publicIpPrefix.json", "Microsoft.Network/stable/2024-03-01/routeFilter.json", "Microsoft.Network/stable/2024-03-01/routeTable.json", "Microsoft.Network/stable/2024-03-01/securityPartnerProvider.json", "Microsoft.Network/stable/2024-03-01/serviceCommunity.json", "Microsoft.Network/stable/2024-03-01/serviceEndpointPolicy.json", "Microsoft.Network/stable/2024-03-01/serviceTags.json", "Microsoft.Network/stable/2024-03-01/usage.json", "Microsoft.Network/stable/2024-03-01/virtualNetwork.json", "Microsoft.Network/stable/2024-03-01/virtualNetworkGateway.json", "Microsoft.Network/stable/2024-03-01/virtualNetworkTap.json", "Microsoft.Network/stable/2024-03-01/virtualRouter.json", "Microsoft.Network/stable/2024-03-01/virtualWan.json", "Microsoft.Network/stable/2024-03-01/vmssNetworkInterface.json", "Microsoft.Network/stable/2024-03-01/vmssPublicIpAddress.json", "Microsoft.Network/stable/2024-03-01/webapplicationfirewall.json"], "name": "package-2024-03"}
\ No newline at end of file
+{"addition_input_file_paths": [], "input_files": ["Microsoft.Network/stable/2024-05-01/applicationGateway.json", "Microsoft.Network/stable/2024-05-01/applicationGatewayWafDynamicManifests.json", "Microsoft.Network/stable/2024-05-01/applicationSecurityGroup.json", "Microsoft.Network/stable/2024-05-01/availableDelegations.json", "Microsoft.Network/stable/2024-05-01/availableServiceAliases.json", "Microsoft.Network/stable/2024-05-01/azureFirewall.json", "Microsoft.Network/stable/2024-05-01/azureFirewallFqdnTag.json", "Microsoft.Network/stable/2024-05-01/azureWebCategory.json", "Microsoft.Network/stable/2024-05-01/bastionHost.json", "Microsoft.Network/stable/2024-05-01/checkDnsAvailability.json", "Microsoft.Network/stable/2024-05-01/cloudServiceNetworkInterface.json", "Microsoft.Network/stable/2024-05-01/cloudServicePublicIpAddress.json", "Microsoft.Network/stable/2024-05-01/cloudServiceSwap.json", "Microsoft.Network/stable/2024-05-01/customIpPrefix.json", "Microsoft.Network/stable/2024-05-01/ddosCustomPolicy.json", "Microsoft.Network/stable/2024-05-01/ddosProtectionPlan.json", "Microsoft.Network/stable/2024-05-01/dscpConfiguration.json", "Microsoft.Network/stable/2024-05-01/endpointService.json", "Microsoft.Network/stable/2024-05-01/expressRouteCircuit.json", "Microsoft.Network/stable/2024-05-01/expressRouteCrossConnection.json", "Microsoft.Network/stable/2024-05-01/expressRoutePort.json", "Microsoft.Network/stable/2024-05-01/expressRouteProviderPort.json", "Microsoft.Network/stable/2024-05-01/firewallPolicy.json", "Microsoft.Network/stable/2024-05-01/ipAddressManager.json", "Microsoft.Network/stable/2024-05-01/ipAllocation.json", "Microsoft.Network/stable/2024-05-01/ipGroups.json", "Microsoft.Network/stable/2024-05-01/loadBalancer.json", "Microsoft.Network/stable/2024-05-01/natGateway.json", "Microsoft.Network/stable/2024-05-01/network.json", "Microsoft.Network/stable/2024-05-01/networkInterface.json", "Microsoft.Network/stable/2024-05-01/networkManager.json", "Microsoft.Network/stable/2024-05-01/networkManagerActiveConfiguration.json", "Microsoft.Network/stable/2024-05-01/networkManagerConnection.json", "Microsoft.Network/stable/2024-05-01/networkManagerConnectivityConfiguration.json", "Microsoft.Network/stable/2024-05-01/networkManagerEffectiveConfiguration.json", "Microsoft.Network/stable/2024-05-01/networkManagerGroup.json", "Microsoft.Network/stable/2024-05-01/networkManagerRoutingConfiguration.json", "Microsoft.Network/stable/2024-05-01/networkManagerScopeConnection.json", "Microsoft.Network/stable/2024-05-01/networkManagerSecurityAdminConfiguration.json", "Microsoft.Network/stable/2024-05-01/networkManagerSecurityUserConfiguration.json", "Microsoft.Network/stable/2024-05-01/networkProfile.json", "Microsoft.Network/stable/2024-05-01/networkSecurityGroup.json", "Microsoft.Network/stable/2024-05-01/networkVerifier.json", "Microsoft.Network/stable/2024-05-01/networkVirtualAppliance.json", "Microsoft.Network/stable/2024-05-01/networkWatcher.json", "Microsoft.Network/stable/2024-05-01/operation.json", "Microsoft.Network/stable/2024-05-01/privateEndpoint.json", "Microsoft.Network/stable/2024-05-01/privateLinkService.json", "Microsoft.Network/stable/2024-05-01/publicIpAddress.json", "Microsoft.Network/stable/2024-05-01/publicIpPrefix.json", "Microsoft.Network/stable/2024-05-01/routeFilter.json", "Microsoft.Network/stable/2024-05-01/routeTable.json", "Microsoft.Network/stable/2024-05-01/securityPartnerProvider.json", "Microsoft.Network/stable/2024-05-01/serviceCommunity.json", "Microsoft.Network/stable/2024-05-01/serviceEndpointPolicy.json", "Microsoft.Network/stable/2024-05-01/serviceTags.json", "Microsoft.Network/stable/2024-05-01/usage.json", "Microsoft.Network/stable/2024-05-01/virtualNetwork.json", "Microsoft.Network/stable/2024-05-01/virtualNetworkGateway.json", "Microsoft.Network/stable/2024-05-01/virtualNetworkTap.json", "Microsoft.Network/stable/2024-05-01/virtualRouter.json", "Microsoft.Network/stable/2024-05-01/virtualWan.json", "Microsoft.Network/stable/2024-05-01/vmssNetworkInterface.json", "Microsoft.Network/stable/2024-05-01/vmssPublicIpAddress.json", "Microsoft.Network/stable/2024-05-01/webapplicationfirewall.json"], "name": "package-2024-05"}
\ No newline at end of file
diff --git a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/Clusters.json b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/Clusters.json
deleted file mode 100644
index f018aba61..000000000
--- a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/Clusters.json
+++ /dev/null
@@ -1,520 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Azure Log Analytics",
- "description": "Azure Log Analytics API reference",
- "version": "2020-08-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/clusters": {
- "get": {
- "tags": [
- "Clusters"
- ],
- "x-ms-examples": {
- "ClustersGet": {
- "$ref": "./examples/ClustersListByResourceGroup.json"
- }
- },
- "operationId": "Clusters_ListByResourceGroup",
- "description": "Gets Log Analytics clusters in a resource group.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK response definition.",
- "schema": {
- "$ref": "#/definitions/ClusterListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/clusters": {
- "get": {
- "tags": [
- "Clusters"
- ],
- "x-ms-examples": {
- "ClustersSubscriptionList": {
- "$ref": "./examples/ClustersSubscriptionList.json"
- }
- },
- "operationId": "Clusters_List",
- "description": "Gets the Log Analytics clusters in a subscription.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK response definition.",
- "schema": {
- "$ref": "#/definitions/ClusterListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/clusters/{clusterName}": {
- "put": {
- "tags": [
- "Clusters"
- ],
- "x-ms-examples": {
- "ClustersCreate": {
- "$ref": "./examples/ClustersCreate.json"
- }
- },
- "operationId": "Clusters_CreateOrUpdate",
- "description": "Create or update a Log Analytics cluster.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "name": "clusterName",
- "in": "path",
- "required": true,
- "type": "string",
- "pattern": "^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$",
- "minLength": 4,
- "maxLength": 63,
- "description": "The name of the Log Analytics cluster."
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/Cluster"
- },
- "description": "The parameters required to create or update a Log Analytics cluster."
- }
- ],
- "responses": {
- "202": {
- "description": "Accepted response definition."
- },
- "200": {
- "description": "OK response definition.",
- "schema": {
- "$ref": "#/definitions/Cluster"
- }
- },
- "201": {
- "description": "Created response definition.",
- "schema": {
- "$ref": "#/definitions/Cluster"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true
- },
- "delete": {
- "tags": [
- "Clusters"
- ],
- "x-ms-examples": {
- "ClustersDelete": {
- "$ref": "./examples/ClustersDelete.json"
- }
- },
- "operationId": "Clusters_Delete",
- "description": "Deletes a cluster instance.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "name": "clusterName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Name of the Log Analytics Cluster."
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK response definition."
- },
- "204": {
- "description": "NoContent response definition."
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true
- },
- "get": {
- "tags": [
- "Clusters"
- ],
- "x-ms-examples": {
- "ClustersGet": {
- "$ref": "./examples/ClustersGet.json"
- }
- },
- "operationId": "Clusters_Get",
- "description": "Gets a Log Analytics cluster instance.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "name": "clusterName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Name of the Log Analytics Cluster."
- }
- ],
- "responses": {
- "200": {
- "description": "OK response definition.",
- "schema": {
- "$ref": "#/definitions/Cluster"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "patch": {
- "tags": [
- "Clusters"
- ],
- "x-ms-examples": {
- "ClustersPatch": {
- "$ref": "./examples/ClustersUpdate.json"
- }
- },
- "operationId": "Clusters_Update",
- "description": "Updates a Log Analytics cluster.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "name": "clusterName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Name of the Log Analytics Cluster."
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ClusterPatch"
- },
- "description": "The parameters required to patch a Log Analytics cluster."
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The existing cluster was successfully updated. Check provisioningStatus to see detailed status.",
- "schema": {
- "$ref": "#/definitions/Cluster"
- }
- },
- "202": {
- "description": "Accepted response definition.",
- "headers": {
- "Location": {
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true
- }
- }
- },
- "definitions": {
- "ClusterProperties": {
- "properties": {
- "nextLink": {
- "description": "The link used to get the next page of recommendations.",
- "type": "string"
- },
- "clusterId": {
- "type": "string",
- "readOnly": true,
- "description": "The ID associated with the cluster."
- },
- "provisioningState": {
- "type": "string",
- "readOnly": true,
- "description": "The provisioning state of the cluster.",
- "enum": [
- "Creating",
- "Succeeded",
- "Failed",
- "Canceled",
- "Deleting",
- "ProvisioningAccount",
- "Updating"
- ],
- "x-ms-enum": {
- "name": "ClusterEntityStatus",
- "modelAsString": true
- }
- },
- "keyVaultProperties": {
- "$ref": "#/definitions/keyVaultProperties",
- "description": "The associated key properties."
- }
- },
- "description": "Cluster properties."
- },
- "ClusterPatchProperties": {
- "properties": {
- "keyVaultProperties": {
- "$ref": "#/definitions/keyVaultProperties",
- "description": "The associated key properties."
- }
- },
- "description": "Log Analytics cluster patch properties."
- },
- "ClusterPatch": {
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ClusterPatchProperties",
- "description": "Log Analytics cluster properties."
- },
- "sku": {
- "$ref": "#/definitions/ClusterSku",
- "description": "The sku properties."
- },
- "tags": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "x-ms-mutability": [
- "read",
- "create",
- "update"
- ],
- "description": "Resource tags."
- }
- },
- "description": "The top level Log Analytics cluster resource container.",
- "x-ms-azure-resource": true
- },
- "Cluster": {
- "properties": {
- "identity": {
- "$ref": "#/definitions/Identity",
- "description": "The identity of the resource."
- },
- "sku": {
- "$ref": "#/definitions/ClusterSku",
- "description": "The sku properties."
- },
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ClusterProperties",
- "description": "Log Analytics cluster properties."
- }
- },
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource"
- }
- ],
- "description": "The top level Log Analytics cluster resource container."
- },
- "ClusterListResult": {
- "properties": {
- "nextLink": {
- "description": "The link used to get the next page of recommendations.",
- "type": "string"
- },
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Cluster"
- },
- "description": "A list of Log Analytics clusters."
- }
- },
- "description": "The list clusters operation response."
- },
- "keyVaultProperties": {
- "description": "The key vault properties.",
- "properties": {
- "keyVaultUri": {
- "description": "The Key Vault uri which holds they key associated with the Log Analytics cluster.",
- "type": "string"
- },
- "keyName": {
- "description": "The name of the key associated with the Log Analytics cluster.",
- "type": "string"
- },
- "keyVersion": {
- "description": "The version of the key associated with the Log Analytics cluster.",
- "type": "string"
- }
- }
- },
- "ClusterSku": {
- "description": "The cluster sku definition.",
- "properties": {
- "capacity": {
- "description": "The capacity value",
- "type": "integer",
- "format": "int64"
- },
- "name": {
- "type": "string",
- "description": "The name of the SKU.",
- "enum": [
- "CapacityReservation"
- ],
- "x-ms-enum": {
- "name": "ClusterSkuNameEnum",
- "modelAsString": true
- }
- }
- }
- },
- "Identity": {
- "properties": {
- "principalId": {
- "readOnly": true,
- "type": "string",
- "description": "The principal ID of resource identity."
- },
- "tenantId": {
- "readOnly": true,
- "type": "string",
- "description": "The tenant ID of resource."
- },
- "type": {
- "type": "string",
- "description": "The identity type.",
- "enum": [
- "SystemAssigned",
- "None"
- ],
- "x-ms-enum": {
- "name": "IdentityType",
- "modelAsString": false
- }
- }
- },
- "required": [
- "type"
- ],
- "description": "Identity for the resource."
- }
- },
- "parameters": {}
-}
diff --git a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/Operations.json b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/Operations.json
deleted file mode 100644
index 94061f457..000000000
--- a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/Operations.json
+++ /dev/null
@@ -1,118 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Azure Log Analytics",
- "description": "Azure Log Analytics API reference",
- "version": "2020-08-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/providers/Microsoft.OperationalInsights/operations": {
- "get": {
- "x-ms-examples": {
- "Get specific operation status": {
- "$ref": "./examples/OperationsListByTenant.json"
- }
- },
- "tags": [
- "Operations"
- ],
- "operationId": "Operations_List",
- "description": "Lists all of the available OperationalInsights Rest API operations.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK response definition.",
- "schema": {
- "$ref": "#/definitions/OperationListResult"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- }
- },
- "definitions": {
- "OperationListResult": {
- "description": "Result of the request to list solution operations.",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Operation"
- },
- "description": "List of solution operations supported by the OperationsManagement resource provider."
- },
- "nextLink": {
- "type": "string",
- "readOnly": true,
- "description": "URL to get the next set of operation list results if there are any."
- }
- }
- },
- "Operation": {
- "description": "Supported operation of OperationalInsights resource provider.",
- "properties": {
- "name": {
- "description": "Operation name: {provider}/{resource}/{operation}",
- "type": "string"
- },
- "display": {
- "description": "Display metadata associated with the operation.",
- "properties": {
- "provider": {
- "description": "Service provider: Microsoft OperationsManagement.",
- "type": "string"
- },
- "resource": {
- "description": "Resource on which the operation is performed etc.",
- "type": "string"
- },
- "operation": {
- "description": "Type of operation: get, read, delete, etc.",
- "type": "string"
- },
- "description": {
- "description": "Description of operation",
- "type": "string"
- }
- }
- }
- }
- }
- },
- "parameters": {}
-}
diff --git a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/Tables.json b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/Tables.json
deleted file mode 100644
index a3477a2dc..000000000
--- a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/Tables.json
+++ /dev/null
@@ -1,229 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Azure Log Analytics",
- "description": "Azure Log Analytics API reference",
- "version": "2020-08-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables": {
- "get": {
- "tags": [
- "Tables"
- ],
- "x-ms-examples": {
- "TablesListByWorkspace": {
- "$ref": "./examples/TablesList.json"
- }
- },
- "operationId": "Tables_ListByWorkspace",
- "description": "Gets all the tables for the specified Log Analytics workspace.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK response definition.",
- "schema": {
- "$ref": "#/definitions/TablesListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables/{tableName}": {
- "patch": {
- "tags": [
- "Tables"
- ],
- "x-ms-examples": {
- "TablesSet": {
- "$ref": "./examples/TablesUpdate.json"
- }
- },
- "operationId": "Tables_Update",
- "description": "Updates a Log Analytics workspace table properties.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/TableNameParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/Table"
- },
- "description": "The parameters required to update table properties."
- }
- ],
- "responses": {
- "200": {
- "description": "OK response definition.",
- "schema": {
- "$ref": "#/definitions/Table"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "get": {
- "tags": [
- "Tables"
- ],
- "x-ms-examples": {
- "TablesGet": {
- "$ref": "./examples/TablesGet.json"
- }
- },
- "operationId": "Tables_Get",
- "description": "Gets a Log Analytics workspace table.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/TableNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK response definition.",
- "schema": {
- "$ref": "#/definitions/Table"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "TableProperties": {
- "properties": {
- "retentionInDays": {
- "type": "integer",
- "format": "int32",
- "description": "The data table data retention in days, between 30 and 730. Setting this property to null will default to the workspace retention."
- }
- },
- "description": "Table properties."
- },
- "Table": {
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/TableProperties",
- "description": "Table properties."
- }
- },
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource"
- }
- ],
- "description": "Workspace data table definition."
- },
- "TablesListResult": {
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Table"
- },
- "description": "A list of data tables."
- }
- },
- "description": "The list tables operation response."
- }
- },
- "parameters": {
- "TableNameParameter": {
- "name": "tableName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the table.",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/Workspaces.json b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/Workspaces.json
deleted file mode 100644
index b471ffbd6..000000000
--- a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/Workspaces.json
+++ /dev/null
@@ -1,679 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Azure Log Analytics",
- "description": "Azure Log Analytics API reference",
- "version": "2020-08-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/workspaces": {
- "get": {
- "tags": [
- "Workspaces"
- ],
- "x-ms-examples": {
- "WorkspacesSubscriptionList": {
- "$ref": "./examples/WorkspacesSubscriptionList.json"
- }
- },
- "operationId": "Workspaces_List",
- "description": "Gets the workspaces in a subscription.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK response definition.",
- "schema": {
- "$ref": "#/definitions/WorkspaceListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces": {
- "get": {
- "tags": [
- "Workspaces"
- ],
- "x-ms-examples": {
- "WorkspacesGet": {
- "$ref": "./examples/WorkspacesListByResourceGroup.json"
- }
- },
- "operationId": "Workspaces_ListByResourceGroup",
- "description": "Gets workspaces in a resource group.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK response definition.",
- "schema": {
- "$ref": "#/definitions/WorkspaceListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}": {
- "put": {
- "tags": [
- "Workspaces"
- ],
- "x-ms-examples": {
- "WorkspacesCreate": {
- "$ref": "./examples/WorkspacesCreate.json"
- }
- },
- "operationId": "Workspaces_CreateOrUpdate",
- "description": "Create or update a workspace.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/Workspace"
- },
- "description": "The parameters required to create or update a workspace."
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK response definition.",
- "schema": {
- "$ref": "#/definitions/Workspace"
- }
- },
- "201": {
- "description": "Created response definition.",
- "schema": {
- "$ref": "#/definitions/Workspace"
- }
- },
- "202": {
- "description": "Accepted"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true
- },
- "delete": {
- "tags": [
- "Workspaces"
- ],
- "x-ms-examples": {
- "WorkspacesDelete": {
- "$ref": "./examples/WorkspacesDelete.json"
- }
- },
- "operationId": "Workspaces_Delete",
- "description": "Deletes a workspace resource. To recover the workspace, create it again with the same name, in the same subscription, resource group and location. The name is kept for 14 days and cannot be used for another workspace. To remove the workspace completely and release the name, use the force flag.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "name": "force",
- "in": "query",
- "required": false,
- "type": "boolean",
- "description": "Deletes the workspace without the recovery option. A workspace that was deleted with this flag cannot be recovered."
- }
- ],
- "responses": {
- "200": {
- "description": "OK response definition."
- },
- "202": {
- "description": "Accepted"
- },
- "204": {
- "description": "NoContent response definition."
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true
- },
- "get": {
- "tags": [
- "Workspaces"
- ],
- "x-ms-examples": {
- "WorkspaceGet": {
- "$ref": "./examples/WorkspacesGet.json"
- }
- },
- "operationId": "Workspaces_Get",
- "description": "Gets a workspace instance.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK response definition.",
- "schema": {
- "$ref": "#/definitions/Workspace"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "patch": {
- "tags": [
- "Workspaces"
- ],
- "x-ms-examples": {
- "WorkspacesPatch": {
- "$ref": "./examples/WorkspacesUpdate.json"
- }
- },
- "operationId": "Workspaces_Update",
- "description": "Updates a workspace.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/WorkspacePatch"
- },
- "description": "The parameters required to patch a workspace."
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The existing workspace was successfully updated. Check provisioningStatus to see detailed status.",
- "schema": {
- "$ref": "#/definitions/Workspace"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/deletedWorkspaces": {
- "get": {
- "tags": [
- "DeletedWorkspaces"
- ],
- "x-ms-examples": {
- "WorkspacesSubscriptionList": {
- "$ref": "./examples/WorkspacesSubscriptionList.json"
- }
- },
- "operationId": "DeletedWorkspaces_List",
- "description": "Gets recently deleted workspaces in a subscription, available for recovery.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK response definition.",
- "schema": {
- "$ref": "#/definitions/WorkspaceListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/deletedWorkspaces": {
- "get": {
- "tags": [
- "DeletedWorkspaces"
- ],
- "x-ms-examples": {
- "WorkspacesGet": {
- "$ref": "./examples/WorkspacesListByResourceGroup.json"
- }
- },
- "operationId": "DeletedWorkspaces_ListByResourceGroup",
- "description": "Gets recently deleted workspaces in a resource group, available for recovery.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK response definition.",
- "schema": {
- "$ref": "#/definitions/WorkspaceListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- }
- },
- "definitions": {
- "WorkspaceSku": {
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the SKU.",
- "enum": [
- "Free",
- "Standard",
- "Premium",
- "PerNode",
- "PerGB2018",
- "Standalone",
- "CapacityReservation",
- "LACluster"
- ],
- "x-ms-enum": {
- "name": "WorkspaceSkuNameEnum",
- "modelAsString": true
- }
- },
- "capacityReservationLevel": {
- "type": "integer",
- "format": "int32",
- "description": "The capacity reservation level for this workspace, when CapacityReservation sku is selected."
- },
- "maxCapacityReservationLevel": {
- "type": "integer",
- "format": "int32",
- "description": "The maximum capacity reservation level available for this workspace, when CapacityReservation sku is selected.",
- "readOnly": true
- },
- "lastSkuUpdate": {
- "type": "string",
- "description": "The last time when the sku was updated.",
- "readOnly": true
- }
- },
- "required": [
- "name"
- ],
- "description": "The SKU (tier) of a workspace."
- },
- "WorkspaceCapping": {
- "description": "The daily volume cap for ingestion.",
- "properties": {
- "dailyQuotaGb": {
- "type": "number",
- "format": "double",
- "description": "The workspace daily quota for ingestion."
- },
- "quotaNextResetTime": {
- "type": "string",
- "description": "The time when the quota will be rest.",
- "readOnly": true
- },
- "dataIngestionStatus": {
- "type": "string",
- "readOnly": true,
- "description": "The status of data ingestion for this workspace.",
- "enum": [
- "RespectQuota",
- "ForceOn",
- "ForceOff",
- "OverQuota",
- "SubscriptionSuspended",
- "ApproachingQuota"
- ],
- "x-ms-enum": {
- "name": "DataIngestionStatus",
- "modelAsString": true,
- "values": [
- {
- "value": "RespectQuota",
- "description": "Ingestion enabled following daily cap quota reset, or subscription enablement."
- },
- {
- "value": "ForceOn",
- "description": "Ingestion started following service setting change."
- },
- {
- "value": "ForceOff",
- "description": "Ingestion stopped following service setting change."
- },
- {
- "value": "OverQuota",
- "description": "Reached daily cap quota, ingestion stopped."
- },
- {
- "value": "SubscriptionSuspended",
- "description": "Ingestion stopped following suspended subscription."
- },
- {
- "value": "ApproachingQuota",
- "description": "80% of daily cap quota reached."
- }
- ]
- }
- }
- }
- },
- "WorkspaceProperties": {
- "properties": {
- "provisioningState": {
- "type": "string",
- "description": "The provisioning state of the workspace.",
- "enum": [
- "Creating",
- "Succeeded",
- "Failed",
- "Canceled",
- "Deleting",
- "ProvisioningAccount",
- "Updating"
- ],
- "x-ms-enum": {
- "name": "WorkspaceEntityStatus",
- "modelAsString": true
- }
- },
- "customerId": {
- "type": "string",
- "description": "This is a read-only property. Represents the ID associated with the workspace.",
- "readOnly": true
- },
- "sku": {
- "$ref": "#/definitions/WorkspaceSku",
- "description": "The SKU of the workspace."
- },
- "retentionInDays": {
- "type": "integer",
- "format": "int32",
- "x-nullable": true,
- "description": "The workspace data retention in days. Allowed values are per pricing plan. See pricing tiers documentation for details."
- },
- "workspaceCapping": {
- "$ref": "#/definitions/WorkspaceCapping",
- "description": "The daily volume cap for ingestion."
- },
- "createdDate": {
- "type": "string",
- "description": "Workspace creation date.",
- "readOnly": true
- },
- "modifiedDate": {
- "type": "string",
- "description": "Workspace modification date.",
- "readOnly": true
- },
- "publicNetworkAccessForIngestion": {
- "description": "The network access type for accessing Log Analytics ingestion.",
- "$ref": "#/definitions/PublicNetworkAccessType"
- },
- "publicNetworkAccessForQuery": {
- "description": "The network access type for accessing Log Analytics query.",
- "$ref": "#/definitions/PublicNetworkAccessType"
- },
- "forceCmkForQuery": {
- "type": "boolean",
- "description": "Indicates whether customer managed storage is mandatory for query management."
- },
- "privateLinkScopedResources": {
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/PrivateLinkScopedResource"
- },
- "description": "List of linked private link scope resources."
- },
- "features": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/WorkspaceFeatures",
- "description": "Workspace features."
- }
- },
- "description": "Workspace properties."
- },
- "WorkspaceFeatures": {
- "properties": {},
- "additionalProperties": true,
- "description": "Workspace features."
- },
- "PrivateLinkScopedResource": {
- "properties": {
- "resourceId": {
- "type": "string",
- "description": "The full resource Id of the private link scope resource."
- },
- "scopeId": {
- "type": "string",
- "description": "The private link scope unique Identifier."
- }
- },
- "description": "The private link scope resource reference."
- },
- "Workspace": {
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/WorkspaceProperties",
- "description": "Workspace properties."
- },
- "eTag": {
- "type": "string",
- "description": "The ETag of the workspace."
- }
- },
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource"
- }
- ],
- "description": "The top level Workspace resource container."
- },
- "WorkspacePatch": {
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/WorkspaceProperties",
- "description": "Workspace properties."
- },
- "tags": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "x-ms-mutability": [
- "read",
- "create",
- "update"
- ],
- "description": "Resource tags. Optional."
- }
- },
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/AzureEntityResource"
- }
- ],
- "description": "The top level Workspace resource container."
- },
- "WorkspaceListResult": {
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Workspace"
- },
- "description": "A list of workspaces."
- }
- },
- "description": "The list workspaces operation response."
- },
- "PublicNetworkAccessType": {
- "type": "string",
- "description": "The network access type for operating on the Log Analytics Workspace. By default it is Enabled",
- "default": "Enabled",
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "x-ms-enum": {
- "name": "PublicNetworkAccessType",
- "modelAsString": true,
- "values": [
- {
- "value": "Enabled",
- "description": "Enables connectivity to Log Analytics through public DNS."
- },
- {
- "value": "Disabled",
- "description": "Disables public connectivity to Log Analytics through public DNS."
- }
- ]
- }
- }
- },
- "parameters": {}
-}
diff --git a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2022-10-01/Operations.json b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2022-10-01/Operations.json
deleted file mode 100644
index 98d812bf0..000000000
--- a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2022-10-01/Operations.json
+++ /dev/null
@@ -1,127 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Azure Log Analytics",
- "description": "Azure Log Analytics API reference",
- "version": "2022-10-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/providers/Microsoft.OperationalInsights/operations": {
- "get": {
- "x-ms-examples": {
- "Get specific operation status": {
- "$ref": "./examples/OperationsListByTenant.json"
- }
- },
- "tags": [
- "Operations"
- ],
- "operationId": "Operations_List",
- "description": "Lists all of the available OperationalInsights Rest API operations.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK response definition.",
- "schema": {
- "$ref": "#/definitions/OperationListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- }
- },
- "definitions": {
- "OperationListResult": {
- "description": "Result of the request to list solution operations.",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Operation"
- },
- "x-ms-identifiers": [
- "name"
- ],
- "description": "List of solution operations supported by the OperationsManagement resource provider."
- },
- "nextLink": {
- "type": "string",
- "readOnly": true,
- "description": "URL to get the next set of operation list results if there are any."
- }
- }
- },
- "Operation": {
- "description": "Supported operation of OperationalInsights resource provider.",
- "properties": {
- "name": {
- "description": "Operation name: {provider}/{resource}/{operation}",
- "type": "string"
- },
- "display": {
- "description": "Display metadata associated with the operation.",
- "properties": {
- "provider": {
- "description": "Service provider: Microsoft OperationsManagement.",
- "type": "string"
- },
- "resource": {
- "description": "Resource on which the operation is performed etc.",
- "type": "string"
- },
- "operation": {
- "description": "Type of operation: get, read, delete, etc.",
- "type": "string"
- },
- "description": {
- "description": "Description of operation",
- "type": "string"
- }
- }
- }
- }
- }
- },
- "parameters": {}
-}
diff --git a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2022-10-01/Workspaces.json b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2022-10-01/Workspaces.json
deleted file mode 100644
index e853f83a3..000000000
--- a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2022-10-01/Workspaces.json
+++ /dev/null
@@ -1,786 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Azure Log Analytics",
- "description": "Azure Log Analytics API reference",
- "version": "2022-10-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/workspaces": {
- "get": {
- "tags": [
- "Workspaces"
- ],
- "x-ms-examples": {
- "WorkspacesSubscriptionList": {
- "$ref": "./examples/WorkspacesSubscriptionList.json"
- }
- },
- "operationId": "Workspaces_List",
- "description": "Gets the workspaces in a subscription.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK response definition.",
- "schema": {
- "$ref": "#/definitions/WorkspaceListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces": {
- "get": {
- "tags": [
- "Workspaces"
- ],
- "x-ms-examples": {
- "WorkspacesGet": {
- "$ref": "./examples/WorkspacesListByResourceGroup.json"
- }
- },
- "operationId": "Workspaces_ListByResourceGroup",
- "description": "Gets workspaces in a resource group.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK response definition.",
- "schema": {
- "$ref": "#/definitions/WorkspaceListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}": {
- "put": {
- "tags": [
- "Workspaces"
- ],
- "x-ms-examples": {
- "WorkspacesCreate": {
- "$ref": "./examples/WorkspacesCreate.json"
- }
- },
- "operationId": "Workspaces_CreateOrUpdate",
- "description": "Create or update a workspace.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/Workspace"
- },
- "description": "The parameters required to create or update a workspace."
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK response definition.",
- "schema": {
- "$ref": "#/definitions/Workspace"
- }
- },
- "201": {
- "description": "Created response definition.",
- "schema": {
- "$ref": "#/definitions/Workspace"
- }
- },
- "202": {
- "description": "Accepted"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true
- },
- "delete": {
- "tags": [
- "Workspaces"
- ],
- "x-ms-examples": {
- "WorkspacesDelete": {
- "$ref": "./examples/WorkspacesDelete.json"
- }
- },
- "operationId": "Workspaces_Delete",
- "description": "Deletes a workspace resource. To recover the workspace, create it again with the same name, in the same subscription, resource group and location. The name is kept for 14 days and cannot be used for another workspace. To remove the workspace completely and release the name, use the force flag.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "name": "force",
- "in": "query",
- "required": false,
- "type": "boolean",
- "description": "Deletes the workspace without the recovery option. A workspace that was deleted with this flag cannot be recovered."
- }
- ],
- "responses": {
- "200": {
- "description": "OK response definition."
- },
- "202": {
- "description": "Accepted"
- },
- "204": {
- "description": "NoContent response definition."
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true
- },
- "get": {
- "tags": [
- "Workspaces"
- ],
- "x-ms-examples": {
- "WorkspaceGet": {
- "$ref": "./examples/WorkspacesGet.json"
- }
- },
- "operationId": "Workspaces_Get",
- "description": "Gets a workspace instance.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK response definition.",
- "schema": {
- "$ref": "#/definitions/Workspace"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "patch": {
- "tags": [
- "Workspaces"
- ],
- "x-ms-examples": {
- "WorkspacesPatch": {
- "$ref": "./examples/WorkspacesUpdate.json"
- }
- },
- "operationId": "Workspaces_Update",
- "description": "Updates a workspace.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/WorkspacePatch"
- },
- "description": "The parameters required to patch a workspace."
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The existing workspace was successfully updated. Check provisioningStatus to see detailed status.",
- "schema": {
- "$ref": "#/definitions/Workspace"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/deletedWorkspaces": {
- "get": {
- "tags": [
- "DeletedWorkspaces"
- ],
- "x-ms-examples": {
- "WorkspacesSubscriptionList": {
- "$ref": "./examples/WorkspacesSubscriptionList.json"
- }
- },
- "operationId": "DeletedWorkspaces_List",
- "description": "Gets recently deleted workspaces in a subscription, available for recovery.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK response definition.",
- "schema": {
- "$ref": "#/definitions/WorkspaceListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/deletedWorkspaces": {
- "get": {
- "tags": [
- "DeletedWorkspaces"
- ],
- "x-ms-examples": {
- "WorkspacesGet": {
- "$ref": "./examples/WorkspacesListByResourceGroup.json"
- }
- },
- "operationId": "DeletedWorkspaces_ListByResourceGroup",
- "description": "Gets recently deleted workspaces in a resource group, available for recovery.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK response definition.",
- "schema": {
- "$ref": "#/definitions/WorkspaceListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- }
- },
- "definitions": {
- "WorkspaceSku": {
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the SKU.",
- "enum": [
- "Free",
- "Standard",
- "Premium",
- "PerNode",
- "PerGB2018",
- "Standalone",
- "CapacityReservation",
- "LACluster"
- ],
- "x-ms-enum": {
- "name": "WorkspaceSkuNameEnum",
- "modelAsString": true
- }
- },
- "capacityReservationLevel": {
- "type": "integer",
- "format": "int32",
- "description": "The capacity reservation level in GB for this workspace, when CapacityReservation sku is selected.",
- "enum": [
- 100,
- 200,
- 300,
- 400,
- 500,
- 1000,
- 2000,
- 5000
- ],
- "x-ms-enum": {
- "name": "CapacityReservationLevel"
- }
- },
- "lastSkuUpdate": {
- "type": "string",
- "description": "The last time when the sku was updated.",
- "readOnly": true
- }
- },
- "required": [
- "name"
- ],
- "description": "The SKU (tier) of a workspace."
- },
- "WorkspaceCapping": {
- "description": "The daily volume cap for ingestion.",
- "properties": {
- "dailyQuotaGb": {
- "type": "number",
- "format": "double",
- "description": "The workspace daily quota for ingestion."
- },
- "quotaNextResetTime": {
- "type": "string",
- "description": "The time when the quota will be rest.",
- "readOnly": true
- },
- "dataIngestionStatus": {
- "type": "string",
- "readOnly": true,
- "description": "The status of data ingestion for this workspace.",
- "enum": [
- "RespectQuota",
- "ForceOn",
- "ForceOff",
- "OverQuota",
- "SubscriptionSuspended",
- "ApproachingQuota"
- ],
- "x-ms-enum": {
- "name": "DataIngestionStatus",
- "modelAsString": true,
- "values": [
- {
- "value": "RespectQuota",
- "description": "Ingestion enabled following daily cap quota reset, or subscription enablement."
- },
- {
- "value": "ForceOn",
- "description": "Ingestion started following service setting change."
- },
- {
- "value": "ForceOff",
- "description": "Ingestion stopped following service setting change."
- },
- {
- "value": "OverQuota",
- "description": "Reached daily cap quota, ingestion stopped."
- },
- {
- "value": "SubscriptionSuspended",
- "description": "Ingestion stopped following suspended subscription."
- },
- {
- "value": "ApproachingQuota",
- "description": "80% of daily cap quota reached."
- }
- ]
- }
- }
- }
- },
- "WorkspaceProperties": {
- "properties": {
- "provisioningState": {
- "type": "string",
- "description": "The provisioning state of the workspace.",
- "readOnly": true,
- "enum": [
- "Creating",
- "Succeeded",
- "Failed",
- "Canceled",
- "Deleting",
- "ProvisioningAccount",
- "Updating"
- ],
- "x-ms-enum": {
- "name": "WorkspaceEntityStatus",
- "modelAsString": true
- }
- },
- "customerId": {
- "type": "string",
- "description": "This is a read-only property. Represents the ID associated with the workspace.",
- "readOnly": true
- },
- "sku": {
- "$ref": "#/definitions/WorkspaceSku",
- "description": "The SKU of the workspace."
- },
- "retentionInDays": {
- "type": "integer",
- "format": "int32",
- "x-nullable": true,
- "description": "The workspace data retention in days. Allowed values are per pricing plan. See pricing tiers documentation for details."
- },
- "workspaceCapping": {
- "$ref": "#/definitions/WorkspaceCapping",
- "description": "The daily volume cap for ingestion."
- },
- "createdDate": {
- "type": "string",
- "description": "Workspace creation date.",
- "readOnly": true
- },
- "modifiedDate": {
- "type": "string",
- "description": "Workspace modification date.",
- "readOnly": true
- },
- "publicNetworkAccessForIngestion": {
- "description": "The network access type for accessing Log Analytics ingestion.",
- "$ref": "#/definitions/PublicNetworkAccessType"
- },
- "publicNetworkAccessForQuery": {
- "description": "The network access type for accessing Log Analytics query.",
- "$ref": "#/definitions/PublicNetworkAccessType"
- },
- "forceCmkForQuery": {
- "type": "boolean",
- "description": "Indicates whether customer managed storage is mandatory for query management."
- },
- "privateLinkScopedResources": {
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/PrivateLinkScopedResource"
- },
- "x-ms-identifiers": [
- "resourceId"
- ],
- "description": "List of linked private link scope resources."
- },
- "features": {
- "$ref": "#/definitions/WorkspaceFeatures",
- "description": "Workspace features."
- },
- "defaultDataCollectionRuleResourceId": {
- "type": "string",
- "description": "The resource ID of the default Data Collection Rule to use for this workspace. Expected format is - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dcrName}."
- }
- },
- "description": "Workspace properties."
- },
- "WorkspaceFeatures": {
- "properties": {
- "enableDataExport": {
- "type": "boolean",
- "x-nullable": true,
- "description": "Flag that indicate if data should be exported."
- },
- "immediatePurgeDataOn30Days": {
- "type": "boolean",
- "x-nullable": true,
- "description": "Flag that describes if we want to remove the data after 30 days."
- },
- "enableLogAccessUsingOnlyResourcePermissions": {
- "type": "boolean",
- "x-nullable": true,
- "description": "Flag that indicate which permission to use - resource or workspace or both."
- },
- "clusterResourceId": {
- "type": "string",
- "x-nullable": true,
- "description": "Dedicated LA cluster resourceId that is linked to the workspaces."
- },
- "disableLocalAuth": {
- "type": "boolean",
- "x-nullable": true,
- "description": "Disable Non-AAD based Auth."
- }
- },
- "additionalProperties": true,
- "description": "Workspace features."
- },
- "Identity": {
- "properties": {
- "principalId": {
- "readOnly": true,
- "type": "string",
- "description": "The principal ID of resource identity."
- },
- "tenantId": {
- "readOnly": true,
- "type": "string",
- "description": "The tenant ID of resource."
- },
- "type": {
- "type": "string",
- "description": "Type of managed service identity.",
- "enum": [
- "SystemAssigned",
- "UserAssigned",
- "None"
- ],
- "x-ms-enum": {
- "name": "IdentityType",
- "modelAsString": false
- }
- },
- "userAssignedIdentities": {
- "description": "The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
- "type": "object",
- "additionalProperties": {
- "$ref": "#/definitions/UserIdentityProperties"
- }
- }
- },
- "required": [
- "type"
- ],
- "type": "object",
- "description": "Identity for the resource."
- },
- "UserIdentityProperties": {
- "type": "object",
- "description": "User assigned identity properties.",
- "properties": {
- "principalId": {
- "readOnly": true,
- "description": "The principal id of user assigned identity.",
- "type": "string"
- },
- "clientId": {
- "readOnly": true,
- "description": "The client id of user assigned identity.",
- "type": "string"
- }
- }
- },
- "PrivateLinkScopedResource": {
- "properties": {
- "resourceId": {
- "type": "string",
- "description": "The full resource Id of the private link scope resource."
- },
- "scopeId": {
- "type": "string",
- "description": "The private link scope unique Identifier."
- }
- },
- "description": "The private link scope resource reference."
- },
- "Workspace": {
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/WorkspaceProperties",
- "description": "Workspace properties."
- },
- "identity": {
- "$ref": "#/definitions/Identity",
- "description": "The identity of the resource."
- },
- "systemData": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
- "readOnly": true
- },
- "etag": {
- "type": "string",
- "description": "The etag of the workspace."
- }
- },
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource"
- }
- ],
- "description": "The top level Workspace resource container."
- },
- "WorkspacePatch": {
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/WorkspaceProperties",
- "description": "Workspace properties."
- },
- "identity": {
- "$ref": "#/definitions/Identity",
- "description": "The identity of the resource."
- },
- "tags": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "x-ms-mutability": [
- "read",
- "create",
- "update"
- ],
- "description": "Resource tags. Optional."
- }
- },
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/AzureEntityResource"
- }
- ],
- "description": "The top level Workspace resource container."
- },
- "WorkspaceListResult": {
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Workspace"
- },
- "description": "A list of workspaces."
- }
- },
- "description": "The list workspaces operation response."
- },
- "PublicNetworkAccessType": {
- "type": "string",
- "description": "The network access type for operating on the Log Analytics Workspace. By default it is Enabled",
- "default": "Enabled",
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "x-ms-enum": {
- "name": "PublicNetworkAccessType",
- "modelAsString": true,
- "values": [
- {
- "value": "Enabled",
- "description": "Enables connectivity to Log Analytics through public DNS."
- },
- {
- "value": "Disabled",
- "description": "Disables public connectivity to Log Analytics through public DNS."
- }
- ]
- }
- }
- },
- "parameters": {}
-}
diff --git a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/AvailableServiceTiers.json b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/AvailableServiceTiers.json
similarity index 99%
rename from swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/AvailableServiceTiers.json
rename to swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/AvailableServiceTiers.json
index 796f603de..863b07a08 100644
--- a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/AvailableServiceTiers.json
+++ b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/AvailableServiceTiers.json
@@ -3,7 +3,7 @@
"info": {
"title": "Azure Log Analytics",
"description": "Azure Log Analytics API reference",
- "version": "2020-08-01"
+ "version": "2023-09-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2022-10-01/Clusters.json b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/Clusters.json
similarity index 99%
rename from swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2022-10-01/Clusters.json
rename to swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/Clusters.json
index 3f7f66bd6..82746d1e5 100644
--- a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2022-10-01/Clusters.json
+++ b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/Clusters.json
@@ -3,7 +3,7 @@
"info": {
"title": "Azure Log Analytics",
"description": "Azure Log Analytics API reference",
- "version": "2022-10-01"
+ "version": "2023-09-01"
},
"host": "management.azure.com",
"schemes": [
@@ -571,6 +571,7 @@
"properties": {
"workspaceId": {
"readOnly": true,
+ "format": "uuid",
"description": "Associated workspace immutable id.",
"type": "string"
},
diff --git a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/DataExports.json b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/DataExports.json
similarity index 99%
rename from swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/DataExports.json
rename to swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/DataExports.json
index e6b92bf16..50c06a20e 100644
--- a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/DataExports.json
+++ b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/DataExports.json
@@ -3,7 +3,7 @@
"info": {
"title": "Azure Log Analytics",
"description": "Azure Log Analytics API reference",
- "version": "2020-08-01"
+ "version": "2023-09-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/DataSources.json b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/DataSources.json
similarity index 99%
rename from swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/DataSources.json
rename to swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/DataSources.json
index 44fe3b78e..c72b3fe6b 100644
--- a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/DataSources.json
+++ b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/DataSources.json
@@ -3,7 +3,7 @@
"info": {
"title": "Azure Log Analytics",
"description": "Azure Log Analytics API reference",
- "version": "2020-08-01"
+ "version": "2023-09-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/Gateways.json b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/Gateways.json
similarity index 98%
rename from swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/Gateways.json
rename to swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/Gateways.json
index 18164ddda..404210491 100644
--- a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/Gateways.json
+++ b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/Gateways.json
@@ -3,7 +3,7 @@
"info": {
"title": "Azure Log Analytics",
"description": "Azure Log Analytics API reference",
- "version": "2020-08-01"
+ "version": "2023-09-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/IntelligencePacks.json b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/IntelligencePacks.json
similarity index 99%
rename from swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/IntelligencePacks.json
rename to swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/IntelligencePacks.json
index 806fab92c..64826b3d8 100644
--- a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/IntelligencePacks.json
+++ b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/IntelligencePacks.json
@@ -3,7 +3,7 @@
"info": {
"title": "Azure Log Analytics",
"description": "Azure Log Analytics API reference",
- "version": "2020-08-01"
+ "version": "2023-09-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/LinkedServices.json b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/LinkedServices.json
similarity index 99%
rename from swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/LinkedServices.json
rename to swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/LinkedServices.json
index 84b5f4b52..dd7ba8c85 100644
--- a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/LinkedServices.json
+++ b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/LinkedServices.json
@@ -3,7 +3,7 @@
"info": {
"title": "Azure Log Analytics",
"description": "Azure Log Analytics API reference",
- "version": "2020-08-01"
+ "version": "2023-09-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/LinkedStorageAccounts.json
similarity index 99%
rename from swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json
rename to swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/LinkedStorageAccounts.json
index cd7f6152a..9a8a87be0 100644
--- a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json
+++ b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/LinkedStorageAccounts.json
@@ -3,7 +3,7 @@
"info": {
"title": "Azure Log Analytics",
"description": "Azure Log Analytics API reference",
- "version": "2020-08-01"
+ "version": "2023-09-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/ManagementGroups.json b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/ManagementGroups.json
similarity index 99%
rename from swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/ManagementGroups.json
rename to swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/ManagementGroups.json
index 6ceb2386c..c6ecbbf56 100644
--- a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/ManagementGroups.json
+++ b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/ManagementGroups.json
@@ -3,7 +3,7 @@
"info": {
"title": "Azure Log Analytics",
"description": "Azure Log Analytics API reference",
- "version": "2020-08-01"
+ "version": "2023-09-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/OperationStatuses.json b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/OperationStatuses.json
similarity index 99%
rename from swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/OperationStatuses.json
rename to swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/OperationStatuses.json
index 2734fa3d1..8e81f6065 100644
--- a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/OperationStatuses.json
+++ b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/OperationStatuses.json
@@ -3,7 +3,7 @@
"info": {
"title": "Azure Log Analytics",
"description": "Azure Log Analytics API reference",
- "version": "2020-08-01"
+ "version": "2023-09-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2019-09-01/QueryPackQueries.json b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/QueryPackQueries.json
similarity index 84%
rename from swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2019-09-01/QueryPackQueries.json
rename to swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/QueryPackQueries.json
index e731707a8..600d5bfcd 100644
--- a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2019-09-01/QueryPackQueries.json
+++ b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/QueryPackQueries.json
@@ -3,7 +3,7 @@
"info": {
"title": "Azure Log Analytics Query Packs",
"description": "Azure Log Analytics API reference for management of saved Queries within Query Packs.",
- "version": "2019-09-01"
+ "version": "2023-09-01"
},
"host": "management.azure.com",
"schemes": [
@@ -40,16 +40,16 @@
"operationId": "Queries_List",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/QueryPackNameParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/MaxItemCountParameter"
@@ -91,16 +91,16 @@
"operationId": "Queries_Search",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/QueryPackNameParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/MaxItemCountParameter"
@@ -151,10 +151,10 @@
"operationId": "Queries_Get",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/QueryPackNameParameter"
@@ -163,7 +163,7 @@
"$ref": "#/parameters/QueryIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
@@ -191,10 +191,10 @@
"operationId": "Queries_Put",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/QueryPackNameParameter"
@@ -203,7 +203,7 @@
"$ref": "#/parameters/QueryIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
},
{
"name": "QueryPayload",
@@ -240,10 +240,10 @@
"operationId": "Queries_Update",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/QueryPackNameParameter"
@@ -252,7 +252,7 @@
"$ref": "#/parameters/QueryIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
},
{
"name": "QueryPayload",
@@ -289,10 +289,10 @@
"operationId": "Queries_Delete",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/QueryPackNameParameter"
@@ -301,7 +301,7 @@
"$ref": "#/parameters/QueryIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
@@ -327,32 +327,6 @@
}
},
"definitions": {
- "AzureResourceProperties": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource Id"
- },
- "name": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource name"
- },
- "type": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource type"
- },
- "systemData": {
- "$ref": "#/definitions/SystemData",
- "readOnly": true,
- "description": "Read only system data"
- }
- },
- "description": "An Azure resource QueryPack-Query object"
- },
"LogAnalyticsQueryPackQuery": {
"type": "object",
"properties": {
@@ -364,7 +338,7 @@
},
"allOf": [
{
- "$ref": "#/definitions/AzureResourceProperties"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
}
],
"description": "A Log Analytics QueryPack-Query definition.",
@@ -521,52 +495,6 @@
"description": "The URI to get the next set of Log Analytics QueryPack definitions if too many QueryPack-Queries where returned in the result set."
}
}
- },
- "SystemData": {
- "description": "Read only system data",
- "type": "object",
- "properties": {
- "createdBy": {
- "type": "string",
- "description": "An identifier for the identity that created the resource"
- },
- "createdByType": {
- "$ref": "#/definitions/IdentityType",
- "description": "The type of identity that created the resource"
- },
- "createdAt": {
- "type": "string",
- "format": "date-time",
- "description": "The timestamp of resource creation (UTC)"
- },
- "lastModifiedBy": {
- "type": "string",
- "description": "An identifier for the identity that last modified the resource"
- },
- "lastModifiedByType": {
- "$ref": "#/definitions/IdentityType",
- "description": "The type of identity that last modified the resource"
- },
- "lastModifiedAt": {
- "type": "string",
- "format": "date-time",
- "description": "The timestamp of resource last modification (UTC)"
- }
- }
- },
- "IdentityType": {
- "description": "The type of identity that creates/modifies resources",
- "type": "string",
- "enum": [
- "user",
- "application",
- "managedIdentity",
- "key"
- ],
- "x-ms-enum": {
- "name": "IdentityType",
- "modelAsString": true
- }
}
},
"parameters": {
diff --git a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2019-09-01/QueryPacks.json b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/QueryPacks.json
similarity index 86%
rename from swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2019-09-01/QueryPacks.json
rename to swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/QueryPacks.json
index 0212d6921..6c6a94e20 100644
--- a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2019-09-01/QueryPacks.json
+++ b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/QueryPacks.json
@@ -3,7 +3,7 @@
"info": {
"title": "Azure Log Analytics Query Packs",
"description": "Azure Log Analytics API reference for Query Packs management.",
- "version": "2019-09-01"
+ "version": "2023-09-01"
},
"host": "management.azure.com",
"schemes": [
@@ -40,10 +40,10 @@
"operationId": "QueryPacks_List",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
@@ -76,13 +76,13 @@
"operationId": "QueryPacks_ListByResourceGroup",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
@@ -113,13 +113,13 @@
"operationId": "QueryPacks_CreateOrUpdateWithoutName",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
},
{
"name": "LogAnalyticsQueryPackPayload",
@@ -161,13 +161,13 @@
"operationId": "QueryPacks_Delete",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ResourceNameParameter"
@@ -198,13 +198,13 @@
"operationId": "QueryPacks_Get",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ResourceNameParameter"
@@ -235,13 +235,13 @@
"operationId": "QueryPacks_CreateOrUpdate",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ResourceNameParameter"
@@ -284,13 +284,13 @@
"operationId": "QueryPacks_UpdateTags",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ResourceNameParameter"
@@ -328,46 +328,6 @@
}
},
"definitions": {
- "QueryPacksResource": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource Id"
- },
- "name": {
- "type": "string",
- "description": "Azure resource name",
- "readOnly": true
- },
- "type": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource type"
- },
- "location": {
- "type": "string",
- "description": "Resource location",
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
- "tags": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags"
- }
- },
- "required": [
- "location"
- ],
- "x-ms-azure-resource": true,
- "description": "An azure resource object"
- },
"TagsResource": {
"type": "object",
"properties": {
@@ -392,7 +352,7 @@
},
"allOf": [
{
- "$ref": "#/definitions/QueryPacksResource"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
}
],
"required": [
diff --git a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/SavedSearches.json b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/SavedSearches.json
similarity index 99%
rename from swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/SavedSearches.json
rename to swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/SavedSearches.json
index c1f9a4a52..e499458a0 100644
--- a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/SavedSearches.json
+++ b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/SavedSearches.json
@@ -3,7 +3,7 @@
"info": {
"title": "Azure Log Analytics",
"description": "Azure Log Analytics API reference.",
- "version": "2020-08-01"
+ "version": "2023-09-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/Schema.json b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/Schema.json
similarity index 99%
rename from swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/Schema.json
rename to swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/Schema.json
index f071110eb..129de1b27 100644
--- a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/Schema.json
+++ b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/Schema.json
@@ -3,7 +3,7 @@
"info": {
"title": "Azure Log Analytics",
"description": "Azure Log Analytics API reference",
- "version": "2020-08-01"
+ "version": "2023-09-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/SharedKeys.json b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/SharedKeys.json
similarity index 99%
rename from swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/SharedKeys.json
rename to swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/SharedKeys.json
index de0622e8e..0526fc8e3 100644
--- a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/SharedKeys.json
+++ b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/SharedKeys.json
@@ -3,7 +3,7 @@
"info": {
"title": "Azure Log Analytics",
"description": "Azure Log Analytics API reference",
- "version": "2020-08-01"
+ "version": "2023-09-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/StorageInsightConfigs.json b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/StorageInsightConfigs.json
similarity index 99%
rename from swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/StorageInsightConfigs.json
rename to swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/StorageInsightConfigs.json
index b9c5d76a2..33501909f 100644
--- a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/StorageInsightConfigs.json
+++ b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/StorageInsightConfigs.json
@@ -3,7 +3,7 @@
"info": {
"title": "Azure Log Analytics",
"description": "Azure Log Analytics API reference.",
- "version": "2020-08-01"
+ "version": "2023-09-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2022-10-01/Tables.json b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/Tables.json
similarity index 96%
rename from swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2022-10-01/Tables.json
rename to swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/Tables.json
index 9fd67db90..579a71f43 100644
--- a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2022-10-01/Tables.json
+++ b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/Tables.json
@@ -3,7 +3,7 @@
"info": {
"title": "Azure Log Analytics",
"description": "Azure Log Analytics API reference",
- "version": "2022-10-01"
+ "version": "2023-09-01"
},
"host": "management.azure.com",
"schemes": [
@@ -105,7 +105,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "#/parameters/TableNameParameter"
+ "$ref": "../../../common/v1/types.json#/parameters/TableNameParameter"
},
{
"name": "parameters",
@@ -164,7 +164,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "#/parameters/TableNameParameter"
+ "$ref": "../../../common/v1/types.json#/parameters/TableNameParameter"
},
{
"name": "parameters",
@@ -223,7 +223,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "#/parameters/TableNameParameter"
+ "$ref": "../../../common/v1/types.json#/parameters/TableNameParameter"
}
],
"responses": {
@@ -266,7 +266,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "#/parameters/TableNameParameter"
+ "$ref": "../../../common/v1/types.json#/parameters/TableNameParameter"
}
],
"responses": {
@@ -277,7 +277,15 @@
"description": "OK response definition."
},
"202": {
- "description": "Accepted response definition (Long running operation)."
+ "description": "Accepted response definition (Long running operation).",
+ "headers": {
+ "Location": {
+ "type": "string"
+ },
+ "azure-asyncoperation": {
+ "type": "string"
+ }
+ }
},
"default": {
"description": "Error response describing why the operation failed.",
@@ -318,7 +326,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "#/parameters/TableNameParameter"
+ "$ref": "../../../common/v1/types.json#/parameters/TableNameParameter"
}
],
"responses": {
@@ -360,7 +368,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "#/parameters/TableNameParameter"
+ "$ref": "../../../common/v1/types.json#/parameters/TableNameParameter"
}
],
"responses": {
@@ -740,7 +748,7 @@
"values": [
{
"value": "Basic",
- "description": "Logs that are adjusted to support high volume low value verbose logs."
+ "description": "Logs that are adjusted to support high volume low value verbose logs."
},
{
"value": "Analytics",
@@ -837,15 +845,5 @@
},
"description": "The list tables operation response."
}
- },
- "parameters": {
- "TableNameParameter": {
- "name": "tableName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the table.",
- "x-ms-parameter-location": "method"
- }
}
}
diff --git a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/Usages.json b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/Usages.json
similarity index 99%
rename from swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/Usages.json
rename to swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/Usages.json
index 719090226..ed398d61f 100644
--- a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/Usages.json
+++ b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/Usages.json
@@ -3,7 +3,7 @@
"info": {
"title": "Azure Log Analytics",
"description": "Azure Log Analytics API reference",
- "version": "2020-08-01"
+ "version": "2023-09-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/WorkspacePurge.json b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/WorkspacePurge.json
similarity index 99%
rename from swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/WorkspacePurge.json
rename to swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/WorkspacePurge.json
index 1954d6154..845d547bb 100644
--- a/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/WorkspacePurge.json
+++ b/swagger-specs/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2023-09-01/WorkspacePurge.json
@@ -3,7 +3,7 @@
"info": {
"title": "Azure Log Analytics",
"description": "Azure Log Analytics API reference",
- "version": "2020-08-01"
+ "version": "2023-09-01"
},
"host": "management.azure.com",
"schemes": [
diff --git a/swagger-specs/operationalinsights/resource-manager/api-set.json b/swagger-specs/operationalinsights/resource-manager/api-set.json
index 1a020084f..c8ba84d13 100644
--- a/swagger-specs/operationalinsights/resource-manager/api-set.json
+++ b/swagger-specs/operationalinsights/resource-manager/api-set.json
@@ -1 +1 @@
-{"addition_input_file_paths": [], "input_files": ["Microsoft.OperationalInsights/stable/2023-09-01/Operations.json", "Microsoft.OperationalInsights/stable/2023-09-01/Workspaces.json", "Microsoft.OperationalInsights/stable/2022-10-01/Tables.json", "Microsoft.OperationalInsights/stable/2019-09-01/QueryPacks.json", "Microsoft.OperationalInsights/stable/2019-09-01/QueryPackQueries.json", "Microsoft.OperationalInsights/stable/2020-08-01/DataExports.json", "Microsoft.OperationalInsights/stable/2020-08-01/DataSources.json", "Microsoft.OperationalInsights/stable/2020-08-01/IntelligencePacks.json", "Microsoft.OperationalInsights/stable/2020-08-01/LinkedServices.json", "Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json", "Microsoft.OperationalInsights/stable/2020-08-01/ManagementGroups.json", "Microsoft.OperationalInsights/stable/2020-08-01/OperationStatuses.json", "Microsoft.OperationalInsights/stable/2020-08-01/SharedKeys.json", "Microsoft.OperationalInsights/stable/2020-08-01/Usages.json", "Microsoft.OperationalInsights/stable/2020-08-01/StorageInsightConfigs.json", "Microsoft.OperationalInsights/stable/2020-08-01/SavedSearches.json", "Microsoft.OperationalInsights/stable/2020-08-01/AvailableServiceTiers.json", "Microsoft.OperationalInsights/stable/2020-08-01/Gateways.json", "Microsoft.OperationalInsights/stable/2020-08-01/Schema.json", "Microsoft.OperationalInsights/stable/2020-08-01/WorkspacePurge.json", "Microsoft.OperationalInsights/stable/2022-10-01/Clusters.json"], "name": "package-2023-09"}
\ No newline at end of file
+{"addition_input_file_paths": [], "input_files": ["Microsoft.OperationalInsights/stable/2023-09-01/AvailableServiceTiers.json", "Microsoft.OperationalInsights/stable/2023-09-01/QueryPacks.json", "Microsoft.OperationalInsights/stable/2023-09-01/QueryPackQueries.json", "Microsoft.OperationalInsights/stable/2023-09-01/Clusters.json", "Microsoft.OperationalInsights/stable/2023-09-01/DataExports.json", "Microsoft.OperationalInsights/stable/2023-09-01/DataSources.json", "Microsoft.OperationalInsights/stable/2023-09-01/Gateways.json", "Microsoft.OperationalInsights/stable/2023-09-01/IntelligencePacks.json", "Microsoft.OperationalInsights/stable/2023-09-01/LinkedServices.json", "Microsoft.OperationalInsights/stable/2023-09-01/LinkedStorageAccounts.json", "Microsoft.OperationalInsights/stable/2023-09-01/ManagementGroups.json", "Microsoft.OperationalInsights/stable/2023-09-01/Operations.json", "Microsoft.OperationalInsights/stable/2023-09-01/OperationStatuses.json", "Microsoft.OperationalInsights/stable/2023-09-01/SavedSearches.json", "Microsoft.OperationalInsights/stable/2023-09-01/Schema.json", "Microsoft.OperationalInsights/stable/2023-09-01/SharedKeys.json", "Microsoft.OperationalInsights/stable/2023-09-01/StorageInsightConfigs.json", "Microsoft.OperationalInsights/stable/2023-09-01/Tables.json", "Microsoft.OperationalInsights/stable/2023-09-01/Usages.json", "Microsoft.OperationalInsights/stable/2023-09-01/WorkspacePurge.json", "Microsoft.OperationalInsights/stable/2023-09-01/Workspaces.json"], "name": "package-2023-09"}
\ No newline at end of file
diff --git a/swagger-specs/operationalinsights/resource-manager/common/v1/types.json b/swagger-specs/operationalinsights/resource-manager/common/v1/types.json
index 5a41f183d..87c11c33d 100644
--- a/swagger-specs/operationalinsights/resource-manager/common/v1/types.json
+++ b/swagger-specs/operationalinsights/resource-manager/common/v1/types.json
@@ -17,6 +17,17 @@
"maxLength": 63,
"description": "The name of the workspace.",
"x-ms-parameter-location": "method"
+ },
+ "TableNameParameter": {
+ "name": "tableName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^[A-Za-z0-9-_]+$",
+ "minLength": 4,
+ "maxLength": 63,
+ "description": "The name of the table.",
+ "x-ms-parameter-location": "method"
}
}
}
diff --git a/swagger-specs/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/policyEvents.json b/swagger-specs/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/policyEvents.json
deleted file mode 100644
index fc92a768c..000000000
--- a/swagger-specs/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/policyEvents.json
+++ /dev/null
@@ -1,1010 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "PolicyEventsClient",
- "version": "2018-07-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults": {
- "post": {
- "operationId": "PolicyEvents_ListQueryResultsForManagementGroup",
- "description": "Queries policy events for the resources under the management group.",
- "parameters": [
- {
- "$ref": "#/parameters/policyEventsResourceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupsNamespaceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- },
- {
- "$ref": "#/parameters/skipTokenParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyEventsQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "@odata.nextLink"
- },
- "x-ms-examples": {
- "Query at management group scope": {
- "$ref": "./examples/PolicyEvents_QueryManagementGroupScope.json"
- },
- "Query at management group scope with next link": {
- "$ref": "./examples/PolicyEvents_QueryManagementGroupScopeNextLink.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults": {
- "post": {
- "operationId": "PolicyEvents_ListQueryResultsForSubscription",
- "description": "Queries policy events for the resources under the subscription.",
- "parameters": [
- {
- "$ref": "#/parameters/policyEventsResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- },
- {
- "$ref": "#/parameters/skipTokenParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyEventsQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "@odata.nextLink"
- },
- "x-ms-examples": {
- "Query at subscription scope": {
- "$ref": "./examples/PolicyEvents_QuerySubscriptionScope.json"
- },
- "Query at subscription scope with next link": {
- "$ref": "./examples/PolicyEvents_QuerySubscriptionScopeNextLink.json"
- },
- "Time range; sort, select and limit": {
- "$ref": "./examples/PolicyEvents_TimeRangeSortSelectTop.json"
- },
- "Filter and group with aggregate": {
- "$ref": "./examples/PolicyEvents_FilterAndGroupByWithAggregate.json"
- },
- "Filter and group without aggregate": {
- "$ref": "./examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json"
- },
- "Filter and aggregate only": {
- "$ref": "./examples/PolicyEvents_FilterAndAggregateOnly.json"
- },
- "Filter and multiple groups": {
- "$ref": "./examples/PolicyEvents_FilterAndMultipleGroups.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults": {
- "post": {
- "operationId": "PolicyEvents_ListQueryResultsForResourceGroup",
- "description": "Queries policy events for the resources under the resource group.",
- "parameters": [
- {
- "$ref": "#/parameters/policyEventsResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- },
- {
- "$ref": "#/parameters/skipTokenParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyEventsQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "@odata.nextLink"
- },
- "x-ms-examples": {
- "Query at resource group scope": {
- "$ref": "./examples/PolicyEvents_QueryResourceGroupScope.json"
- },
- "Query at resource group scope with next link": {
- "$ref": "./examples/PolicyEvents_QueryResourceGroupScopeNextLink.json"
- }
- }
- }
- },
- "/{resourceId}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults": {
- "post": {
- "operationId": "PolicyEvents_ListQueryResultsForResource",
- "description": "Queries policy events for the resource.",
- "parameters": [
- {
- "$ref": "#/parameters/policyEventsResourceParameter"
- },
- {
- "$ref": "#/parameters/resourceIdParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- },
- {
- "$ref": "#/parameters/skipTokenParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyEventsQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "@odata.nextLink"
- },
- "x-ms-examples": {
- "Query at resource scope": {
- "$ref": "./examples/PolicyEvents_QueryResourceScope.json"
- },
- "Query at resource scope with next link": {
- "$ref": "./examples/PolicyEvents_QueryResourceScopeNextLink.json"
- },
- "Query at subscription level resource scope": {
- "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json"
- },
- "Query at nested resource scope": {
- "$ref": "./examples/PolicyEvents_QueryNestedResourceScope.json"
- },
- "Query at subscription level nested resource scope": {
- "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policySetDefinitions/{policySetDefinitionName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults": {
- "post": {
- "operationId": "PolicyEvents_ListQueryResultsForPolicySetDefinition",
- "description": "Queries policy events for the subscription level policy set definition.",
- "parameters": [
- {
- "$ref": "#/parameters/policyEventsResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/authorizationNamespaceParameter"
- },
- {
- "$ref": "#/parameters/policySetDefinitionNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- },
- {
- "$ref": "#/parameters/skipTokenParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyEventsQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "@odata.nextLink"
- },
- "x-ms-examples": {
- "Query at subscription level policy set definition scope": {
- "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelPolicySetDefinitionScope.json"
- },
- "Query at subscription level policy set definition scope with next link": {
- "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelPolicySetDefinitionScopeNextLink.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyDefinitions/{policyDefinitionName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults": {
- "post": {
- "operationId": "PolicyEvents_ListQueryResultsForPolicyDefinition",
- "description": "Queries policy events for the subscription level policy definition.",
- "parameters": [
- {
- "$ref": "#/parameters/policyEventsResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/authorizationNamespaceParameter"
- },
- {
- "$ref": "#/parameters/policyDefinitionNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- },
- {
- "$ref": "#/parameters/skipTokenParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyEventsQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "@odata.nextLink"
- },
- "x-ms-examples": {
- "Query at subscription level policy definition scope": {
- "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelPolicyDefinitionScope.json"
- },
- "Query at subscription level policy definition scope with next link": {
- "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelPolicyDefinitionScopeNextLink.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults": {
- "post": {
- "operationId": "PolicyEvents_ListQueryResultsForSubscriptionLevelPolicyAssignment",
- "description": "Queries policy events for the subscription level policy assignment.",
- "parameters": [
- {
- "$ref": "#/parameters/policyEventsResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/authorizationNamespaceParameter"
- },
- {
- "$ref": "#/parameters/policyAssignmentNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- },
- {
- "$ref": "#/parameters/skipTokenParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyEventsQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "@odata.nextLink"
- },
- "x-ms-examples": {
- "Query at subscription level policy assignment scope": {
- "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelPolicyAssignmentScope.json"
- },
- "Query at subscription level policy assignment scope with next link": {
- "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelPolicyAssignmentScopeNextLink.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults": {
- "post": {
- "operationId": "PolicyEvents_ListQueryResultsForResourceGroupLevelPolicyAssignment",
- "description": "Queries policy events for the resource group level policy assignment.",
- "parameters": [
- {
- "$ref": "#/parameters/policyEventsResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/authorizationNamespaceParameter"
- },
- {
- "$ref": "#/parameters/policyAssignmentNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- },
- {
- "$ref": "#/parameters/skipTokenParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyEventsQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "@odata.nextLink"
- },
- "x-ms-examples": {
- "Query at resource group level policy assignment scope": {
- "$ref": "./examples/PolicyEvents_QueryResourceGroupLevelPolicyAssignmentScope.json"
- },
- "Query at resource group level policy assignment scope with next link": {
- "$ref": "./examples/PolicyEvents_QueryResourceGroupLevelPolicyAssignmentScopeNextLink.json"
- }
- }
- }
- }
- },
- "definitions": {
- "PolicyEventsQueryResults": {
- "description": "Query results.",
- "properties": {
- "@odata.context": {
- "description": "OData context string; used by OData clients to resolve type information based on metadata.",
- "type": "string"
- },
- "@odata.count": {
- "description": "OData entity count; represents the number of policy event records returned.",
- "type": "integer",
- "format": "int32",
- "minimum": 0
- },
- "@odata.nextLink": {
- "description": "Odata next link; URL to get the next set of results.",
- "type": "string"
- },
- "value": {
- "description": "Query results.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/PolicyEvent"
- }
- }
- }
- },
- "PolicyEvent": {
- "type": "object",
- "description": "Policy event record.",
- "properties": {
- "@odata.id": {
- "description": "OData entity ID; always set to null since policy event records do not have an entity ID.",
- "type": "string"
- },
- "@odata.context": {
- "description": "OData context string; used by OData clients to resolve type information based on metadata.",
- "type": "string"
- },
- "timestamp": {
- "description": "Timestamp for the policy event record.",
- "type": "string",
- "format": "date-time"
- },
- "resourceId": {
- "description": "Resource ID.",
- "type": "string"
- },
- "policyAssignmentId": {
- "description": "Policy assignment ID.",
- "type": "string"
- },
- "policyDefinitionId": {
- "description": "Policy definition ID.",
- "type": "string"
- },
- "effectiveParameters": {
- "description": "Effective parameters for the policy assignment.",
- "type": "string"
- },
- "isCompliant": {
- "description": "Flag which states whether the resource is compliant against the policy assignment it was evaluated against.",
- "type": "boolean"
- },
- "subscriptionId": {
- "description": "Subscription ID.",
- "type": "string"
- },
- "resourceType": {
- "description": "Resource type.",
- "type": "string"
- },
- "resourceLocation": {
- "description": "Resource location.",
- "type": "string"
- },
- "resourceGroup": {
- "description": "Resource group name.",
- "type": "string"
- },
- "resourceTags": {
- "description": "List of resource tags.",
- "type": "string"
- },
- "policyAssignmentName": {
- "description": "Policy assignment name.",
- "type": "string"
- },
- "policyAssignmentOwner": {
- "description": "Policy assignment owner.",
- "type": "string"
- },
- "policyAssignmentParameters": {
- "description": "Policy assignment parameters.",
- "type": "string"
- },
- "policyAssignmentScope": {
- "description": "Policy assignment scope.",
- "type": "string"
- },
- "policyDefinitionName": {
- "description": "Policy definition name.",
- "type": "string"
- },
- "policyDefinitionAction": {
- "description": "Policy definition action, i.e. effect.",
- "type": "string"
- },
- "policyDefinitionCategory": {
- "description": "Policy definition category.",
- "type": "string"
- },
- "policySetDefinitionId": {
- "description": "Policy set definition ID, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "policySetDefinitionName": {
- "description": "Policy set definition name, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "policySetDefinitionOwner": {
- "description": "Policy set definition owner, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "policySetDefinitionCategory": {
- "description": "Policy set definition category, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "policySetDefinitionParameters": {
- "description": "Policy set definition parameters, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "managementGroupIds": {
- "description": "Comma separated list of management group IDs, which represent the hierarchy of the management groups the resource is under.",
- "type": "string"
- },
- "policyDefinitionReferenceId": {
- "description": "Reference ID for the policy definition inside the policy set, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "tenantId": {
- "description": "Tenant ID for the policy event record.",
- "type": "string"
- },
- "principalOid": {
- "description": "Principal object ID for the user who initiated the resource operation that triggered the policy event.",
- "type": "string"
- }
- },
- "additionalProperties": {
- "description": "The list of key/value pairs for the additional properties, in the format 'key':'value' where key = the field name, and value = the field value. By default this is not populated"
- }
- },
- "QueryFailure": {
- "description": "Error response.",
- "properties": {
- "error": {
- "description": "Error definition.",
- "properties": {
- "code": {
- "description": "Service specific error code which serves as the substatus for the HTTP error code.",
- "type": "string",
- "readOnly": true
- },
- "message": {
- "description": "Description of the error.",
- "type": "string",
- "readOnly": true
- }
- }
- }
- }
- },
- "MetadataDocument": {
- "description": "Metadata XML document.",
- "type": "string"
- }
- },
- "parameters": {
- "policyEventsResourceParameter": {
- "name": "policyEventsResource",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "default"
- ],
- "description": "The name of the virtual resource under PolicyEvents resource type; only \"default\" is allowed.",
- "x-ms-parameter-location": "method"
- },
- "managementGroupsNamespaceParameter": {
- "name": "managementGroupsNamespace",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "Microsoft.Management"
- ],
- "x-ms-enum": {
- "name": "ManagementGroupsNamespaceType",
- "modelAsString": false
- },
- "description": "The namespace for Microsoft Management RP; only \"Microsoft.Management\" is allowed.",
- "x-ms-parameter-location": "method"
- },
- "managementGroupNameParameter": {
- "name": "managementGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Management group name.",
- "x-ms-parameter-location": "method"
- },
- "subscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Microsoft Azure subscription ID.",
- "x-ms-parameter-location": "method"
- },
- "resourceGroupNameParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Resource group name.",
- "x-ms-parameter-location": "method"
- },
- "resourceIdParameter": {
- "name": "resourceId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Resource ID.",
- "x-ms-parameter-location": "method",
- "x-ms-skip-url-encoding": true
- },
- "authorizationNamespaceParameter": {
- "name": "authorizationNamespace",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "Microsoft.Authorization"
- ],
- "description": "The namespace for Microsoft Authorization resource provider; only \"Microsoft.Authorization\" is allowed.",
- "x-ms-parameter-location": "method"
- },
- "policySetDefinitionNameParameter": {
- "name": "policySetDefinitionName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Policy set definition name.",
- "x-ms-parameter-location": "method"
- },
- "policyDefinitionNameParameter": {
- "name": "policyDefinitionName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Policy definition name.",
- "x-ms-parameter-location": "method"
- },
- "policyAssignmentNameParameter": {
- "name": "policyAssignmentName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Policy assignment name.",
- "x-ms-parameter-location": "method"
- },
- "scopeParameter": {
- "name": "scope",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "A valid scope, i.e. management group, subscription, resource group, or resource ID. Scope used has no effect on metadata returned.",
- "x-ms-parameter-location": "method",
- "x-ms-skip-url-encoding": true
- },
- "apiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "Client Api Version.",
- "x-ms-parameter-location": "client"
- },
- "topParameter": {
- "name": "$top",
- "in": "query",
- "required": false,
- "type": "integer",
- "format": "int32",
- "minimum": 0,
- "description": "Maximum number of records to return.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Top"
- },
- "orderByParameter": {
- "name": "$orderby",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "Ordering expression using OData notation. One or more comma-separated column names with an optional \"desc\" (the default) or \"asc\", e.g. \"$orderby=PolicyAssignmentId, ResourceId asc\".",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "OrderBy"
- },
- "selectParameter": {
- "name": "$select",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "Select expression using OData notation. Limits the columns on each record to just those requested, e.g. \"$select=PolicyAssignmentId, ResourceId\".",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Select"
- },
- "fromParameter": {
- "name": "$from",
- "in": "query",
- "required": false,
- "type": "string",
- "format": "date-time",
- "description": "ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day).",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "From"
- },
- "toParameter": {
- "name": "$to",
- "in": "query",
- "required": false,
- "type": "string",
- "format": "date-time",
- "description": "ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "To"
- },
- "filterParameter": {
- "name": "$filter",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "OData filter expression.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Filter"
- },
- "applyParameter": {
- "name": "$apply",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "OData apply expression for aggregations.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Apply"
- },
- "skipTokenParameter": {
- "name": "$skiptoken",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "Skiptoken is only provided if a previous response returned a partial result as a part of nextLink element.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "SkipToken"
- }
- }
-}
diff --git a/swagger-specs/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/policyStates.json b/swagger-specs/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/policyStates.json
deleted file mode 100644
index 4530c0e39..000000000
--- a/swagger-specs/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/policyStates.json
+++ /dev/null
@@ -1,1751 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "PolicyStatesClient",
- "version": "2018-07-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults": {
- "post": {
- "operationId": "PolicyStates_ListQueryResultsForManagementGroup",
- "description": "Queries policy states for the resources under the management group.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesResourceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupsNamespaceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- },
- {
- "$ref": "#/parameters/skipTokenParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyStatesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "@odata.nextLink"
- },
- "x-ms-examples": {
- "Query latest at management group scope": {
- "$ref": "./examples/PolicyStates_QueryManagementGroupScope.json"
- },
- "Query latest at management group scope using odata nextLink": {
- "$ref": "./examples/PolicyStates_QueryManagementGroupScopeNextLink.json"
- }
- }
- }
- },
- "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize": {
- "post": {
- "operationId": "PolicyStates_SummarizeForManagementGroup",
- "description": "Summarizes policy states for the resources under the management group.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesSummaryResourceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupsNamespaceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Summarize results.",
- "schema": {
- "$ref": "#/definitions/SummarizeResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Summarize at management group scope": {
- "$ref": "./examples/PolicyStates_SummarizeManagementGroupScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults": {
- "post": {
- "operationId": "PolicyStates_ListQueryResultsForSubscription",
- "description": "Queries policy states for the resources under the subscription.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- },
- {
- "$ref": "#/parameters/skipTokenParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyStatesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "@odata.nextLink"
- },
- "x-ms-examples": {
- "Query latest at subscription scope": {
- "$ref": "./examples/PolicyStates_QuerySubscriptionScope.json"
- },
- "Query latest at subscription scope with next link": {
- "$ref": "./examples/PolicyStates_QuerySubscriptionScopeNextLink.json"
- },
- "Time range; sort, select and limit": {
- "$ref": "./examples/PolicyStates_TimeRangeSortSelectTop.json"
- },
- "Filter and group with aggregate": {
- "$ref": "./examples/PolicyStates_FilterAndGroupByWithAggregate.json"
- },
- "Filter and group without aggregate": {
- "$ref": "./examples/PolicyStates_FilterAndGroupByWithoutAggregate.json"
- },
- "Filter and aggregate only": {
- "$ref": "./examples/PolicyStates_FilterAndAggregateOnly.json"
- },
- "Filter and multiple groups": {
- "$ref": "./examples/PolicyStates_FilterAndMultipleGroups.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize": {
- "post": {
- "operationId": "PolicyStates_SummarizeForSubscription",
- "description": "Summarizes policy states for the resources under the subscription.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesSummaryResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Summarize results.",
- "schema": {
- "$ref": "#/definitions/SummarizeResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Summarize at subscription scope": {
- "$ref": "./examples/PolicyStates_SummarizeSubscriptionScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults": {
- "post": {
- "operationId": "PolicyStates_ListQueryResultsForResourceGroup",
- "description": "Queries policy states for the resources under the resource group.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- },
- {
- "$ref": "#/parameters/skipTokenParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyStatesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "@odata.nextLink"
- },
- "x-ms-examples": {
- "Query latest at resource group scope": {
- "$ref": "./examples/PolicyStates_QueryResourceGroupScope.json"
- },
- "Query latest at resource group scope with next link": {
- "$ref": "./examples/PolicyStates_QueryResourceGroupScopeNextLink.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize": {
- "post": {
- "operationId": "PolicyStates_SummarizeForResourceGroup",
- "description": "Summarizes policy states for the resources under the resource group.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesSummaryResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Summarize results.",
- "schema": {
- "$ref": "#/definitions/SummarizeResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Summarize at resource group scope": {
- "$ref": "./examples/PolicyStates_SummarizeResourceGroupScope.json"
- }
- }
- }
- },
- "/{resourceId}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults": {
- "post": {
- "operationId": "PolicyStates_ListQueryResultsForResource",
- "description": "Queries policy states for the resource.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesResourceParameter"
- },
- {
- "$ref": "#/parameters/resourceIdParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- },
- {
- "$ref": "#/parameters/expandParameter"
- },
- {
- "$ref": "#/parameters/skipTokenParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyStatesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "@odata.nextLink"
- },
- "x-ms-examples": {
- "Query all policy states at resource scope": {
- "$ref": "./examples/PolicyStates_QueryResourceScope.json"
- },
- "Query all policy states at resource scope with next link": {
- "$ref": "./examples/PolicyStates_QueryResourceScopeNextLink.json"
- },
- "Query all policy states at subscription level resource scope": {
- "$ref": "./examples/PolicyStates_QuerySubscriptionLevelResourceScope.json"
- },
- "Query all policy states at nested resource scope": {
- "$ref": "./examples/PolicyStates_QueryNestedResourceScope.json"
- },
- "Query all policy states at subscription level nested resource scope": {
- "$ref": "./examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json"
- },
- "Query all policy states at resource scope and expand policyEvaluationDetails": {
- "$ref": "./examples/PolicyStates_QueryResourceScopeExpandPolicyEvaluationDetails.json"
- }
- }
- }
- },
- "/{resourceId}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize": {
- "post": {
- "operationId": "PolicyStates_SummarizeForResource",
- "description": "Summarizes policy states for the resource.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesSummaryResourceParameter"
- },
- {
- "$ref": "#/parameters/resourceIdParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Summarize results.",
- "schema": {
- "$ref": "#/definitions/SummarizeResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Summarize at resource scope": {
- "$ref": "./examples/PolicyStates_SummarizeResourceScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policySetDefinitions/{policySetDefinitionName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults": {
- "post": {
- "operationId": "PolicyStates_ListQueryResultsForPolicySetDefinition",
- "description": "Queries policy states for the subscription level policy set definition.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "$ref": "#/parameters/authorizationNamespaceParameter"
- },
- {
- "$ref": "#/parameters/policySetDefinitionNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- },
- {
- "$ref": "#/parameters/skipTokenParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyStatesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "@odata.nextLink"
- },
- "x-ms-examples": {
- "Query latest at subscription level policy set definition scope": {
- "$ref": "./examples/PolicyStates_QuerySubscriptionLevelPolicySetDefinitionScope.json"
- },
- "Query latest at subscription level policy set definition scope with next link": {
- "$ref": "./examples/PolicyStates_QuerySubscriptionLevelPolicySetDefinitionScopeNextLink.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policySetDefinitions/{policySetDefinitionName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize": {
- "post": {
- "operationId": "PolicyStates_SummarizeForPolicySetDefinition",
- "description": "Summarizes policy states for the subscription level policy set definition.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesSummaryResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "$ref": "#/parameters/authorizationNamespaceParameter"
- },
- {
- "$ref": "#/parameters/policySetDefinitionNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Summarize results.",
- "schema": {
- "$ref": "#/definitions/SummarizeResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Summarize at policy set definition scope": {
- "$ref": "./examples/PolicyStates_SummarizeSubscriptionLevelPolicySetDefinitionScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyDefinitions/{policyDefinitionName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults": {
- "post": {
- "operationId": "PolicyStates_ListQueryResultsForPolicyDefinition",
- "description": "Queries policy states for the subscription level policy definition.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "$ref": "#/parameters/authorizationNamespaceParameter"
- },
- {
- "$ref": "#/parameters/policyDefinitionNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- },
- {
- "$ref": "#/parameters/skipTokenParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyStatesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "@odata.nextLink"
- },
- "x-ms-examples": {
- "Query latest at subscription level policy definition scope": {
- "$ref": "./examples/PolicyStates_QuerySubscriptionLevelPolicyDefinitionScope.json"
- },
- "Query latest at subscription level policy definition scope with next link": {
- "$ref": "./examples/PolicyStates_QuerySubscriptionLevelPolicyDefinitionScopeNextLink.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyDefinitions/{policyDefinitionName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize": {
- "post": {
- "operationId": "PolicyStates_SummarizeForPolicyDefinition",
- "description": "Summarizes policy states for the subscription level policy definition.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesSummaryResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "$ref": "#/parameters/authorizationNamespaceParameter"
- },
- {
- "$ref": "#/parameters/policyDefinitionNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Summarize results.",
- "schema": {
- "$ref": "#/definitions/SummarizeResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Summarize at policy definition scope": {
- "$ref": "./examples/PolicyStates_SummarizeSubscriptionLevelPolicyDefinitionScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults": {
- "post": {
- "operationId": "PolicyStates_ListQueryResultsForSubscriptionLevelPolicyAssignment",
- "description": "Queries policy states for the subscription level policy assignment.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "$ref": "#/parameters/authorizationNamespaceParameter"
- },
- {
- "$ref": "#/parameters/policyAssignmentNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- },
- {
- "$ref": "#/parameters/skipTokenParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyStatesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "@odata.nextLink"
- },
- "x-ms-examples": {
- "Query latest at subscription level policy assignment scope": {
- "$ref": "./examples/PolicyStates_QuerySubscriptionLevelPolicyAssignmentScope.json"
- },
- "Query latest at subscription level policy assignment scope with next Link": {
- "$ref": "./examples/PolicyStates_QuerySubscriptionLevelPolicyAssignmentScopeNextLink.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize": {
- "post": {
- "operationId": "PolicyStates_SummarizeForSubscriptionLevelPolicyAssignment",
- "description": "Summarizes policy states for the subscription level policy assignment.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesSummaryResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "$ref": "#/parameters/authorizationNamespaceParameter"
- },
- {
- "$ref": "#/parameters/policyAssignmentNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Summarize results.",
- "schema": {
- "$ref": "#/definitions/SummarizeResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Summarize at policy assignment scope": {
- "$ref": "./examples/PolicyStates_SummarizeSubscriptionLevelPolicyAssignmentScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults": {
- "post": {
- "operationId": "PolicyStates_ListQueryResultsForResourceGroupLevelPolicyAssignment",
- "description": "Queries policy states for the resource group level policy assignment.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/authorizationNamespaceParameter"
- },
- {
- "$ref": "#/parameters/policyAssignmentNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- },
- {
- "$ref": "#/parameters/skipTokenParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyStatesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "@odata.nextLink"
- },
- "x-ms-examples": {
- "Query latest at resource group level policy assignment scope": {
- "$ref": "./examples/PolicyStates_QueryResourceGroupLevelPolicyAssignmentScope.json"
- },
- "Query latest at resource group level policy assignment scope with next link": {
- "$ref": "./examples/PolicyStates_QueryResourceGroupLevelPolicyAssignmentScopeNextLink.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize": {
- "post": {
- "operationId": "PolicyStates_SummarizeForResourceGroupLevelPolicyAssignment",
- "description": "Summarizes policy states for the resource group level policy assignment.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesSummaryResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/authorizationNamespaceParameter"
- },
- {
- "$ref": "#/parameters/policyAssignmentNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Summarize results.",
- "schema": {
- "$ref": "#/definitions/SummarizeResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Summarize at policy assignment scope": {
- "$ref": "./examples/PolicyStates_SummarizeResourceGroupLevelPolicyAssignmentScope.json"
- }
- }
- }
- },
- "/providers/Microsoft.PolicyInsights/operations": {
- "get": {
- "operationId": "Operations_List",
- "description": "Lists available operations.",
- "parameters": [
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "List of available operations.",
- "schema": {
- "$ref": "#/definitions/OperationsListResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "List operations": {
- "$ref": "./examples/PolicyStates_ListOperations.json"
- }
- }
- }
- },
- "/{scope}/providers/Microsoft.PolicyInsights/policyStates/$metadata": {
- "get": {
- "operationId": "PolicyStates_GetMetadata",
- "description": "Gets OData metadata XML document.",
- "produces": [
- "application/xml"
- ],
- "parameters": [
- {
- "$ref": "#/parameters/scopeParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OData metadata XML document.",
- "schema": {
- "$ref": "#/definitions/MetadataDocument"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Get metadata": {
- "$ref": "./examples/PolicyStates_GetMetadata.json"
- }
- }
- }
- }
- },
- "definitions": {
- "PolicyStatesQueryResults": {
- "description": "Query results.",
- "properties": {
- "@odata.context": {
- "description": "OData context string; used by OData clients to resolve type information based on metadata.",
- "type": "string"
- },
- "@odata.count": {
- "description": "OData entity count; represents the number of policy state records returned.",
- "type": "integer",
- "format": "int32",
- "minimum": 0
- },
- "@odata.nextLink": {
- "description": "Odata next link; URL to get the next set of results.",
- "type": "string"
- },
- "value": {
- "description": "Query results.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/PolicyState"
- }
- }
- }
- },
- "PolicyState": {
- "type": "object",
- "description": "Policy state record.",
- "properties": {
- "@odata.id": {
- "description": "OData entity ID; always set to null since policy state records do not have an entity ID.",
- "type": "string"
- },
- "@odata.context": {
- "description": "OData context string; used by OData clients to resolve type information based on metadata.",
- "type": "string"
- },
- "timestamp": {
- "description": "Timestamp for the policy state record.",
- "type": "string",
- "format": "date-time"
- },
- "resourceId": {
- "description": "Resource ID.",
- "type": "string"
- },
- "policyAssignmentId": {
- "description": "Policy assignment ID.",
- "type": "string"
- },
- "policyDefinitionId": {
- "description": "Policy definition ID.",
- "type": "string"
- },
- "effectiveParameters": {
- "description": "Effective parameters for the policy assignment.",
- "type": "string"
- },
- "isCompliant": {
- "description": "Flag which states whether the resource is compliant against the policy assignment it was evaluated against.",
- "type": "boolean"
- },
- "subscriptionId": {
- "description": "Subscription ID.",
- "type": "string"
- },
- "resourceType": {
- "description": "Resource type.",
- "type": "string"
- },
- "resourceLocation": {
- "description": "Resource location.",
- "type": "string"
- },
- "resourceGroup": {
- "description": "Resource group name.",
- "type": "string"
- },
- "resourceTags": {
- "description": "List of resource tags.",
- "type": "string"
- },
- "policyAssignmentName": {
- "description": "Policy assignment name.",
- "type": "string"
- },
- "policyAssignmentOwner": {
- "description": "Policy assignment owner.",
- "type": "string"
- },
- "policyAssignmentParameters": {
- "description": "Policy assignment parameters.",
- "type": "string"
- },
- "policyAssignmentScope": {
- "description": "Policy assignment scope.",
- "type": "string"
- },
- "policyDefinitionName": {
- "description": "Policy definition name.",
- "type": "string"
- },
- "policyDefinitionAction": {
- "description": "Policy definition action, i.e. effect.",
- "type": "string"
- },
- "policyDefinitionCategory": {
- "description": "Policy definition category.",
- "type": "string"
- },
- "policySetDefinitionId": {
- "description": "Policy set definition ID, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "policySetDefinitionName": {
- "description": "Policy set definition name, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "policySetDefinitionOwner": {
- "description": "Policy set definition owner, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "policySetDefinitionCategory": {
- "description": "Policy set definition category, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "policySetDefinitionParameters": {
- "description": "Policy set definition parameters, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "managementGroupIds": {
- "description": "Comma separated list of management group IDs, which represent the hierarchy of the management groups the resource is under.",
- "type": "string"
- },
- "policyDefinitionReferenceId": {
- "description": "Reference ID for the policy definition inside the policy set, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "complianceState": {
- "description": "Compliance state of the resource.",
- "type": "string"
- },
- "policyEvaluationDetails": {
- "description": "Policy evaluation details.",
- "type": "object",
- "$ref": "#/definitions/PolicyEvaluationDetails"
- }
- },
- "additionalProperties": {
- "description": "The list of key/value pairs for the additional properties, in the format 'key':'value' where key = the field name, and value = the field value. By default this is not populated"
- }
- },
- "PolicyEvaluationDetails": {
- "type": "object",
- "description": "Policy evaluation details.",
- "properties": {
- "evaluatedExpressions": {
- "description": "Details of the evaluated expressions.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/ExpressionEvaluationDetails"
- }
- },
- "ifNotExistsDetails": {
- "description": "Evaluation details of IfNotExists effect.",
- "type": "object",
- "$ref": "#/definitions/IfNotExistsEvaluationDetails"
- }
- }
- },
- "ExpressionEvaluationDetails": {
- "type": "object",
- "description": "Evaluation details of policy language expressions.",
- "properties": {
- "result": {
- "description": "Evaluation result.",
- "type": "string"
- },
- "expression": {
- "description": "Expression evaluated.",
- "type": "string"
- },
- "path": {
- "description": "Property path if the expression is a field or an alias.",
- "type": "string"
- },
- "expressionValue": {
- "description": "Value of the expression.",
- "type": "object"
- },
- "targetValue": {
- "description": "Target value to be compared with the expression value.",
- "type": "object"
- },
- "operator": {
- "description": "Operator to compare the expression value and the target value.",
- "type": "string"
- }
- }
- },
- "IfNotExistsEvaluationDetails": {
- "type": "object",
- "description": "Evaluation details of IfNotExists effect.",
- "properties": {
- "resourceId": {
- "description": "ID of the last evaluated resource for IfNotExists effect.",
- "type": "string"
- },
- "totalResources": {
- "description": "Total number of resources to which the existence condition is applicable.",
- "type": "integer"
- }
- }
- },
- "SummarizeResults": {
- "description": "Summarize action results.",
- "properties": {
- "@odata.context": {
- "description": "OData context string; used by OData clients to resolve type information based on metadata.",
- "type": "string"
- },
- "@odata.count": {
- "description": "OData entity count; represents the number of summaries returned; always set to 1.",
- "type": "integer",
- "format": "int32",
- "minimum": 1,
- "maximum": 1
- },
- "value": {
- "description": "Summarize action results.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/Summary"
- }
- }
- }
- },
- "Summary": {
- "description": "Summary results.",
- "properties": {
- "@odata.id": {
- "description": "OData entity ID; always set to null since summaries do not have an entity ID.",
- "type": "string"
- },
- "@odata.context": {
- "description": "OData context string; used by OData clients to resolve type information based on metadata.",
- "type": "string"
- },
- "results": {
- "description": "Non-compliance summary for all policy assignments.",
- "$ref": "#/definitions/SummaryResults"
- },
- "policyAssignments": {
- "description": "Policy assignments summary.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/PolicyAssignmentSummary"
- }
- }
- }
- },
- "SummaryResults": {
- "description": "Non-compliance summary on a particular summary level.",
- "properties": {
- "queryResultsUri": {
- "description": "HTTP POST URI for queryResults action on Microsoft.PolicyInsights to retrieve raw results for the non-compliance summary.",
- "type": "string"
- },
- "nonCompliantResources": {
- "description": "Number of non-compliant resources.",
- "type": "integer",
- "format": "int32",
- "minimum": 0
- },
- "nonCompliantPolicies": {
- "description": "Number of non-compliant policies.",
- "type": "integer",
- "format": "int32",
- "minimum": 0
- }
- }
- },
- "PolicyAssignmentSummary": {
- "description": "Policy assignment summary.",
- "properties": {
- "policyAssignmentId": {
- "description": "Policy assignment ID.",
- "type": "string"
- },
- "policySetDefinitionId": {
- "description": "Policy set definition ID, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "results": {
- "description": "Non-compliance summary for the policy assignment.",
- "$ref": "#/definitions/SummaryResults"
- },
- "policyDefinitions": {
- "description": "Policy definitions summary.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/PolicyDefinitionSummary"
- }
- }
- }
- },
- "PolicyDefinitionSummary": {
- "description": "Policy definition summary.",
- "properties": {
- "policyDefinitionId": {
- "description": "Policy definition ID.",
- "type": "string"
- },
- "policyDefinitionReferenceId": {
- "description": "Policy definition reference ID.",
- "type": "string"
- },
- "effect": {
- "description": "Policy effect, i.e. policy definition action.",
- "type": "string"
- },
- "results": {
- "description": "Non-compliance summary for the policy definition.",
- "$ref": "#/definitions/SummaryResults"
- }
- }
- },
- "QueryFailure": {
- "description": "Error response.",
- "properties": {
- "error": {
- "description": "Error definition.",
- "properties": {
- "code": {
- "description": "Service specific error code which serves as the substatus for the HTTP error code.",
- "type": "string",
- "readOnly": true
- },
- "message": {
- "description": "Description of the error.",
- "type": "string",
- "readOnly": true
- }
- }
- }
- }
- },
- "OperationsListResults": {
- "description": "List of available operations.",
- "properties": {
- "@odata.count": {
- "description": "OData entity count; represents the number of operations returned.",
- "type": "integer",
- "format": "int32",
- "minimum": 1
- },
- "value": {
- "description": "List of available operations.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/Operation"
- }
- }
- }
- },
- "Operation": {
- "description": "Operation definition.",
- "properties": {
- "name": {
- "description": "Operation name.",
- "type": "string"
- },
- "display": {
- "description": "Display metadata associated with the operation.",
- "properties": {
- "provider": {
- "description": "Resource provider name.",
- "type": "string"
- },
- "resource": {
- "description": "Resource name on which the operation is performed.",
- "type": "string"
- },
- "operation": {
- "description": "Operation name.",
- "type": "string"
- },
- "description": {
- "description": "Operation description.",
- "type": "string"
- }
- }
- }
- }
- },
- "MetadataDocument": {
- "description": "Metadata XML document.",
- "type": "string"
- }
- },
- "parameters": {
- "policyStatesResourceParameter": {
- "name": "policyStatesResource",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "default",
- "latest"
- ],
- "x-ms-enum": {
- "name": "PolicyStatesResource",
- "modelAsString": true
- },
- "description": "The virtual resource under PolicyStates resource type. In a given time range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy state(s).",
- "x-ms-parameter-location": "method"
- },
- "policyStatesSummaryResourceParameter": {
- "name": "policyStatesSummaryResource",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "latest"
- ],
- "description": "The virtual resource under PolicyStates resource type for summarize action. In a given time range, 'latest' represents the latest policy state(s) and is the only allowed value.",
- "x-ms-parameter-location": "method"
- },
- "managementGroupsNamespaceParameter": {
- "name": "managementGroupsNamespace",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "Microsoft.Management"
- ],
- "x-ms-enum": {
- "name": "ManagementGroupsNamespaceType",
- "modelAsString": false
- },
- "description": "The namespace for Microsoft Management RP; only \"Microsoft.Management\" is allowed.",
- "x-ms-parameter-location": "method"
- },
- "managementGroupNameParameter": {
- "name": "managementGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Management group name.",
- "x-ms-parameter-location": "method"
- },
- "subscriptionId": {
- "name": "subscriptionId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Microsoft Azure subscription ID.",
- "x-ms-parameter-location": "method"
- },
- "resourceGroupNameParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Resource group name.",
- "x-ms-parameter-location": "method"
- },
- "resourceIdParameter": {
- "name": "resourceId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Resource ID.",
- "x-ms-parameter-location": "method",
- "x-ms-skip-url-encoding": true
- },
- "authorizationNamespaceParameter": {
- "name": "authorizationNamespace",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "Microsoft.Authorization"
- ],
- "description": "The namespace for Microsoft Authorization resource provider; only \"Microsoft.Authorization\" is allowed.",
- "x-ms-parameter-location": "method"
- },
- "policySetDefinitionNameParameter": {
- "name": "policySetDefinitionName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Policy set definition name.",
- "x-ms-parameter-location": "method"
- },
- "policyDefinitionNameParameter": {
- "name": "policyDefinitionName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Policy definition name.",
- "x-ms-parameter-location": "method"
- },
- "policyAssignmentNameParameter": {
- "name": "policyAssignmentName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Policy assignment name.",
- "x-ms-parameter-location": "method"
- },
- "scopeParameter": {
- "name": "scope",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "A valid scope, i.e. management group, subscription, resource group, or resource ID. Scope used has no effect on metadata returned.",
- "x-ms-parameter-location": "method",
- "x-ms-skip-url-encoding": true
- },
- "apiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "Client Api Version.",
- "x-ms-parameter-location": "client"
- },
- "topParameter": {
- "name": "$top",
- "in": "query",
- "required": false,
- "type": "integer",
- "format": "int32",
- "minimum": 0,
- "description": "Maximum number of records to return.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Top"
- },
- "orderByParameter": {
- "name": "$orderby",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "Ordering expression using OData notation. One or more comma-separated column names with an optional \"desc\" (the default) or \"asc\", e.g. \"$orderby=PolicyAssignmentId, ResourceId asc\".",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "OrderBy"
- },
- "selectParameter": {
- "name": "$select",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "Select expression using OData notation. Limits the columns on each record to just those requested, e.g. \"$select=PolicyAssignmentId, ResourceId\".",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Select"
- },
- "fromParameter": {
- "name": "$from",
- "in": "query",
- "required": false,
- "type": "string",
- "format": "date-time",
- "description": "ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day).",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "From"
- },
- "toParameter": {
- "name": "$to",
- "in": "query",
- "required": false,
- "type": "string",
- "format": "date-time",
- "description": "ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "To"
- },
- "filterParameter": {
- "name": "$filter",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "OData filter expression.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Filter"
- },
- "applyParameter": {
- "name": "$apply",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "OData apply expression for aggregations.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Apply"
- },
- "expandParameter": {
- "name": "$expand",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "The $expand query parameter. For example, to expand policyEvaluationDetails, use $expand=policyEvaluationDetails",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Expand"
- },
- "skipTokenParameter": {
- "name": "$skiptoken",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "Skiptoken is only provided if a previous response returned a partial result as a part of nextLink element.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "SkipToken"
- }
- }
-}
diff --git a/swagger-specs/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/policyTrackedResources.json b/swagger-specs/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/policyTrackedResources.json
deleted file mode 100644
index 831a103cc..000000000
--- a/swagger-specs/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/policyTrackedResources.json
+++ /dev/null
@@ -1,463 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "PolicyTrackedResourcesClient",
- "version": "2018-07-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupName}/providers/Microsoft.PolicyInsights/policyTrackedResources/{policyTrackedResourcesResource}/queryResults": {
- "post": {
- "operationId": "PolicyTrackedResources_ListQueryResultsForManagementGroup",
- "description": "Queries policy tracked resources under the management group.",
- "parameters": [
- {
- "$ref": "#/parameters/managementGroupsNamespaceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupNameParameter"
- },
- {
- "$ref": "#/parameters/policyTrackedResourcesResourceParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyTrackedResourcesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "Query at management group scope": {
- "$ref": "./examples/PolicyTrackedResources_QueryManagementGroupScope.json"
- },
- "Query at management group scope using query parameters": {
- "$ref": "./examples/PolicyTrackedResources_QueryManagementGroupScopeWithFilterAndTop.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyTrackedResources/{policyTrackedResourcesResource}/queryResults": {
- "post": {
- "operationId": "PolicyTrackedResources_ListQueryResultsForSubscription",
- "description": "Queries policy tracked resources under the subscription.",
- "parameters": [
- {
- "$ref": "#/parameters/policyTrackedResourcesResourceParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyTrackedResourcesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "Query at subscription scope": {
- "$ref": "./examples/PolicyTrackedResources_QuerySubscriptionScope.json"
- },
- "Query at subscription scope using query parameters": {
- "$ref": "./examples/PolicyTrackedResources_QuerySubscriptionScopeWithFilterAndTop.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyTrackedResources/{policyTrackedResourcesResource}/queryResults": {
- "post": {
- "operationId": "PolicyTrackedResources_ListQueryResultsForResourceGroup",
- "description": "Queries policy tracked resources under the resource group.",
- "parameters": [
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/policyTrackedResourcesResourceParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyTrackedResourcesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "Query at resource group scope": {
- "$ref": "./examples/PolicyTrackedResources_QueryResourceGroupScope.json"
- },
- "Query at resource group scope using query parameters": {
- "$ref": "./examples/PolicyTrackedResources_QueryResourceGroupScopeWithFilterAndTop.json"
- }
- }
- }
- },
- "/{resourceId}/providers/Microsoft.PolicyInsights/policyTrackedResources/{policyTrackedResourcesResource}/queryResults": {
- "post": {
- "operationId": "PolicyTrackedResources_ListQueryResultsForResource",
- "description": "Queries policy tracked resources under the resource.",
- "parameters": [
- {
- "$ref": "#/parameters/resourceIdParameter"
- },
- {
- "$ref": "#/parameters/policyTrackedResourcesResourceParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyTrackedResourcesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "Query at resource scope": {
- "$ref": "./examples/PolicyTrackedResources_QueryResourceScope.json"
- },
- "Query at resource scope using query parameters": {
- "$ref": "./examples/PolicyTrackedResources_QueryResourceScopeWithFilterAndTop.json"
- }
- }
- }
- }
- },
- "definitions": {
- "PolicyTrackedResourcesQueryResults": {
- "description": "Query results.",
- "properties": {
- "value": {
- "description": "Query results.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/PolicyTrackedResource"
- },
- "x-ms-identifiers": [
- "trackedResourceId"
- ],
- "readOnly": true
- },
- "nextLink": {
- "type": "string",
- "description": "The URL to get the next set of results.",
- "readOnly": true
- }
- }
- },
- "PolicyTrackedResource": {
- "type": "object",
- "description": "Policy tracked resource record.",
- "properties": {
- "trackedResourceId": {
- "description": "The ID of the policy tracked resource.",
- "type": "string",
- "readOnly": true
- },
- "policyDetails": {
- "$ref": "#/definitions/PolicyDetails",
- "description": "The details of the policy that require the tracked resource.",
- "readOnly": true
- },
- "createdBy": {
- "$ref": "#/definitions/TrackedResourceModificationDetails",
- "description": "The details of the policy triggered deployment that created the tracked resource.",
- "readOnly": true
- },
- "lastModifiedBy": {
- "$ref": "#/definitions/TrackedResourceModificationDetails",
- "description": "The details of the policy triggered deployment that modified the tracked resource.",
- "readOnly": true
- },
- "lastUpdateUtc": {
- "description": "Timestamp of the last update to the tracked resource.",
- "type": "string",
- "format": "date-time",
- "readOnly": true
- }
- }
- },
- "TrackedResourceModificationDetails": {
- "type": "object",
- "description": "The details of the policy triggered deployment that created or modified the tracked resource.",
- "properties": {
- "policyDetails": {
- "$ref": "#/definitions/PolicyDetails",
- "description": "The details of the policy that created or modified the tracked resource.",
- "readOnly": true
- },
- "deploymentId": {
- "description": "The ID of the deployment that created or modified the tracked resource.",
- "type": "string",
- "readOnly": true
- },
- "deploymentTime": {
- "description": "Timestamp of the deployment that created or modified the tracked resource.",
- "type": "string",
- "format": "date-time",
- "readOnly": true
- }
- }
- },
- "PolicyDetails": {
- "type": "object",
- "description": "The policy details.",
- "properties": {
- "policyDefinitionId": {
- "description": "The ID of the policy definition.",
- "type": "string",
- "readOnly": true
- },
- "policyAssignmentId": {
- "description": "The ID of the policy assignment.",
- "type": "string",
- "readOnly": true
- },
- "policyAssignmentDisplayName": {
- "description": "The display name of the policy assignment.",
- "type": "string",
- "readOnly": true
- },
- "policyAssignmentScope": {
- "description": "The scope of the policy assignment.",
- "type": "string",
- "readOnly": true
- },
- "policySetDefinitionId": {
- "description": "The ID of the policy set definition.",
- "type": "string",
- "readOnly": true
- },
- "policyDefinitionReferenceId": {
- "description": "The policy definition reference ID within the policy set definition.",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "QueryFailure": {
- "description": "Error response.",
- "properties": {
- "error": {
- "description": "Error definition.",
- "properties": {
- "code": {
- "description": "Service specific error code which serves as the substatus for the HTTP error code.",
- "type": "string",
- "readOnly": true
- },
- "message": {
- "description": "Description of the error.",
- "type": "string",
- "readOnly": true
- }
- }
- }
- }
- }
- },
- "parameters": {
- "policyTrackedResourcesResourceParameter": {
- "name": "policyTrackedResourcesResource",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "default"
- ],
- "x-ms-enum": {
- "name": "PolicyTrackedResourcesResourceType",
- "modelAsString": true
- },
- "description": "The name of the virtual resource under PolicyTrackedResources resource type; only \"default\" is allowed.",
- "x-ms-parameter-location": "method"
- },
- "managementGroupsNamespaceParameter": {
- "name": "managementGroupsNamespace",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "Microsoft.Management"
- ],
- "x-ms-enum": {
- "name": "ManagementGroupsNamespaceType",
- "modelAsString": false
- },
- "description": "The namespace for Microsoft Management RP; only \"Microsoft.Management\" is allowed.",
- "x-ms-parameter-location": "method"
- },
- "managementGroupNameParameter": {
- "name": "managementGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Management group name.",
- "x-ms-parameter-location": "method"
- },
- "resourceGroupNameParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Resource group name.",
- "x-ms-parameter-location": "method"
- },
- "resourceIdParameter": {
- "name": "resourceId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Resource ID.",
- "x-ms-parameter-location": "method",
- "x-ms-skip-url-encoding": true
- },
- "topParameter": {
- "name": "$top",
- "in": "query",
- "required": false,
- "type": "integer",
- "format": "int32",
- "minimum": 0,
- "description": "Maximum number of records to return.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Top"
- },
- "filterParameter": {
- "name": "$filter",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "OData filter expression.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Filter"
- },
- "subscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Microsoft Azure subscription ID."
- },
- "apiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "Client Api Version.",
- "x-ms-parameter-location": "client"
- }
- }
-}
diff --git a/swagger-specs/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/remediations.json b/swagger-specs/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/remediations.json
deleted file mode 100644
index 8e53dabc6..000000000
--- a/swagger-specs/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/remediations.json
+++ /dev/null
@@ -1,1376 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "RemediationsClient",
- "version": "2018-07-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}/listDeployments": {
- "post": {
- "operationId": "Remediations_ListDeploymentsAtManagementGroup",
- "description": "Gets all deployments for a remediation at management group scope.",
- "parameters": [
- {
- "$ref": "#/parameters/managementGroupsNamespaceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupIdParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The retrieved remediation deployments.",
- "schema": {
- "$ref": "#/definitions/RemediationDeploymentsListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List deployments for a remediation at management group scope": {
- "$ref": "./examples/Remediations_ListDeploymentsManagementGroupScope.json"
- }
- }
- }
- },
- "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}/cancel": {
- "post": {
- "operationId": "Remediations_CancelAtManagementGroup",
- "description": "Cancels a remediation at management group scope.",
- "parameters": [
- {
- "$ref": "#/parameters/managementGroupsNamespaceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupIdParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The remediation that was canceled.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Cancel a remediation at management group scope": {
- "$ref": "./examples/Remediations_CancelManagementGroupScope.json"
- }
- }
- }
- },
- "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupId}/providers/Microsoft.PolicyInsights/remediations": {
- "get": {
- "operationId": "Remediations_ListForManagementGroup",
- "description": "Gets all remediations for the management group.",
- "parameters": [
- {
- "$ref": "#/parameters/managementGroupsNamespaceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupIdParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The retrieved remediations.",
- "schema": {
- "$ref": "#/definitions/RemediationListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List remediations at management group scope": {
- "$ref": "./examples/Remediations_ListManagementGroupScope.json"
- },
- "List remediations at management group scope with query parameters": {
- "$ref": "./examples/Remediations_ListManagementGroupScope_WithQuery.json"
- }
- }
- }
- },
- "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}": {
- "put": {
- "operationId": "Remediations_CreateOrUpdateAtManagementGroup",
- "description": "Creates or updates a remediation at management group scope.",
- "parameters": [
- {
- "$ref": "#/parameters/managementGroupsNamespaceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupIdParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/Remediation"
- },
- "description": "The remediation parameters."
- }
- ],
- "responses": {
- "200": {
- "description": "The updated remediation.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "201": {
- "description": "The created remediation.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Create remediation at management group scope": {
- "$ref": "./examples/Remediations_CreateManagementGroupScope.json"
- }
- }
- },
- "get": {
- "operationId": "Remediations_GetAtManagementGroup",
- "description": "Gets an existing remediation at management group scope.",
- "parameters": [
- {
- "$ref": "#/parameters/managementGroupsNamespaceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupIdParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The retrieved remediation.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get remediation at management group scope": {
- "$ref": "./examples/Remediations_GetManagementGroupScope.json"
- }
- }
- },
- "delete": {
- "operationId": "Remediations_DeleteAtManagementGroup",
- "description": "Deletes an existing remediation at management group scope.",
- "parameters": [
- {
- "$ref": "#/parameters/managementGroupsNamespaceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupIdParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The deleted remediation.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "204": {
- "description": "The remediation did not exist."
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Delete remediation at management group scope": {
- "$ref": "./examples/Remediations_DeleteManagementGroupScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}/listDeployments": {
- "post": {
- "operationId": "Remediations_ListDeploymentsAtSubscription",
- "description": "Gets all deployments for a remediation at subscription scope.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The retrieved remediation deployments.",
- "schema": {
- "$ref": "#/definitions/RemediationDeploymentsListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List deployments for a remediation at subscription scope": {
- "$ref": "./examples/Remediations_ListDeploymentsSubscriptionScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}/cancel": {
- "post": {
- "operationId": "Remediations_CancelAtSubscription",
- "description": "Cancels a remediation at subscription scope.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The remediation that was canceled.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Cancel a remediation at subscription scope": {
- "$ref": "./examples/Remediations_CancelSubscriptionScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/remediations": {
- "get": {
- "operationId": "Remediations_ListForSubscription",
- "description": "Gets all remediations for the subscription.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The retrieved remediations.",
- "schema": {
- "$ref": "#/definitions/RemediationListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List remediations at subscription scope": {
- "$ref": "./examples/Remediations_ListSubscriptionScope.json"
- },
- "List remediations at subscription scope with query parameters": {
- "$ref": "./examples/Remediations_ListSubscriptionScope_WithQuery.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}": {
- "put": {
- "operationId": "Remediations_CreateOrUpdateAtSubscription",
- "description": "Creates or updates a remediation at subscription scope.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/Remediation"
- },
- "description": "The remediation parameters."
- }
- ],
- "responses": {
- "200": {
- "description": "The updated remediation.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "201": {
- "description": "The created remediation.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Create remediation at subscription scope": {
- "$ref": "./examples/Remediations_CreateSubscriptionScope.json"
- },
- "Create remediation at subscription scope with all properties": {
- "$ref": "./examples/Remediations_CreateSubscriptionScope_AllProperties.json"
- }
- }
- },
- "get": {
- "operationId": "Remediations_GetAtSubscription",
- "description": "Gets an existing remediation at subscription scope.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The retrieved remediation.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get remediation at subscription scope": {
- "$ref": "./examples/Remediations_GetSubscriptionScope.json"
- }
- }
- },
- "delete": {
- "operationId": "Remediations_DeleteAtSubscription",
- "description": "Deletes an existing remediation at subscription scope.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The deleted remediation.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "204": {
- "description": "The remediation did not exist."
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Delete remediation at subscription scope": {
- "$ref": "./examples/Remediations_DeleteSubscriptionScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/remediations/{remediationName}/listDeployments": {
- "post": {
- "operationId": "Remediations_ListDeploymentsAtResourceGroup",
- "description": "Gets all deployments for a remediation at resource group scope.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The retrieved remediation deployments.",
- "schema": {
- "$ref": "#/definitions/RemediationDeploymentsListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List deployments for a remediation at resource group scope": {
- "$ref": "./examples/Remediations_ListDeploymentsResourceGroupScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/remediations/{remediationName}/cancel": {
- "post": {
- "operationId": "Remediations_CancelAtResourceGroup",
- "description": "Cancels a remediation at resource group scope.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The remediation that was canceled.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Cancel a remediation at resource group scope": {
- "$ref": "./examples/Remediations_CancelResourceGroupScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/remediations": {
- "get": {
- "operationId": "Remediations_ListForResourceGroup",
- "description": "Gets all remediations for the subscription.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The retrieved remediations.",
- "schema": {
- "$ref": "#/definitions/RemediationListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List remediations at resource group scope": {
- "$ref": "./examples/Remediations_ListResourceGroupScope.json"
- },
- "List remediations at resource group scope with query parameters": {
- "$ref": "./examples/Remediations_ListResourceGroupScope_WithQuery.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/remediations/{remediationName}": {
- "put": {
- "operationId": "Remediations_CreateOrUpdateAtResourceGroup",
- "description": "Creates or updates a remediation at resource group scope.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/Remediation"
- },
- "description": "The remediation parameters."
- }
- ],
- "responses": {
- "200": {
- "description": "The updated remediation.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "201": {
- "description": "The created remediation.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Create remediation at resource group scope": {
- "$ref": "./examples/Remediations_CreateResourceGroupScope.json"
- }
- }
- },
- "get": {
- "operationId": "Remediations_GetAtResourceGroup",
- "description": "Gets an existing remediation at resource group scope.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The retrieved remediation.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get remediation at resource group scope": {
- "$ref": "./examples/Remediations_GetResourceGroupScope.json"
- }
- }
- },
- "delete": {
- "operationId": "Remediations_DeleteAtResourceGroup",
- "description": "Deletes an existing remediation at resource group scope.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The deleted remediation.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "204": {
- "description": "The remediation did not exist."
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Delete remediation at resource group scope": {
- "$ref": "./examples/Remediations_DeleteResourceGroupScope.json"
- }
- }
- }
- },
- "/{resourceId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}/listDeployments": {
- "post": {
- "operationId": "Remediations_ListDeploymentsAtResource",
- "description": "Gets all deployments for a remediation at resource scope.",
- "parameters": [
- {
- "$ref": "#/parameters/resourceIdParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The retrieved remediation deployments.",
- "schema": {
- "$ref": "#/definitions/RemediationDeploymentsListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List deployments for a remediation at individual resource scope": {
- "$ref": "./examples/Remediations_ListDeploymentsResourceScope.json"
- }
- }
- }
- },
- "/{resourceId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}/cancel": {
- "post": {
- "operationId": "Remediations_CancelAtResource",
- "description": "Cancel a remediation at resource scope.",
- "parameters": [
- {
- "$ref": "#/parameters/resourceIdParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The remediation that was canceled.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Cancel a remediation at individual resource scope": {
- "$ref": "./examples/Remediations_CancelResourceScope.json"
- }
- }
- }
- },
- "/{resourceId}/providers/Microsoft.PolicyInsights/remediations": {
- "get": {
- "operationId": "Remediations_ListForResource",
- "description": "Gets all remediations for a resource.",
- "parameters": [
- {
- "$ref": "#/parameters/resourceIdParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The retrieved remediations.",
- "schema": {
- "$ref": "#/definitions/RemediationListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List remediations at individual resource scope": {
- "$ref": "./examples/Remediations_ListResourceScope.json"
- },
- "List remediations at individual resource scope with query parameters": {
- "$ref": "./examples/Remediations_ListResourceScope_WithQuery.json"
- }
- }
- }
- },
- "/{resourceId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}": {
- "put": {
- "operationId": "Remediations_CreateOrUpdateAtResource",
- "description": "Creates or updates a remediation at resource scope.",
- "parameters": [
- {
- "$ref": "#/parameters/resourceIdParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/Remediation"
- },
- "description": "The remediation parameters."
- }
- ],
- "responses": {
- "200": {
- "description": "The updated remediation.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "201": {
- "description": "The created remediation.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Create remediation at individual resource scope": {
- "$ref": "./examples/Remediations_CreateResourceScope.json"
- }
- }
- },
- "get": {
- "operationId": "Remediations_GetAtResource",
- "description": "Gets an existing remediation at resource scope.",
- "parameters": [
- {
- "$ref": "#/parameters/resourceIdParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The retrieved remediation.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get remediation at individual resource scope": {
- "$ref": "./examples/Remediations_GetResourceScope.json"
- }
- }
- },
- "delete": {
- "operationId": "Remediations_DeleteAtResource",
- "description": "Deletes an existing remediation at individual resource scope.",
- "parameters": [
- {
- "$ref": "#/parameters/resourceIdParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The deleted remediation.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "204": {
- "description": "The remediation did not exist."
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Delete remediation at individual resource scope": {
- "$ref": "./examples/Remediations_DeleteResourceScope.json"
- }
- }
- }
- }
- },
- "definitions": {
- "RemediationListResult": {
- "description": "List of remediations.",
- "properties": {
- "value": {
- "description": "Array of remediation definitions.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/Remediation"
- },
- "readOnly": true
- },
- "nextLink": {
- "type": "string",
- "description": "The URL to get the next set of results.",
- "readOnly": true
- }
- }
- },
- "RemediationDeploymentsListResult": {
- "description": "List of deployments for a remediation.",
- "properties": {
- "value": {
- "description": "Array of deployments for the remediation.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/RemediationDeployment"
- },
- "readOnly": true
- },
- "nextLink": {
- "type": "string",
- "description": "The URL to get the next set of results.",
- "readOnly": true
- }
- }
- },
- "RemediationDeployment": {
- "description": "Details of a single deployment created by the remediation.",
- "properties": {
- "remediatedResourceId": {
- "type": "string",
- "description": "Resource ID of the resource that is being remediated by the deployment.",
- "readOnly": true
- },
- "deploymentId": {
- "type": "string",
- "description": "Resource ID of the template deployment that will remediate the resource.",
- "readOnly": true
- },
- "status": {
- "type": "string",
- "description": "Status of the remediation deployment.",
- "readOnly": true
- },
- "resourceLocation": {
- "type": "string",
- "description": "Location of the resource that is being remediated.",
- "readOnly": true
- },
- "error": {
- "$ref": "#/definitions/ErrorDefinition",
- "description": "Error encountered while remediated the resource.",
- "readOnly": true
- },
- "createdOn": {
- "type": "string",
- "format": "date-time",
- "description": "The time at which the remediation was created.",
- "readOnly": true
- },
- "lastUpdatedOn": {
- "type": "string",
- "format": "date-time",
- "description": "The time at which the remediation deployment was last updated.",
- "readOnly": true
- }
- }
- },
- "Remediation": {
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/RemediationProperties",
- "description": "Properties for the remediation."
- },
- "id": {
- "type": "string",
- "description": "The ID of the remediation.",
- "readOnly": true
- },
- "type": {
- "type": "string",
- "description": "The type of the remediation.",
- "readOnly": true
- },
- "name": {
- "type": "string",
- "description": "The name of the remediation.",
- "readOnly": true
- }
- },
- "description": "The remediation definition.",
- "x-ms-azure-resource": true
- },
- "RemediationProperties": {
- "properties": {
- "policyAssignmentId": {
- "type": "string",
- "description": "The resource ID of the policy assignment that should be remediated."
- },
- "policyDefinitionReferenceId": {
- "type": "string",
- "description": "The policy definition reference ID of the individual definition that should be remediated. Required when the policy assignment being remediated assigns a policy set definition."
- },
- "provisioningState": {
- "type": "string",
- "description": "The status of the remediation.",
- "readOnly": true
- },
- "createdOn": {
- "type": "string",
- "format": "date-time",
- "description": "The time at which the remediation was created.",
- "readOnly": true
- },
- "lastUpdatedOn": {
- "type": "string",
- "format": "date-time",
- "description": "The time at which the remediation was last updated.",
- "readOnly": true
- },
- "filters": {
- "$ref": "#/definitions/RemediationFilters",
- "description": "The filters that will be applied to determine which resources to remediate."
- },
- "deploymentStatus": {
- "$ref": "#/definitions/RemediationDeploymentSummary",
- "description": "The deployment status summary for all deployments created by the remediation."
- }
- },
- "description": "The remediation properties."
- },
- "RemediationFilters": {
- "properties": {
- "locations": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "The resource locations that will be remediated."
- }
- },
- "description": "The filters that will be applied to determine which resources to remediate."
- },
- "RemediationDeploymentSummary": {
- "properties": {
- "totalDeployments": {
- "type": "integer",
- "description": "The number of deployments required by the remediation."
- },
- "successfulDeployments": {
- "type": "integer",
- "description": "The number of deployments required by the remediation that have succeeded."
- },
- "failedDeployments": {
- "type": "integer",
- "description": "The number of deployments required by the remediation that have failed."
- }
- },
- "description": "The deployment status summary for all deployments created by the remediation."
- },
- "ErrorResponse": {
- "description": "Error response.",
- "properties": {
- "error": {
- "$ref": "#/definitions/ErrorDefinition",
- "description": "The error details."
- }
- }
- },
- "ErrorDefinition": {
- "description": "Error definition.",
- "properties": {
- "code": {
- "description": "Service specific error code which serves as the substatus for the HTTP error code.",
- "type": "string",
- "readOnly": true
- },
- "message": {
- "description": "Description of the error.",
- "type": "string",
- "readOnly": true
- },
- "target": {
- "description": "The target of the error.",
- "type": "string",
- "readOnly": true
- },
- "details": {
- "description": "Internal error details.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/ErrorDefinition"
- },
- "readOnly": true
- },
- "additionalInfo": {
- "description": "Additional scenario specific error details.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/TypedErrorInfo"
- },
- "readOnly": true
- }
- }
- },
- "TypedErrorInfo": {
- "description": "Scenario specific error details.",
- "properties": {
- "type": {
- "description": "The type of included error details.",
- "type": "string",
- "readOnly": true
- },
- "info": {
- "description": "The scenario specific error details.",
- "readOnly": true
- }
- }
- }
- },
- "parameters": {
- "remediationNameParameter": {
- "name": "remediationName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the remediation.",
- "x-ms-parameter-location": "method"
- },
- "managementGroupsNamespaceParameter": {
- "name": "managementGroupsNamespace",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "Microsoft.Management"
- ],
- "x-ms-enum": {
- "name": "ManagementGroupsNamespaceType",
- "modelAsString": false
- },
- "description": "The namespace for Microsoft Management RP; only \"Microsoft.Management\" is allowed.",
- "x-ms-parameter-location": "method"
- },
- "managementGroupIdParameter": {
- "name": "managementGroupId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Management group ID.",
- "x-ms-parameter-location": "method"
- },
- "resourceGroupNameParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Resource group name.",
- "x-ms-parameter-location": "method"
- },
- "resourceIdParameter": {
- "name": "resourceId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Resource ID.",
- "x-ms-parameter-location": "method",
- "x-ms-skip-url-encoding": true
- },
- "topParameter": {
- "name": "$top",
- "in": "query",
- "required": false,
- "type": "integer",
- "format": "int32",
- "minimum": 0,
- "description": "Maximum number of records to return.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Top"
- },
- "filterParameter": {
- "name": "$filter",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "OData filter expression.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Filter"
- },
- "subscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Microsoft Azure subscription ID."
- },
- "apiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "Client Api Version.",
- "x-ms-parameter-location": "client"
- }
- }
-}
diff --git a/swagger-specs/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/operations.json b/swagger-specs/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/operations.json
deleted file mode 100644
index 7259936f6..000000000
--- a/swagger-specs/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/operations.json
+++ /dev/null
@@ -1,150 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Policy Insights Operations API",
- "version": "2019-10-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/providers/Microsoft.PolicyInsights/operations": {
- "get": {
- "operationId": "Operations_List",
- "description": "Lists available operations.",
- "parameters": [
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "List of available operations.",
- "schema": {
- "$ref": "#/definitions/OperationsListResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "List operations": {
- "$ref": "./examples/Operations_ListOperations.json"
- }
- }
- }
- }
- },
- "definitions": {
- "OperationsListResults": {
- "description": "List of available operations.",
- "properties": {
- "@odata.count": {
- "description": "OData entity count; represents the number of operations returned.",
- "type": "integer",
- "format": "int32",
- "minimum": 1
- },
- "value": {
- "description": "List of available operations.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/Operation"
- },
- "x-ms-identifiers": [
- "name"
- ]
- }
- }
- },
- "Operation": {
- "description": "Operation definition.",
- "properties": {
- "name": {
- "description": "Operation name.",
- "type": "string"
- },
- "display": {
- "description": "Display metadata associated with the operation.",
- "properties": {
- "provider": {
- "description": "Resource provider name.",
- "type": "string"
- },
- "resource": {
- "description": "Resource name on which the operation is performed.",
- "type": "string"
- },
- "operation": {
- "description": "Operation name.",
- "type": "string"
- },
- "description": {
- "description": "Operation description.",
- "type": "string"
- }
- }
- }
- }
- },
- "QueryFailure": {
- "description": "Error response.",
- "properties": {
- "error": {
- "description": "Error definition.",
- "properties": {
- "code": {
- "description": "Service specific error code which serves as the substatus for the HTTP error code.",
- "type": "string",
- "readOnly": true
- },
- "message": {
- "description": "Description of the error.",
- "type": "string",
- "readOnly": true
- }
- }
- }
- }
- }
- },
- "parameters": {
- "apiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "API version to use with the client requests.",
- "x-ms-parameter-location": "client"
- }
- }
-}
diff --git a/swagger-specs/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/policyEvents.json b/swagger-specs/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/policyEvents.json
deleted file mode 100644
index 47ed6dbf9..000000000
--- a/swagger-specs/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/policyEvents.json
+++ /dev/null
@@ -1,1140 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "PolicyEventsClient",
- "version": "2019-10-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults": {
- "post": {
- "operationId": "PolicyEvents_ListQueryResultsForManagementGroup",
- "description": "Queries policy events for the resources under the management group.",
- "parameters": [
- {
- "$ref": "#/parameters/policyEventsResourceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupsNamespaceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- },
- {
- "$ref": "#/parameters/skipTokenParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyEventsQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "@odata.nextLink",
- "operationName": "PolicyEvents_NextLink"
- },
- "x-ms-examples": {
- "Query at management group scope": {
- "$ref": "./examples/PolicyEvents_QueryManagementGroupScope.json"
- },
- "Query at management group scope with next link": {
- "$ref": "./examples/PolicyEvents_QueryManagementGroupScopeNextLink.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults": {
- "post": {
- "operationId": "PolicyEvents_ListQueryResultsForSubscription",
- "description": "Queries policy events for the resources under the subscription.",
- "parameters": [
- {
- "$ref": "#/parameters/policyEventsResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- },
- {
- "$ref": "#/parameters/skipTokenParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyEventsQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "@odata.nextLink",
- "operationName": "PolicyEvents_NextLink"
- },
- "x-ms-examples": {
- "Query at subscription scope": {
- "$ref": "./examples/PolicyEvents_QuerySubscriptionScope.json"
- },
- "Query at subscription scope with next link": {
- "$ref": "./examples/PolicyEvents_QuerySubscriptionScopeNextLink.json"
- },
- "Time range; sort, select and limit": {
- "$ref": "./examples/PolicyEvents_TimeRangeSortSelectTop.json"
- },
- "Filter and group with aggregate": {
- "$ref": "./examples/PolicyEvents_FilterAndGroupByWithAggregate.json"
- },
- "Filter and group without aggregate": {
- "$ref": "./examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json"
- },
- "Filter and aggregate only": {
- "$ref": "./examples/PolicyEvents_FilterAndAggregateOnly.json"
- },
- "Filter and multiple groups": {
- "$ref": "./examples/PolicyEvents_FilterAndMultipleGroups.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults": {
- "post": {
- "operationId": "PolicyEvents_ListQueryResultsForResourceGroup",
- "description": "Queries policy events for the resources under the resource group.",
- "parameters": [
- {
- "$ref": "#/parameters/policyEventsResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- },
- {
- "$ref": "#/parameters/skipTokenParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyEventsQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "@odata.nextLink",
- "operationName": "PolicyEvents_NextLink"
- },
- "x-ms-examples": {
- "Query at resource group scope": {
- "$ref": "./examples/PolicyEvents_QueryResourceGroupScope.json"
- },
- "Query at resource group scope with next link": {
- "$ref": "./examples/PolicyEvents_QueryResourceGroupScopeNextLink.json"
- }
- }
- }
- },
- "/{resourceId}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults": {
- "post": {
- "operationId": "PolicyEvents_ListQueryResultsForResource",
- "description": "Queries policy events for the resource.",
- "parameters": [
- {
- "$ref": "#/parameters/policyEventsResourceParameter"
- },
- {
- "$ref": "#/parameters/resourceIdParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- },
- {
- "$ref": "#/parameters/expandParameter"
- },
- {
- "$ref": "#/parameters/skipTokenParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyEventsQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "@odata.nextLink",
- "operationName": "PolicyEvents_NextLink"
- },
- "x-ms-examples": {
- "Query at resource scope": {
- "$ref": "./examples/PolicyEvents_QueryResourceScope.json"
- },
- "Query at resource scope with next link": {
- "$ref": "./examples/PolicyEvents_QueryResourceScopeNextLink.json"
- },
- "Query at subscription level resource scope": {
- "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json"
- },
- "Query at nested resource scope": {
- "$ref": "./examples/PolicyEvents_QueryNestedResourceScope.json"
- },
- "Query at subscription level nested resource scope": {
- "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json"
- },
- "Query components policy events for resource scope filtered by given assignment.": {
- "$ref": "./examples/PolicyEvents_QueryResourceScopeExpandComponents.json"
- },
- "Query components policy events count grouped by user and action type for resource scope filtered by given assignment.": {
- "$ref": "./examples/PolicyEvents_QueryResourceScopeExpandComponentsGroupByWithAggregate.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policySetDefinitions/{policySetDefinitionName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults": {
- "post": {
- "operationId": "PolicyEvents_ListQueryResultsForPolicySetDefinition",
- "description": "Queries policy events for the subscription level policy set definition.",
- "parameters": [
- {
- "$ref": "#/parameters/policyEventsResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/authorizationNamespaceParameter"
- },
- {
- "$ref": "#/parameters/policySetDefinitionNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- },
- {
- "$ref": "#/parameters/skipTokenParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyEventsQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "@odata.nextLink",
- "operationName": "PolicyEvents_NextLink"
- },
- "x-ms-examples": {
- "Query at subscription level policy set definition scope": {
- "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelPolicySetDefinitionScope.json"
- },
- "Query at subscription level policy set definition scope with next link": {
- "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelPolicySetDefinitionScopeNextLink.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyDefinitions/{policyDefinitionName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults": {
- "post": {
- "operationId": "PolicyEvents_ListQueryResultsForPolicyDefinition",
- "description": "Queries policy events for the subscription level policy definition.",
- "parameters": [
- {
- "$ref": "#/parameters/policyEventsResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/authorizationNamespaceParameter"
- },
- {
- "$ref": "#/parameters/policyDefinitionNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- },
- {
- "$ref": "#/parameters/skipTokenParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyEventsQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "@odata.nextLink",
- "operationName": "PolicyEvents_NextLink"
- },
- "x-ms-examples": {
- "Query at subscription level policy definition scope": {
- "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelPolicyDefinitionScope.json"
- },
- "Query at subscription level policy definition scope with next link": {
- "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelPolicyDefinitionScopeNextLink.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults": {
- "post": {
- "operationId": "PolicyEvents_ListQueryResultsForSubscriptionLevelPolicyAssignment",
- "description": "Queries policy events for the subscription level policy assignment.",
- "parameters": [
- {
- "$ref": "#/parameters/policyEventsResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/authorizationNamespaceParameter"
- },
- {
- "$ref": "#/parameters/policyAssignmentNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- },
- {
- "$ref": "#/parameters/skipTokenParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyEventsQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "@odata.nextLink",
- "operationName": "PolicyEvents_NextLink"
- },
- "x-ms-examples": {
- "Query at subscription level policy assignment scope": {
- "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelPolicyAssignmentScope.json"
- },
- "Query at subscription level policy assignment scope with next link": {
- "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelPolicyAssignmentScopeNextLink.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults": {
- "post": {
- "operationId": "PolicyEvents_ListQueryResultsForResourceGroupLevelPolicyAssignment",
- "description": "Queries policy events for the resource group level policy assignment.",
- "parameters": [
- {
- "$ref": "#/parameters/policyEventsResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/authorizationNamespaceParameter"
- },
- {
- "$ref": "#/parameters/policyAssignmentNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- },
- {
- "$ref": "#/parameters/skipTokenParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyEventsQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "@odata.nextLink",
- "operationName": "PolicyEvents_NextLink"
- },
- "x-ms-examples": {
- "Query at resource group level policy assignment scope": {
- "$ref": "./examples/PolicyEvents_QueryResourceGroupLevelPolicyAssignmentScope.json"
- },
- "Query at resource group level policy assignment scope with next link": {
- "$ref": "./examples/PolicyEvents_QueryResourceGroupLevelPolicyAssignmentScopeNextLink.json"
- }
- }
- }
- }
- },
- "x-ms-paths": {
- "{nextLink}?Next paging op for policy events": {
- "post": {
- "operationId": "PolicyEvents_NextLink",
- "description": "Subsequent post calls to the next link",
- "parameters": [
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/skipTokenParameter"
- },
- {
- "name": "nextLink",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Next link for list operation.",
- "x-ms-skip-url-encoding": true
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyEventsQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Query latest at resource group level policy assignment scope with next link": {
- "$ref": "./examples/PolicyEvents_QueryManagementGroupScopeNextLinkSkipToken.json"
- }
- }
- }
- }
- },
- "definitions": {
- "PolicyEventsQueryResults": {
- "description": "Query results.",
- "properties": {
- "@odata.context": {
- "description": "OData context string; used by OData clients to resolve type information based on metadata.",
- "type": "string"
- },
- "@odata.count": {
- "description": "OData entity count; represents the number of policy event records returned.",
- "type": "integer",
- "format": "int32",
- "minimum": 0
- },
- "@odata.nextLink": {
- "description": "Odata next link; URL to get the next set of results.",
- "type": "string"
- },
- "value": {
- "description": "Query results.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/PolicyEvent"
- },
- "x-ms-identifiers": []
- }
- }
- },
- "PolicyEvent": {
- "type": "object",
- "description": "Policy event record.",
- "properties": {
- "@odata.id": {
- "description": "OData entity ID; always set to null since policy event records do not have an entity ID.",
- "type": "string"
- },
- "@odata.context": {
- "description": "OData context string; used by OData clients to resolve type information based on metadata.",
- "type": "string"
- },
- "timestamp": {
- "description": "Timestamp for the policy event record.",
- "type": "string",
- "format": "date-time"
- },
- "resourceId": {
- "description": "Resource ID.",
- "type": "string"
- },
- "policyAssignmentId": {
- "description": "Policy assignment ID.",
- "type": "string"
- },
- "policyDefinitionId": {
- "description": "Policy definition ID.",
- "type": "string"
- },
- "effectiveParameters": {
- "description": "Effective parameters for the policy assignment.",
- "type": "string"
- },
- "isCompliant": {
- "description": "Flag which states whether the resource is compliant against the policy assignment it was evaluated against.",
- "type": "boolean"
- },
- "subscriptionId": {
- "description": "Subscription ID.",
- "type": "string"
- },
- "resourceType": {
- "description": "Resource type.",
- "type": "string"
- },
- "resourceLocation": {
- "description": "Resource location.",
- "type": "string"
- },
- "resourceGroup": {
- "description": "Resource group name.",
- "type": "string"
- },
- "resourceTags": {
- "description": "List of resource tags.",
- "type": "string"
- },
- "policyAssignmentName": {
- "description": "Policy assignment name.",
- "type": "string"
- },
- "policyAssignmentOwner": {
- "description": "Policy assignment owner.",
- "type": "string"
- },
- "policyAssignmentParameters": {
- "description": "Policy assignment parameters.",
- "type": "string"
- },
- "policyAssignmentScope": {
- "description": "Policy assignment scope.",
- "type": "string"
- },
- "policyDefinitionName": {
- "description": "Policy definition name.",
- "type": "string"
- },
- "policyDefinitionAction": {
- "description": "Policy definition action, i.e. effect.",
- "type": "string"
- },
- "policyDefinitionCategory": {
- "description": "Policy definition category.",
- "type": "string"
- },
- "policySetDefinitionId": {
- "description": "Policy set definition ID, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "policySetDefinitionName": {
- "description": "Policy set definition name, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "policySetDefinitionOwner": {
- "description": "Policy set definition owner, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "policySetDefinitionCategory": {
- "description": "Policy set definition category, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "policySetDefinitionParameters": {
- "description": "Policy set definition parameters, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "managementGroupIds": {
- "description": "Comma separated list of management group IDs, which represent the hierarchy of the management groups the resource is under.",
- "type": "string"
- },
- "policyDefinitionReferenceId": {
- "description": "Reference ID for the policy definition inside the policy set, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "complianceState": {
- "description": "Compliance state of the resource.",
- "type": "string"
- },
- "tenantId": {
- "description": "Tenant ID for the policy event record.",
- "type": "string"
- },
- "principalOid": {
- "description": "Principal object ID for the user who initiated the resource operation that triggered the policy event.",
- "type": "string"
- },
- "components": {
- "description": "Components events records populated only when URL contains $expand=components clause.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/ComponentEventDetails"
- }
- }
- },
- "additionalProperties": {
- "description": "The list of key/value pairs for the additional properties, in the format 'key':'value' where key = the field name, and value = the field value. By default this is not populated"
- }
- },
- "ComponentEventDetails": {
- "type": "object",
- "description": "Component event details.",
- "properties": {
- "id": {
- "description": "Component Id.",
- "type": "string"
- },
- "type": {
- "description": "Component type.",
- "type": "string"
- },
- "name": {
- "description": "Component name.",
- "type": "string"
- },
- "timestamp": {
- "description": "Timestamp for component policy event record.",
- "type": "string",
- "format": "date-time"
- },
- "tenantId": {
- "description": "Tenant ID for the policy event record.",
- "type": "string"
- },
- "principalOid": {
- "description": "Principal object ID for the user who initiated the resource component operation that triggered the policy event.",
- "type": "string"
- },
- "policyDefinitionAction": {
- "description": "Policy definition action, i.e. effect.",
- "type": "string"
- }
- },
- "additionalProperties": {
- "description": "The list of key/value pairs for the additional properties, in the format 'key':'value' where key = the field name, and value = the field value. By default this is not populated"
- }
- },
- "QueryFailure": {
- "description": "Error response.",
- "properties": {
- "error": {
- "description": "Error definition.",
- "properties": {
- "code": {
- "description": "Service specific error code which serves as the substatus for the HTTP error code.",
- "type": "string",
- "readOnly": true
- },
- "message": {
- "description": "Description of the error.",
- "type": "string",
- "readOnly": true
- }
- }
- }
- }
- },
- "MetadataDocument": {
- "description": "Metadata XML document.",
- "type": "string"
- }
- },
- "parameters": {
- "policyEventsResourceParameter": {
- "name": "policyEventsResource",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "default"
- ],
- "x-ms-enum": {
- "name": "PolicyEventsResourceType",
- "modelAsString": true
- },
- "description": "The name of the virtual resource under PolicyEvents resource type; only \"default\" is allowed.",
- "x-ms-parameter-location": "method"
- },
- "managementGroupsNamespaceParameter": {
- "name": "managementGroupsNamespace",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "Microsoft.Management"
- ],
- "x-ms-enum": {
- "name": "ManagementGroupsNamespaceType",
- "modelAsString": false
- },
- "description": "The namespace for Microsoft Management RP; only \"Microsoft.Management\" is allowed.",
- "x-ms-parameter-location": "method"
- },
- "managementGroupNameParameter": {
- "name": "managementGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Management group name.",
- "x-ms-parameter-location": "method"
- },
- "subscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Microsoft Azure subscription ID.",
- "x-ms-parameter-location": "method"
- },
- "resourceGroupNameParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Resource group name.",
- "x-ms-parameter-location": "method"
- },
- "resourceIdParameter": {
- "name": "resourceId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Resource ID.",
- "x-ms-parameter-location": "method",
- "x-ms-skip-url-encoding": true
- },
- "authorizationNamespaceParameter": {
- "name": "authorizationNamespace",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "Microsoft.Authorization"
- ],
- "x-ms-enum": {
- "name": "AuthorizationNamespaceType",
- "modelAsString": false
- },
- "description": "The namespace for Microsoft Authorization resource provider; only \"Microsoft.Authorization\" is allowed.",
- "x-ms-parameter-location": "method"
- },
- "policySetDefinitionNameParameter": {
- "name": "policySetDefinitionName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Policy set definition name.",
- "x-ms-parameter-location": "method"
- },
- "policyDefinitionNameParameter": {
- "name": "policyDefinitionName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Policy definition name.",
- "x-ms-parameter-location": "method"
- },
- "policyAssignmentNameParameter": {
- "name": "policyAssignmentName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Policy assignment name.",
- "x-ms-parameter-location": "method"
- },
- "scopeParameter": {
- "name": "scope",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "A valid scope, i.e. management group, subscription, resource group, or resource ID. Scope used has no effect on metadata returned.",
- "x-ms-parameter-location": "method",
- "x-ms-skip-url-encoding": true
- },
- "apiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "Client Api Version.",
- "x-ms-parameter-location": "client"
- },
- "topParameter": {
- "name": "$top",
- "in": "query",
- "required": false,
- "type": "integer",
- "format": "int32",
- "minimum": 0,
- "description": "Maximum number of records to return.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Top"
- },
- "orderByParameter": {
- "name": "$orderby",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "Ordering expression using OData notation. One or more comma-separated column names with an optional \"desc\" (the default) or \"asc\", e.g. \"$orderby=PolicyAssignmentId, ResourceId asc\".",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "OrderBy"
- },
- "selectParameter": {
- "name": "$select",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "Select expression using OData notation. Limits the columns on each record to just those requested, e.g. \"$select=PolicyAssignmentId, ResourceId\".",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Select"
- },
- "fromParameter": {
- "name": "$from",
- "in": "query",
- "required": false,
- "type": "string",
- "format": "date-time",
- "description": "ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day).",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "From"
- },
- "toParameter": {
- "name": "$to",
- "in": "query",
- "required": false,
- "type": "string",
- "format": "date-time",
- "description": "ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "To"
- },
- "filterParameter": {
- "name": "$filter",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "OData filter expression.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Filter"
- },
- "applyParameter": {
- "name": "$apply",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "OData apply expression for aggregations.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Apply"
- },
- "expandParameter": {
- "name": "$expand",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "The $expand query parameter. For example, to expand components use $expand=components",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Expand"
- },
- "skipTokenParameter": {
- "name": "$skiptoken",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "Skiptoken is only provided if a previous response returned a partial result as a part of nextLink element.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "SkipToken"
- }
- }
-}
diff --git a/swagger-specs/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/policyMetadata.json b/swagger-specs/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/policyMetadata.json
deleted file mode 100644
index 71c72973e..000000000
--- a/swagger-specs/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/policyMetadata.json
+++ /dev/null
@@ -1,325 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "PolicyMetadataClient",
- "version": "2019-10-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/providers/Microsoft.PolicyInsights/policyMetadata/{resourceName}": {
- "get": {
- "operationId": "PolicyMetadata_GetResource",
- "description": "Get policy metadata resource.",
- "parameters": [
- {
- "$ref": "#/parameters/resourceNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Policy metadata resource definition.",
- "schema": {
- "$ref": "#/definitions/PolicyMetadata"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get a single policy metadata resource": {
- "$ref": "./examples/PolicyMetadata_GetResource.json"
- }
- }
- }
- },
- "/providers/Microsoft.PolicyInsights/policyMetadata": {
- "get": {
- "operationId": "PolicyMetadata_List",
- "description": "Get a list of the policy metadata resources.",
- "parameters": [
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Policy metadata resource collection.",
- "schema": {
- "$ref": "#/definitions/PolicyMetadataCollection"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "Get collection of policy metadata resources": {
- "$ref": "./examples/PolicyMetadata_List.json"
- },
- "Get collection of policy metadata resources using top query parameter": {
- "$ref": "./examples/PolicyMetadata_List_WithTop.json"
- }
- }
- }
- }
- },
- "definitions": {
- "PolicyMetadata": {
- "description": "Policy metadata resource definition.",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/PolicyMetadataProperties",
- "description": "Properties of the policy metadata."
- },
- "id": {
- "type": "string",
- "description": "The ID of the policy metadata.",
- "readOnly": true
- },
- "type": {
- "type": "string",
- "description": "The type of the policy metadata.",
- "readOnly": true
- },
- "name": {
- "type": "string",
- "description": "The name of the policy metadata.",
- "readOnly": true
- }
- }
- },
- "PolicyMetadataSlimProperties": {
- "description": "The properties of the policy metadata, excluding properties containing large strings",
- "properties": {
- "metadataId": {
- "description": "The policy metadata identifier.",
- "type": "string",
- "readOnly": true
- },
- "category": {
- "description": "The category of the policy metadata.",
- "type": "string",
- "readOnly": true
- },
- "title": {
- "description": "The title of the policy metadata.",
- "type": "string",
- "readOnly": true
- },
- "owner": {
- "description": "The owner of the policy metadata.",
- "type": "string",
- "readOnly": true
- },
- "additionalContentUrl": {
- "description": "Url for getting additional content about the resource metadata.",
- "type": "string",
- "readOnly": true
- },
- "metadata": {
- "description": "Additional metadata.",
- "type": "object",
- "readOnly": true
- }
- }
- },
- "PolicyMetadataProperties": {
- "description": "The properties of the policy metadata.",
- "properties": {
- "description": {
- "description": "The description of the policy metadata.",
- "type": "string",
- "readOnly": true
- },
- "requirements": {
- "description": "The requirements of the policy metadata.",
- "type": "string",
- "readOnly": true
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/PolicyMetadataSlimProperties"
- }
- ]
- },
- "SlimPolicyMetadata": {
- "description": "Slim version of policy metadata resource definition, excluding properties with large strings",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/PolicyMetadataSlimProperties",
- "description": "Properties of the policy metadata."
- },
- "id": {
- "type": "string",
- "description": "The ID of the policy metadata.",
- "readOnly": true
- },
- "type": {
- "type": "string",
- "description": "The type of the policy metadata.",
- "readOnly": true
- },
- "name": {
- "type": "string",
- "description": "The name of the policy metadata.",
- "readOnly": true
- }
- }
- },
- "PolicyMetadataCollection": {
- "description": "Collection of policy metadata resources.",
- "properties": {
- "value": {
- "description": "Array of policy metadata definitions.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/SlimPolicyMetadata"
- },
- "readOnly": true
- },
- "nextLink": {
- "type": "string",
- "description": "The URL to get the next set of results.",
- "readOnly": true
- }
- }
- },
- "ErrorResponse": {
- "description": "Error response.",
- "properties": {
- "error": {
- "$ref": "#/definitions/ErrorDefinition",
- "description": "The error details."
- }
- }
- },
- "ErrorDefinition": {
- "description": "Error definition.",
- "properties": {
- "code": {
- "description": "Service specific error code which serves as the substatus for the HTTP error code.",
- "type": "string",
- "readOnly": true
- },
- "message": {
- "description": "Description of the error.",
- "type": "string",
- "readOnly": true
- },
- "target": {
- "description": "The target of the error.",
- "type": "string",
- "readOnly": true
- },
- "details": {
- "description": "Internal error details.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/ErrorDefinition"
- },
- "x-ms-identifiers": [],
- "readOnly": true
- },
- "additionalInfo": {
- "description": "Additional scenario specific error details.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/TypedErrorInfo"
- },
- "x-ms-identifiers": [],
- "readOnly": true
- }
- }
- },
- "TypedErrorInfo": {
- "description": "Scenario specific error details.",
- "properties": {
- "type": {
- "description": "The type of included error details.",
- "type": "string",
- "readOnly": true
- },
- "info": {
- "description": "The scenario specific error details.",
- "readOnly": true
- }
- }
- }
- },
- "parameters": {
- "resourceNameParameter": {
- "name": "resourceName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the policy metadata resource.",
- "x-ms-parameter-location": "method",
- "x-ms-skip-url-encoding": true
- },
- "topParameter": {
- "name": "$top",
- "in": "query",
- "required": false,
- "type": "integer",
- "format": "int32",
- "minimum": 0,
- "description": "Maximum number of records to return.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Top"
- },
- "apiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "Client Api Version.",
- "x-ms-parameter-location": "client"
- }
- }
-}
diff --git a/swagger-specs/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/policyStates.json b/swagger-specs/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/policyStates.json
deleted file mode 100644
index 76bfc1b44..000000000
--- a/swagger-specs/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/policyStates.json
+++ /dev/null
@@ -1,1923 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "PolicyStatesClient",
- "version": "2019-10-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults": {
- "post": {
- "operationId": "PolicyStates_ListQueryResultsForManagementGroup",
- "description": "Queries policy states for the resources under the management group.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesResourceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupsNamespaceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- },
- {
- "$ref": "#/parameters/skipTokenParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyStatesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "@odata.nextLink",
- "operationName": "PolicyStates_NextLink"
- },
- "x-ms-examples": {
- "Query latest at management group scope": {
- "$ref": "./examples/PolicyStates_QueryManagementGroupScope.json"
- },
- "Query latest at management group scope with next link": {
- "$ref": "./examples/PolicyStates_QueryManagementGroupScopeNextLink.json"
- }
- }
- }
- },
- "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize": {
- "post": {
- "operationId": "PolicyStates_SummarizeForManagementGroup",
- "description": "Summarizes policy states for the resources under the management group.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesSummaryResourceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupsNamespaceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Summarize results.",
- "schema": {
- "$ref": "#/definitions/SummarizeResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Summarize at management group scope": {
- "$ref": "./examples/PolicyStates_SummarizeManagementGroupScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults": {
- "post": {
- "operationId": "PolicyStates_ListQueryResultsForSubscription",
- "description": "Queries policy states for the resources under the subscription.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- },
- {
- "$ref": "#/parameters/skipTokenParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyStatesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "@odata.nextLink",
- "operationName": "PolicyStates_NextLink"
- },
- "x-ms-examples": {
- "Query latest at subscription scope": {
- "$ref": "./examples/PolicyStates_QuerySubscriptionScope.json"
- },
- "Query latest at subscription scope with next link": {
- "$ref": "./examples/PolicyStates_QuerySubscriptionScopeNextLink.json"
- },
- "Time range; sort, select and limit": {
- "$ref": "./examples/PolicyStates_TimeRangeSortSelectTop.json"
- },
- "Filter and group with aggregate": {
- "$ref": "./examples/PolicyStates_FilterAndGroupByWithAggregate.json"
- },
- "Filter and group without aggregate": {
- "$ref": "./examples/PolicyStates_FilterAndGroupByWithoutAggregate.json"
- },
- "Filter and aggregate only": {
- "$ref": "./examples/PolicyStates_FilterAndAggregateOnly.json"
- },
- "Filter and multiple groups": {
- "$ref": "./examples/PolicyStates_FilterAndMultipleGroups.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize": {
- "post": {
- "operationId": "PolicyStates_SummarizeForSubscription",
- "description": "Summarizes policy states for the resources under the subscription.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesSummaryResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Summarize results.",
- "schema": {
- "$ref": "#/definitions/SummarizeResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Summarize at subscription scope": {
- "$ref": "./examples/PolicyStates_SummarizeSubscriptionScope.json"
- },
- "Summarize at subscription scope for a policy definition group": {
- "$ref": "./examples/PolicyStates_SummarizeSubscriptionScopeForPolicyGroup.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults": {
- "post": {
- "operationId": "PolicyStates_ListQueryResultsForResourceGroup",
- "description": "Queries policy states for the resources under the resource group.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- },
- {
- "$ref": "#/parameters/skipTokenParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyStatesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "@odata.nextLink",
- "operationName": "PolicyStates_NextLink"
- },
- "x-ms-examples": {
- "Query latest at resource group scope": {
- "$ref": "./examples/PolicyStates_QueryResourceGroupScope.json"
- },
- "Query latest at resource group scope with next link": {
- "$ref": "./examples/PolicyStates_QueryResourceGroupScopeNextLink.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize": {
- "post": {
- "operationId": "PolicyStates_SummarizeForResourceGroup",
- "description": "Summarizes policy states for the resources under the resource group.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesSummaryResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Summarize results.",
- "schema": {
- "$ref": "#/definitions/SummarizeResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Summarize at resource group scope": {
- "$ref": "./examples/PolicyStates_SummarizeResourceGroupScope.json"
- }
- }
- }
- },
- "/{resourceId}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults": {
- "post": {
- "operationId": "PolicyStates_ListQueryResultsForResource",
- "description": "Queries policy states for the resource.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesResourceParameter"
- },
- {
- "$ref": "#/parameters/resourceIdParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- },
- {
- "$ref": "#/parameters/expandParameter"
- },
- {
- "$ref": "#/parameters/skipTokenParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyStatesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "@odata.nextLink",
- "operationName": "PolicyStates_NextLink"
- },
- "x-ms-examples": {
- "Query all policy states at resource scope": {
- "$ref": "./examples/PolicyStates_QueryResourceScope.json"
- },
- "Query all policy states at resource scope with next link": {
- "$ref": "./examples/PolicyStates_QueryResourceScopeNextLink.json"
- },
- "Query all policy states at subscription level resource scope": {
- "$ref": "./examples/PolicyStates_QuerySubscriptionLevelResourceScope.json"
- },
- "Query all policy states at nested resource scope": {
- "$ref": "./examples/PolicyStates_QueryNestedResourceScope.json"
- },
- "Query all policy states at subscription level nested resource scope": {
- "$ref": "./examples/PolicyStates_QuerySubscriptionLevelNestedResourceScope.json"
- },
- "Query all policy states at resource scope and expand policyEvaluationDetails": {
- "$ref": "./examples/PolicyStates_QueryResourceScopeExpandPolicyEvaluationDetails.json"
- },
- "Query component policy compliance state at resource scope filtered by given assignment.": {
- "$ref": "./examples/PolicyStates_QueryResourceScopeExpandComponents.json"
- },
- "Query component policy compliance state count grouped by state type at resource scope filtered by given assignment.": {
- "$ref": "./examples/PolicyStates_QueryResourceScopeExpandComponentsGroupByWithAggregate.json"
- }
- }
- }
- },
- "/{resourceId}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize": {
- "post": {
- "operationId": "PolicyStates_SummarizeForResource",
- "description": "Summarizes policy states for the resource.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesSummaryResourceParameter"
- },
- {
- "$ref": "#/parameters/resourceIdParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Summarize results.",
- "schema": {
- "$ref": "#/definitions/SummarizeResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Summarize at resource scope": {
- "$ref": "./examples/PolicyStates_SummarizeResourceScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyStates/latest/triggerEvaluation": {
- "post": {
- "operationId": "PolicyStates_TriggerSubscriptionEvaluation",
- "description": "Triggers a policy evaluation scan for all the resources under the subscription",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The scan is done."
- },
- "202": {
- "description": "The scan was successfully triggered."
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Trigger evaluations for all resources in a subscription": {
- "$ref": "./examples/PolicyStates_TriggerSubscriptionEvaluation.json"
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "location"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyStates/latest/triggerEvaluation": {
- "post": {
- "operationId": "PolicyStates_TriggerResourceGroupEvaluation",
- "description": "Triggers a policy evaluation scan for all the resources under the resource group.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The scan is done."
- },
- "202": {
- "description": "The scan was successfully triggered."
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Trigger evaluations for all resources in a resource group": {
- "$ref": "./examples/PolicyStates_TriggerResourceGroupEvaluation.json"
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "location"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policySetDefinitions/{policySetDefinitionName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults": {
- "post": {
- "operationId": "PolicyStates_ListQueryResultsForPolicySetDefinition",
- "description": "Queries policy states for the subscription level policy set definition.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "$ref": "#/parameters/authorizationNamespaceParameter"
- },
- {
- "$ref": "#/parameters/policySetDefinitionNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- },
- {
- "$ref": "#/parameters/skipTokenParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyStatesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "@odata.nextLink",
- "operationName": "PolicyStates_NextLink"
- },
- "x-ms-examples": {
- "Query latest at subscription level policy set definition scope": {
- "$ref": "./examples/PolicyStates_QuerySubscriptionLevelPolicySetDefinitionScope.json"
- },
- "Query latest at subscription level policy set definition scope with next link": {
- "$ref": "./examples/PolicyStates_QuerySubscriptionLevelPolicySetDefinitionScopeNextLink.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policySetDefinitions/{policySetDefinitionName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize": {
- "post": {
- "operationId": "PolicyStates_SummarizeForPolicySetDefinition",
- "description": "Summarizes policy states for the subscription level policy set definition.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesSummaryResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "$ref": "#/parameters/authorizationNamespaceParameter"
- },
- {
- "$ref": "#/parameters/policySetDefinitionNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Summarize results.",
- "schema": {
- "$ref": "#/definitions/SummarizeResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Summarize at policy set definition scope": {
- "$ref": "./examples/PolicyStates_SummarizeSubscriptionLevelPolicySetDefinitionScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyDefinitions/{policyDefinitionName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults": {
- "post": {
- "operationId": "PolicyStates_ListQueryResultsForPolicyDefinition",
- "description": "Queries policy states for the subscription level policy definition.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "$ref": "#/parameters/authorizationNamespaceParameter"
- },
- {
- "$ref": "#/parameters/policyDefinitionNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- },
- {
- "$ref": "#/parameters/skipTokenParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyStatesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "@odata.nextLink",
- "operationName": "PolicyStates_NextLink"
- },
- "x-ms-examples": {
- "Query latest at subscription level policy definition scope": {
- "$ref": "./examples/PolicyStates_QuerySubscriptionLevelPolicyDefinitionScope.json"
- },
- "Query latest at subscription level policy definition scope with next link": {
- "$ref": "./examples/PolicyStates_QuerySubscriptionLevelPolicyDefinitionScopeNextLink.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyDefinitions/{policyDefinitionName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize": {
- "post": {
- "operationId": "PolicyStates_SummarizeForPolicyDefinition",
- "description": "Summarizes policy states for the subscription level policy definition.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesSummaryResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "$ref": "#/parameters/authorizationNamespaceParameter"
- },
- {
- "$ref": "#/parameters/policyDefinitionNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Summarize results.",
- "schema": {
- "$ref": "#/definitions/SummarizeResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Summarize at policy definition scope": {
- "$ref": "./examples/PolicyStates_SummarizeSubscriptionLevelPolicyDefinitionScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults": {
- "post": {
- "operationId": "PolicyStates_ListQueryResultsForSubscriptionLevelPolicyAssignment",
- "description": "Queries policy states for the subscription level policy assignment.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "$ref": "#/parameters/authorizationNamespaceParameter"
- },
- {
- "$ref": "#/parameters/policyAssignmentNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- },
- {
- "$ref": "#/parameters/skipTokenParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyStatesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "@odata.nextLink",
- "operationName": "PolicyStates_NextLink"
- },
- "x-ms-examples": {
- "Query latest at subscription level policy assignment scope": {
- "$ref": "./examples/PolicyStates_QuerySubscriptionLevelPolicyAssignmentScope.json"
- },
- "Query latest at subscription level policy assignment scope with next link": {
- "$ref": "./examples/PolicyStates_QuerySubscriptionLevelPolicyAssignmentScopeNextLink.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize": {
- "post": {
- "operationId": "PolicyStates_SummarizeForSubscriptionLevelPolicyAssignment",
- "description": "Summarizes policy states for the subscription level policy assignment.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesSummaryResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "$ref": "#/parameters/authorizationNamespaceParameter"
- },
- {
- "$ref": "#/parameters/policyAssignmentNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Summarize results.",
- "schema": {
- "$ref": "#/definitions/SummarizeResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Summarize at policy assignment scope": {
- "$ref": "./examples/PolicyStates_SummarizeSubscriptionLevelPolicyAssignmentScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults": {
- "post": {
- "operationId": "PolicyStates_ListQueryResultsForResourceGroupLevelPolicyAssignment",
- "description": "Queries policy states for the resource group level policy assignment.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/authorizationNamespaceParameter"
- },
- {
- "$ref": "#/parameters/policyAssignmentNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/orderByParameter"
- },
- {
- "$ref": "#/parameters/selectParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/applyParameter"
- },
- {
- "$ref": "#/parameters/skipTokenParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyStatesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "@odata.nextLink",
- "operationName": "PolicyStates_NextLink"
- },
- "x-ms-examples": {
- "Query latest at resource group level policy assignment scope": {
- "$ref": "./examples/PolicyStates_QueryResourceGroupLevelPolicyAssignmentScope.json"
- },
- "Query latest at resource group level policy assignment scope with next link": {
- "$ref": "./examples/PolicyStates_QueryResourceGroupLevelPolicyAssignmentScopeNextLink.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize": {
- "post": {
- "operationId": "PolicyStates_SummarizeForResourceGroupLevelPolicyAssignment",
- "description": "Summarizes policy states for the resource group level policy assignment.",
- "parameters": [
- {
- "$ref": "#/parameters/policyStatesSummaryResourceParameter"
- },
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/authorizationNamespaceParameter"
- },
- {
- "$ref": "#/parameters/policyAssignmentNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/fromParameter"
- },
- {
- "$ref": "#/parameters/toParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Summarize results.",
- "schema": {
- "$ref": "#/definitions/SummarizeResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Summarize at policy assignment scope": {
- "$ref": "./examples/PolicyStates_SummarizeResourceGroupLevelPolicyAssignmentScope.json"
- }
- }
- }
- }
- },
- "x-ms-paths": {
- "{nextLink}?Next paging op for policy states": {
- "post": {
- "operationId": "PolicyStates_NextLink",
- "description": "Subsequent post calls to the next link",
- "parameters": [
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/skipTokenParameter"
- },
- {
- "name": "nextLink",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Next link for list operation.",
- "x-ms-skip-url-encoding": true
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/PolicyStatesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "Query latest at resource group level policy assignment scope with next link": {
- "$ref": "./examples/PolicyStates_QueryManagementGroupScopeNextLinkSkipToken.json"
- }
- }
- }
- }
- },
- "definitions": {
- "PolicyStatesQueryResults": {
- "description": "Query results.",
- "properties": {
- "@odata.context": {
- "description": "OData context string; used by OData clients to resolve type information based on metadata.",
- "type": "string"
- },
- "@odata.count": {
- "description": "OData entity count; represents the number of policy state records returned.",
- "type": "integer",
- "format": "int32",
- "minimum": 0
- },
- "@odata.nextLink": {
- "description": "Odata next link; URL to get the next set of results.",
- "type": "string"
- },
- "value": {
- "description": "Query results.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/PolicyState"
- },
- "x-ms-identifiers": []
- }
- }
- },
- "PolicyState": {
- "type": "object",
- "description": "Policy state record.",
- "properties": {
- "@odata.id": {
- "description": "OData entity ID; always set to null since policy state records do not have an entity ID.",
- "type": "string"
- },
- "@odata.context": {
- "description": "OData context string; used by OData clients to resolve type information based on metadata.",
- "type": "string"
- },
- "timestamp": {
- "description": "Timestamp for the policy state record.",
- "type": "string",
- "format": "date-time"
- },
- "resourceId": {
- "description": "Resource ID.",
- "type": "string"
- },
- "policyAssignmentId": {
- "description": "Policy assignment ID.",
- "type": "string"
- },
- "policyDefinitionId": {
- "description": "Policy definition ID.",
- "type": "string"
- },
- "effectiveParameters": {
- "description": "Effective parameters for the policy assignment.",
- "type": "string"
- },
- "isCompliant": {
- "description": "Flag which states whether the resource is compliant against the policy assignment it was evaluated against. This property is deprecated; please use ComplianceState instead.",
- "type": "boolean"
- },
- "subscriptionId": {
- "description": "Subscription ID.",
- "type": "string"
- },
- "resourceType": {
- "description": "Resource type.",
- "type": "string"
- },
- "resourceLocation": {
- "description": "Resource location.",
- "type": "string"
- },
- "resourceGroup": {
- "description": "Resource group name.",
- "type": "string"
- },
- "resourceTags": {
- "description": "List of resource tags.",
- "type": "string"
- },
- "policyAssignmentName": {
- "description": "Policy assignment name.",
- "type": "string"
- },
- "policyAssignmentOwner": {
- "description": "Policy assignment owner.",
- "type": "string"
- },
- "policyAssignmentParameters": {
- "description": "Policy assignment parameters.",
- "type": "string"
- },
- "policyAssignmentScope": {
- "description": "Policy assignment scope.",
- "type": "string"
- },
- "policyDefinitionName": {
- "description": "Policy definition name.",
- "type": "string"
- },
- "policyDefinitionAction": {
- "description": "Policy definition action, i.e. effect.",
- "type": "string"
- },
- "policyDefinitionCategory": {
- "description": "Policy definition category.",
- "type": "string"
- },
- "policySetDefinitionId": {
- "description": "Policy set definition ID, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "policySetDefinitionName": {
- "description": "Policy set definition name, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "policySetDefinitionOwner": {
- "description": "Policy set definition owner, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "policySetDefinitionCategory": {
- "description": "Policy set definition category, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "policySetDefinitionParameters": {
- "description": "Policy set definition parameters, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "managementGroupIds": {
- "description": "Comma separated list of management group IDs, which represent the hierarchy of the management groups the resource is under.",
- "type": "string"
- },
- "policyDefinitionReferenceId": {
- "description": "Reference ID for the policy definition inside the policy set, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "complianceState": {
- "description": "Compliance state of the resource.",
- "type": "string"
- },
- "policyEvaluationDetails": {
- "description": "Policy evaluation details.",
- "type": "object",
- "$ref": "#/definitions/PolicyEvaluationDetails"
- },
- "policyDefinitionGroupNames": {
- "description": "Policy definition group names.",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "components": {
- "description": "Components state compliance records populated only when URL contains $expand=components clause.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/ComponentStateDetails"
- }
- },
- "policyDefinitionVersion": {
- "description": "Evaluated policy definition version.",
- "type": "string",
- "readOnly": true
- },
- "policySetDefinitionVersion": {
- "description": "Evaluated policy set definition version.",
- "type": "string",
- "readOnly": true
- },
- "policyAssignmentVersion": {
- "description": "Evaluated policy assignment version.",
- "type": "string",
- "readOnly": true
- }
- },
- "additionalProperties": {
- "description": "The list of key/value pairs for the additional properties, in the format 'key':'value' where key = the field name, and value = the field value. By default this is not populated"
- }
- },
- "PolicyEvaluationDetails": {
- "type": "object",
- "description": "Policy evaluation details.",
- "properties": {
- "evaluatedExpressions": {
- "description": "Details of the evaluated expressions.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/ExpressionEvaluationDetails"
- },
- "x-ms-identifiers": []
- },
- "ifNotExistsDetails": {
- "description": "Evaluation details of IfNotExists effect.",
- "type": "object",
- "$ref": "#/definitions/IfNotExistsEvaluationDetails"
- }
- }
- },
- "ComponentStateDetails": {
- "type": "object",
- "description": "Component state details.",
- "properties": {
- "id": {
- "description": "Component Id.",
- "type": "string"
- },
- "type": {
- "description": "Component type.",
- "type": "string"
- },
- "name": {
- "description": "Component name.",
- "type": "string"
- },
- "timestamp": {
- "description": "Component compliance evaluation timestamp.",
- "type": "string",
- "format": "date-time"
- },
- "complianceState": {
- "description": "Component compliance state.",
- "type": "string"
- }
- },
- "additionalProperties": {
- "description": "The list of key/value pairs for the additional properties, in the format 'key':'value' where key = the field name, and value = the field value. By default this is not populated"
- }
- },
- "ExpressionEvaluationDetails": {
- "type": "object",
- "description": "Evaluation details of policy language expressions.",
- "properties": {
- "result": {
- "description": "Evaluation result.",
- "type": "string"
- },
- "expression": {
- "description": "Expression evaluated.",
- "type": "string"
- },
- "expressionKind": {
- "description": "The kind of expression that was evaluated.",
- "type": "string",
- "readOnly": true
- },
- "path": {
- "description": "Property path if the expression is a field or an alias.",
- "type": "string"
- },
- "expressionValue": {
- "description": "Value of the expression.",
- "type": "object"
- },
- "targetValue": {
- "description": "Target value to be compared with the expression value.",
- "type": "object"
- },
- "operator": {
- "description": "Operator to compare the expression value and the target value.",
- "type": "string"
- }
- }
- },
- "IfNotExistsEvaluationDetails": {
- "type": "object",
- "description": "Evaluation details of IfNotExists effect.",
- "properties": {
- "resourceId": {
- "description": "ID of the last evaluated resource for IfNotExists effect.",
- "type": "string"
- },
- "totalResources": {
- "description": "Total number of resources to which the existence condition is applicable.",
- "type": "integer"
- }
- }
- },
- "SummarizeResults": {
- "description": "Summarize action results.",
- "properties": {
- "@odata.context": {
- "description": "OData context string; used by OData clients to resolve type information based on metadata.",
- "type": "string"
- },
- "@odata.count": {
- "description": "OData entity count; represents the number of summaries returned; always set to 1.",
- "type": "integer",
- "format": "int32",
- "minimum": 1,
- "maximum": 1
- },
- "value": {
- "description": "Summarize action results.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/Summary"
- },
- "x-ms-identifiers": []
- }
- }
- },
- "Summary": {
- "description": "Summary results.",
- "properties": {
- "@odata.id": {
- "description": "OData entity ID; always set to null since summaries do not have an entity ID.",
- "type": "string"
- },
- "@odata.context": {
- "description": "OData context string; used by OData clients to resolve type information based on metadata.",
- "type": "string"
- },
- "results": {
- "description": "Compliance summary for all policy assignments.",
- "$ref": "#/definitions/SummaryResults"
- },
- "policyAssignments": {
- "description": "Policy assignments summary.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/PolicyAssignmentSummary"
- },
- "x-ms-identifiers": [
- "policyAssignmentId"
- ]
- }
- }
- },
- "SummaryResults": {
- "description": "Compliance summary on a particular summary level.",
- "properties": {
- "queryResultsUri": {
- "description": "HTTP POST URI for queryResults action on Microsoft.PolicyInsights to retrieve raw results for the compliance summary. This property will not be available by default in future API versions, but could be queried explicitly.",
- "type": "string"
- },
- "nonCompliantResources": {
- "description": "Number of non-compliant resources.",
- "type": "integer",
- "format": "int32",
- "minimum": 0
- },
- "nonCompliantPolicies": {
- "description": "Number of non-compliant policies.",
- "type": "integer",
- "format": "int32",
- "minimum": 0
- },
- "resourceDetails": {
- "description": "The resources summary at this level.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/ComplianceDetail"
- },
- "x-ms-identifiers": []
- },
- "policyDetails": {
- "description": "The policy artifact summary at this level. For query scope level, it represents policy assignment summary. For policy assignment level, it represents policy definitions summary.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/ComplianceDetail"
- },
- "x-ms-identifiers": []
- },
- "policyGroupDetails": {
- "description": "The policy definition group summary at this level.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/ComplianceDetail"
- },
- "x-ms-identifiers": []
- }
- }
- },
- "ComplianceDetail": {
- "description": "The compliance state rollup.",
- "properties": {
- "complianceState": {
- "description": "The compliance state.",
- "type": "string"
- },
- "count": {
- "description": "Summarized count value for this compliance state.",
- "type": "integer",
- "format": "int32"
- }
- }
- },
- "PolicyAssignmentSummary": {
- "description": "Policy assignment summary.",
- "properties": {
- "policyAssignmentId": {
- "description": "Policy assignment ID.",
- "type": "string"
- },
- "policySetDefinitionId": {
- "description": "Policy set definition ID, if the policy assignment is for a policy set.",
- "type": "string"
- },
- "results": {
- "description": "Compliance summary for the policy assignment.",
- "$ref": "#/definitions/SummaryResults"
- },
- "policyDefinitions": {
- "description": "Policy definitions summary.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/PolicyDefinitionSummary"
- },
- "x-ms-identifiers": [
- "policyDefinitionId"
- ]
- },
- "policyGroups": {
- "description": "Policy definition group summary.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/PolicyGroupSummary"
- },
- "x-ms-identifiers": [
- "policyGroupName"
- ]
- }
- }
- },
- "PolicyDefinitionSummary": {
- "description": "Policy definition summary.",
- "properties": {
- "policyDefinitionId": {
- "description": "Policy definition ID.",
- "type": "string"
- },
- "policyDefinitionReferenceId": {
- "description": "Policy definition reference ID.",
- "type": "string"
- },
- "policyDefinitionGroupNames": {
- "description": "Policy definition group names.",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "effect": {
- "description": "Policy effect, i.e. policy definition action.",
- "type": "string"
- },
- "results": {
- "description": "Compliance summary for the policy definition.",
- "$ref": "#/definitions/SummaryResults"
- }
- }
- },
- "PolicyGroupSummary": {
- "description": "Policy definition group summary.",
- "properties": {
- "policyGroupName": {
- "description": "Policy group name.",
- "type": "string"
- },
- "results": {
- "description": "Compliance summary for the policy definition group.",
- "$ref": "#/definitions/SummaryResults"
- }
- }
- },
- "QueryFailure": {
- "description": "Error response.",
- "properties": {
- "error": {
- "description": "Error definition.",
- "properties": {
- "code": {
- "description": "Service specific error code which serves as the substatus for the HTTP error code.",
- "type": "string",
- "readOnly": true
- },
- "message": {
- "description": "Description of the error.",
- "type": "string",
- "readOnly": true
- }
- }
- }
- }
- },
- "MetadataDocument": {
- "description": "Metadata XML document.",
- "type": "string"
- }
- },
- "parameters": {
- "policyStatesResourceParameter": {
- "name": "policyStatesResource",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "default",
- "latest"
- ],
- "x-ms-enum": {
- "name": "PolicyStatesResource",
- "modelAsString": true
- },
- "description": "The virtual resource under PolicyStates resource type. In a given time range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy state(s).",
- "x-ms-parameter-location": "method"
- },
- "policyStatesSummaryResourceParameter": {
- "name": "policyStatesSummaryResource",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "latest"
- ],
- "x-ms-enum": {
- "name": "PolicyStatesSummaryResourceType",
- "modelAsString": true
- },
- "description": "The virtual resource under PolicyStates resource type for summarize action. In a given time range, 'latest' represents the latest policy state(s) and is the only allowed value.",
- "x-ms-parameter-location": "method"
- },
- "managementGroupsNamespaceParameter": {
- "name": "managementGroupsNamespace",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "Microsoft.Management"
- ],
- "x-ms-enum": {
- "name": "ManagementGroupsNamespaceType",
- "modelAsString": false
- },
- "description": "The namespace for Microsoft Management RP; only \"Microsoft.Management\" is allowed.",
- "x-ms-parameter-location": "method"
- },
- "managementGroupNameParameter": {
- "name": "managementGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Management group name.",
- "x-ms-parameter-location": "method"
- },
- "subscriptionId": {
- "name": "subscriptionId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Microsoft Azure subscription ID.",
- "x-ms-parameter-location": "method"
- },
- "resourceGroupNameParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Resource group name.",
- "x-ms-parameter-location": "method"
- },
- "resourceIdParameter": {
- "name": "resourceId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Resource ID.",
- "x-ms-parameter-location": "method",
- "x-ms-skip-url-encoding": true
- },
- "authorizationNamespaceParameter": {
- "name": "authorizationNamespace",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "Microsoft.Authorization"
- ],
- "x-ms-enum": {
- "name": "AuthorizationNamespaceType",
- "modelAsString": false
- },
- "description": "The namespace for Microsoft Authorization resource provider; only \"Microsoft.Authorization\" is allowed.",
- "x-ms-parameter-location": "method"
- },
- "policySetDefinitionNameParameter": {
- "name": "policySetDefinitionName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Policy set definition name.",
- "x-ms-parameter-location": "method"
- },
- "policyDefinitionNameParameter": {
- "name": "policyDefinitionName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Policy definition name.",
- "x-ms-parameter-location": "method"
- },
- "policyAssignmentNameParameter": {
- "name": "policyAssignmentName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Policy assignment name.",
- "x-ms-parameter-location": "method"
- },
- "scopeParameter": {
- "name": "scope",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "A valid scope, i.e. management group, subscription, resource group, or resource ID. Scope used has no effect on metadata returned.",
- "x-ms-parameter-location": "method",
- "x-ms-skip-url-encoding": true
- },
- "apiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "Client Api Version.",
- "x-ms-parameter-location": "client"
- },
- "topParameter": {
- "name": "$top",
- "in": "query",
- "required": false,
- "type": "integer",
- "format": "int32",
- "minimum": 0,
- "description": "Maximum number of records to return.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Top"
- },
- "orderByParameter": {
- "name": "$orderby",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "Ordering expression using OData notation. One or more comma-separated column names with an optional \"desc\" (the default) or \"asc\", e.g. \"$orderby=PolicyAssignmentId, ResourceId asc\".",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "OrderBy"
- },
- "selectParameter": {
- "name": "$select",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "Select expression using OData notation. Limits the columns on each record to just those requested, e.g. \"$select=PolicyAssignmentId, ResourceId\".",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Select"
- },
- "fromParameter": {
- "name": "$from",
- "in": "query",
- "required": false,
- "type": "string",
- "format": "date-time",
- "description": "ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day).",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "From"
- },
- "toParameter": {
- "name": "$to",
- "in": "query",
- "required": false,
- "type": "string",
- "format": "date-time",
- "description": "ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "To"
- },
- "filterParameter": {
- "name": "$filter",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "OData filter expression.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Filter"
- },
- "applyParameter": {
- "name": "$apply",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "OData apply expression for aggregations.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Apply"
- },
- "expandParameter": {
- "name": "$expand",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "The $expand query parameter. For example, to expand components use $expand=components",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Expand"
- },
- "skipTokenParameter": {
- "name": "$skiptoken",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "Skiptoken is only provided if a previous response returned a partial result as a part of nextLink element.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "SkipToken"
- }
- }
-}
diff --git a/swagger-specs/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/remediations.json b/swagger-specs/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/remediations.json
deleted file mode 100644
index c1dcc866f..000000000
--- a/swagger-specs/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/remediations.json
+++ /dev/null
@@ -1,1444 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "RemediationsClient",
- "version": "2021-10-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}/listDeployments": {
- "post": {
- "operationId": "Remediations_ListDeploymentsAtManagementGroup",
- "description": "Gets all deployments for a remediation at management group scope.",
- "parameters": [
- {
- "$ref": "#/parameters/managementGroupsNamespaceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupIdParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The retrieved remediation deployments.",
- "schema": {
- "$ref": "#/definitions/RemediationDeploymentsListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List deployments for a remediation at management group scope": {
- "$ref": "./examples/Remediations_ListDeploymentsManagementGroupScope.json"
- }
- }
- }
- },
- "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}/cancel": {
- "post": {
- "operationId": "Remediations_CancelAtManagementGroup",
- "description": "Cancels a remediation at management group scope.",
- "parameters": [
- {
- "$ref": "#/parameters/managementGroupsNamespaceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupIdParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The remediation that was canceled.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Cancel a remediation at management group scope": {
- "$ref": "./examples/Remediations_CancelManagementGroupScope.json"
- }
- }
- }
- },
- "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupId}/providers/Microsoft.PolicyInsights/remediations": {
- "get": {
- "operationId": "Remediations_ListForManagementGroup",
- "description": "Gets all remediations for the management group.",
- "parameters": [
- {
- "$ref": "#/parameters/managementGroupsNamespaceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupIdParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The retrieved remediations.",
- "schema": {
- "$ref": "#/definitions/RemediationListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List remediations at management group scope": {
- "$ref": "./examples/Remediations_ListManagementGroupScope.json"
- },
- "List remediations at management group scope with query parameters": {
- "$ref": "./examples/Remediations_ListManagementGroupScope_WithQuery.json"
- }
- }
- }
- },
- "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}": {
- "put": {
- "operationId": "Remediations_CreateOrUpdateAtManagementGroup",
- "description": "Creates or updates a remediation at management group scope.",
- "parameters": [
- {
- "$ref": "#/parameters/managementGroupsNamespaceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupIdParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/Remediation"
- },
- "description": "The remediation parameters."
- }
- ],
- "responses": {
- "200": {
- "description": "The updated remediation.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "201": {
- "description": "The created remediation.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Create remediation at management group scope": {
- "$ref": "./examples/Remediations_CreateManagementGroupScope.json"
- }
- }
- },
- "get": {
- "operationId": "Remediations_GetAtManagementGroup",
- "description": "Gets an existing remediation at management group scope.",
- "parameters": [
- {
- "$ref": "#/parameters/managementGroupsNamespaceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupIdParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The retrieved remediation.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get remediation at management group scope": {
- "$ref": "./examples/Remediations_GetManagementGroupScope.json"
- }
- }
- },
- "delete": {
- "operationId": "Remediations_DeleteAtManagementGroup",
- "description": "Deletes an existing remediation at management group scope.",
- "parameters": [
- {
- "$ref": "#/parameters/managementGroupsNamespaceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupIdParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The deleted remediation.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "204": {
- "description": "The remediation did not exist."
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Delete remediation at management group scope": {
- "$ref": "./examples/Remediations_DeleteManagementGroupScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}/listDeployments": {
- "post": {
- "operationId": "Remediations_ListDeploymentsAtSubscription",
- "description": "Gets all deployments for a remediation at subscription scope.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The retrieved remediation deployments.",
- "schema": {
- "$ref": "#/definitions/RemediationDeploymentsListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List deployments for a remediation at subscription scope": {
- "$ref": "./examples/Remediations_ListDeploymentsSubscriptionScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}/cancel": {
- "post": {
- "operationId": "Remediations_CancelAtSubscription",
- "description": "Cancels a remediation at subscription scope.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The remediation that was canceled.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Cancel a remediation at subscription scope": {
- "$ref": "./examples/Remediations_CancelSubscriptionScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/remediations": {
- "get": {
- "operationId": "Remediations_ListForSubscription",
- "description": "Gets all remediations for the subscription.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The retrieved remediations.",
- "schema": {
- "$ref": "#/definitions/RemediationListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List remediations at subscription scope": {
- "$ref": "./examples/Remediations_ListSubscriptionScope.json"
- },
- "List remediations at subscription scope with query parameters": {
- "$ref": "./examples/Remediations_ListSubscriptionScope_WithQuery.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}": {
- "put": {
- "operationId": "Remediations_CreateOrUpdateAtSubscription",
- "description": "Creates or updates a remediation at subscription scope.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/Remediation"
- },
- "description": "The remediation parameters."
- }
- ],
- "responses": {
- "200": {
- "description": "The updated remediation.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "201": {
- "description": "The created remediation.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Create remediation at subscription scope": {
- "$ref": "./examples/Remediations_CreateSubscriptionScope.json"
- },
- "Create remediation at subscription scope with all properties": {
- "$ref": "./examples/Remediations_CreateSubscriptionScope_AllProperties.json"
- }
- }
- },
- "get": {
- "operationId": "Remediations_GetAtSubscription",
- "description": "Gets an existing remediation at subscription scope.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The retrieved remediation.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get remediation at subscription scope": {
- "$ref": "./examples/Remediations_GetSubscriptionScope.json"
- }
- }
- },
- "delete": {
- "operationId": "Remediations_DeleteAtSubscription",
- "description": "Deletes an existing remediation at subscription scope.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The deleted remediation.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "204": {
- "description": "The remediation did not exist."
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Delete remediation at subscription scope": {
- "$ref": "./examples/Remediations_DeleteSubscriptionScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/remediations/{remediationName}/listDeployments": {
- "post": {
- "operationId": "Remediations_ListDeploymentsAtResourceGroup",
- "description": "Gets all deployments for a remediation at resource group scope.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The retrieved remediation deployments.",
- "schema": {
- "$ref": "#/definitions/RemediationDeploymentsListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List deployments for a remediation at resource group scope": {
- "$ref": "./examples/Remediations_ListDeploymentsResourceGroupScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/remediations/{remediationName}/cancel": {
- "post": {
- "operationId": "Remediations_CancelAtResourceGroup",
- "description": "Cancels a remediation at resource group scope.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The remediation that was canceled.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Cancel a remediation at resource group scope": {
- "$ref": "./examples/Remediations_CancelResourceGroupScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/remediations": {
- "get": {
- "operationId": "Remediations_ListForResourceGroup",
- "description": "Gets all remediations for the subscription.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The retrieved remediations.",
- "schema": {
- "$ref": "#/definitions/RemediationListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List remediations at resource group scope": {
- "$ref": "./examples/Remediations_ListResourceGroupScope.json"
- },
- "List remediations at resource group scope with query parameters": {
- "$ref": "./examples/Remediations_ListResourceGroupScope_WithQuery.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/remediations/{remediationName}": {
- "put": {
- "operationId": "Remediations_CreateOrUpdateAtResourceGroup",
- "description": "Creates or updates a remediation at resource group scope.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/Remediation"
- },
- "description": "The remediation parameters."
- }
- ],
- "responses": {
- "200": {
- "description": "The updated remediation.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "201": {
- "description": "The created remediation.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Create remediation at resource group scope": {
- "$ref": "./examples/Remediations_CreateResourceGroupScope.json"
- }
- }
- },
- "get": {
- "operationId": "Remediations_GetAtResourceGroup",
- "description": "Gets an existing remediation at resource group scope.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The retrieved remediation.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get remediation at resource group scope": {
- "$ref": "./examples/Remediations_GetResourceGroupScope.json"
- }
- }
- },
- "delete": {
- "operationId": "Remediations_DeleteAtResourceGroup",
- "description": "Deletes an existing remediation at resource group scope.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The deleted remediation.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "204": {
- "description": "The remediation did not exist."
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Delete remediation at resource group scope": {
- "$ref": "./examples/Remediations_DeleteResourceGroupScope.json"
- }
- }
- }
- },
- "/{resourceId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}/listDeployments": {
- "post": {
- "operationId": "Remediations_ListDeploymentsAtResource",
- "description": "Gets all deployments for a remediation at resource scope.",
- "parameters": [
- {
- "$ref": "#/parameters/resourceIdParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The retrieved remediation deployments.",
- "schema": {
- "$ref": "#/definitions/RemediationDeploymentsListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List deployments for a remediation at individual resource scope": {
- "$ref": "./examples/Remediations_ListDeploymentsResourceScope.json"
- }
- }
- }
- },
- "/{resourceId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}/cancel": {
- "post": {
- "operationId": "Remediations_CancelAtResource",
- "description": "Cancel a remediation at resource scope.",
- "parameters": [
- {
- "$ref": "#/parameters/resourceIdParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The remediation that was canceled.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Cancel a remediation at individual resource scope": {
- "$ref": "./examples/Remediations_CancelResourceScope.json"
- }
- }
- }
- },
- "/{resourceId}/providers/Microsoft.PolicyInsights/remediations": {
- "get": {
- "operationId": "Remediations_ListForResource",
- "description": "Gets all remediations for a resource.",
- "parameters": [
- {
- "$ref": "#/parameters/resourceIdParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The retrieved remediations.",
- "schema": {
- "$ref": "#/definitions/RemediationListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List remediations at individual resource scope": {
- "$ref": "./examples/Remediations_ListResourceScope.json"
- },
- "List remediations at individual resource scope with query parameters": {
- "$ref": "./examples/Remediations_ListResourceScope_WithQuery.json"
- }
- }
- }
- },
- "/{resourceId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}": {
- "put": {
- "operationId": "Remediations_CreateOrUpdateAtResource",
- "description": "Creates or updates a remediation at resource scope.",
- "parameters": [
- {
- "$ref": "#/parameters/resourceIdParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/Remediation"
- },
- "description": "The remediation parameters."
- }
- ],
- "responses": {
- "200": {
- "description": "The updated remediation.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "201": {
- "description": "The created remediation.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Create remediation at individual resource scope": {
- "$ref": "./examples/Remediations_CreateResourceScope.json"
- }
- }
- },
- "get": {
- "operationId": "Remediations_GetAtResource",
- "description": "Gets an existing remediation at resource scope.",
- "parameters": [
- {
- "$ref": "#/parameters/resourceIdParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The retrieved remediation.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get remediation at individual resource scope": {
- "$ref": "./examples/Remediations_GetResourceScope.json"
- }
- }
- },
- "delete": {
- "operationId": "Remediations_DeleteAtResource",
- "description": "Deletes an existing remediation at individual resource scope.",
- "parameters": [
- {
- "$ref": "#/parameters/resourceIdParameter"
- },
- {
- "$ref": "#/parameters/remediationNameParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The deleted remediation.",
- "schema": {
- "$ref": "#/definitions/Remediation"
- }
- },
- "204": {
- "description": "The remediation did not exist."
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Delete remediation at individual resource scope": {
- "$ref": "./examples/Remediations_DeleteResourceScope.json"
- }
- }
- }
- }
- },
- "definitions": {
- "RemediationListResult": {
- "description": "List of remediations.",
- "properties": {
- "value": {
- "description": "Array of remediation definitions.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/Remediation"
- },
- "readOnly": true
- },
- "nextLink": {
- "type": "string",
- "description": "The URL to get the next set of results.",
- "readOnly": true
- }
- }
- },
- "RemediationDeploymentsListResult": {
- "description": "List of deployments for a remediation.",
- "properties": {
- "value": {
- "description": "Array of deployments for the remediation.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/RemediationDeployment"
- },
- "x-ms-identifiers": [
- "remediatedResourceId"
- ],
- "readOnly": true
- },
- "nextLink": {
- "type": "string",
- "description": "The URL to get the next set of results.",
- "readOnly": true
- }
- }
- },
- "RemediationDeployment": {
- "description": "Details of a single deployment created by the remediation.",
- "properties": {
- "remediatedResourceId": {
- "type": "string",
- "description": "Resource ID of the resource that is being remediated by the deployment.",
- "readOnly": true
- },
- "deploymentId": {
- "type": "string",
- "description": "Resource ID of the template deployment that will remediate the resource.",
- "readOnly": true
- },
- "status": {
- "type": "string",
- "description": "Status of the remediation deployment.",
- "readOnly": true
- },
- "resourceLocation": {
- "type": "string",
- "description": "Location of the resource that is being remediated.",
- "readOnly": true
- },
- "error": {
- "$ref": "#/definitions/ErrorDefinition",
- "description": "Error encountered while remediated the resource.",
- "readOnly": true
- },
- "createdOn": {
- "type": "string",
- "format": "date-time",
- "description": "The time at which the remediation was created.",
- "readOnly": true
- },
- "lastUpdatedOn": {
- "type": "string",
- "format": "date-time",
- "description": "The time at which the remediation deployment was last updated.",
- "readOnly": true
- }
- }
- },
- "Remediation": {
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/RemediationProperties",
- "description": "Properties for the remediation."
- },
- "id": {
- "type": "string",
- "description": "The ID of the remediation.",
- "readOnly": true
- },
- "type": {
- "type": "string",
- "description": "The type of the remediation.",
- "readOnly": true
- },
- "name": {
- "type": "string",
- "description": "The name of the remediation.",
- "readOnly": true
- },
- "systemData": {
- "readOnly": true,
- "type": "object",
- "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.",
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/systemData"
- }
- },
- "description": "The remediation definition.",
- "x-ms-azure-resource": true
- },
- "RemediationProperties": {
- "properties": {
- "policyAssignmentId": {
- "type": "string",
- "description": "The resource ID of the policy assignment that should be remediated."
- },
- "policyDefinitionReferenceId": {
- "type": "string",
- "description": "The policy definition reference ID of the individual definition that should be remediated. Required when the policy assignment being remediated assigns a policy set definition."
- },
- "resourceDiscoveryMode": {
- "type": "string",
- "enum": [
- "ExistingNonCompliant",
- "ReEvaluateCompliance"
- ],
- "x-ms-enum": {
- "name": "ResourceDiscoveryMode",
- "modelAsString": true,
- "values": [
- {
- "value": "ExistingNonCompliant",
- "description": "Remediate resources that are already known to be non-compliant."
- },
- {
- "value": "ReEvaluateCompliance",
- "description": "Re-evaluate the compliance state of resources and then remediate the resources found to be non-compliant."
- }
- ]
- },
- "description": "The way resources to remediate are discovered. Defaults to ExistingNonCompliant if not specified."
- },
- "provisioningState": {
- "type": "string",
- "description": "The status of the remediation. This refers to the entire remediation task, not individual deployments. Allowed values are Evaluating, Canceled, Cancelling, Failed, Complete, or Succeeded.",
- "readOnly": true
- },
- "createdOn": {
- "type": "string",
- "format": "date-time",
- "description": "The time at which the remediation was created.",
- "readOnly": true
- },
- "lastUpdatedOn": {
- "type": "string",
- "format": "date-time",
- "description": "The time at which the remediation was last updated.",
- "readOnly": true
- },
- "filters": {
- "$ref": "#/definitions/RemediationFilters",
- "description": "The filters that will be applied to determine which resources to remediate."
- },
- "deploymentStatus": {
- "$ref": "#/definitions/RemediationDeploymentSummary",
- "description": "The deployment status summary for all deployments created by the remediation.",
- "readOnly": true
- },
- "statusMessage": {
- "type": "string",
- "description": "The remediation status message. Provides additional details regarding the state of the remediation.",
- "readOnly": true
- },
- "correlationId": {
- "type": "string",
- "description": "The remediation correlation Id. Can be used to find events related to the remediation in the activity log.",
- "readOnly": true
- },
- "resourceCount": {
- "type": "integer",
- "format": "int32",
- "description": "Determines the max number of resources that can be remediated by the remediation job. If not provided, the default resource count is used."
- },
- "parallelDeployments": {
- "type": "integer",
- "format": "int32",
- "description": "Determines how many resources to remediate at any given time. Can be used to increase or reduce the pace of the remediation. If not provided, the default parallel deployments value is used."
- },
- "failureThreshold": {
- "type": "object",
- "properties": {
- "percentage": {
- "type": "number",
- "format": "float",
- "description": "A number between 0.0 to 1.0 representing the percentage failure threshold. The remediation will fail if the percentage of failed remediation operations (i.e. failed deployments) exceeds this threshold."
- }
- },
- "description": "The remediation failure threshold settings"
- }
- },
- "description": "The remediation properties."
- },
- "RemediationFilters": {
- "properties": {
- "locations": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "The resource locations that will be remediated."
- }
- },
- "description": "The filters that will be applied to determine which resources to remediate."
- },
- "RemediationDeploymentSummary": {
- "properties": {
- "totalDeployments": {
- "type": "integer",
- "description": "The number of deployments required by the remediation.",
- "readOnly": true
- },
- "successfulDeployments": {
- "type": "integer",
- "description": "The number of deployments required by the remediation that have succeeded.",
- "readOnly": true
- },
- "failedDeployments": {
- "type": "integer",
- "description": "The number of deployments required by the remediation that have failed.",
- "readOnly": true
- }
- },
- "description": "The deployment status summary for all deployments created by the remediation."
- },
- "ErrorResponse": {
- "description": "Error response.",
- "properties": {
- "error": {
- "$ref": "#/definitions/ErrorDefinition",
- "description": "The error details."
- }
- }
- },
- "ErrorDefinition": {
- "description": "Error definition.",
- "properties": {
- "code": {
- "description": "Service specific error code which serves as the substatus for the HTTP error code.",
- "type": "string",
- "readOnly": true
- },
- "message": {
- "description": "Description of the error.",
- "type": "string",
- "readOnly": true
- },
- "target": {
- "description": "The target of the error.",
- "type": "string",
- "readOnly": true
- },
- "details": {
- "description": "Internal error details.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/ErrorDefinition"
- },
- "x-ms-identifiers": [],
- "readOnly": true
- },
- "additionalInfo": {
- "description": "Additional scenario specific error details.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/TypedErrorInfo"
- },
- "x-ms-identifiers": [],
- "readOnly": true
- }
- }
- },
- "TypedErrorInfo": {
- "description": "Scenario specific error details.",
- "properties": {
- "type": {
- "description": "The type of included error details.",
- "type": "string",
- "readOnly": true
- },
- "info": {
- "description": "The scenario specific error details.",
- "readOnly": true
- }
- }
- }
- },
- "parameters": {
- "remediationNameParameter": {
- "name": "remediationName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the remediation.",
- "x-ms-parameter-location": "method"
- },
- "managementGroupsNamespaceParameter": {
- "name": "managementGroupsNamespace",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "Microsoft.Management"
- ],
- "x-ms-enum": {
- "name": "ManagementGroupsNamespaceType",
- "modelAsString": false
- },
- "description": "The namespace for Microsoft Management RP; only \"Microsoft.Management\" is allowed.",
- "x-ms-parameter-location": "method"
- },
- "managementGroupIdParameter": {
- "name": "managementGroupId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Management group ID.",
- "x-ms-parameter-location": "method"
- },
- "resourceGroupNameParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Resource group name.",
- "x-ms-parameter-location": "method"
- },
- "resourceIdParameter": {
- "name": "resourceId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Resource ID.",
- "x-ms-parameter-location": "method",
- "x-ms-skip-url-encoding": true
- },
- "topParameter": {
- "name": "$top",
- "in": "query",
- "required": false,
- "type": "integer",
- "format": "int32",
- "minimum": 0,
- "description": "Maximum number of records to return.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Top"
- },
- "filterParameter": {
- "name": "$filter",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "OData filter expression.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Filter"
- },
- "subscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Microsoft Azure subscription ID."
- },
- "apiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "Client Api Version.",
- "x-ms-parameter-location": "client"
- }
- }
-}
diff --git a/swagger-specs/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2022-04-01/componentPolicyStates.json b/swagger-specs/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2022-04-01/componentPolicyStates.json
deleted file mode 100644
index 82b339b7b..000000000
--- a/swagger-specs/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2022-04-01/componentPolicyStates.json
+++ /dev/null
@@ -1,843 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "ComponentPolicyStatesClient",
- "version": "2022-04-01",
- "description": "Query component policy states at varying resource scopes for Resource Provider mode policies."
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/componentPolicyStates/{componentPolicyStatesResource}/queryResults": {
- "post": {
- "operationId": "ComponentPolicyStates_ListQueryResultsForSubscription",
- "description": "Queries component policy states under subscription scope.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "$ref": "#/parameters/componentPolicyStatesResource"
- },
- {
- "$ref": "#/parameters/apiVersion"
- },
- {
- "$ref": "#/parameters/top"
- },
- {
- "$ref": "#/parameters/orderBy"
- },
- {
- "$ref": "#/parameters/select"
- },
- {
- "$ref": "#/parameters/from"
- },
- {
- "$ref": "#/parameters/to"
- },
- {
- "$ref": "#/parameters/filter"
- },
- {
- "$ref": "#/parameters/apply"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/ComponentPolicyStatesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../stable/2019-10-01/policyMetadata.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Query latest component policy states at subscription scope": {
- "$ref": "./examples/ComponentPolicyStates_QuerySubscriptionScope.json"
- },
- "Query latest component policy compliance state count grouped by component type at subscription scope filtered by given assignment.": {
- "$ref": "./examples/ComponentPolicyStates_QuerySubscriptionScopeGroupByComponentTypeWithAggregate.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/componentPolicyStates/{componentPolicyStatesResource}/queryResults": {
- "post": {
- "operationId": "ComponentPolicyStates_ListQueryResultsForResourceGroup",
- "description": "Queries component policy states under resource group scope.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "$ref": "#/parameters/resourceGroupName"
- },
- {
- "$ref": "#/parameters/componentPolicyStatesResource"
- },
- {
- "$ref": "#/parameters/apiVersion"
- },
- {
- "$ref": "#/parameters/top"
- },
- {
- "$ref": "#/parameters/orderBy"
- },
- {
- "$ref": "#/parameters/select"
- },
- {
- "$ref": "#/parameters/from"
- },
- {
- "$ref": "#/parameters/to"
- },
- {
- "$ref": "#/parameters/filter"
- },
- {
- "$ref": "#/parameters/apply"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/ComponentPolicyStatesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../stable/2019-10-01/policyMetadata.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Query latest component policy states at resource group scope": {
- "$ref": "./examples/ComponentPolicyStates_QueryResourceGroupScope.json"
- },
- "Query latest component policy compliance state count grouped by component type at resource group scope filtered by given assignment.": {
- "$ref": "./examples/ComponentPolicyStates_QueryResourceGroupScopeGroupByComponentTypeWithAggregate.json"
- }
- }
- }
- },
- "/{resourceId}/providers/Microsoft.PolicyInsights/componentPolicyStates/{componentPolicyStatesResource}/queryResults": {
- "post": {
- "operationId": "ComponentPolicyStates_ListQueryResultsForResource",
- "description": "Queries component policy states for the resource.",
- "parameters": [
- {
- "$ref": "#/parameters/resourceId"
- },
- {
- "$ref": "#/parameters/componentPolicyStatesResource"
- },
- {
- "$ref": "#/parameters/apiVersion"
- },
- {
- "$ref": "#/parameters/top"
- },
- {
- "$ref": "#/parameters/orderBy"
- },
- {
- "$ref": "#/parameters/select"
- },
- {
- "$ref": "#/parameters/from"
- },
- {
- "$ref": "#/parameters/to"
- },
- {
- "$ref": "#/parameters/filter"
- },
- {
- "$ref": "#/parameters/apply"
- },
- {
- "$ref": "#/parameters/componentPolicyStatesExpand"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/ComponentPolicyStatesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../stable/2019-10-01/policyMetadata.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Query latest component policy states at resource scope": {
- "$ref": "./examples/ComponentPolicyStates_QueryResourceScope.json"
- },
- "Query latest component policy states at resource scope and expand policyEvaluationDetails": {
- "$ref": "./examples/ComponentPolicyStates_QueryResourceScopeExpandPolicyEvaluationDetails.json"
- },
- "Query latest component policy compliance state count grouped by component type at resource scope filtered by given assignment.": {
- "$ref": "./examples/ComponentPolicyStates_QueryResourceScopeGroupByComponentTypeWithAggregate.json"
- },
- "Query latest component policy states at nested resource scope": {
- "$ref": "./examples/ComponentPolicyStates_QueryNestedResourceScope.json"
- },
- "Query latest component policy compliance state at resource scope filtered by given component id.": {
- "$ref": "./examples/ComponentPolicyStates_QueryResourceScopeFilterByComponentId.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyDefinitions/{policyDefinitionName}/providers/Microsoft.PolicyInsights/componentPolicyStates/{componentPolicyStatesResource}/queryResults": {
- "post": {
- "operationId": "ComponentPolicyStates_ListQueryResultsForPolicyDefinition",
- "description": "Queries component policy states for the subscription level policy definition.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "$ref": "#/parameters/authorizationNamespace"
- },
- {
- "$ref": "#/parameters/policyDefinitionName"
- },
- {
- "$ref": "#/parameters/componentPolicyStatesResource"
- },
- {
- "$ref": "#/parameters/apiVersion"
- },
- {
- "$ref": "#/parameters/top"
- },
- {
- "$ref": "#/parameters/orderBy"
- },
- {
- "$ref": "#/parameters/select"
- },
- {
- "$ref": "#/parameters/from"
- },
- {
- "$ref": "#/parameters/to"
- },
- {
- "$ref": "#/parameters/filter"
- },
- {
- "$ref": "#/parameters/apply"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/ComponentPolicyStatesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../stable/2019-10-01/policyMetadata.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Query latest component policy states at subscription level policy definition scope": {
- "$ref": "./examples/ComponentPolicyStates_QuerySubscriptionLevelPolicyDefinitionScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/componentPolicyStates/{componentPolicyStatesResource}/queryResults": {
- "post": {
- "operationId": "ComponentPolicyStates_ListQueryResultsForSubscriptionLevelPolicyAssignment",
- "description": "Queries component policy states for the subscription level policy assignment.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "$ref": "#/parameters/authorizationNamespace"
- },
- {
- "$ref": "#/parameters/policyAssignmentName"
- },
- {
- "$ref": "#/parameters/componentPolicyStatesResource"
- },
- {
- "$ref": "#/parameters/apiVersion"
- },
- {
- "$ref": "#/parameters/top"
- },
- {
- "$ref": "#/parameters/orderBy"
- },
- {
- "$ref": "#/parameters/select"
- },
- {
- "$ref": "#/parameters/from"
- },
- {
- "$ref": "#/parameters/to"
- },
- {
- "$ref": "#/parameters/filter"
- },
- {
- "$ref": "#/parameters/apply"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/ComponentPolicyStatesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../stable/2019-10-01/policyMetadata.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Query latest at subscription level policy assignment scope": {
- "$ref": "./examples/ComponentPolicyStates_QuerySubscriptionLevelPolicyAssignmentScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/componentPolicyStates/{componentPolicyStatesResource}/queryResults": {
- "post": {
- "operationId": "ComponentPolicyStates_ListQueryResultsForResourceGroupLevelPolicyAssignment",
- "description": "Queries component policy states for the resource group level policy assignment.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "$ref": "#/parameters/resourceGroupName"
- },
- {
- "$ref": "#/parameters/authorizationNamespace"
- },
- {
- "$ref": "#/parameters/policyAssignmentName"
- },
- {
- "$ref": "#/parameters/componentPolicyStatesResource"
- },
- {
- "$ref": "#/parameters/apiVersion"
- },
- {
- "$ref": "#/parameters/top"
- },
- {
- "$ref": "#/parameters/orderBy"
- },
- {
- "$ref": "#/parameters/select"
- },
- {
- "$ref": "#/parameters/from"
- },
- {
- "$ref": "#/parameters/to"
- },
- {
- "$ref": "#/parameters/filter"
- },
- {
- "$ref": "#/parameters/apply"
- }
- ],
- "responses": {
- "200": {
- "description": "Query results.",
- "schema": {
- "$ref": "#/definitions/ComponentPolicyStatesQueryResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../stable/2019-10-01/policyMetadata.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Query latest at resource group level policy assignment scope": {
- "$ref": "./examples/ComponentPolicyStates_QueryResourceGroupLevelPolicyAssignmentScope.json"
- }
- }
- }
- }
- },
- "definitions": {
- "ComponentPolicyStatesQueryResults": {
- "type": "object",
- "description": "Query results.",
- "properties": {
- "@odata.context": {
- "description": "OData context string; used by OData clients to resolve type information based on metadata.",
- "type": "string"
- },
- "@odata.count": {
- "description": "OData entity count; represents the number of policy state records returned.",
- "type": "integer",
- "format": "int32",
- "minimum": 0
- },
- "value": {
- "description": "Query results.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/ComponentPolicyState"
- },
- "x-ms-identifiers": []
- }
- }
- },
- "ComponentPolicyState": {
- "type": "object",
- "description": "Component Policy State record.",
- "properties": {
- "@odata.id": {
- "description": "OData entity ID; always set to null since component policy state records do not have an entity ID.",
- "type": "string",
- "readOnly": true
- },
- "@odata.context": {
- "description": "OData context string; used by OData clients to resolve type information based on metadata.",
- "type": "string",
- "readOnly": true
- },
- "timestamp": {
- "description": "Timestamp for the component policy state record.",
- "type": "string",
- "format": "date-time",
- "readOnly": true
- },
- "componentId": {
- "description": "Component Id.",
- "type": "string",
- "readOnly": true
- },
- "componentType": {
- "description": "Component type.",
- "type": "string",
- "readOnly": true
- },
- "componentName": {
- "description": "Component name.",
- "type": "string",
- "readOnly": true
- },
- "resourceId": {
- "description": "Resource ID.",
- "type": "string",
- "readOnly": true
- },
- "policyAssignmentId": {
- "description": "Policy assignment ID.",
- "type": "string",
- "readOnly": true
- },
- "policyDefinitionId": {
- "description": "Policy definition ID.",
- "type": "string",
- "readOnly": true
- },
- "subscriptionId": {
- "description": "Subscription ID.",
- "type": "string",
- "readOnly": true
- },
- "resourceType": {
- "description": "Resource type.",
- "type": "string",
- "readOnly": true
- },
- "resourceLocation": {
- "description": "Resource location.",
- "type": "string",
- "readOnly": true
- },
- "resourceGroup": {
- "description": "Resource group name.",
- "type": "string",
- "readOnly": true
- },
- "policyAssignmentName": {
- "description": "Policy assignment name.",
- "type": "string",
- "readOnly": true
- },
- "policyAssignmentOwner": {
- "description": "Policy assignment owner.",
- "type": "string",
- "readOnly": true
- },
- "policyAssignmentParameters": {
- "description": "Policy assignment parameters.",
- "type": "string",
- "readOnly": true
- },
- "policyAssignmentScope": {
- "description": "Policy assignment scope.",
- "type": "string",
- "readOnly": true
- },
- "policyDefinitionName": {
- "description": "Policy definition name.",
- "type": "string",
- "readOnly": true
- },
- "policyDefinitionAction": {
- "description": "Policy definition action, i.e. effect.",
- "type": "string",
- "readOnly": true
- },
- "policyDefinitionCategory": {
- "description": "Policy definition category.",
- "type": "string",
- "readOnly": true
- },
- "policySetDefinitionId": {
- "description": "Policy set definition ID, if the policy assignment is for a policy set.",
- "type": "string",
- "readOnly": true
- },
- "policySetDefinitionName": {
- "description": "Policy set definition name, if the policy assignment is for a policy set.",
- "type": "string",
- "readOnly": true
- },
- "policySetDefinitionOwner": {
- "description": "Policy set definition owner, if the policy assignment is for a policy set.",
- "type": "string",
- "readOnly": true
- },
- "policySetDefinitionCategory": {
- "description": "Policy set definition category, if the policy assignment is for a policy set.",
- "type": "string",
- "readOnly": true
- },
- "policySetDefinitionParameters": {
- "description": "Policy set definition parameters, if the policy assignment is for a policy set.",
- "type": "string",
- "readOnly": true
- },
- "policyDefinitionReferenceId": {
- "description": "Reference ID for the policy definition inside the policy set, if the policy assignment is for a policy set.",
- "type": "string",
- "readOnly": true
- },
- "complianceState": {
- "description": "Compliance state of the resource.",
- "type": "string",
- "readOnly": true
- },
- "policyEvaluationDetails": {
- "description": "Policy evaluation details. This is only included in the response if the request contains $expand=PolicyEvaluationDetails.",
- "type": "object",
- "$ref": "#/definitions/ComponentPolicyEvaluationDetails"
- },
- "policyDefinitionGroupNames": {
- "description": "Policy definition group names.",
- "type": "array",
- "items": {
- "type": "string"
- },
- "readOnly": true
- },
- "policyDefinitionVersion": {
- "description": "Evaluated policy definition version.",
- "type": "string",
- "readOnly": true
- },
- "policySetDefinitionVersion": {
- "description": "Evaluated policy set definition version.",
- "type": "string",
- "readOnly": true
- },
- "policyAssignmentVersion": {
- "description": "Evaluated policy assignment version.",
- "type": "string",
- "readOnly": true
- }
- },
- "additionalProperties": {
- "description": "The list of key/value pairs for the additional properties, in the format 'key':'value' where key = the field name, and value = the field value. By default this is not populated"
- }
- },
- "ComponentPolicyEvaluationDetails": {
- "type": "object",
- "description": "Policy evaluation details.",
- "properties": {
- "evaluatedExpressions": {
- "description": "Details of the evaluated expressions.",
- "type": "array",
- "readOnly": true,
- "items": {
- "$ref": "#/definitions/ComponentExpressionEvaluationDetails"
- },
- "x-ms-identifiers": []
- },
- "reason": {
- "description": "Additional textual reason for the evaluation outcome.",
- "type": "string"
- }
- }
- },
- "ComponentExpressionEvaluationDetails": {
- "type": "object",
- "description": "Evaluation details of policy language expressions.",
- "properties": {
- "result": {
- "description": "Evaluation result.",
- "type": "string"
- },
- "expression": {
- "description": "Expression evaluated.",
- "type": "string",
- "readOnly": true
- },
- "expressionKind": {
- "description": "The kind of expression that was evaluated.",
- "type": "string",
- "readOnly": true
- },
- "path": {
- "description": "Property path if the expression is a field or an alias.",
- "type": "string",
- "readOnly": true
- },
- "expressionValue": {
- "description": "Value of the expression.",
- "type": "object",
- "readOnly": true
- },
- "targetValue": {
- "description": "Target value to be compared with the expression value.",
- "type": "object",
- "readOnly": true
- },
- "operator": {
- "description": "Operator to compare the expression value and the target value.",
- "type": "string",
- "readOnly": true
- }
- }
- }
- },
- "parameters": {
- "componentPolicyStatesResource": {
- "name": "componentPolicyStatesResource",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "latest"
- ],
- "x-ms-enum": {
- "name": "ComponentPolicyStatesResource",
- "modelAsString": true
- },
- "description": "The virtual resource under ComponentPolicyStates resource type. In a given time range, 'latest' represents the latest component policy state(s).",
- "x-ms-parameter-location": "method"
- },
- "subscriptionId": {
- "name": "subscriptionId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Microsoft Azure subscription ID.",
- "x-ms-parameter-location": "method"
- },
- "resourceGroupName": {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Resource group name.",
- "x-ms-parameter-location": "method"
- },
- "resourceId": {
- "name": "resourceId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Resource ID.",
- "x-ms-parameter-location": "method",
- "x-ms-skip-url-encoding": true
- },
- "authorizationNamespace": {
- "name": "authorizationNamespace",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "Microsoft.Authorization"
- ],
- "x-ms-enum": {
- "name": "AuthorizationNamespaceType",
- "modelAsString": false
- },
- "description": "The namespace for Microsoft Authorization resource provider; only \"Microsoft.Authorization\" is allowed.",
- "x-ms-parameter-location": "method"
- },
- "policyDefinitionName": {
- "name": "policyDefinitionName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Policy definition name.",
- "pattern": "^[^<>%&:\\\\?/#]*$",
- "minLength": 1,
- "maxLength": 64,
- "x-ms-parameter-location": "method"
- },
- "policyAssignmentName": {
- "name": "policyAssignmentName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Policy assignment name.",
- "pattern": "^[^<>%&:\\\\?/#]*$",
- "minLength": 1,
- "maxLength": 64,
- "x-ms-parameter-location": "method"
- },
- "apiVersion": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "Client Api Version.",
- "x-ms-parameter-location": "client"
- },
- "top": {
- "name": "$top",
- "in": "query",
- "required": false,
- "type": "integer",
- "format": "int32",
- "minimum": 0,
- "description": "Maximum number of records to return.",
- "x-ms-parameter-location": "method",
- "x-ms-client-name": "Top"
- },
- "orderBy": {
- "name": "$orderby",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "Ordering expression using OData notation. One or more comma-separated column names with an optional \"desc\" (the default) or \"asc\", e.g. \"$orderby=PolicyAssignmentId, ResourceId asc\".",
- "x-ms-parameter-location": "method",
- "x-ms-client-name": "OrderBy"
- },
- "select": {
- "name": "$select",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "Select expression using OData notation. Limits the columns on each record to just those requested, e.g. \"$select=PolicyAssignmentId, ResourceId\".",
- "x-ms-parameter-location": "method",
- "x-ms-client-name": "Select"
- },
- "from": {
- "name": "$from",
- "in": "query",
- "required": false,
- "type": "string",
- "format": "date-time",
- "description": "ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day).",
- "x-ms-parameter-location": "method",
- "x-ms-client-name": "From"
- },
- "to": {
- "name": "$to",
- "in": "query",
- "required": false,
- "type": "string",
- "format": "date-time",
- "description": "ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time.",
- "x-ms-parameter-location": "method",
- "x-ms-client-name": "To"
- },
- "filter": {
- "name": "$filter",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "OData filter expression.",
- "x-ms-parameter-location": "method",
- "x-ms-client-name": "Filter"
- },
- "apply": {
- "name": "$apply",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "OData apply expression for aggregations.",
- "x-ms-parameter-location": "method",
- "x-ms-client-name": "Apply"
- },
- "componentPolicyStatesExpand": {
- "name": "$expand",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "The $expand query parameter.",
- "x-ms-parameter-location": "method",
- "x-ms-client-name": "Expand"
- }
- }
-}
diff --git a/swagger-specs/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2022-04-01/operations.json b/swagger-specs/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2022-04-01/operations.json
deleted file mode 100644
index ec6329596..000000000
--- a/swagger-specs/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2022-04-01/operations.json
+++ /dev/null
@@ -1,137 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Policy Insights Operations API",
- "version": "2022-04-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/providers/Microsoft.PolicyInsights/operations": {
- "get": {
- "operationId": "Operations_List",
- "description": "Lists available operations.",
- "parameters": [
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "List of available operations.",
- "schema": {
- "$ref": "#/definitions/OperationsListResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../stable/2019-10-01/operations.json#/definitions/QueryFailure"
- }
- }
- },
- "x-ms-examples": {
- "List operations": {
- "$ref": "./examples/Operations_ListOperations.json"
- }
- }
- }
- }
- },
- "definitions": {
- "OperationsListResults": {
- "description": "List of available operations.",
- "type": "object",
- "properties": {
- "@odata.count": {
- "description": "OData entity count; represents the number of operations returned.",
- "type": "integer",
- "format": "int32",
- "minimum": 1
- },
- "value": {
- "description": "List of available operations.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/Operation"
- },
- "x-ms-identifiers": [
- "name"
- ]
- }
- }
- },
- "Operation": {
- "description": "Operation definition.",
- "type": "object",
- "properties": {
- "name": {
- "description": "Operation name.",
- "type": "string"
- },
- "isDataAction": {
- "description": "Indicates whether the operation is a data action",
- "type": "boolean"
- },
- "display": {
- "description": "Display metadata associated with the operation.",
- "type": "object",
- "properties": {
- "provider": {
- "description": "Resource provider name.",
- "type": "string"
- },
- "resource": {
- "description": "Resource name on which the operation is performed.",
- "type": "string"
- },
- "operation": {
- "description": "Operation name.",
- "type": "string"
- },
- "description": {
- "description": "Operation description.",
- "type": "string"
- }
- }
- }
- }
- }
- },
- "parameters": {
- "apiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "API version to use with the client requests.",
- "x-ms-parameter-location": "client"
- }
- }
-}
diff --git a/swagger-specs/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2022-09-01/attestations.json b/swagger-specs/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2022-09-01/attestations.json
deleted file mode 100644
index 714552dd8..000000000
--- a/swagger-specs/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2022-09-01/attestations.json
+++ /dev/null
@@ -1,791 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "AttestationsClient",
- "version": "2022-09-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/attestations": {
- "get": {
- "operationId": "Attestations_ListForSubscription",
- "description": "Gets all attestations for the subscription.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The retrieved attestations.",
- "schema": {
- "$ref": "#/definitions/AttestationListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List attestations at subscription scope": {
- "$ref": "./examples/Attestations_ListSubscriptionScope.json"
- },
- "List attestations at subscription scope with query parameters": {
- "$ref": "./examples/Attestations_ListSubscriptionScope_WithQuery.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/attestations/{attestationName}": {
- "put": {
- "operationId": "Attestations_CreateOrUpdateAtSubscription",
- "description": "Creates or updates an attestation at subscription scope.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/attestationNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/Attestation"
- },
- "description": "The attestation parameters."
- }
- ],
- "responses": {
- "200": {
- "description": "The updated attestation.",
- "schema": {
- "$ref": "#/definitions/Attestation"
- }
- },
- "201": {
- "description": "The created attestation.",
- "schema": {
- "$ref": "#/definitions/Attestation"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-examples": {
- "Create attestation at subscription scope": {
- "$ref": "./examples/Attestations_CreateSubscriptionScope.json"
- },
- "Create attestation at subscription scope with all properties": {
- "$ref": "./examples/Attestations_CreateSubscriptionScope_AllProperties.json"
- }
- }
- },
- "get": {
- "operationId": "Attestations_GetAtSubscription",
- "description": "Gets an existing attestation at subscription scope.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/attestationNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The retrieved attestation.",
- "schema": {
- "$ref": "#/definitions/Attestation"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get attestation at subscription scope": {
- "$ref": "./examples/Attestations_GetSubscriptionScope.json"
- }
- }
- },
- "delete": {
- "operationId": "Attestations_DeleteAtSubscription",
- "description": "Deletes an existing attestation at subscription scope.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/attestationNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The attestation was successfully deleted."
- },
- "204": {
- "description": "The attestation did not exist."
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Delete attestation at subscription scope": {
- "$ref": "./examples/Attestations_DeleteSubscriptionScope.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/attestations": {
- "get": {
- "operationId": "Attestations_ListForResourceGroup",
- "description": "Gets all attestations for the resource group.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The retrieved attestations.",
- "schema": {
- "$ref": "#/definitions/AttestationListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List attestations at resource group scope": {
- "$ref": "./examples/Attestations_ListResourceGroupScope.json"
- },
- "List attestations at resource group scope with query parameters": {
- "$ref": "./examples/Attestations_ListResourceGroupScope_WithQuery.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/attestations/{attestationName}": {
- "put": {
- "operationId": "Attestations_CreateOrUpdateAtResourceGroup",
- "description": "Creates or updates an attestation at resource group scope.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/attestationNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/Attestation"
- },
- "description": "The attestation parameters."
- }
- ],
- "responses": {
- "200": {
- "description": "The updated attestation.",
- "schema": {
- "$ref": "#/definitions/Attestation"
- }
- },
- "201": {
- "description": "The created attestation.",
- "schema": {
- "$ref": "#/definitions/Attestation"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-examples": {
- "Create attestation at resource group scope": {
- "$ref": "./examples/Attestations_CreateResourceGroupScope.json"
- }
- }
- },
- "get": {
- "operationId": "Attestations_GetAtResourceGroup",
- "description": "Gets an existing attestation at resource group scope.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/attestationNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The retrieved attestation.",
- "schema": {
- "$ref": "#/definitions/Attestation"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get attestation at resource group scope": {
- "$ref": "./examples/Attestations_GetResourceGroupScope.json"
- }
- }
- },
- "delete": {
- "operationId": "Attestations_DeleteAtResourceGroup",
- "description": "Deletes an existing attestation at resource group scope.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/attestationNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The attestation was successfully deleted."
- },
- "204": {
- "description": "The attestation did not exist."
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Delete attestation at resource group scope": {
- "$ref": "./examples/Attestations_DeleteResourceGroupScope.json"
- }
- }
- }
- },
- "/{resourceId}/providers/Microsoft.PolicyInsights/attestations": {
- "get": {
- "operationId": "Attestations_ListForResource",
- "description": "Gets all attestations for a resource.",
- "parameters": [
- {
- "$ref": "#/parameters/resourceIdParameter"
- },
- {
- "$ref": "#/parameters/topParameter"
- },
- {
- "$ref": "#/parameters/filterParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The retrieved attestations.",
- "schema": {
- "$ref": "#/definitions/AttestationListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List attestations at individual resource scope": {
- "$ref": "./examples/Attestations_ListResourceScope.json"
- },
- "List attestations at individual resource scope with query parameters": {
- "$ref": "./examples/Attestations_ListResourceScope_WithQuery.json"
- }
- }
- }
- },
- "/{resourceId}/providers/Microsoft.PolicyInsights/attestations/{attestationName}": {
- "put": {
- "operationId": "Attestations_CreateOrUpdateAtResource",
- "description": "Creates or updates an attestation at resource scope.",
- "parameters": [
- {
- "$ref": "#/parameters/resourceIdParameter"
- },
- {
- "$ref": "#/parameters/attestationNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/Attestation"
- },
- "description": "The attestation parameters."
- }
- ],
- "responses": {
- "200": {
- "description": "The updated attestation.",
- "schema": {
- "$ref": "#/definitions/Attestation"
- }
- },
- "201": {
- "description": "The created attestation.",
- "schema": {
- "$ref": "#/definitions/Attestation"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-examples": {
- "Create attestation at individual resource scope": {
- "$ref": "./examples/Attestations_CreateResourceScope.json"
- }
- }
- },
- "get": {
- "operationId": "Attestations_GetAtResource",
- "description": "Gets an existing attestation at resource scope.",
- "parameters": [
- {
- "$ref": "#/parameters/resourceIdParameter"
- },
- {
- "$ref": "#/parameters/attestationNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The retrieved attestation.",
- "schema": {
- "$ref": "#/definitions/Attestation"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get attestation at individual resource scope": {
- "$ref": "./examples/Attestations_GetResourceScope.json"
- }
- }
- },
- "delete": {
- "operationId": "Attestations_DeleteAtResource",
- "description": "Deletes an existing attestation at individual resource scope.",
- "parameters": [
- {
- "$ref": "#/parameters/resourceIdParameter"
- },
- {
- "$ref": "#/parameters/attestationNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The attestation was successfully deleted."
- },
- "204": {
- "description": "The attestation did not exist."
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Delete attestation at individual resource scope": {
- "$ref": "./examples/Attestations_DeleteResourceScope.json"
- }
- }
- }
- }
- },
- "definitions": {
- "AttestationListResult": {
- "description": "List of attestations.",
- "properties": {
- "value": {
- "description": "Array of attestation definitions.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/Attestation"
- },
- "readOnly": true
- },
- "nextLink": {
- "type": "string",
- "description": "The URL to get the next set of results.",
- "readOnly": true
- }
- }
- },
- "Attestation": {
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/AttestationProperties",
- "description": "Properties for the attestation."
- },
- "systemData": {
- "readOnly": true,
- "type": "object",
- "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.",
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/systemData"
- }
- },
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource"
- }
- ],
- "required": [
- "properties"
- ],
- "description": "An attestation resource."
- },
- "AttestationProperties": {
- "properties": {
- "policyAssignmentId": {
- "type": "string",
- "description": "The resource ID of the policy assignment that the attestation is setting the state for."
- },
- "policyDefinitionReferenceId": {
- "type": "string",
- "description": "The policy definition reference ID from a policy set definition that the attestation is setting the state for. If the policy assignment assigns a policy set definition the attestation can choose a definition within the set definition with this property or omit this and set the state for the entire set definition."
- },
- "complianceState": {
- "type": "string",
- "enum": [
- "Compliant",
- "NonCompliant",
- "Unknown"
- ],
- "x-ms-enum": {
- "name": "ComplianceState",
- "modelAsString": true,
- "values": [
- {
- "value": "Compliant",
- "description": "The resource is in compliance with the policy."
- },
- {
- "value": "NonCompliant",
- "description": "The resource is not in compliance with the policy."
- },
- {
- "value": "Unknown",
- "description": "The compliance state of the resource is not known."
- }
- ]
- },
- "description": "The compliance state that should be set on the resource."
- },
- "expiresOn": {
- "type": "string",
- "format": "date-time",
- "description": "The time the compliance state should expire."
- },
- "owner": {
- "type": "string",
- "description": "The person responsible for setting the state of the resource. This value is typically an Azure Active Directory object ID."
- },
- "comments": {
- "type": "string",
- "description": "Comments describing why this attestation was created."
- },
- "evidence": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/AttestationEvidence"
- },
- "x-ms-identifiers": [],
- "description": "The evidence supporting the compliance state set in this attestation."
- },
- "provisioningState": {
- "type": "string",
- "description": "The status of the attestation.",
- "readOnly": true
- },
- "lastComplianceStateChangeAt": {
- "type": "string",
- "format": "date-time",
- "description": "The time the compliance state was last changed in this attestation.",
- "readOnly": true
- },
- "assessmentDate": {
- "type": "string",
- "format": "date-time",
- "description": "The time the evidence was assessed"
- },
- "metadata": {
- "type": "object",
- "description": "Additional metadata for this attestation"
- }
- },
- "required": [
- "policyAssignmentId"
- ],
- "description": "The properties of an attestation resource."
- },
- "AttestationEvidence": {
- "properties": {
- "description": {
- "type": "string",
- "description": "The description for this piece of evidence."
- },
- "sourceUri": {
- "type": "string",
- "description": "The URI location of the evidence."
- }
- },
- "description": "A piece of evidence supporting the compliance state set in the attestation."
- },
- "ErrorResponse": {
- "description": "Error response.",
- "properties": {
- "error": {
- "$ref": "#/definitions/ErrorDefinition",
- "description": "The error details."
- }
- }
- },
- "ErrorDefinition": {
- "description": "Error definition.",
- "properties": {
- "code": {
- "description": "Service specific error code which serves as the substatus for the HTTP error code.",
- "type": "string",
- "readOnly": true
- },
- "message": {
- "description": "Description of the error.",
- "type": "string",
- "readOnly": true
- },
- "target": {
- "description": "The target of the error.",
- "type": "string",
- "readOnly": true
- },
- "details": {
- "description": "Internal error details.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/ErrorDefinition"
- },
- "x-ms-identifiers": [],
- "readOnly": true
- },
- "additionalInfo": {
- "description": "Additional scenario specific error details.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/TypedErrorInfo"
- },
- "x-ms-identifiers": [],
- "readOnly": true
- }
- }
- },
- "TypedErrorInfo": {
- "description": "Scenario specific error details.",
- "properties": {
- "type": {
- "description": "The type of included error details.",
- "type": "string",
- "readOnly": true
- },
- "info": {
- "description": "The scenario specific error details.",
- "readOnly": true
- }
- }
- }
- },
- "parameters": {
- "attestationNameParameter": {
- "name": "attestationName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the attestation.",
- "x-ms-parameter-location": "method"
- },
- "resourceIdParameter": {
- "name": "resourceId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Resource ID.",
- "x-ms-parameter-location": "method",
- "x-ms-skip-url-encoding": true
- },
- "topParameter": {
- "name": "$top",
- "in": "query",
- "required": false,
- "type": "integer",
- "format": "int32",
- "minimum": 0,
- "description": "Maximum number of records to return.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Top"
- },
- "filterParameter": {
- "name": "$filter",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "OData filter expression.",
- "x-ms-parameter-location": "method",
- "x-ms-parameter-grouping": {
- "name": "QueryOptions"
- },
- "x-ms-client-name": "Filter"
- }
- }
-}
diff --git a/swagger-specs/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2023-03-01/checkPolicyRestrictions.json b/swagger-specs/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2023-03-01/checkPolicyRestrictions.json
deleted file mode 100644
index 7186e0cea..000000000
--- a/swagger-specs/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2023-03-01/checkPolicyRestrictions.json
+++ /dev/null
@@ -1,474 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "CheckPolicyRestrictionsClient",
- "version": "2023-03-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/checkPolicyRestrictions": {
- "post": {
- "operationId": "PolicyRestrictions_CheckAtSubscriptionScope",
- "description": "Checks what restrictions Azure Policy will place on a resource within a subscription.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/CheckRestrictionsRequest"
- },
- "description": "The check policy restrictions parameters."
- }
- ],
- "responses": {
- "200": {
- "description": "The restrictions that will be placed on the resource by Azure Policy.",
- "schema": {
- "$ref": "#/definitions/CheckRestrictionsResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../stable/2019-10-01/policyMetadata.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Check policy restrictions at subscription scope": {
- "$ref": "./examples/PolicyRestrictions_CheckAtSubscriptionScope.json"
- },
- "Check policy restrictions at subscription scope including audit effect": {
- "$ref": "./examples/PolicyRestrictions_CheckAtSubscriptionScopeIncludeAuditEffect.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/checkPolicyRestrictions": {
- "post": {
- "operationId": "PolicyRestrictions_CheckAtResourceGroupScope",
- "description": "Checks what restrictions Azure Policy will place on a resource within a resource group. Use this when the resource group the resource will be created in is already known.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/CheckRestrictionsRequest"
- },
- "description": "The check policy restrictions parameters."
- }
- ],
- "responses": {
- "200": {
- "description": "The restrictions that will be placed on the resource by Azure Policy.",
- "schema": {
- "$ref": "#/definitions/CheckRestrictionsResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../stable/2019-10-01/policyMetadata.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Check policy restrictions at resource group scope": {
- "$ref": "./examples/PolicyRestrictions_CheckAtResourceGroupScope.json"
- },
- "Check policy restrictions at resource group scope including audit effect": {
- "$ref": "./examples/PolicyRestrictions_CheckAtResourceGroupScopeIncludeAuditEffect.json"
- }
- }
- }
- },
- "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupId}/providers/Microsoft.PolicyInsights/checkPolicyRestrictions": {
- "post": {
- "operationId": "PolicyRestrictions_CheckAtManagementGroupScope",
- "description": "Checks what restrictions Azure Policy will place on resources within a management group.",
- "parameters": [
- {
- "$ref": "#/parameters/managementGroupsNamespaceParameter"
- },
- {
- "$ref": "#/parameters/managementGroupIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/CheckManagementGroupRestrictionsRequest"
- },
- "description": "The check policy restrictions parameters."
- }
- ],
- "responses": {
- "200": {
- "description": "The restrictions that will be placed on the resource by Azure Policy.",
- "schema": {
- "$ref": "#/definitions/CheckRestrictionsResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../stable/2019-10-01/policyMetadata.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Check policy restrictions at management group scope": {
- "$ref": "./examples/PolicyRestrictions_CheckAtManagementGroupScope.json"
- }
- }
- }
- }
- },
- "definitions": {
- "CheckRestrictionsRequest": {
- "description": "The check policy restrictions parameters describing the resource that is being evaluated.",
- "properties": {
- "resourceDetails": {
- "description": "The information about the resource that will be evaluated.",
- "$ref": "#/definitions/CheckRestrictionsResourceDetails"
- },
- "pendingFields": {
- "description": "The list of fields and values that should be evaluated for potential restrictions.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/PendingField"
- }
- },
- "includeAuditEffect": {
- "description": "Whether to include policies with the 'audit' effect in the results. Defaults to false.",
- "type": "boolean",
- "default": false
- }
- },
- "required": [
- "resourceDetails"
- ]
- },
- "CheckManagementGroupRestrictionsRequest": {
- "type": "object",
- "description": "The check policy restrictions parameters describing the resource that is being evaluated.",
- "properties": {
- "resourceDetails": {
- "description": "The information about the resource that will be evaluated.",
- "$ref": "#/definitions/CheckRestrictionsResourceDetails"
- },
- "pendingFields": {
- "description": "The list of fields and values that should be evaluated for potential restrictions.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/PendingField"
- },
- "x-ms-identifiers": []
- }
- }
- },
- "CheckRestrictionsResourceDetails": {
- "description": "The information about the resource that will be evaluated.",
- "properties": {
- "resourceContent": {
- "description": "The resource content. This should include whatever properties are already known and can be a partial set of all resource properties.",
- "type": "object"
- },
- "apiVersion": {
- "description": "The api-version of the resource content.",
- "type": "string"
- },
- "scope": {
- "description": "The scope where the resource is being created. For example, if the resource is a child resource this would be the parent resource's resource ID.",
- "type": "string"
- }
- },
- "required": [
- "resourceContent"
- ]
- },
- "PendingField": {
- "description": "A field that should be evaluated against Azure Policy to determine restrictions.",
- "properties": {
- "field": {
- "description": "The name of the field. This can be a top-level property like 'name' or 'type' or an Azure Policy field alias.",
- "type": "string"
- },
- "values": {
- "description": "The list of potential values for the field that should be evaluated against Azure Policy.",
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "required": [
- "field"
- ]
- },
- "CheckRestrictionsResult": {
- "description": "The result of a check policy restrictions evaluation on a resource.",
- "properties": {
- "fieldRestrictions": {
- "description": "The restrictions that will be placed on various fields in the resource by policy.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/FieldRestrictions"
- },
- "readOnly": true
- },
- "contentEvaluationResult": {
- "description": "Evaluation results for the provided partial resource content.",
- "properties": {
- "policyEvaluations": {
- "description": "Policy evaluation results against the given resource content. This will indicate if the partial content that was provided will be denied as-is.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/PolicyEvaluationResult"
- }
- }
- },
- "readOnly": true
- }
- }
- },
- "FieldRestrictions": {
- "description": "The restrictions that will be placed on a field in the resource by policy.",
- "properties": {
- "field": {
- "description": "The name of the field. This can be a top-level property like 'name' or 'type' or an Azure Policy field alias.",
- "type": "string",
- "readOnly": true
- },
- "restrictions": {
- "description": "The restrictions placed on that field by policy.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/FieldRestriction"
- }
- }
- }
- },
- "FieldRestriction": {
- "description": "The restrictions on a field imposed by a specific policy.",
- "properties": {
- "result": {
- "description": "The type of restriction that is imposed on the field.",
- "type": "string",
- "enum": [
- "Required",
- "Removed",
- "Deny",
- "Audit"
- ],
- "x-ms-enum": {
- "name": "FieldRestrictionResult",
- "modelAsString": true,
- "values": [
- {
- "value": "Required",
- "description": "The field and/or values are required by policy."
- },
- {
- "value": "Removed",
- "description": "The field will be removed by policy."
- },
- {
- "value": "Deny",
- "description": "The field and/or values will be denied by policy."
- },
- {
- "value": "Audit",
- "description": "The field and/or values will be audited by policy."
- }
- ]
- },
- "readOnly": true
- },
- "defaultValue": {
- "description": "The value that policy will set for the field if the user does not provide a value.",
- "type": "string",
- "readOnly": true
- },
- "values": {
- "description": "The values that policy either requires or denies for the field.",
- "type": "array",
- "items": {
- "type": "string"
- },
- "readOnly": true
- },
- "policy": {
- "description": "The details of the policy that is causing the field restriction.",
- "$ref": "#/definitions/PolicyReference",
- "readOnly": true
- },
- "policyEffect": {
- "description": "The effect of the policy that is causing the field restriction. http://aka.ms/policyeffects",
- "type": "string",
- "readOnly": true
- },
- "reason": {
- "description": "The reason for the restriction.",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "PolicyEvaluationResult": {
- "description": "The result of a non-compliant policy evaluation against the given resource content.",
- "properties": {
- "policyInfo": {
- "description": "The details of the policy that was evaluated.",
- "$ref": "#/definitions/PolicyReference",
- "readOnly": true
- },
- "evaluationResult": {
- "description": "The result of the policy evaluation against the resource. This will typically be 'NonCompliant' but may contain other values if errors were encountered.",
- "type": "string",
- "readOnly": true
- },
- "evaluationDetails": {
- "description": "The detailed results of the policy expressions and values that were evaluated.",
- "$ref": "#/definitions/CheckRestrictionEvaluationDetails",
- "readOnly": true
- },
- "effectDetails": {
- "description": "The details of the effect that was applied to the resource.",
- "$ref": "#/definitions/PolicyEffectDetails",
- "readOnly": true
- }
- }
- },
- "PolicyReference": {
- "description": "Resource identifiers for a policy.",
- "properties": {
- "policyDefinitionId": {
- "description": "The resource identifier of the policy definition.",
- "type": "string",
- "readOnly": true
- },
- "policySetDefinitionId": {
- "description": "The resource identifier of the policy set definition.",
- "type": "string",
- "readOnly": true
- },
- "policyDefinitionReferenceId": {
- "description": "The reference identifier of a specific policy definition within a policy set definition.",
- "type": "string",
- "readOnly": true
- },
- "policyAssignmentId": {
- "description": "The resource identifier of the policy assignment.",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "PolicyEffectDetails": {
- "type": "object",
- "description": "The details of the effect that was applied to the resource.",
- "properties": {
- "policyEffect": {
- "description": "The effect that was applied to the resource. http://aka.ms/policyeffects",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "CheckRestrictionEvaluationDetails": {
- "type": "object",
- "description": "Policy evaluation details.",
- "properties": {
- "evaluatedExpressions": {
- "description": "Details of the evaluated expressions.",
- "type": "array",
- "items": {
- "$ref": "../../stable/2019-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"
- },
- "reason": {
- "description": "The reason for the evaluation result.",
- "type": "string",
- "readOnly": true
- }
- }
- }
- },
- "parameters": {
- "managementGroupsNamespaceParameter": {
- "name": "managementGroupsNamespace",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "Microsoft.Management"
- ],
- "x-ms-enum": {
- "name": "ManagementGroupsNamespaceType",
- "modelAsString": false
- },
- "description": "The namespace for Microsoft Management RP; only \"Microsoft.Management\" is allowed.",
- "x-ms-parameter-location": "method"
- },
- "managementGroupIdParameter": {
- "name": "managementGroupId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Management group ID.",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/policyinsights/resource-manager/api-set.json b/swagger-specs/policyinsights/resource-manager/api-set.json
deleted file mode 100644
index 6cc5d54f6..000000000
--- a/swagger-specs/policyinsights/resource-manager/api-set.json
+++ /dev/null
@@ -1 +0,0 @@
-{"addition_input_file_paths": [], "input_files": ["Microsoft.PolicyInsights/preview/2018-07-01-preview/policyTrackedResources.json", "Microsoft.PolicyInsights/stable/2021-10-01/remediations.json", "Microsoft.PolicyInsights/stable/2019-10-01/policyEvents.json", "Microsoft.PolicyInsights/stable/2019-10-01/policyStates.json", "Microsoft.PolicyInsights/stable/2019-10-01/policyMetadata.json", "Microsoft.PolicyInsights/stable/2023-03-01/checkPolicyRestrictions.json", "Microsoft.PolicyInsights/stable/2022-04-01/componentPolicyStates.json", "Microsoft.PolicyInsights/stable/2022-04-01/operations.json", "Microsoft.PolicyInsights/stable/2022-09-01/attestations.json"], "name": "package-2023-03"}
\ No newline at end of file
diff --git a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json b/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json
new file mode 100644
index 000000000..0275b5707
--- /dev/null
+++ b/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/Migrations.json
@@ -0,0 +1,821 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "PostgreSQLServerManagementClient",
+ "description": "The Microsoft Azure management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model.",
+ "version": "2021-06-15-privatepreview"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "description": "Azure Active Directory OAuth2 Flow",
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations/{migrationName}": {
+ "put": {
+ "tags": [
+ "Migrations"
+ ],
+ "operationId": "Migrations_Create",
+ "x-ms-examples": {
+ "Migrations_Create": {
+ "$ref": "./examples/Migrations_Create.json"
+ }
+ },
+ "description": "Creates a new migration.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/TargetDBServerSubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/TargetDBServerResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TargetDBServerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/MigrationNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/MigrationResource"
+ },
+ "description": "The required parameters for creating a migration."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/MigrationResource"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/MigrationResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ServiceError"
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Migrations"
+ ],
+ "operationId": "Migrations_Get",
+ "x-ms-examples": {
+ "Migrations_Get": {
+ "$ref": "./examples/Migrations_Get.json"
+ }
+ },
+ "description": "Gets details of a migration.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/TargetDBServerSubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/TargetDBServerResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TargetDBServerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/MigrationNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/MigrationResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ServiceError"
+ }
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Migrations"
+ ],
+ "operationId": "Migrations_Update",
+ "x-ms-examples": {
+ "Migrations_Update": {
+ "$ref": "./examples/Migrations_Update.json"
+ }
+ },
+ "description": "Updates an existing migration. The request body can contain one to many of the mutable properties present in the migration definition. Certain property updates initiate migration state transitions.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/TargetDBServerSubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/TargetDBServerResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TargetDBServerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/MigrationNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/MigrationResourceForPatch"
+ },
+ "description": "The required parameters for updating a migration."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/MigrationResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ServiceError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Migrations"
+ ],
+ "operationId": "Migrations_Delete",
+ "x-ms-examples": {
+ "Migrations_Delete": {
+ "$ref": "./examples/Migrations_Delete.json"
+ }
+ },
+ "description": "Deletes a migration.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/TargetDBServerSubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/TargetDBServerResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TargetDBServerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/MigrationNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ServiceError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/migrations": {
+ "get": {
+ "tags": [
+ "Migrations"
+ ],
+ "operationId": "Migrations_ListByTargetServer",
+ "x-ms-examples": {
+ "Migrations_ListByTargetServer": {
+ "$ref": "./examples/Migrations_ListByTargetServer.json"
+ }
+ },
+ "description": "List all the migrations on a given target server.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/TargetDBServerSubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/TargetDBServerResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TargetDBServerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/MigrationListFilter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/MigrationResourceListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ServiceError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{targetDBServerSubscriptionId}/resourceGroups/{targetDBServerResourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDBServerName}/checkMigrationNameAvailability": {
+ "post": {
+ "summary": "Check migration name validity and availability",
+ "description": "This method checks whether a proposed migration name is valid and available.",
+ "tags": [
+ "Custom operation",
+ "POST"
+ ],
+ "operationId": "CheckMigrationNameAvailability",
+ "x-ms-examples": {
+ "CheckMigrationNameAvailability": {
+ "$ref": "./examples/CheckMigrationNameAvailability.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/TargetDBServerSubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/TargetDBServerResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TargetDBServerNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/MigrationNameAvailabilityResource"
+ },
+ "description": "The required parameters for checking if a migration name is available."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/MigrationNameAvailabilityResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ServiceError"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "MigrationResource": {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/MigrationResourceProperties",
+ "description": "Migration resource properties.",
+ "x-ms-client-flatten": true
+ },
+ "systemData": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
+ "readOnly": true
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource"
+ }
+ ],
+ "description": "Represents a migration resource."
+ },
+ "MigrationResourceProperties": {
+ "type": "object",
+ "properties": {
+ "migrationId": {
+ "type": "string",
+ "format": "uuid",
+ "readOnly": true
+ },
+ "migrationName": {
+ "type": "string",
+ "readOnly": true
+ },
+ "migrationDetailsLevel": {
+ "$ref": "#/definitions/MigrationDetailsLevel",
+ "readOnly": true
+ },
+ "currentStatus": {
+ "$ref": "#/definitions/MigrationStatus",
+ "readOnly": true
+ },
+ "sourceDBServerMetadata": {
+ "$ref": "#/definitions/DBServerMetadata",
+ "readOnly": true
+ },
+ "targetDBServerMetadata": {
+ "$ref": "#/definitions/DBServerMetadata",
+ "readOnly": true
+ },
+ "sourceDBServerResourceId": {
+ "type": "string"
+ },
+ "secretParameters": {
+ "$ref": "#/definitions/MigrationSecretParameters"
+ },
+ "userAssignedIdentityResourceId": {
+ "type": "string"
+ },
+ "targetDBServerResourceId": {
+ "type": "string",
+ "readOnly": true
+ },
+ "dBsToMigrate": {
+ "maxItems": 8,
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "migrationResourceGroup": {
+ "$ref": "#/definitions/MigrationResourceGroup"
+ },
+ "setupLogicalReplicationOnSourceDBIfNeeded": {
+ "type": "boolean"
+ },
+ "overwriteDBsInTarget": {
+ "type": "boolean"
+ },
+ "migrationWindowStartTimeInUtc": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "startDataMigration": {
+ "type": "boolean"
+ },
+ "triggerCutover": {
+ "type": "boolean"
+ }
+ },
+ "description": "Migration resource properties."
+ },
+ "MigrationResourceListResult": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MigrationResource"
+ },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "The link used to get the next page of migrations.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "description": "A list of migration resources."
+ },
+ "MigrationResourceForPatch": {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/MigrationResourcePropertiesForPatch",
+ "description": "Migration resource properties.",
+ "x-ms-client-flatten": true
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Application-specific metadata in the form of key-value pairs."
+ }
+ },
+ "description": "Represents a migration resource for patch."
+ },
+ "MigrationResourcePropertiesForPatch": {
+ "type": "object",
+ "properties": {
+ "sourceDBServerResourceId": {
+ "type": "string"
+ },
+ "secretParameters": {
+ "$ref": "#/definitions/MigrationSecretParameters"
+ },
+ "userAssignedIdentityResourceId": {
+ "type": "string"
+ },
+ "dBsToMigrate": {
+ "maxItems": 8,
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "migrationResourceGroup": {
+ "$ref": "#/definitions/MigrationResourceGroup"
+ },
+ "setupLogicalReplicationOnSourceDBIfNeeded": {
+ "type": "boolean"
+ },
+ "overwriteDBsInTarget": {
+ "type": "boolean"
+ },
+ "migrationWindowStartTimeInUtc": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "startDataMigration": {
+ "type": "boolean"
+ },
+ "triggerCutover": {
+ "type": "boolean"
+ }
+ },
+ "description": "Migration resource properties for patch."
+ },
+ "MigrationResourceGroup": {
+ "type": "object",
+ "properties": {
+ "resourceId": {
+ "type": "string"
+ },
+ "subnetResourceId": {
+ "type": "string"
+ }
+ },
+ "description": "Migration resource group."
+ },
+ "MigrationSecretParameters": {
+ "required": [
+ "aadApp",
+ "adminCredentials"
+ ],
+ "type": "object",
+ "properties": {
+ "adminCredentials": {
+ "x-ms-secret": true,
+ "x-ms-external": true,
+ "$ref": "#/definitions/AdminCredentials"
+ },
+ "aadApp": {
+ "x-ms-secret": true,
+ "x-ms-external": true,
+ "$ref": "#/definitions/AADApp"
+ }
+ },
+ "description": "Migration secret parameters."
+ },
+ "AADApp": {
+ "type": "object",
+ "required": [
+ "aadSecret",
+ "clientId",
+ "tenantId"
+ ],
+ "properties": {
+ "aadSecret": {
+ "type": "string",
+ "x-ms-secret": true,
+ "x-ms-external": true,
+ "x-ms-mutability": [
+ "create",
+ "update"
+ ]
+ },
+ "clientId": {
+ "type": "string",
+ "format": "uuid"
+ },
+ "tenantId": {
+ "type": "string",
+ "format": "uuid"
+ }
+ },
+ "description": "Azure active directory application."
+ },
+ "AdminCredentials": {
+ "type": "object",
+ "required": [
+ "sourceServerPassword",
+ "targetServerPassword"
+ ],
+ "properties": {
+ "sourceServerPassword": {
+ "type": "string",
+ "x-ms-secret": true,
+ "x-ms-external": true,
+ "x-ms-mutability": [
+ "create",
+ "update"
+ ]
+ },
+ "targetServerPassword": {
+ "type": "string",
+ "x-ms-secret": true,
+ "x-ms-external": true,
+ "x-ms-mutability": [
+ "create",
+ "update"
+ ]
+ }
+ },
+ "description": "Server admin credentials."
+ },
+ "DBServerMetadata": {
+ "type": "object",
+ "properties": {
+ "location": {
+ "type": "string"
+ },
+ "version": {
+ "type": "string"
+ },
+ "storageMB": {
+ "format": "int32",
+ "type": "integer"
+ },
+ "sku": {
+ "$ref": "#/definitions/ServerSku"
+ }
+ },
+ "description": "Database server metadata."
+ },
+ "MigrationDetailsLevel": {
+ "enum": [
+ "Default",
+ "Summary",
+ "Full"
+ ],
+ "type": "string",
+ "description": "Migration details level.",
+ "x-ms-enum": {
+ "name": "MigrationDetailsLevel",
+ "modelAsString": true
+ }
+ },
+ "MigrationState": {
+ "enum": [
+ "InProgress",
+ "WaitingForUserAction",
+ "Canceled",
+ "Failed",
+ "Succeeded"
+ ],
+ "type": "string",
+ "description": "Migration state.",
+ "x-ms-enum": {
+ "name": "MigrationState",
+ "modelAsString": true
+ }
+ },
+ "MigrationStatus": {
+ "type": "object",
+ "properties": {
+ "state": {
+ "$ref": "#/definitions/MigrationState",
+ "readOnly": true
+ },
+ "error": {
+ "type": "string",
+ "readOnly": true
+ },
+ "currentSubStateDetails": {
+ "$ref": "#/definitions/MigrationSubStateDetails",
+ "readOnly": true
+ }
+ },
+ "description": "Migration status."
+ },
+ "MigrationSubState": {
+ "enum": [
+ "PerformingPreRequisiteSteps",
+ "WaitingForLogicalReplicationSetupRequestOnSourceDB",
+ "WaitingForDBsToMigrateSpecification",
+ "WaitingForTargetDBOverwriteConfirmation",
+ "WaitingForDataMigrationScheduling",
+ "WaitingForDataMigrationWindow",
+ "MigratingData",
+ "WaitingForCutoverTrigger",
+ "CompletingMigration",
+ "Completed"
+ ],
+ "type": "string",
+ "description": "Migration sub state.",
+ "x-ms-enum": {
+ "name": "MigrationSubState",
+ "modelAsString": true
+ }
+ },
+ "MigrationSubStateDetails": {
+ "type": "object",
+ "properties": {
+ "currentSubState": {
+ "$ref": "#/definitions/MigrationSubState",
+ "readOnly": true
+ }
+ },
+ "description": "Migration sub state details."
+ },
+ "ServerSku": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3."
+ },
+ "tier": {
+ "type": "string",
+ "description": "The tier of the particular SKU, e.g. Burstable.",
+ "enum": [
+ "Burstable",
+ "GeneralPurpose",
+ "MemoryOptimized"
+ ],
+ "x-ms-enum": {
+ "name": "SkuTier",
+ "modelAsString": true
+ }
+ }
+ },
+ "required": [
+ "name",
+ "tier"
+ ],
+ "description": "Sku information related properties of a server."
+ },
+ "MigrationNameAvailabilityReason": {
+ "enum": [
+ "Invalid",
+ "AlreadyExists"
+ ],
+ "type": "string",
+ "description": "Migration name availability reason.",
+ "x-ms-enum": {
+ "name": "MigrationNameAvailabilityReason",
+ "modelAsString": true
+ }
+ },
+ "MigrationNameAvailabilityResource": {
+ "required": [
+ "name",
+ "type"
+ ],
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The resource name to verify."
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of the resource."
+ },
+ "nameAvailable": {
+ "type": "boolean",
+ "description": "Indicates whether the resource name is available.",
+ "readOnly": true
+ },
+ "reason": {
+ "$ref": "#/definitions/MigrationNameAvailabilityReason",
+ "description": "Migration name availability reason",
+ "readOnly": true
+ },
+ "message": {
+ "type": "string",
+ "description": "Migration name availability message.",
+ "readOnly": true
+ }
+ },
+ "description": "Represents a migration name's availability."
+ },
+ "ServiceError": {
+ "x-ms-external": true,
+ "type": "object",
+ "properties": {
+ "error": {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "description": "An error response from the Batch service."
+ }
+ },
+ "parameters": {
+ "TargetDBServerSubscriptionIdParameter": {
+ "name": "targetDBServerSubscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The subscription ID of the target database server.",
+ "x-ms-parameter-location": "method"
+ },
+ "TargetDBServerResourceGroupNameParameter": {
+ "name": "targetDBServerResourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the target database server.",
+ "x-ms-parameter-location": "method"
+ },
+ "TargetDBServerNameParameter": {
+ "name": "targetDBServerName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the target database server.",
+ "x-ms-parameter-location": "method"
+ },
+ "MigrationNameParameter": {
+ "name": "migrationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the migration.",
+ "x-ms-parameter-location": "method"
+ },
+ "MigrationListFilter": {
+ "name": "migrationListFilter",
+ "in": "query",
+ "required": false,
+ "enum": [
+ "Active",
+ "All"
+ ],
+ "type": "string",
+ "description": "Migration list filter. Retrieves either active migrations or all migrations.",
+ "x-ms-enum": {
+ "name": "MigrationListFilter",
+ "modelAsString": true
+ },
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json b/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json
new file mode 100644
index 000000000..89dd34aa0
--- /dev/null
+++ b/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-15-privatepreview/postgresql.json
@@ -0,0 +1,2115 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "PostgreSQLServerManagementClient",
+ "description": "The Microsoft Azure management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model.",
+ "version": "2021-06-15-privatepreview"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}": {
+ "put": {
+ "tags": [
+ "Servers"
+ ],
+ "operationId": "Servers_Create",
+ "x-ms-examples": {
+ "Create a new server": {
+ "$ref": "./examples/ServerCreate.json"
+ },
+ "Create a database as a point in time restore": {
+ "$ref": "./examples/ServerCreatePointInTimeRestore.json"
+ }
+ },
+ "description": "Creates a new server.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Server"
+ },
+ "description": "The required parameters for creating or updating a server."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Server"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/Server"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "Servers"
+ ],
+ "operationId": "Servers_Update",
+ "x-ms-examples": {
+ "ServerUpdate": {
+ "$ref": "./examples/ServerUpdate.json"
+ },
+ "ServerUpdateWithCustomerMaintenanceWindow": {
+ "$ref": "./examples/ServerUpdateWithCustomerMaintenanceWindow.json"
+ }
+ },
+ "description": "Updates an existing server. The request body can contain one to many of the properties present in the normal server definition.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ServerForUpdate"
+ },
+ "description": "The required parameters for updating a server."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Server"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "Servers"
+ ],
+ "operationId": "Servers_Delete",
+ "x-ms-examples": {
+ "ServerDelete": {
+ "$ref": "./examples/ServerDelete.json"
+ }
+ },
+ "description": "Deletes a server.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "get": {
+ "tags": [
+ "Servers"
+ ],
+ "operationId": "Servers_Get",
+ "x-ms-examples": {
+ "ServerGet": {
+ "$ref": "./examples/ServerGet.json"
+ },
+ "ServerGetWithVnet": {
+ "$ref": "./examples/ServerGetWithVnet.json"
+ }
+ },
+ "description": "Gets information about a server.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Server"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers": {
+ "get": {
+ "tags": [
+ "Servers"
+ ],
+ "operationId": "Servers_ListByResourceGroup",
+ "x-ms-examples": {
+ "ServerListByResourceGroup": {
+ "$ref": "./examples/ServerListByResourceGroup.json"
+ }
+ },
+ "description": "List all the servers in a given resource group.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ServerListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/flexibleServers": {
+ "get": {
+ "tags": [
+ "Servers"
+ ],
+ "operationId": "Servers_List",
+ "x-ms-examples": {
+ "ServerList": {
+ "$ref": "./examples/ServerList.json"
+ }
+ },
+ "description": "List all the servers in a given subscription.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ServerListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/restart": {
+ "post": {
+ "tags": [
+ "ServerRestart"
+ ],
+ "operationId": "Servers_Restart",
+ "x-ms-examples": {
+ "ServerRestart": {
+ "$ref": "./examples/ServerRestart.json"
+ },
+ "ServerRestartWithFailover": {
+ "$ref": "./examples/ServerRestartWithFailover.json"
+ }
+ },
+ "description": "Restarts a server.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "schema": {
+ "$ref": "#/definitions/RestartParameter"
+ },
+ "description": "The parameters for restarting a server."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/start": {
+ "post": {
+ "tags": [
+ "ServerStart"
+ ],
+ "operationId": "Servers_Start",
+ "x-ms-examples": {
+ "ServerStart": {
+ "$ref": "./examples/ServerStart.json"
+ }
+ },
+ "description": "Starts a server.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/stop": {
+ "post": {
+ "tags": [
+ "ServerStop"
+ ],
+ "operationId": "Servers_Stop",
+ "x-ms-examples": {
+ "ServerStop": {
+ "$ref": "./examples/ServerStop.json"
+ }
+ },
+ "description": "Stops a server.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/firewallRules/{firewallRuleName}": {
+ "put": {
+ "tags": [
+ "FirewallRules"
+ ],
+ "operationId": "FirewallRules_CreateOrUpdate",
+ "x-ms-examples": {
+ "FirewallRuleCreate": {
+ "$ref": "./examples/FirewallRuleCreate.json"
+ }
+ },
+ "description": "Creates a new firewall rule or updates an existing firewall rule.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/FirewallRuleNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/FirewallRule"
+ },
+ "description": "The required parameters for creating or updating a firewall rule."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/FirewallRule"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/FirewallRule"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "FirewallRules"
+ ],
+ "operationId": "FirewallRules_Delete",
+ "x-ms-examples": {
+ "FirewallRuleDelete": {
+ "$ref": "./examples/FirewallRuleDelete.json"
+ }
+ },
+ "description": "Deletes a PostgreSQL server firewall rule.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/FirewallRuleNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "get": {
+ "tags": [
+ "FirewallRules"
+ ],
+ "operationId": "FirewallRules_Get",
+ "x-ms-examples": {
+ "FirewallRuleList": {
+ "$ref": "./examples/FirewallRuleGet.json"
+ }
+ },
+ "description": "List all the firewall rules in a given server.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/FirewallRuleNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/FirewallRule"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/firewallRules": {
+ "get": {
+ "tags": [
+ "FirewallRules"
+ ],
+ "operationId": "FirewallRules_ListByServer",
+ "x-ms-examples": {
+ "FirewallRuleList": {
+ "$ref": "./examples/FirewallRuleListByServer.json"
+ }
+ },
+ "description": "List all the firewall rules in a given PostgreSQL server.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/FirewallRuleListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/configurations": {
+ "get": {
+ "tags": [
+ "Configurations"
+ ],
+ "operationId": "Configurations_ListByServer",
+ "x-ms-examples": {
+ "ConfigurationList": {
+ "$ref": "./examples/ConfigurationListByServer.json"
+ }
+ },
+ "description": "List all the configurations in a given server.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ConfigurationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/configurations/{configurationName}": {
+ "get": {
+ "tags": [
+ "Configurations"
+ ],
+ "operationId": "Configurations_Get",
+ "x-ms-examples": {
+ "ConfigurationGet": {
+ "$ref": "./examples/ConfigurationGet.json"
+ }
+ },
+ "description": "Gets information about a configuration of server.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ConfigurationNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Configuration"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Configurations"
+ ],
+ "operationId": "Configurations_Update",
+ "x-ms-examples": {
+ "Update a user configuration": {
+ "$ref": "./examples/ConfigurationUpdate.json"
+ }
+ },
+ "description": "Updates a configuration of a server.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ConfigurationNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Configuration"
+ },
+ "description": "The required parameters for updating a server configuration."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Configuration"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "put": {
+ "tags": [
+ "Configurations"
+ ],
+ "operationId": "Configurations_Put",
+ "x-ms-examples": {
+ "Update a user configuration": {
+ "$ref": "./examples/ConfigurationUpdate.json"
+ }
+ },
+ "description": "Updates a configuration of a server.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ConfigurationNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Configuration"
+ },
+ "description": "The required parameters for updating a server configuration."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Configuration"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/checkNameAvailability": {
+ "post": {
+ "tags": [
+ "CheckNameAvailability"
+ ],
+ "operationId": "CheckNameAvailability_Execute",
+ "x-ms-examples": {
+ "NameAvailability": {
+ "$ref": "./examples/CheckNameAvailability.json"
+ }
+ },
+ "description": "Check the availability of name for resource",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "nameAvailabilityRequest",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/NameAvailabilityRequest"
+ },
+ "description": "The required parameters for checking if resource name is available."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/NameAvailability"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/locations/{locationName}/capabilities": {
+ "get": {
+ "tags": [
+ "LocationBasedCapabilities"
+ ],
+ "operationId": "LocationBasedCapabilities_Execute",
+ "x-ms-examples": {
+ "CapabilitiesList": {
+ "$ref": "./examples/CapabilitiesByLocation.json"
+ }
+ },
+ "description": "Get capabilities at specified location in a given subscription.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/LocationNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/CapabilitiesListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/locations/{locationName}/checkVirtualNetworkSubnetUsage": {
+ "post": {
+ "tags": [
+ "VirtualNetworkSubnetUsage"
+ ],
+ "operationId": "VirtualNetworkSubnetUsage_Execute",
+ "x-ms-examples": {
+ "VirtualNetworkSubnetUsageList": {
+ "$ref": "./examples/VirtualNetworkSubnetUsage.json"
+ }
+ },
+ "description": "Get virtual network subnet usage for a given vNet resource id.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/LocationNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/VirtualNetworkSubnetUsageParameter"
+ },
+ "description": "The required parameters for creating or updating a server."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualNetworkSubnetUsageResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.DBforPostgreSQL/operations": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "operationId": "Operations_List",
+ "x-ms-examples": {
+ "OperationList": {
+ "$ref": "./examples/OperationList.json"
+ }
+ },
+ "description": "Lists all of the available REST API operations.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "VirtualNetworkSubnetUsageParameter": {
+ "type": "object",
+ "properties": {
+ "virtualNetworkArmResourceId": {
+ "type": "string",
+ "description": "Virtual network resource id."
+ }
+ },
+ "description": "Virtual network subnet usage parameter"
+ },
+ "VirtualNetworkSubnetUsageResult": {
+ "type": "object",
+ "properties": {
+ "delegatedSubnetsUsage": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DelegatedSubnetUsage"
+ },
+ "readOnly": true
+ }
+ },
+ "description": "Virtual network subnet usage data."
+ },
+ "DelegatedSubnetUsage": {
+ "type": "object",
+ "properties": {
+ "subnetName": {
+ "type": "string",
+ "readOnly": true,
+ "description": "name of the subnet"
+ },
+ "usage": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "description": "Number of used delegated subnets"
+ }
+ },
+ "description": "Delegated subnet usage data."
+ },
+ "StorageMBCapability": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "storage MB name",
+ "readOnly": true
+ },
+ "supportedIops": {
+ "type": "integer",
+ "format": "int64",
+ "description": "supported IOPS",
+ "readOnly": true
+ },
+ "storageSizeMB": {
+ "type": "integer",
+ "format": "int64",
+ "description": "storage size in MB",
+ "readOnly": true
+ },
+ "status": {
+ "type": "string",
+ "description": "The status",
+ "readOnly": true
+ }
+ },
+ "description": "storage size in MB capability"
+ },
+ "VcoreCapability": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "vCore name",
+ "readOnly": true
+ },
+ "vCores": {
+ "type": "integer",
+ "format": "int64",
+ "description": "supported vCores",
+ "readOnly": true
+ },
+ "supportedIops": {
+ "type": "integer",
+ "format": "int64",
+ "description": "supported IOPS",
+ "readOnly": true
+ },
+ "supportedMemoryPerVcoreMB": {
+ "type": "integer",
+ "format": "int64",
+ "description": "supported memory per vCore in MB",
+ "readOnly": true
+ },
+ "status": {
+ "type": "string",
+ "description": "The status",
+ "readOnly": true
+ }
+ },
+ "description": "Vcores capability"
+ },
+ "ServerVersionCapability": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "server version",
+ "readOnly": true
+ },
+ "supportedVcores": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VcoreCapability"
+ },
+ "readOnly": true
+ },
+ "status": {
+ "type": "string",
+ "description": "The status",
+ "readOnly": true
+ }
+ },
+ "description": "Server version capabilities."
+ },
+ "StorageEditionCapability": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "storage edition name",
+ "readOnly": true
+ },
+ "supportedStorageMB": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/StorageMBCapability"
+ },
+ "readOnly": true
+ },
+ "status": {
+ "type": "string",
+ "description": "The status",
+ "readOnly": true
+ }
+ },
+ "description": "storage edition capability"
+ },
+ "NodeTypeCapability": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "note type name",
+ "readOnly": true
+ },
+ "nodeType": {
+ "type": "string",
+ "description": "note type",
+ "readOnly": true
+ },
+ "status": {
+ "type": "string",
+ "description": "The status",
+ "readOnly": true
+ }
+ },
+ "description": "node type capability"
+ },
+ "FlexibleServerEditionCapability": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Server edition name",
+ "readOnly": true
+ },
+ "supportedStorageEditions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/StorageEditionCapability"
+ },
+ "description": "The list of editions supported by this server edition.",
+ "readOnly": true
+ },
+ "supportedServerVersions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ServerVersionCapability"
+ },
+ "description": "The list of server versions supported by this server edition.",
+ "readOnly": true
+ },
+ "status": {
+ "type": "string",
+ "description": "The status",
+ "readOnly": true
+ }
+ },
+ "description": "Flexible server edition capabilities."
+ },
+ "HyperscaleNodeEditionCapability": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Server edition name",
+ "readOnly": true
+ },
+ "supportedStorageEditions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/StorageEditionCapability"
+ },
+ "description": "The list of editions supported by this server edition.",
+ "readOnly": true
+ },
+ "supportedServerVersions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ServerVersionCapability"
+ },
+ "description": "The list of server versions supported by this server edition.",
+ "readOnly": true
+ },
+ "supportedNodeTypes": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NodeTypeCapability"
+ },
+ "description": "The list of Node Types supported by this server edition.",
+ "readOnly": true
+ },
+ "status": {
+ "type": "string",
+ "description": "The status",
+ "readOnly": true
+ }
+ },
+ "description": "Hyperscale node edition capabilities."
+ },
+ "CapabilityProperties": {
+ "type": "object",
+ "properties": {
+ "zone": {
+ "type": "string",
+ "description": "zone name",
+ "readOnly": true
+ },
+ "geoBackupSupported": {
+ "type": "boolean",
+ "description": "A value indicating whether a new server in this region can have geo-backups to paired region.",
+ "readOnly": true
+ },
+ "zoneRedundantHaSupported": {
+ "type": "boolean",
+ "description": "A value indicating whether a new server in this region can support multi zone HA.",
+ "readOnly": true
+ },
+ "zoneRedundantHaAndGeoBackupSupported": {
+ "type": "boolean",
+ "description": "A value indicating whether a new server in this region can have geo-backups to paired region.",
+ "readOnly": true
+ },
+ "supportedFlexibleServerEditions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FlexibleServerEditionCapability"
+ },
+ "readOnly": true
+ },
+ "supportedHyperscaleNodeEditions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/HyperscaleNodeEditionCapability"
+ },
+ "readOnly": true
+ },
+ "status": {
+ "type": "string",
+ "description": "The status",
+ "readOnly": true
+ }
+ },
+ "description": "Location capabilities."
+ },
+ "CapabilitiesListResult": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "A list of supported capabilities.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CapabilityProperties"
+ },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "Link to retrieve next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "description": "location capability"
+ },
+ "ServerVersion": {
+ "type": "string",
+ "description": "The version of a server.",
+ "enum": [
+ "13",
+ "12",
+ "11"
+ ],
+ "x-ms-enum": {
+ "name": "ServerVersion",
+ "modelAsString": true
+ }
+ },
+ "ServerProperties": {
+ "type": "object",
+ "properties": {
+ "administratorLogin": {
+ "type": "string",
+ "description": "The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "administratorLoginPassword": {
+ "type": "string",
+ "description": "The administrator login password (required for server creation).",
+ "x-ms-secret": true,
+ "format": "password",
+ "x-ms-mutability": [
+ "create",
+ "update"
+ ]
+ },
+ "version": {
+ "$ref": "#/definitions/ServerVersion",
+ "description": "PostgreSQL Server version."
+ },
+ "minorVersion": {
+ "type": "string",
+ "description": "The minor version of the server.",
+ "readOnly": true
+ },
+ "state": {
+ "type": "string",
+ "description": "A state of a server that is visible to user.",
+ "readOnly": true,
+ "enum": [
+ "Ready",
+ "Dropping",
+ "Disabled",
+ "Starting",
+ "Stopping",
+ "Stopped",
+ "Updating"
+ ],
+ "x-ms-enum": {
+ "name": "ServerState",
+ "modelAsString": true
+ }
+ },
+ "fullyQualifiedDomainName": {
+ "type": "string",
+ "description": "The fully qualified domain name of a server.",
+ "readOnly": true
+ },
+ "storage": {
+ "$ref": "#/definitions/Storage",
+ "description": "Storage properties of a server."
+ },
+ "backup": {
+ "$ref": "#/definitions/Backup",
+ "description": "Backup properties of a server."
+ },
+ "network": {
+ "$ref": "#/definitions/Network",
+ "description": "Network properties of a server.",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "highAvailability": {
+ "$ref": "#/definitions/HighAvailability",
+ "description": "High availability properties of a server."
+ },
+ "maintenanceWindow": {
+ "$ref": "#/definitions/MaintenanceWindow",
+ "description": "Maintenance window properties of a server.",
+ "x-ms-mutability": [
+ "update",
+ "read"
+ ]
+ },
+ "sourceServerResourceId": {
+ "type": "string",
+ "description": "The source server resource ID to restore from. It's required when 'createMode' is 'PointInTimeRestore'.",
+ "x-ms-mutability": [
+ "create"
+ ]
+ },
+ "pointInTimeUTC": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Restore point creation time (ISO8601 format), specifying the time to restore from. It's required when 'createMode' is 'PointInTimeRestore'.",
+ "x-ms-mutability": [
+ "create"
+ ]
+ },
+ "availabilityZone": {
+ "type": "string",
+ "description": "availability zone information of the server.",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "createMode": {
+ "type": "string",
+ "description": "The mode to create a new PostgreSQL server.",
+ "enum": [
+ "Default",
+ "Create",
+ "Update",
+ "PointInTimeRestore"
+ ],
+ "x-ms-enum": {
+ "name": "CreateMode",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "create",
+ "update"
+ ]
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Application-specific metadata in the form of key-value pairs."
+ }
+ },
+ "description": "The properties of a server."
+ },
+ "Server": {
+ "type": "object",
+ "properties": {
+ "identity": {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Identity",
+ "description": "The Azure Active Directory identity of the server."
+ },
+ "sku": {
+ "$ref": "#/definitions/Sku",
+ "description": "The SKU (pricing tier) of the server."
+ },
+ "properties": {
+ "$ref": "#/definitions/ServerProperties",
+ "x-ms-client-flatten": true,
+ "description": "Properties of the server."
+ },
+ "systemData": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
+ "readOnly": true,
+ "description": "The system metadata relating to this resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource"
+ }
+ ],
+ "description": "Represents a server."
+ },
+ "ServerPropertiesForUpdate": {
+ "type": "object",
+ "properties": {
+ "administratorLoginPassword": {
+ "type": "string",
+ "format": "password",
+ "description": "The password of the administrator login."
+ },
+ "storage": {
+ "$ref": "#/definitions/Storage",
+ "description": "Storage properties of a server."
+ },
+ "backup": {
+ "$ref": "#/definitions/Backup",
+ "description": "Backup properties of a server."
+ },
+ "highAvailability": {
+ "$ref": "#/definitions/HighAvailability",
+ "description": "High availability properties of a server."
+ },
+ "maintenanceWindow": {
+ "$ref": "#/definitions/MaintenanceWindow",
+ "description": "Maintenance window properties of a server."
+ },
+ "createMode": {
+ "type": "string",
+ "description": "The mode to update a new PostgreSQL server.",
+ "enum": [
+ "Default",
+ "Update"
+ ],
+ "x-ms-enum": {
+ "name": "CreateModeForUpdate",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "update"
+ ]
+ }
+ }
+ },
+ "ServerForUpdate": {
+ "type": "object",
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "The location the resource resides in."
+ },
+ "sku": {
+ "$ref": "#/definitions/Sku",
+ "description": "The SKU (pricing tier) of the server."
+ },
+ "properties": {
+ "$ref": "#/definitions/ServerPropertiesForUpdate",
+ "x-ms-client-flatten": true,
+ "description": "Properties of the server."
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Application-specific metadata in the form of key-value pairs."
+ }
+ },
+ "description": "Represents a server to be updated."
+ },
+ "ServerListResult": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Server"
+ },
+ "description": "The list of flexible servers"
+ },
+ "nextLink": {
+ "description": "The link used to get the next page of operations.",
+ "type": "string"
+ }
+ },
+ "description": "A list of servers."
+ },
+ "Sku": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3."
+ },
+ "tier": {
+ "type": "string",
+ "description": "The tier of the particular SKU, e.g. Burstable.",
+ "enum": [
+ "Burstable",
+ "GeneralPurpose",
+ "MemoryOptimized"
+ ],
+ "x-ms-enum": {
+ "name": "SkuTier",
+ "modelAsString": true
+ }
+ }
+ },
+ "required": [
+ "name",
+ "tier"
+ ],
+ "description": "Sku information related properties of a server."
+ },
+ "Storage": {
+ "type": "object",
+ "properties": {
+ "storageSizeGB": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Max storage allowed for a server."
+ }
+ },
+ "description": "Storage properties of a server"
+ },
+ "Backup": {
+ "type": "object",
+ "properties": {
+ "backupRetentionDays": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Backup retention days for the server."
+ },
+ "geoRedundantBackup": {
+ "type": "string",
+ "description": "A value indicating whether Geo-Redundant backup is enabled on the server.",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "x-ms-enum": {
+ "name": "GeoRedundantBackupEnum",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "earliestRestoreDate": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The earliest restore point time (ISO8601 format) for server.",
+ "readOnly": true
+ }
+ },
+ "description": "Backup properties of a server"
+ },
+ "Network": {
+ "type": "object",
+ "properties": {
+ "publicNetworkAccess": {
+ "type": "string",
+ "description": "public network access is enabled or not",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "x-ms-enum": {
+ "name": "ServerPublicNetworkAccessState",
+ "modelAsString": true
+ },
+ "readOnly": true
+ },
+ "delegatedSubnetResourceId": {
+ "type": "string",
+ "description": "delegated subnet arm resource id.",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "privateDnsZoneArmResourceId": {
+ "type": "string",
+ "description": "private dns zone arm resource id.",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ }
+ },
+ "description": "Network properties of a server"
+ },
+ "HighAvailability": {
+ "type": "object",
+ "properties": {
+ "mode": {
+ "type": "string",
+ "description": "The HA mode for the server.",
+ "enum": [
+ "Disabled",
+ "ZoneRedundant"
+ ],
+ "x-ms-enum": {
+ "name": "HighAvailabilityMode",
+ "modelAsString": true
+ }
+ },
+ "state": {
+ "type": "string",
+ "description": "A state of a HA server that is visible to user.",
+ "enum": [
+ "NotEnabled",
+ "CreatingStandby",
+ "ReplicatingData",
+ "FailingOver",
+ "Healthy",
+ "RemovingStandby"
+ ],
+ "x-ms-enum": {
+ "name": "ServerHAState",
+ "modelAsString": true
+ },
+ "readOnly": true
+ },
+ "standbyAvailabilityZone": {
+ "type": "string",
+ "description": "availability zone information of the standby."
+ }
+ },
+ "description": "High availability properties of a server"
+ },
+ "MaintenanceWindow": {
+ "type": "object",
+ "description": "Maintenance window properties of a server.",
+ "properties": {
+ "customWindow": {
+ "type": "string",
+ "description": "indicates whether custom window is enabled or disabled"
+ },
+ "startHour": {
+ "type": "integer",
+ "format": "int32",
+ "description": "start hour for maintenance window"
+ },
+ "startMinute": {
+ "type": "integer",
+ "format": "int32",
+ "description": "start minute for maintenance window"
+ },
+ "dayOfWeek": {
+ "type": "integer",
+ "format": "int32",
+ "description": "day of week for maintenance window"
+ }
+ }
+ },
+ "FirewallRuleProperties": {
+ "type": "object",
+ "properties": {
+ "startIpAddress": {
+ "type": "string",
+ "pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$",
+ "description": "The start IP address of the server firewall rule. Must be IPv4 format."
+ },
+ "endIpAddress": {
+ "type": "string",
+ "pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$",
+ "description": "The end IP address of the server firewall rule. Must be IPv4 format."
+ }
+ },
+ "required": [
+ "startIpAddress",
+ "endIpAddress"
+ ],
+ "description": "The properties of a server firewall rule."
+ },
+ "FirewallRule": {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/FirewallRuleProperties",
+ "x-ms-client-flatten": true,
+ "description": "The properties of a firewall rule."
+ },
+ "systemData": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
+ "readOnly": true,
+ "description": "The system metadata relating to this resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource"
+ }
+ ],
+ "required": [
+ "properties"
+ ],
+ "description": "Represents a server firewall rule."
+ },
+ "FirewallRuleListResult": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FirewallRule"
+ },
+ "description": "The list of firewall rules in a server."
+ },
+ "nextLink": {
+ "description": "The link used to get the next page of operations.",
+ "type": "string"
+ }
+ },
+ "description": "A list of firewall rules."
+ },
+ "ConfigurationProperties": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "string",
+ "description": "Value of the configuration."
+ },
+ "description": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Description of the configuration."
+ },
+ "defaultValue": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Default value of the configuration."
+ },
+ "dataType": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Data type of the configuration.",
+ "enum": [
+ "Boolean",
+ "Numeric",
+ "Integer",
+ "Enumeration"
+ ],
+ "x-ms-enum": {
+ "name": "ConfigurationDataType",
+ "modelAsString": true
+ }
+ },
+ "allowedValues": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Allowed values of the configuration."
+ },
+ "source": {
+ "type": "string",
+ "description": "Source of the configuration."
+ }
+ },
+ "description": "The properties of a configuration."
+ },
+ "Configuration": {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ConfigurationProperties",
+ "x-ms-client-flatten": true,
+ "description": "The properties of a configuration."
+ },
+ "systemData": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
+ "readOnly": true,
+ "description": "The system metadata relating to this resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource"
+ }
+ ],
+ "description": "Represents a Configuration."
+ },
+ "ConfigurationListResult": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Configuration"
+ },
+ "description": "The list of server configurations."
+ },
+ "nextLink": {
+ "description": "The link used to get the next page of operations.",
+ "type": "string"
+ }
+ },
+ "description": "A list of server configurations."
+ },
+ "OperationDisplay": {
+ "type": "object",
+ "properties": {
+ "provider": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Operation resource provider name."
+ },
+ "resource": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource on which the operation is performed."
+ },
+ "operation": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Localized friendly name for the operation."
+ },
+ "description": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Operation description."
+ }
+ },
+ "description": "Display metadata associated with the operation."
+ },
+ "Operation": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The name of the operation being performed on this particular object."
+ },
+ "display": {
+ "$ref": "#/definitions/OperationDisplay",
+ "readOnly": true,
+ "description": "The localized display information for this particular operation or action."
+ },
+ "isDataAction": {
+ "description": "Indicates whether the operation is a data action",
+ "type": "boolean"
+ },
+ "origin": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The intended executor of the operation.",
+ "enum": [
+ "NotSpecified",
+ "user",
+ "system"
+ ],
+ "x-ms-enum": {
+ "name": "OperationOrigin",
+ "modelAsString": true
+ }
+ },
+ "properties": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object"
+ },
+ "readOnly": true,
+ "x-ms-client-flatten": false,
+ "description": "Additional descriptions for the operation."
+ }
+ },
+ "description": "REST API operation definition."
+ },
+ "OperationListResult": {
+ "description": "A list of resource provider operations.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Collection of available operation details",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Operation"
+ }
+ },
+ "nextLink": {
+ "description": "URL client should use to fetch the next page (per server side paging).\r\nIt's null for now, added for future use.",
+ "type": "string"
+ }
+ }
+ },
+ "NameAvailabilityRequest": {
+ "type": "object",
+ "required": [
+ "name"
+ ],
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Resource name to verify."
+ },
+ "type": {
+ "type": "string",
+ "description": "Resource type used for verification."
+ }
+ },
+ "description": "Request from client to check resource name availability."
+ },
+ "NameAvailability": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string",
+ "description": "Error Message."
+ },
+ "nameAvailable": {
+ "type": "boolean",
+ "description": "Indicates whether the resource name is available."
+ },
+ "name": {
+ "type": "string",
+ "description": "name of the PostgreSQL server."
+ },
+ "type": {
+ "type": "string",
+ "description": "type of the server"
+ }
+ },
+ "description": "Represents a resource name availability."
+ },
+ "RestartParameter": {
+ "type": "object",
+ "properties": {
+ "restartWithFailover": {
+ "type": "boolean",
+ "description": "Indicates whether to restart the server with failover."
+ },
+ "failoverMode": {
+ "type": "string",
+ "description": "Failover mode.",
+ "enum": [
+ "PlannedFailover",
+ "ForcedFailover",
+ "PlannedSwitchover",
+ "ForcedSwitchover"
+ ],
+ "x-ms-enum": {
+ "name": "FailoverMode",
+ "modelAsString": true
+ }
+ }
+ },
+ "description": "Represents server restart parameters."
+ },
+ "CloudError": {
+ "x-ms-external": true,
+ "type": "object",
+ "properties": {
+ "error": {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "description": "An error response from the Batch service."
+ }
+ },
+ "parameters": {
+ "LocationNameParameter": {
+ "name": "locationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the location.",
+ "x-ms-parameter-location": "method"
+ },
+ "ServerNameParameter": {
+ "name": "serverName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the server.",
+ "x-ms-parameter-location": "method"
+ },
+ "FirewallRuleNameParameter": {
+ "name": "firewallRuleName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the server firewall rule.",
+ "x-ms-parameter-location": "method"
+ },
+ "ConfigurationNameParameter": {
+ "name": "configurationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the server configuration.",
+ "x-ms-parameter-location": "method"
+ },
+ "MaintenanceWindowNameParameter": {
+ "name": "maintenanceWindowName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the maintenance window.",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/Administrators.json b/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/Administrators.json
deleted file mode 100644
index 1b558e897..000000000
--- a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/Administrators.json
+++ /dev/null
@@ -1,406 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "PostgreSQLServerManagementClient",
- "description": "The Microsoft Azure management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model.",
- "version": "2024-08-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/administrators/{objectId}": {
- "put": {
- "tags": [
- "Administrators"
- ],
- "operationId": "Administrators_Create",
- "x-ms-examples": {
- "Adds an Active DIrectory Administrator for the server": {
- "$ref": "./examples/AdministratorAdd.json"
- }
- },
- "description": "Creates a new server.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- },
- {
- "$ref": "#/parameters/ObjectIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ActiveDirectoryAdministratorAdd"
- },
- "description": "The required parameters for adding an active directory administrator for a server."
- }
- ],
- "responses": {
- "200": {
- "description": "Success",
- "schema": {
- "$ref": "#/definitions/ActiveDirectoryAdministrator"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/ActiveDirectoryAdministrator"
- }
- },
- "202": {
- "description": "Accepted",
- "headers": {
- "Location": {
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "azure-async-operation"
- }
- },
- "delete": {
- "tags": [
- "Administrators"
- ],
- "operationId": "Administrators_Delete",
- "x-ms-examples": {
- "AdministratorDelete": {
- "$ref": "./examples/AdministratorDelete.json"
- }
- },
- "description": "Deletes an Active Directory Administrator associated with the server.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- },
- {
- "$ref": "#/parameters/ObjectIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK"
- },
- "202": {
- "description": "Accepted",
- "headers": {
- "Location": {
- "type": "string"
- }
- }
- },
- "204": {
- "description": "NoContent"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "location"
- }
- },
- "get": {
- "tags": [
- "Administrators"
- ],
- "operationId": "Administrators_Get",
- "x-ms-examples": {
- "ServerGet": {
- "$ref": "./examples/AdministratorGet.json"
- }
- },
- "description": "Gets information about a server.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- },
- {
- "$ref": "#/parameters/ObjectIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ActiveDirectoryAdministrator"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/administrators": {
- "get": {
- "tags": [
- "Administrators"
- ],
- "operationId": "Administrators_ListByServer",
- "x-ms-examples": {
- "AdministratorsListByServer": {
- "$ref": "./examples/AdministratorsListByServer.json"
- }
- },
- "description": "List all the AAD administrators for a given server.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AdministratorListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- }
- },
- "definitions": {
- "ActiveDirectoryAdministratorAdd": {
- "type": "object",
- "properties": {
- "properties": {
- "$ref": "#/definitions/AdministratorPropertiesForAdd",
- "x-ms-client-flatten": true,
- "description": "Properties of the active directory administrator."
- }
- },
- "description": "Represents an Active Directory administrator."
- },
- "AdministratorPropertiesForAdd": {
- "type": "object",
- "properties": {
- "principalType": {
- "type": "string",
- "description": "The principal type used to represent the type of Active Directory Administrator.",
- "enum": [
- "Unknown",
- "User",
- "Group",
- "ServicePrincipal"
- ],
- "x-ms-enum": {
- "name": "PrincipalType",
- "modelAsString": true
- },
- "x-ms-mutability": [
- "create",
- "update",
- "read"
- ]
- },
- "principalName": {
- "type": "string",
- "description": "Active Directory administrator principal name.",
- "x-ms-mutability": [
- "create",
- "update",
- "read"
- ]
- },
- "tenantId": {
- "type": "string",
- "description": "The tenantId of the Active Directory administrator.",
- "x-ms-mutability": [
- "create",
- "update"
- ]
- }
- },
- "description": "The properties of an Active Directory administrator."
- },
- "AdministratorProperties": {
- "type": "object",
- "properties": {
- "principalType": {
- "type": "string",
- "description": "The principal type used to represent the type of Active Directory Administrator.",
- "enum": [
- "Unknown",
- "User",
- "Group",
- "ServicePrincipal"
- ],
- "x-ms-enum": {
- "name": "PrincipalType",
- "modelAsString": true
- },
- "x-ms-mutability": [
- "create",
- "update",
- "read"
- ]
- },
- "principalName": {
- "type": "string",
- "description": "Active Directory administrator principal name.",
- "x-ms-mutability": [
- "create",
- "update",
- "read"
- ]
- },
- "objectId": {
- "type": "string",
- "description": "The objectId of the Active Directory administrator.",
- "x-ms-mutability": [
- "create",
- "update",
- "read"
- ]
- },
- "tenantId": {
- "type": "string",
- "description": "The tenantId of the Active Directory administrator.",
- "x-ms-mutability": [
- "create",
- "update",
- "read"
- ]
- }
- },
- "description": "The properties of an Active Directory administrator."
- },
- "ActiveDirectoryAdministrator": {
- "type": "object",
- "properties": {
- "properties": {
- "$ref": "#/definitions/AdministratorProperties",
- "x-ms-client-flatten": true,
- "description": "Properties of the active directory administrator."
- }
- },
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
- }
- ],
- "required": [
- "properties"
- ],
- "description": "Represents an Active Directory administrator."
- },
- "AdministratorListResult": {
- "type": "object",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActiveDirectoryAdministrator"
- },
- "description": "The list of active directory administrators"
- },
- "nextLink": {
- "description": "The link used to get the next page of active directory.",
- "type": "string"
- }
- },
- "description": "A list of active directory administrators."
- }
- },
- "parameters": {
- "ObjectIdParameter": {
- "name": "objectId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Guid of the objectId for the administrator.",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/Backups.json b/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/Backups.json
deleted file mode 100644
index 177e1d45d..000000000
--- a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/Backups.json
+++ /dev/null
@@ -1,315 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "PostgreSQLServerManagementClient",
- "description": "The Microsoft Azure management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model.",
- "version": "2024-08-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/backups/{backupName}": {
- "put": {
- "tags": [
- "Backups"
- ],
- "operationId": "Backups_Create",
- "x-ms-examples": {
- "Create a new Backup for a flexible server": {
- "$ref": "./examples/BackupCreate.json"
- }
- },
- "description": "Create a specific backup for PostgreSQL flexible server.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- },
- {
- "$ref": "#/parameters/BackupNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ServerBackup"
- }
- },
- "201": {
- "description": "Successfully created backup",
- "schema": {
- "$ref": "#/definitions/ServerBackup"
- }
- },
- "202": {
- "description": "Accepted",
- "headers": {
- "Location": {
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "azure-async-operation"
- }
- },
- "delete": {
- "tags": [
- "Backups"
- ],
- "operationId": "Backups_Delete",
- "x-ms-examples": {
- "Delete a specific backup": {
- "$ref": "./examples/BackupDelete.json"
- }
- },
- "description": "Deletes a specific backup.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- },
- {
- "$ref": "#/parameters/BackupNameParameter"
- }
- ],
- "responses": {
- "202": {
- "description": "Accepted",
- "headers": {
- "Location": {
- "type": "string"
- }
- }
- },
- "204": {
- "description": "NoContent"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "location"
- }
- },
- "get": {
- "tags": [
- "Backups"
- ],
- "operationId": "Backups_Get",
- "x-ms-examples": {
- "Get a backup for a server": {
- "$ref": "./examples/BackupGet.json"
- }
- },
- "description": "Get specific backup for a given server.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- },
- {
- "$ref": "#/parameters/BackupNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ServerBackup"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/backups": {
- "get": {
- "tags": [
- "Backups"
- ],
- "operationId": "Backups_ListByServer",
- "x-ms-examples": {
- "List backups for a server": {
- "$ref": "./examples/BackupListByServer.json"
- }
- },
- "description": "List all the backups for a given server.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ServerBackupListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- }
- },
- "definitions": {
- "ServerBackupProperties": {
- "type": "object",
- "properties": {
- "backupType": {
- "type": "string",
- "description": "Backup type.",
- "enum": [
- "Full",
- "Customer On-Demand"
- ],
- "x-ms-enum": {
- "name": "Origin",
- "modelAsString": true
- }
- },
- "completedTime": {
- "type": "string",
- "format": "date-time",
- "description": "Backup completed time (ISO8601 format)."
- },
- "source": {
- "type": "string",
- "description": "Backup source"
- }
- },
- "description": "The properties of a server backup."
- },
- "ServerBackup": {
- "type": "object",
- "properties": {
- "properties": {
- "$ref": "#/definitions/ServerBackupProperties",
- "x-ms-client-flatten": true,
- "description": "The properties of a server backup."
- }
- },
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
- }
- ],
- "description": "Server backup properties"
- },
- "ServerBackupListResult": {
- "type": "object",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ServerBackup"
- },
- "description": "The list of backups of a server."
- },
- "nextLink": {
- "description": "The link used to get the next page of operations.",
- "type": "string"
- }
- },
- "description": "A list of server backups."
- }
- },
- "parameters": {
- "BackupNameParameter": {
- "name": "backupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the backup.",
- "minLength": 1,
- "pattern": "^[-\\w\\._]+$",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/Capabilities.json b/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/Capabilities.json
deleted file mode 100644
index a41aac1fc..000000000
--- a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/Capabilities.json
+++ /dev/null
@@ -1,587 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "PostgreSQLServerManagementClient",
- "description": "The Microsoft Azure management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model.",
- "version": "2024-08-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/locations/{locationName}/capabilities": {
- "get": {
- "tags": [
- "LocationBasedCapabilities"
- ],
- "operationId": "LocationBasedCapabilities_Execute",
- "x-ms-examples": {
- "CapabilitiesList": {
- "$ref": "./examples/CapabilitiesByLocation.json"
- }
- },
- "description": "Get capabilities at specified location in a given subscription.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/LocationNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/CapabilitiesListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/capabilities": {
- "get": {
- "tags": [
- "FlexibleServerCapabilities"
- ],
- "operationId": "ServerCapabilities_List",
- "x-ms-examples": {
- "ServerCapabilitiesList": {
- "$ref": "./examples/ServerCapabilities.json"
- }
- },
- "description": "Get capabilities for a flexible server.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/CapabilitiesListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- }
- },
- "definitions": {
- "StorageTierCapability": {
- "type": "object",
- "description": "Represents capability of a storage tier",
- "properties": {
- "name": {
- "type": "string",
- "description": "Name to represent Storage tier capability",
- "readOnly": true
- },
- "iops": {
- "type": "integer",
- "format": "int32",
- "description": "Supported IOPS for this storage tier",
- "readOnly": true
- }
- },
- "allOf": [
- {
- "$ref": "../../../types/common-types.json#/definitions/CapabilityBase"
- }
- ]
- },
- "StorageMbCapability": {
- "type": "object",
- "properties": {
- "supportedIops": {
- "type": "integer",
- "format": "int32",
- "description": "Supported IOPS",
- "readOnly": true
- },
- "supportedMaximumIops": {
- "type": "integer",
- "format": "int32",
- "description": "Maximum IOPS supported by this #Vcores or PremiumV2_LRS Storage Size",
- "readOnly": true
- },
- "storageSizeMb": {
- "type": "integer",
- "format": "int64",
- "description": "Storage size in MB",
- "readOnly": true
- },
- "maximumStorageSizeMb": {
- "type": "integer",
- "format": "int64",
- "description": "Maximum value of Storage size in MB",
- "readOnly": true
- },
- "supportedThroughput": {
- "type": "integer",
- "format": "int32",
- "description": "Values of throughput in MB/s",
- "readOnly": true
- },
- "supportedMaximumThroughput": {
- "type": "integer",
- "format": "int32",
- "description": "Maximum values of throughput in MB/s",
- "readOnly": true
- },
- "defaultIopsTier": {
- "type": "string",
- "description": "Default tier for IOPS",
- "readOnly": true
- },
- "supportedIopsTiers": {
- "type": "array",
- "description": "List of available options to upgrade the storage performance",
- "items": {
- "$ref": "#/definitions/StorageTierCapability"
- },
- "x-ms-identifiers": [
- "name"
- ],
- "readOnly": true
- }
- },
- "allOf": [
- {
- "$ref": "../../../types/common-types.json#/definitions/CapabilityBase"
- }
- ],
- "description": "storage size in MB capability"
- },
- "ServerSkuCapability": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "description": "Sku name",
- "readOnly": true
- },
- "vCores": {
- "type": "integer",
- "format": "int32",
- "description": "Supported vCores",
- "readOnly": true
- },
- "supportedIops": {
- "type": "integer",
- "format": "int32",
- "description": "Supported IOPS",
- "readOnly": true
- },
- "supportedMemoryPerVcoreMb": {
- "type": "integer",
- "format": "int64",
- "description": "Supported memory per vCore in MB",
- "readOnly": true
- },
- "supportedZones": {
- "type": "array",
- "description": "List of supported Availability Zones. E.g. \"1\", \"2\", \"3\"",
- "items": {
- "type": "string"
- },
- "readOnly": true
- },
- "supportedHaMode": {
- "type": "array",
- "items": {
- "type": "string",
- "description": "HA mode supported for a server.",
- "enum": [
- "SameZone",
- "ZoneRedundant"
- ],
- "x-ms-enum": {
- "name": "HaMode",
- "modelAsString": true
- }
- },
- "description": "Supported high availability mode",
- "readOnly": true
- }
- },
- "allOf": [
- {
- "$ref": "../../../types/common-types.json#/definitions/CapabilityBase"
- }
- ],
- "description": "Sku capability"
- },
- "ServerVersion": {
- "type": "string",
- "description": "The version of a server.",
- "enum": [
- "16",
- "15",
- "14",
- "13",
- "12",
- "11"
- ],
- "x-ms-enum": {
- "name": "ServerVersion",
- "modelAsString": true
- }
- },
- "ServerVersionCapability": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "description": "Server version",
- "readOnly": true
- },
- "supportedVersionsToUpgrade": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "Supported servers versions to upgrade",
- "readOnly": true
- }
- },
- "allOf": [
- {
- "$ref": "../../../types/common-types.json#/definitions/CapabilityBase"
- }
- ],
- "description": "Server version capabilities."
- },
- "StorageEditionCapability": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "description": "Storage edition name",
- "readOnly": true
- },
- "defaultStorageSizeMb": {
- "type": "integer",
- "format": "int64",
- "description": "Default storage size in MB for storage edition",
- "readOnly": true
- },
- "supportedStorageMb": {
- "type": "array",
- "description": "Flexible server supported storage range in MB",
- "items": {
- "$ref": "#/definitions/StorageMbCapability"
- },
- "x-ms-identifiers": [
- "storageSizeMb"
- ],
- "readOnly": true
- }
- },
- "allOf": [
- {
- "$ref": "../../../types/common-types.json#/definitions/CapabilityBase"
- }
- ],
- "description": "Storage edition capability"
- },
- "FastProvisioningEditionCapability": {
- "type": "object",
- "description": "Represents capability of a fast provisioning edition",
- "properties": {
- "supportedTier": {
- "type": "string",
- "description": "Fast provisioning supported tier name",
- "readOnly": true
- },
- "supportedSku": {
- "type": "string",
- "description": "Fast provisioning supported sku name",
- "readOnly": true
- },
- "supportedStorageGb": {
- "type": "integer",
- "format": "int32",
- "description": "Fast provisioning supported storage in Gb",
- "readOnly": true
- },
- "supportedServerVersions": {
- "type": "string",
- "description": "Fast provisioning supported version",
- "readOnly": true
- },
- "serverCount": {
- "type": "integer",
- "description": "Count of servers in cache matching the spec",
- "format": "int32",
- "readOnly": true
- }
- },
- "allOf": [
- {
- "$ref": "../../../types/common-types.json#/definitions/CapabilityBase"
- }
- ]
- },
- "FlexibleServerEditionCapability": {
- "type": "object",
- "allOf": [
- {
- "$ref": "../../../types/common-types.json#/definitions/CapabilityBase"
- }
- ],
- "properties": {
- "name": {
- "type": "string",
- "description": "Server edition name",
- "readOnly": true
- },
- "defaultSkuName": {
- "type": "string",
- "description": "Default sku name for the server edition",
- "readOnly": true
- },
- "supportedStorageEditions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/StorageEditionCapability"
- },
- "description": "The list of editions supported by this server edition.",
- "readOnly": true,
- "x-ms-identifiers": [
- "name"
- ]
- },
- "supportedServerSkus": {
- "type": "array",
- "description": "List of supported server SKUs.",
- "items": {
- "$ref": "#/definitions/ServerSkuCapability"
- },
- "x-ms-identifiers": [
- "name"
- ],
- "readOnly": true
- }
- },
- "description": "Flexible server edition capabilities."
- },
- "FlexibleServerCapability": {
- "type": "object",
- "allOf": [
- {
- "$ref": "../../../types/common-types.json#/definitions/CapabilityBase"
- }
- ],
- "properties": {
- "name": {
- "type": "string",
- "description": "Name of flexible servers capability"
- },
- "supportedServerEditions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/FlexibleServerEditionCapability"
- },
- "x-ms-identifiers": [
- "name"
- ],
- "readOnly": true,
- "description": "List of supported flexible server editions"
- },
- "supportedServerVersions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ServerVersionCapability"
- },
- "x-ms-identifiers": [
- "name"
- ],
- "description": "The list of server versions supported for this capability.",
- "readOnly": true
- },
- "fastProvisioningSupported": {
- "type": "string",
- "description": "Gets a value indicating whether fast provisioning is supported. \"Enabled\" means fast provisioning is supported. \"Disabled\" stands for fast provisioning is not supported.",
- "readOnly": true,
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "x-ms-enum": {
- "name": "fastProvisioningSupportedEnum",
- "modelAsString": true
- }
- },
- "supportedFastProvisioningEditions": {
- "type": "array",
- "description": "List of supported server editions for fast provisioning",
- "items": {
- "$ref": "#/definitions/FastProvisioningEditionCapability"
- },
- "x-ms-identifiers": [
- "supportedSku"
- ],
- "readOnly": true
- },
- "geoBackupSupported": {
- "type": "string",
- "description": "Determines if geo-backup is supported in this region. \"Enabled\" means geo-backup is supported. \"Disabled\" stands for geo-back is not supported.",
- "readOnly": true,
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "x-ms-enum": {
- "name": "geoBackupSupportedEnum",
- "modelAsString": true
- }
- },
- "zoneRedundantHaSupported": {
- "type": "string",
- "description": "A value indicating whether Zone Redundant HA is supported in this region. \"Enabled\" means zone redundant HA is supported. \"Disabled\" stands for zone redundant HA is not supported.",
- "readOnly": true,
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "x-ms-enum": {
- "name": "zoneRedundantHaSupportedEnum",
- "modelAsString": true
- }
- },
- "zoneRedundantHaAndGeoBackupSupported": {
- "type": "string",
- "description": "A value indicating whether Zone Redundant HA and Geo-backup is supported in this region. \"Enabled\" means zone redundant HA and geo-backup is supported. \"Disabled\" stands for zone redundant HA and geo-backup is not supported.",
- "readOnly": true,
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "x-ms-enum": {
- "name": "zoneRedundantHaAndGeoBackupSupportedEnum",
- "modelAsString": true
- }
- },
- "storageAutoGrowthSupported": {
- "type": "string",
- "description": "A value indicating whether storage auto-grow is supported in this region. \"Enabled\" means storage auto-grow is supported. \"Disabled\" stands for storage auto-grow is not supported.",
- "readOnly": true,
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "x-ms-enum": {
- "name": "storageAutoGrowthSupportedEnum",
- "modelAsString": true
- }
- },
- "onlineResizeSupported": {
- "type": "string",
- "description": "A value indicating whether online resize is supported in this region for the given subscription. \"Enabled\" means storage online resize is supported. \"Disabled\" means storage online resize is not supported.",
- "readOnly": true,
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "x-ms-enum": {
- "name": "onlineResizeSupportedEnum",
- "modelAsString": true
- }
- },
- "restricted": {
- "type": "string",
- "description": "A value indicating whether this region is restricted. \"Enabled\" means region is restricted. \"Disabled\" stands for region is not restricted.",
- "readOnly": true,
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "x-ms-enum": {
- "name": "restrictedEnum",
- "modelAsString": true
- }
- }
- },
- "description": "Capability for the PostgreSQL server"
- },
- "CapabilitiesListResult": {
- "type": "object",
- "properties": {
- "value": {
- "description": "A list of supported capabilities.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/FlexibleServerCapability"
- },
- "x-ms-identifiers": [
- "name"
- ],
- "readOnly": true
- },
- "nextLink": {
- "description": "Link to retrieve next page of results.",
- "type": "string",
- "readOnly": true
- }
- },
- "description": "Capability for the PostgreSQL server"
- }
- },
- "parameters": {}
-}
diff --git a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/CheckNameAvailability.json b/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/CheckNameAvailability.json
deleted file mode 100644
index b8d61cc81..000000000
--- a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/CheckNameAvailability.json
+++ /dev/null
@@ -1,155 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "PostgreSQLServerManagementClient",
- "description": "The Microsoft Azure management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model.",
- "version": "2024-08-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/checkNameAvailability": {
- "post": {
- "tags": [
- "CheckNameAvailability"
- ],
- "operationId": "CheckNameAvailability_Execute",
- "x-ms-examples": {
- "NameAvailability": {
- "$ref": "./examples/CheckNameAvailability.json"
- }
- },
- "description": "Check the availability of name for resource",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "name": "nameAvailabilityRequest",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/CheckNameAvailabilityRequest"
- },
- "description": "The required parameters for checking if resource name is available."
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/NameAvailability"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/locations/{locationName}/checkNameAvailability": {
- "post": {
- "tags": [
- "CheckNameAvailability"
- ],
- "operationId": "CheckNameAvailabilityWithLocation_Execute",
- "x-ms-examples": {
- "NameAvailability": {
- "$ref": "./examples/CheckNameAvailabilityLocationBased.json"
- }
- },
- "description": "Check the availability of name for resource",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/LocationNameParameter"
- },
- {
- "name": "nameAvailabilityRequest",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/CheckNameAvailabilityRequest"
- },
- "description": "The required parameters for checking if resource name is available."
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/NameAvailability"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "NameAvailability": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "description": "name of the PostgreSQL server.",
- "readOnly": true
- },
- "type": {
- "type": "string",
- "description": "type of the server",
- "readOnly": true
- }
- },
- "description": "Represents a resource name availability.",
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/CheckNameAvailabilityResponse"
- }
- ]
- }
- },
- "parameters": {}
-}
diff --git a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/Configuration.json b/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/Configuration.json
deleted file mode 100644
index 97116aad5..000000000
--- a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/Configuration.json
+++ /dev/null
@@ -1,395 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "PostgreSQLServerManagementClient",
- "description": "The Microsoft Azure management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model.",
- "version": "2024-08-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/configurations": {
- "get": {
- "tags": [
- "Configurations"
- ],
- "operationId": "Configurations_ListByServer",
- "x-ms-examples": {
- "ConfigurationList": {
- "$ref": "./examples/ConfigurationListByServer.json"
- }
- },
- "description": "List all the configurations in a given server.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ConfigurationListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/configurations/{configurationName}": {
- "get": {
- "tags": [
- "Configurations"
- ],
- "operationId": "Configurations_Get",
- "x-ms-examples": {
- "ConfigurationGet": {
- "$ref": "./examples/ConfigurationGet.json"
- }
- },
- "description": "Gets information about a configuration of server.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- },
- {
- "$ref": "#/parameters/ConfigurationNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Configuration"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "patch": {
- "tags": [
- "Configurations"
- ],
- "operationId": "Configurations_Update",
- "x-ms-examples": {
- "Update a user configuration": {
- "$ref": "./examples/ConfigurationUpdate.json"
- }
- },
- "description": "Updates a configuration of a server.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- },
- {
- "$ref": "#/parameters/ConfigurationNameParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ConfigurationForUpdate"
- },
- "description": "The required parameters for updating a server configuration."
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Configuration"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/Configuration"
- }
- },
- "202": {
- "description": "Accepted",
- "headers": {
- "Location": {
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "azure-async-operation"
- }
- },
- "put": {
- "tags": [
- "Configurations"
- ],
- "operationId": "Configurations_Put",
- "x-ms-examples": {
- "Update a user configuration": {
- "$ref": "./examples/ConfigurationUpdate.json"
- }
- },
- "description": "Updates a configuration of a server.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- },
- {
- "$ref": "#/parameters/ConfigurationNameParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/Configuration"
- },
- "description": "The required parameters for updating a server configuration."
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Configuration"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/Configuration"
- }
- },
- "202": {
- "description": "Accepted",
- "headers": {
- "Location": {
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "location"
- }
- }
- }
- },
- "definitions": {
- "ConfigurationProperties": {
- "type": "object",
- "properties": {
- "value": {
- "type": "string",
- "description": "Value of the configuration. Required to update the configuration."
- },
- "description": {
- "type": "string",
- "readOnly": true,
- "description": "Description of the configuration."
- },
- "defaultValue": {
- "type": "string",
- "readOnly": true,
- "description": "Default value of the configuration."
- },
- "dataType": {
- "type": "string",
- "readOnly": true,
- "description": "Data type of the configuration.",
- "enum": [
- "Boolean",
- "Numeric",
- "Integer",
- "Enumeration"
- ],
- "x-ms-enum": {
- "name": "ConfigurationDataType",
- "modelAsString": true
- }
- },
- "allowedValues": {
- "type": "string",
- "readOnly": true,
- "description": "Allowed values of the configuration."
- },
- "source": {
- "type": "string",
- "description": "Source of the configuration. Required to update the configuration."
- },
- "isDynamicConfig": {
- "type": "boolean",
- "readOnly": true,
- "description": "Configuration dynamic or static."
- },
- "isReadOnly": {
- "type": "boolean",
- "readOnly": true,
- "description": "Configuration read-only or not."
- },
- "isConfigPendingRestart": {
- "type": "boolean",
- "readOnly": true,
- "description": "Configuration is pending restart or not."
- },
- "unit": {
- "type": "string",
- "readOnly": true,
- "description": "Configuration unit."
- },
- "documentationLink": {
- "type": "string",
- "readOnly": true,
- "description": "Configuration documentation link."
- }
- },
- "description": "The properties of a configuration."
- },
- "Configuration": {
- "type": "object",
- "properties": {
- "properties": {
- "$ref": "#/definitions/ConfigurationProperties",
- "x-ms-client-flatten": true,
- "description": "The properties of a configuration."
- }
- },
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
- }
- ],
- "description": "Represents a Configuration."
- },
- "ConfigurationForUpdate": {
- "type": "object",
- "properties": {
- "properties": {
- "$ref": "#/definitions/ConfigurationProperties",
- "x-ms-client-flatten": true,
- "description": "The properties of a configuration."
- }
- },
- "description": "Represents a Configuration."
- },
- "ConfigurationListResult": {
- "type": "object",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Configuration"
- },
- "description": "The list of server configurations."
- },
- "nextLink": {
- "description": "The link used to get the next page of operations.",
- "type": "string"
- }
- },
- "description": "A list of server configurations."
- }
- },
- "parameters": {
- "ConfigurationNameParameter": {
- "name": "configurationName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the server configuration.",
- "minLength": 1,
- "pattern": "^[-\\w\\._]+$",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/Databases.json b/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/Databases.json
deleted file mode 100644
index c95fce456..000000000
--- a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/Databases.json
+++ /dev/null
@@ -1,317 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "PostgreSQLServerManagementClient",
- "description": "The Microsoft Azure management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model.",
- "version": "2024-08-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/databases/{databaseName}": {
- "put": {
- "tags": [
- "Databases"
- ],
- "operationId": "Databases_Create",
- "x-ms-examples": {
- "Create a database": {
- "$ref": "./examples/DatabaseCreate.json"
- }
- },
- "description": "Creates a new database or updates an existing database.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- },
- {
- "$ref": "#/parameters/DatabaseNameParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/Database"
- },
- "description": "The required parameters for creating or updating a database."
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Database"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/Database"
- }
- },
- "202": {
- "description": "Accepted",
- "headers": {
- "Location": {
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "azure-async-operation"
- }
- },
- "delete": {
- "tags": [
- "Databases"
- ],
- "operationId": "Databases_Delete",
- "x-ms-examples": {
- "Delete a database": {
- "$ref": "./examples/DatabaseDelete.json"
- }
- },
- "description": "Deletes a database.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- },
- {
- "$ref": "#/parameters/DatabaseNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK"
- },
- "202": {
- "description": "Accepted",
- "headers": {
- "Location": {
- "type": "string"
- }
- }
- },
- "204": {
- "description": "NoContent"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "location"
- }
- },
- "get": {
- "tags": [
- "Databases"
- ],
- "operationId": "Databases_Get",
- "x-ms-examples": {
- "Get a database": {
- "$ref": "./examples/DatabaseGet.json"
- }
- },
- "description": "Gets information about a database.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- },
- {
- "$ref": "#/parameters/DatabaseNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Database"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/databases": {
- "get": {
- "tags": [
- "Databases"
- ],
- "operationId": "Databases_ListByServer",
- "x-ms-examples": {
- "List databases in a server": {
- "$ref": "./examples/DatabasesListByServer.json"
- }
- },
- "description": "List all the databases in a given server.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/DatabaseListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- }
- },
- "definitions": {
- "DatabaseProperties": {
- "type": "object",
- "properties": {
- "charset": {
- "type": "string",
- "description": "The charset of the database.",
- "pattern": "^[a-zA-Z]+\\w*$"
- },
- "collation": {
- "type": "string",
- "description": "The collation of the database.",
- "pattern": "^[a-zA-Z\\-]+([. ]|\\w)*$"
- }
- },
- "description": "The properties of a database."
- },
- "Database": {
- "type": "object",
- "properties": {
- "properties": {
- "$ref": "#/definitions/DatabaseProperties",
- "x-ms-client-flatten": true,
- "description": "The properties of a database."
- }
- },
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
- }
- ],
- "description": "Represents a Database."
- },
- "DatabaseListResult": {
- "type": "object",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Database"
- },
- "description": "The list of databases housed in a server"
- },
- "nextLink": {
- "description": "The link used to get the next page of databases.",
- "type": "string",
- "format": "uri"
- }
- },
- "description": "A List of databases."
- }
- },
- "parameters": {
- "DatabaseNameParameter": {
- "name": "databaseName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the database.",
- "minLength": 1,
- "pattern": "^[-\\w\\._]+$",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/FirewallRules.json b/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/FirewallRules.json
deleted file mode 100644
index 0717265ec..000000000
--- a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/FirewallRules.json
+++ /dev/null
@@ -1,323 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "PostgreSQLServerManagementClient",
- "description": "The Microsoft Azure management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model.",
- "version": "2024-08-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/firewallRules/{firewallRuleName}": {
- "put": {
- "tags": [
- "FirewallRules"
- ],
- "operationId": "FirewallRules_CreateOrUpdate",
- "x-ms-examples": {
- "FirewallRuleCreate": {
- "$ref": "./examples/FirewallRuleCreate.json"
- }
- },
- "description": "Creates a new firewall rule or updates an existing firewall rule.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- },
- {
- "$ref": "#/parameters/FirewallRuleNameParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/FirewallRule"
- },
- "description": "The required parameters for creating or updating a firewall rule."
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/FirewallRule"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/FirewallRule"
- }
- },
- "202": {
- "description": "Accepted",
- "headers": {
- "Location": {
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "azure-async-operation"
- }
- },
- "delete": {
- "tags": [
- "FirewallRules"
- ],
- "operationId": "FirewallRules_Delete",
- "x-ms-examples": {
- "FirewallRuleDelete": {
- "$ref": "./examples/FirewallRuleDelete.json"
- }
- },
- "description": "Deletes a PostgreSQL server firewall rule.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- },
- {
- "$ref": "#/parameters/FirewallRuleNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK"
- },
- "202": {
- "description": "Accepted",
- "headers": {
- "Location": {
- "type": "string"
- }
- }
- },
- "204": {
- "description": "NoContent"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "location"
- }
- },
- "get": {
- "tags": [
- "FirewallRules"
- ],
- "operationId": "FirewallRules_Get",
- "x-ms-examples": {
- "FirewallRuleList": {
- "$ref": "./examples/FirewallRuleGet.json"
- }
- },
- "description": "List all the firewall rules in a given server.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- },
- {
- "$ref": "#/parameters/FirewallRuleNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/FirewallRule"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/firewallRules": {
- "get": {
- "tags": [
- "FirewallRules"
- ],
- "operationId": "FirewallRules_ListByServer",
- "x-ms-examples": {
- "FirewallRuleList": {
- "$ref": "./examples/FirewallRuleListByServer.json"
- }
- },
- "description": "List all the firewall rules in a given PostgreSQL server.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/FirewallRuleListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- }
- },
- "definitions": {
- "FirewallRuleProperties": {
- "type": "object",
- "properties": {
- "startIpAddress": {
- "type": "string",
- "pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$",
- "description": "The start IP address of the server firewall rule. Must be IPv4 format."
- },
- "endIpAddress": {
- "type": "string",
- "pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$",
- "description": "The end IP address of the server firewall rule. Must be IPv4 format."
- }
- },
- "required": [
- "startIpAddress",
- "endIpAddress"
- ],
- "description": "The properties of a server firewall rule."
- },
- "FirewallRule": {
- "type": "object",
- "properties": {
- "properties": {
- "$ref": "#/definitions/FirewallRuleProperties",
- "x-ms-client-flatten": true,
- "description": "The properties of a firewall rule."
- }
- },
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
- }
- ],
- "required": [
- "properties"
- ],
- "description": "Represents a server firewall rule."
- },
- "FirewallRuleListResult": {
- "type": "object",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/FirewallRule"
- },
- "description": "The list of firewall rules in a server."
- },
- "nextLink": {
- "description": "The link used to get the next page of operations.",
- "type": "string"
- }
- },
- "description": "A list of firewall rules."
- }
- },
- "parameters": {
- "FirewallRuleNameParameter": {
- "name": "firewallRuleName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the server firewall rule.",
- "minLength": 1,
- "pattern": "^[-\\w\\._]+$",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/FlexibleServers.json b/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/FlexibleServers.json
deleted file mode 100644
index 6248c0441..000000000
--- a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/FlexibleServers.json
+++ /dev/null
@@ -1,1211 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "PostgreSQLServerManagementClient",
- "description": "The Microsoft Azure management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model.",
- "version": "2024-08-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}": {
- "put": {
- "tags": [
- "Servers"
- ],
- "operationId": "Servers_Create",
- "x-ms-examples": {
- "Create a new server": {
- "$ref": "./examples/ServerCreate.json"
- },
- "Create a new server with active directory authentication enabled": {
- "$ref": "./examples/ServerCreateWithAadAuthEnabled.json"
- },
- "ServerCreateWithDataEncryptionEnabled": {
- "$ref": "./examples/ServerCreateWithDataEncryptionEnabled.json"
- },
- "Create a database as a point in time restore": {
- "$ref": "./examples/ServerCreatePointInTimeRestore.json"
- },
- "Create a database as a geo-restore in geo-paired location": {
- "$ref": "./examples/ServerCreateGeoRestoreWithDataEncryptionEnabled.json"
- },
- "ServerCreateReplica": {
- "$ref": "./examples/ServerCreateReplica.json"
- },
- "ServerCreateReviveDropped": {
- "$ref": "./examples/ServerCreateReviveDropped.json"
- }
- },
- "description": "Creates a new server.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/Server"
- },
- "description": "The required parameters for creating or updating a server."
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Server"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/Server"
- }
- },
- "202": {
- "description": "Accepted",
- "headers": {
- "Location": {
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "azure-async-operation"
- }
- },
- "patch": {
- "tags": [
- "Servers"
- ],
- "operationId": "Servers_Update",
- "x-ms-examples": {
- "ServerUpdate": {
- "$ref": "./examples/ServerUpdate.json"
- },
- "ServerUpdateWithAadAuthEnabled": {
- "$ref": "./examples/ServerUpdateWithAadAuthEnabled.json"
- },
- "ServerUpdateWithDataEncryptionEnabled": {
- "$ref": "./examples/ServerUpdateWithDataEncryptionEnabled.json"
- },
- "ServerUpdateWithCustomerMaintenanceWindow": {
- "$ref": "./examples/ServerUpdateWithCustomerMaintenanceWindow.json"
- },
- "ServerUpdateWithMajorVersionUpgrade": {
- "$ref": "./examples/ServerUpdateWithMajorVersionUpgrade.json"
- },
- "Promote a replica server as a Standalone server as planned, i.e. it will wait for replication to complete.": {
- "$ref": "./examples/PromoteReplicaAsPlannedStandaloneServer.json"
- },
- "Promote a replica server as a Standalone server as forced, i.e. it will promote a replica server immediately without waiting for primary and replica to be in sync.": {
- "$ref": "./examples/PromoteReplicaAsForcedStandaloneServer.json"
- },
- "SwitchOver a replica server as planned, i.e. it will wait for replication to complete before promoting replica as Primary and original primary as replica.": {
- "$ref": "./examples/PromoteReplicaAsPlannedSwitchover.json"
- },
- "SwitchOver a replica server as forced, i.e. it will replica as Primary and original primary as replica immediately without waiting for primary and replica to be in sync.": {
- "$ref": "./examples/PromoteReplicaAsForcedSwitchover.json"
- }
- },
- "description": "Updates an existing server. The request body can contain one to many of the properties present in the normal server definition.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ServerForUpdate"
- },
- "description": "The required parameters for updating a server."
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Server"
- }
- },
- "202": {
- "description": "Accepted",
- "headers": {
- "Location": {
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "azure-async-operation"
- }
- },
- "delete": {
- "tags": [
- "Servers"
- ],
- "operationId": "Servers_Delete",
- "x-ms-examples": {
- "ServerDelete": {
- "$ref": "./examples/ServerDelete.json"
- }
- },
- "description": "Deletes a server.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK"
- },
- "202": {
- "description": "Accepted",
- "headers": {
- "Location": {
- "type": "string"
- }
- }
- },
- "204": {
- "description": "NoContent"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "location"
- }
- },
- "get": {
- "tags": [
- "Servers"
- ],
- "operationId": "Servers_Get",
- "x-ms-examples": {
- "ServerGet": {
- "$ref": "./examples/ServerGet.json"
- },
- "ServerGetWithVnet": {
- "$ref": "./examples/ServerGetWithVnet.json"
- },
- "ServerGetWithPrivateEndpoints": {
- "$ref": "./examples/ServerGetWithPrivateEndpoints.json"
- }
- },
- "description": "Gets information about a server.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Server"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers": {
- "get": {
- "tags": [
- "Servers"
- ],
- "operationId": "Servers_ListByResourceGroup",
- "x-ms-examples": {
- "ServerListByResourceGroup": {
- "$ref": "./examples/ServerListByResourceGroup.json"
- }
- },
- "description": "List all the servers in a given resource group.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ServerListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/flexibleServers": {
- "get": {
- "tags": [
- "Servers"
- ],
- "operationId": "Servers_List",
- "x-ms-examples": {
- "ServerList": {
- "$ref": "./examples/ServerList.json"
- }
- },
- "description": "List all the servers in a given subscription.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ServerListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- }
- },
- "definitions": {
- "ServerVersion": {
- "type": "string",
- "description": "The version of a server.",
- "enum": [
- "16",
- "15",
- "14",
- "13",
- "12",
- "11"
- ],
- "x-ms-enum": {
- "name": "ServerVersion",
- "modelAsString": true
- }
- },
- "Replica": {
- "type": "object",
- "description": "Replica properties of a server",
- "properties": {
- "role": {
- "$ref": "#/definitions/ReplicationRole",
- "description": "Used to indicate role of the server in replication set."
- },
- "capacity": {
- "type": "integer",
- "format": "int32",
- "description": "Replicas allowed for a server.",
- "readOnly": true
- },
- "replicationState": {
- "type": "string",
- "enum": [
- "Active",
- "Catchup",
- "Provisioning",
- "Updating",
- "Broken",
- "Reconfiguring"
- ],
- "x-ms-enum": {
- "name": "ReplicationState",
- "modelAsString": true
- },
- "description": "Gets the replication state of a replica server. This property is returned only for replicas api call. Supported values are Active, Catchup, Provisioning, Updating, Broken, Reconfiguring",
- "readOnly": true
- },
- "promoteMode": {
- "type": "string",
- "description": "Sets the promote mode for a replica server. This is a write only property.",
- "enum": [
- "standalone",
- "switchover"
- ],
- "x-ms-enum": {
- "name": "ReadReplicaPromoteMode",
- "modelAsString": true
- },
- "x-ms-mutability": [
- "update"
- ]
- },
- "promoteOption": {
- "type": "string",
- "description": "Sets the promote options for a replica server. This is a write only property.",
- "enum": [
- "planned",
- "forced"
- ],
- "x-ms-enum": {
- "name": "ReplicationPromoteOption",
- "modelAsString": true
- },
- "x-ms-mutability": [
- "update"
- ]
- }
- }
- },
- "ServerProperties": {
- "type": "object",
- "properties": {
- "administratorLogin": {
- "type": "string",
- "description": "The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).",
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
- "administratorLoginPassword": {
- "type": "string",
- "description": "The administrator login password (required for server creation).",
- "x-ms-secret": true,
- "format": "password",
- "x-ms-mutability": [
- "create",
- "update"
- ]
- },
- "version": {
- "$ref": "#/definitions/ServerVersion",
- "description": "PostgreSQL Server version."
- },
- "minorVersion": {
- "type": "string",
- "description": "The minor version of the server.",
- "readOnly": true
- },
- "state": {
- "type": "string",
- "description": "A state of a server that is visible to user.",
- "readOnly": true,
- "enum": [
- "Ready",
- "Dropping",
- "Disabled",
- "Starting",
- "Stopping",
- "Stopped",
- "Updating"
- ],
- "x-ms-enum": {
- "name": "ServerState",
- "modelAsString": true
- }
- },
- "fullyQualifiedDomainName": {
- "type": "string",
- "description": "The fully qualified domain name of a server.",
- "readOnly": true
- },
- "storage": {
- "$ref": "#/definitions/Storage",
- "default": null,
- "description": "Storage properties of a server."
- },
- "authConfig": {
- "$ref": "#/definitions/AuthConfig",
- "default": null,
- "description": "AuthConfig properties of a server."
- },
- "dataEncryption": {
- "$ref": "#/definitions/DataEncryption",
- "default": null,
- "description": "Data encryption properties of a server."
- },
- "backup": {
- "$ref": "#/definitions/Backup",
- "default": null,
- "description": "Backup properties of a server."
- },
- "network": {
- "$ref": "#/definitions/Network",
- "default": null,
- "description": "Network properties of a server. This Network property is required to be passed only in case you want the server to be Private access server."
- },
- "highAvailability": {
- "$ref": "#/definitions/HighAvailability",
- "default": null,
- "description": "High availability properties of a server."
- },
- "maintenanceWindow": {
- "$ref": "#/definitions/MaintenanceWindow",
- "default": null,
- "description": "Maintenance window properties of a server.",
- "x-ms-mutability": [
- "update",
- "read"
- ]
- },
- "sourceServerResourceId": {
- "type": "string",
- "x-ms-arm-id-details": {
- "allowedResources": [
- {
- "type": "Microsoft.DBforPostgreSQL/flexibleServers"
- }
- ]
- },
- "description": "The source server resource ID to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore' or 'Replica' or 'ReviveDropped'. This property is returned only for Replica server",
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
- "pointInTimeUTC": {
- "type": "string",
- "format": "date-time",
- "description": "Restore point creation time (ISO8601 format), specifying the time to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore' or 'ReviveDropped'.",
- "x-ms-mutability": [
- "create"
- ]
- },
- "availabilityZone": {
- "type": "string",
- "default": "",
- "description": "availability zone information of the server.",
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
- "replicationRole": {
- "$ref": "#/definitions/ReplicationRole",
- "description": "Replication role of the server"
- },
- "replicaCapacity": {
- "type": "integer",
- "format": "int32",
- "description": "Replicas allowed for a server.",
- "readOnly": true
- },
- "replica": {
- "$ref": "#/definitions/Replica",
- "description": "Replica properties of a server. These Replica properties are required to be passed only in case you want to Promote a server.",
- "x-ms-mutability": [
- "read",
- "update"
- ]
- },
- "createMode": {
- "type": "string",
- "description": "The mode to create a new PostgreSQL server.",
- "enum": [
- "Default",
- "Create",
- "Update",
- "PointInTimeRestore",
- "GeoRestore",
- "Replica",
- "ReviveDropped"
- ],
- "x-ms-enum": {
- "name": "CreateMode",
- "modelAsString": true
- },
- "x-ms-mutability": [
- "create",
- "update"
- ]
- },
- "privateEndpointConnections": {
- "type": "array",
- "items": {
- "$ref": "../../../../../common-types/resource-management/v5/privatelinks.json#/definitions/PrivateEndpointConnection"
- },
- "description": "List of private endpoint connections associated with the specified resource.",
- "readOnly": true
- }
- },
- "description": "The properties of a server."
- },
- "Server": {
- "type": "object",
- "properties": {
- "sku": {
- "$ref": "#/definitions/Sku",
- "description": "The SKU (pricing tier) of the server."
- },
- "identity": {
- "$ref": "#/definitions/UserAssignedIdentity",
- "description": "Describes the identity of the application."
- },
- "properties": {
- "$ref": "#/definitions/ServerProperties",
- "x-ms-client-flatten": true,
- "description": "Properties of the server."
- }
- },
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
- }
- ],
- "description": "Represents a server."
- },
- "ServerPropertiesForUpdate": {
- "type": "object",
- "properties": {
- "administratorLogin": {
- "type": "string",
- "description": "The administrator's login name of a server. Can only be specified when the server is trying to switch to password authentication and does not have default administrator login.",
- "x-ms-mutability": [
- "update",
- "read"
- ]
- },
- "administratorLoginPassword": {
- "type": "string",
- "x-ms-secret": true,
- "format": "password",
- "description": "The password of the administrator login.",
- "x-ms-mutability": [
- "update"
- ]
- },
- "version": {
- "$ref": "#/definitions/ServerVersion",
- "description": "PostgreSQL Server version. Version 16 is currently not supported for MVU."
- },
- "storage": {
- "$ref": "#/definitions/Storage",
- "default": null,
- "description": "Storage properties of a server."
- },
- "backup": {
- "$ref": "#/definitions/Backup",
- "default": null,
- "description": "Backup properties of a server."
- },
- "highAvailability": {
- "$ref": "#/definitions/HighAvailability",
- "default": null,
- "description": "High availability properties of a server."
- },
- "maintenanceWindow": {
- "$ref": "#/definitions/MaintenanceWindow",
- "default": null,
- "description": "Maintenance window properties of a server.",
- "x-ms-mutability": [
- "update",
- "read"
- ]
- },
- "authConfig": {
- "$ref": "#/definitions/AuthConfig",
- "default": null,
- "description": "AuthConfig properties of a server."
- },
- "dataEncryption": {
- "$ref": "#/definitions/DataEncryption",
- "default": null,
- "description": "Data encryption properties of a server."
- },
- "createMode": {
- "type": "string",
- "description": "The mode to update a new PostgreSQL server.",
- "enum": [
- "Default",
- "Update"
- ],
- "x-ms-enum": {
- "name": "CreateModeForUpdate",
- "modelAsString": true
- },
- "x-ms-mutability": [
- "update"
- ]
- },
- "replicationRole": {
- "$ref": "#/definitions/ReplicationRole",
- "description": "Replication role of the server"
- },
- "replica": {
- "$ref": "#/definitions/Replica",
- "description": "Replica properties of a server. These Replica properties are required to be passed only in case you want to Promote a server.",
- "x-ms-mutability": [
- "read",
- "update"
- ]
- },
- "network": {
- "$ref": "#/definitions/Network",
- "default": null,
- "description": "Network properties of a server. These are required to be passed only in case if server is a private access server."
- }
- }
- },
- "ServerForUpdate": {
- "type": "object",
- "properties": {
- "sku": {
- "$ref": "#/definitions/Sku",
- "description": "The SKU (pricing tier) of the server."
- },
- "identity": {
- "$ref": "#/definitions/UserAssignedIdentity",
- "description": "Describes the identity of the application."
- },
- "properties": {
- "$ref": "#/definitions/ServerPropertiesForUpdate",
- "x-ms-client-flatten": true,
- "description": "Properties of the server."
- },
- "tags": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "description": "Application-specific metadata in the form of key-value pairs."
- }
- },
- "description": "Represents a server to be updated."
- },
- "ServerListResult": {
- "type": "object",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Server"
- },
- "description": "The list of flexible servers"
- },
- "nextLink": {
- "description": "The link used to get the next page of operations.",
- "type": "string"
- }
- },
- "description": "A list of servers."
- },
- "Sku": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3."
- },
- "tier": {
- "type": "string",
- "description": "The tier of the particular SKU, e.g. Burstable.",
- "enum": [
- "Burstable",
- "GeneralPurpose",
- "MemoryOptimized"
- ],
- "x-ms-enum": {
- "name": "SkuTier",
- "modelAsString": true
- }
- }
- },
- "required": [
- "name",
- "tier"
- ],
- "description": "Sku information related properties of a server."
- },
- "Storage": {
- "type": "object",
- "properties": {
- "storageSizeGB": {
- "type": "integer",
- "format": "int32",
- "description": "Max storage allowed for a server."
- },
- "autoGrow": {
- "type": "string",
- "description": "Flag to enable / disable Storage Auto grow for flexible server.",
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "x-ms-enum": {
- "name": "StorageAutoGrow",
- "modelAsString": true
- }
- },
- "tier": {
- "type": "string",
- "description": "Name of storage tier for IOPS.",
- "enum": [
- "P1",
- "P2",
- "P3",
- "P4",
- "P6",
- "P10",
- "P15",
- "P20",
- "P30",
- "P40",
- "P50",
- "P60",
- "P70",
- "P80"
- ],
- "x-ms-enum": {
- "name": "AzureManagedDiskPerformanceTiers",
- "modelAsString": true
- }
- },
- "iops": {
- "type": "integer",
- "format": "int32",
- "description": "Storage tier IOPS quantity. This property is required to be set for storage Type PremiumV2_LRS"
- },
- "throughput": {
- "type": "integer",
- "format": "int32",
- "description": "Storage throughput for the server. This is required to be set for storage Type PremiumV2_LRS"
- },
- "type": {
- "type": "string",
- "enum": [
- "Premium_LRS",
- "PremiumV2_LRS"
- ],
- "x-ms-enum": {
- "name": "StorageType",
- "modelAsString": true
- },
- "description": "Storage type for the server. Allowed values are Premium_LRS and PremiumV2_LRS, and default is Premium_LRS if not specified"
- }
- },
- "description": "Storage properties of a server"
- },
- "AuthConfig": {
- "type": "object",
- "properties": {
- "activeDirectoryAuth": {
- "type": "string",
- "description": "If Enabled, Azure Active Directory authentication is enabled.",
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "x-ms-enum": {
- "name": "activeDirectoryAuthEnum",
- "modelAsString": true
- }
- },
- "passwordAuth": {
- "type": "string",
- "default": "Enabled",
- "description": "If Enabled, Password authentication is enabled.",
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "x-ms-enum": {
- "name": "passwordAuthEnum",
- "modelAsString": true
- }
- },
- "tenantId": {
- "type": "string",
- "default": "",
- "description": "Tenant id of the server."
- }
- },
- "description": "Authentication configuration properties of a server"
- },
- "DataEncryption": {
- "type": "object",
- "properties": {
- "primaryKeyURI": {
- "type": "string",
- "description": "URI for the key in keyvault for data encryption of the primary server."
- },
- "primaryUserAssignedIdentityId": {
- "type": "string",
- "description": "Resource Id for the User assigned identity to be used for data encryption of the primary server."
- },
- "geoBackupKeyURI": {
- "type": "string",
- "description": "URI for the key in keyvault for data encryption for geo-backup of server."
- },
- "geoBackupUserAssignedIdentityId": {
- "type": "string",
- "description": "Resource Id for the User assigned identity to be used for data encryption for geo-backup of server."
- },
- "type": {
- "type": "string",
- "description": "Data encryption type to depict if it is System Managed vs Azure Key vault.",
- "enum": [
- "SystemManaged",
- "AzureKeyVault"
- ],
- "x-ms-enum": {
- "name": "ArmServerKeyType",
- "modelAsString": true
- }
- },
- "primaryEncryptionKeyStatus": {
- "type": "string",
- "description": "Primary encryption key status for Data encryption enabled server.",
- "x-ms-mutability": [
- "read"
- ],
- "enum": [
- "Valid",
- "Invalid"
- ],
- "x-ms-enum": {
- "name": "keyStatusEnum",
- "modelAsString": true
- }
- },
- "geoBackupEncryptionKeyStatus": {
- "type": "string",
- "description": "Geo-backup encryption key status for Data encryption enabled server.",
- "x-ms-mutability": [
- "read"
- ],
- "enum": [
- "Valid",
- "Invalid"
- ],
- "x-ms-enum": {
- "name": "keyStatusEnum",
- "modelAsString": true
- }
- }
- },
- "description": "Data encryption properties of a server"
- },
- "UserIdentity": {
- "description": "Describes a single user-assigned identity associated with the application.",
- "type": "object",
- "properties": {
- "principalId": {
- "type": "string",
- "description": "the object identifier of the Service Principal which this identity represents."
- },
- "clientId": {
- "type": "string",
- "description": "the client identifier of the Service Principal which this identity represents."
- }
- }
- },
- "UserAssignedIdentityMap": {
- "type": "object",
- "description": "Defines a map that contains user assigned identities.",
- "additionalProperties": {
- "$ref": "#/definitions/UserIdentity"
- }
- },
- "UserAssignedIdentity": {
- "type": "object",
- "properties": {
- "userAssignedIdentities": {
- "$ref": "#/definitions/UserAssignedIdentityMap",
- "description": "represents user assigned identities map."
- },
- "type": {
- "type": "string",
- "description": "the types of identities associated with this resource; currently restricted to 'None and UserAssigned'",
- "enum": [
- "None",
- "UserAssigned"
- ],
- "x-ms-enum": {
- "name": "IdentityType",
- "modelAsString": true
- }
- },
- "tenantId": {
- "type": "string",
- "description": "Tenant id of the server.",
- "readOnly": true
- }
- },
- "required": [
- "type"
- ],
- "description": "Information describing the identities associated with this application."
- },
- "ReplicationRole": {
- "type": "string",
- "description": "Used to indicate role of the server in replication set.",
- "enum": [
- "None",
- "Primary",
- "AsyncReplica",
- "GeoAsyncReplica"
- ],
- "x-ms-enum": {
- "name": "ReplicationRole",
- "modelAsString": true
- }
- },
- "Backup": {
- "type": "object",
- "properties": {
- "backupRetentionDays": {
- "type": "integer",
- "format": "int32",
- "default": 7,
- "description": "Backup retention days for the server."
- },
- "geoRedundantBackup": {
- "type": "string",
- "default": "Disabled",
- "description": "A value indicating whether Geo-Redundant backup is enabled on the server.",
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "x-ms-enum": {
- "name": "GeoRedundantBackupEnum",
- "modelAsString": true
- },
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
- "earliestRestoreDate": {
- "type": "string",
- "format": "date-time",
- "description": "The earliest restore point time (ISO8601 format) for server.",
- "readOnly": true
- }
- },
- "description": "Backup properties of a server"
- },
- "Network": {
- "type": "object",
- "properties": {
- "publicNetworkAccess": {
- "type": "string",
- "description": "public network access is enabled or not",
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "x-ms-enum": {
- "name": "ServerPublicNetworkAccessState",
- "modelAsString": true
- }
- },
- "delegatedSubnetResourceId": {
- "type": "string",
- "x-ms-arm-id-details": {
- "allowedResources": [
- {
- "type": "Microsoft.Network/virtualNetworks/subnets"
- }
- ]
- },
- "description": "Delegated subnet arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone."
- },
- "privateDnsZoneArmResourceId": {
- "type": "string",
- "x-ms-arm-id-details": {
- "allowedResources": [
- {
- "type": "Microsoft.Network/privateDnsZones"
- }
- ]
- },
- "description": "Private dns zone arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone."
- }
- },
- "description": "Network properties of a server."
- },
- "HighAvailability": {
- "type": "object",
- "properties": {
- "mode": {
- "type": "string",
- "default": "Disabled",
- "description": "The HA mode for the server.",
- "enum": [
- "Disabled",
- "ZoneRedundant",
- "SameZone"
- ],
- "x-ms-enum": {
- "name": "HighAvailabilityMode",
- "modelAsString": true
- }
- },
- "state": {
- "type": "string",
- "description": "A state of a HA server that is visible to user.",
- "enum": [
- "NotEnabled",
- "CreatingStandby",
- "ReplicatingData",
- "FailingOver",
- "Healthy",
- "RemovingStandby"
- ],
- "x-ms-enum": {
- "name": "ServerHAState",
- "modelAsString": true
- },
- "readOnly": true
- },
- "standbyAvailabilityZone": {
- "type": "string",
- "default": "",
- "description": "availability zone information of the standby."
- }
- },
- "description": "High availability properties of a server"
- },
- "MaintenanceWindow": {
- "type": "object",
- "description": "Maintenance window properties of a server.",
- "properties": {
- "customWindow": {
- "type": "string",
- "default": "Disabled",
- "description": "indicates whether custom window is enabled or disabled"
- },
- "startHour": {
- "type": "integer",
- "format": "int32",
- "default": 0,
- "description": "start hour for maintenance window"
- },
- "startMinute": {
- "type": "integer",
- "format": "int32",
- "default": 0,
- "description": "start minute for maintenance window"
- },
- "dayOfWeek": {
- "type": "integer",
- "format": "int32",
- "default": 0,
- "description": "day of week for maintenance window"
- }
- }
- }
- },
- "parameters": {}
-}
diff --git a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/LongTermRetentionOperation.json b/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/LongTermRetentionOperation.json
deleted file mode 100644
index 7fca5b14d..000000000
--- a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/LongTermRetentionOperation.json
+++ /dev/null
@@ -1,524 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "PostgreSQLServerManagementClient",
- "description": "The Microsoft Azure management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model.",
- "version": "2024-08-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/ltrPreBackup": {
- "post": {
- "description": "PreBackup operation performs all the checks that are needed for the subsequent long term retention backup operation to succeed.",
- "tags": [
- "LongTermRetentionBackup"
- ],
- "operationId": "FlexibleServer_TriggerLtrPreBackup",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "description": "Request body for operation",
- "required": true,
- "schema": {
- "$ref": "#/definitions/LtrPreBackupRequest"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "Ok. API finished synchronously with Success.",
- "schema": {
- "$ref": "#/definitions/LtrPreBackupResponse"
- },
- "headers": {
- "x-ms-request-id": {
- "description": "A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging.",
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error Scenario 4xx/5xx",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- },
- "headers": {
- "x-ms-error-code": {
- "description": "ErrorCode string in the event of a failure.",
- "type": "string"
- },
- "x-ms-request-id": {
- "description": "A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging.",
- "type": "string"
- }
- }
- }
- },
- "x-ms-examples": {
- "Sample_Prebackup": {
- "$ref": "./examples/LongTermRetentionPreBackup.json"
- }
- },
- "deprecated": false
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/startLtrBackup": {
- "post": {
- "description": "Start the Long Term Retention Backup operation",
- "tags": [
- "LongTermRetentionBackup"
- ],
- "operationId": "FlexibleServer_StartLtrBackup",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "description": "Request body for operation",
- "required": true,
- "schema": {
- "$ref": "#/definitions/LtrBackupRequest"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "Ok. API finished synchronously with Success.",
- "schema": {
- "$ref": "#/definitions/LtrBackupResponse"
- },
- "headers": {
- "x-ms-request-id": {
- "description": "A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging.",
- "type": "string"
- }
- }
- },
- "202": {
- "description": "Accepted.",
- "headers": {
- "Retry-After": {
- "description": "The number of seconds to wait before checking the status of the asynchronous operation.",
- "type": "integer",
- "format": "int32"
- },
- "x-ms-request-id": {
- "description": "A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging.",
- "type": "string"
- },
- "Location": {
- "description": "URL to retrieve the final result after operation completes.",
- "type": "string"
- },
- "Azure-AsyncOperation": {
- "description": "URL for checking the ongoing status of the operation.",
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error Scenario 4xx/5xx",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- },
- "headers": {
- "x-ms-error-code": {
- "description": "ErrorCode string in the event of a failure.",
- "type": "string"
- },
- "x-ms-request-id": {
- "description": "A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging.",
- "type": "string"
- }
- }
- }
- },
- "x-ms-examples": {
- "Sample_ExecuteBackup": {
- "$ref": "./examples/LongTermRetentionBackup.json"
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "location"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/ltrBackupOperations/{backupName}": {
- "get": {
- "tags": [
- "LongTermRetentionBackup"
- ],
- "operationId": "ltrBackupOperations_Get",
- "x-ms-examples": {
- "Sample": {
- "$ref": "./examples/LongTermRetentionOperationGet.json"
- }
- },
- "description": "Gets the result of the give long term retention backup operation for the flexible server.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- },
- {
- "$ref": "#/parameters/BackupNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/LtrServerBackupOperation"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/ltrBackupOperations": {
- "get": {
- "tags": [
- "LongTermRetentionBackup"
- ],
- "operationId": "ltrBackupOperations_ListByServer",
- "x-ms-examples": {
- "Sample List of Long Tern Retention Operations by Flexible Server": {
- "$ref": "./examples/LongTermRetentionOperationListByServer.json"
- }
- },
- "description": "Gets the result of the give long term retention backup operations for the flexible server.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/LtrServerBackupOperationList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- }
- },
- "definitions": {
- "BackupRequestBase": {
- "description": "BackupRequestBase is the base for all backup request.",
- "required": [
- "backupSettings"
- ],
- "type": "object",
- "properties": {
- "backupSettings": {
- "$ref": "#/definitions/BackupSettings",
- "description": "Backup Settings"
- }
- }
- },
- "LtrBackupRequest": {
- "description": "The request that is made for a long term retention backup.",
- "type": "object",
- "properties": {
- "targetDetails": {
- "$ref": "#/definitions/BackupStoreDetails",
- "description": "Backup store detail for target server"
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/BackupRequestBase"
- }
- ],
- "required": [
- "targetDetails"
- ]
- },
- "LtrPreBackupRequest": {
- "description": "A request that is made for pre-backup.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/BackupRequestBase"
- }
- ]
- },
- "BackupSettings": {
- "description": "The settings for the long term backup.",
- "type": "object",
- "required": [
- "backupName"
- ],
- "properties": {
- "backupName": {
- "type": "string",
- "description": "Backup Name for the current backup"
- }
- }
- },
- "BackupStoreDetails": {
- "description": "Details about the target where the backup content will be stored.",
- "required": [
- "sasUriList"
- ],
- "type": "object",
- "properties": {
- "sasUriList": {
- "description": "List of SAS uri of storage containers where backup data is to be streamed/copied.",
- "type": "array",
- "items": {
- "type": "string",
- "description": "SAS URI of Azure Storage Account Container.",
- "x-ms-secret": true
- }
- }
- }
- },
- "LtrPreBackupResponseProperties": {
- "description": "Response for the pre-backup request.",
- "type": "object",
- "required": [
- "numberOfContainers"
- ],
- "properties": {
- "numberOfContainers": {
- "format": "int32",
- "description": "Number of storage containers the plugin will use during backup. More than one containers may be used for size limitations, parallelism, or redundancy etc.",
- "type": "integer"
- }
- }
- },
- "LtrBackupOperationResponseProperties": {
- "description": "Response for the backup request.",
- "type": "object",
- "required": [
- "status",
- "startTime"
- ],
- "properties": {
- "datasourceSizeInBytes": {
- "format": "int64",
- "description": "Size of datasource in bytes",
- "type": "integer"
- },
- "dataTransferredInBytes": {
- "format": "int64",
- "description": "Data transferred in bytes",
- "type": "integer"
- },
- "backupName": {
- "description": "Name of Backup operation",
- "type": "string"
- },
- "backupMetadata": {
- "description": "Metadata to be stored in RP. Store everything that will be required to perform a successful restore using this Recovery point. e.g. Versions, DataFormat etc",
- "type": "string"
- },
- "status": {
- "description": "Service-set extensible enum indicating the status of operation",
- "enum": [
- "Running",
- "Cancelled",
- "Failed",
- "Succeeded"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "ExecutionStatus",
- "modelAsString": true
- }
- },
- "startTime": {
- "description": "Start time of the operation.",
- "format": "date-time",
- "type": "string"
- },
- "endTime": {
- "description": "End time of the operation.",
- "format": "date-time",
- "type": "string"
- },
- "percentComplete": {
- "description": "PercentageCompleted",
- "format": "double",
- "type": "number",
- "minimum": 0,
- "maximum": 100
- },
- "errorCode": {
- "readOnly": true,
- "type": "string",
- "description": "The error code."
- },
- "errorMessage": {
- "readOnly": true,
- "type": "string",
- "description": "The error message."
- }
- }
- },
- "LtrBackupResponse": {
- "description": "Response for the LTR backup API call",
- "type": "object",
- "properties": {
- "properties": {
- "description": "Long Term Retention Backup Operation Resource Properties",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/LtrBackupOperationResponseProperties"
- }
- }
- },
- "LtrServerBackupOperation": {
- "description": "Response for the LTR backup Operation API call",
- "type": "object",
- "required": [
- "id",
- "name"
- ],
- "properties": {
- "properties": {
- "description": "Long Term Retention Backup Operation Resource Properties",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/LtrBackupOperationResponseProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
- }
- ]
- },
- "LtrServerBackupOperationList": {
- "type": "object",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/LtrServerBackupOperation"
- },
- "description": "The list of long term retention server backup operations"
- },
- "nextLink": {
- "description": "The link used to get the next page of operations.",
- "type": "string"
- }
- },
- "description": "A list of long term retention backup operations for server."
- },
- "LtrPreBackupResponse": {
- "description": "Response for the LTR pre-backup API call",
- "type": "object",
- "required": [
- "properties"
- ],
- "properties": {
- "properties": {
- "description": "Additional Properties for the pre backup response",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/LtrPreBackupResponseProperties"
- }
- }
- }
- },
- "parameters": {
- "BackupNameParameter": {
- "name": "backupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the backup.",
- "x-ms-parameter-location": "method",
- "pattern": "^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*"
- }
- }
-}
diff --git a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/Migrations.json b/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/Migrations.json
deleted file mode 100644
index 7f3e2460d..000000000
--- a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/Migrations.json
+++ /dev/null
@@ -1,1296 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "PostgreSQLServerManagementClient",
- "description": "The Microsoft Azure management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model.",
- "version": "2024-08-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "description": "Azure Active Directory OAuth2 Flow",
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDbServerName}/migrations/{migrationName}": {
- "put": {
- "tags": [
- "Migrations"
- ],
- "operationId": "Migrations_Create",
- "x-ms-examples": {
- "Migrations_Create": {
- "$ref": "./examples/Migrations_Create.json"
- },
- "Migrations Create by passing user names": {
- "$ref": "./examples/Migrations_Create_With_Other_Users.json"
- },
- "Migrations Create with roles": {
- "$ref": "./examples/Migrations_Create_With_Roles.json"
- },
- "Migrations Create with private endpoint": {
- "$ref": "./examples/Migrations_Create_With_PrivateEndpoint_Servers.json"
- },
- "Create Migration with other source types for Validate and Migrate": {
- "$ref": "./examples/Migrations_Create_Other_SourceTypes_Validate_Migrate.json"
- },
- "Create Pre-migration Validation": {
- "$ref": "./examples/Migrations_Create_Validate_Only.json"
- }
- },
- "description": "Creates a new migration.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/TargetDbServerSubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/TargetDbServerResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/TargetDbServerNameParameter"
- },
- {
- "$ref": "#/parameters/MigrationNameParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/MigrationResource"
- },
- "description": "The required parameters for creating a migration."
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully set or update the Migration for a server",
- "schema": {
- "$ref": "#/definitions/MigrationResource"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/MigrationResource"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "get": {
- "tags": [
- "Migrations"
- ],
- "operationId": "Migrations_Get",
- "x-ms-examples": {
- "Migrations_Get": {
- "$ref": "./examples/Migrations_Get.json"
- },
- "Migrations_GetMigrationWithValidationFailures": {
- "$ref": "./examples/Migrations_GetMigrationWithValidationFailures.json"
- },
- "Migrations_GetMigrationWithSuccessfulValidationOnly": {
- "$ref": "./examples/Migrations_GetMigrationWithSuccessfulValidationOnly.json"
- },
- "Migrations_GetMigrationWithSuccessfulValidationButMigrationFailure": {
- "$ref": "./examples/Migrations_GetMigrationWithSuccessfulValidationButMigrationFailure.json"
- },
- "Migrations_GetMigrationWithSuccessfulValidationAndMigration": {
- "$ref": "./examples/Migrations_GetMigrationWithSuccessfulValidationAndMigration.json"
- }
- },
- "description": "Gets details of a migration.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/TargetDbServerSubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/TargetDbServerResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/TargetDbServerNameParameter"
- },
- {
- "$ref": "#/parameters/MigrationNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/MigrationResource"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "patch": {
- "tags": [
- "Migrations"
- ],
- "operationId": "Migrations_Update",
- "x-ms-examples": {
- "Migrations_Update": {
- "$ref": "./examples/Migrations_Update.json"
- },
- "Cancel migration": {
- "$ref": "./examples/Migrations_Cancel.json"
- }
- },
- "description": "Updates an existing migration. The request body can contain one to many of the mutable properties present in the migration definition. Certain property updates initiate migration state transitions.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/TargetDbServerSubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/TargetDbServerResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/TargetDbServerNameParameter"
- },
- {
- "$ref": "#/parameters/MigrationNameParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/MigrationResourceForPatch"
- },
- "description": "The required parameters for updating a migration."
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/MigrationResource"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "delete": {
- "tags": [
- "Migrations"
- ],
- "operationId": "Migrations_Delete",
- "x-ms-examples": {
- "Migrations_Delete": {
- "$ref": "./examples/Migrations_Delete.json"
- }
- },
- "description": "Deletes a migration.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/TargetDbServerSubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/TargetDbServerResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/TargetDbServerNameParameter"
- },
- {
- "$ref": "#/parameters/MigrationNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK"
- },
- "204": {
- "description": "NoContent"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDbServerName}/migrations": {
- "get": {
- "tags": [
- "Migrations"
- ],
- "operationId": "Migrations_ListByTargetServer",
- "x-ms-examples": {
- "Migrations_ListByTargetServer": {
- "$ref": "./examples/Migrations_ListByTargetServer.json"
- }
- },
- "description": "List all the migrations on a given target server.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/TargetDbServerSubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/TargetDbServerResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/TargetDbServerNameParameter"
- },
- {
- "$ref": "#/parameters/MigrationListFilter"
- }
- ],
- "responses": {
- "200": {
- "description": "Success",
- "schema": {
- "$ref": "#/definitions/MigrationResourceListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDbServerName}/checkMigrationNameAvailability": {
- "post": {
- "summary": "Check migration name validity and availability",
- "description": "This method checks whether a proposed migration name is valid and available.",
- "tags": [
- "Custom operation",
- "POST"
- ],
- "operationId": "CheckMigrationNameAvailability",
- "x-ms-examples": {
- "CheckMigrationNameAvailability": {
- "$ref": "./examples/CheckMigrationNameAvailability.json"
- }
- },
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/TargetDbServerSubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/TargetDbServerResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/TargetDbServerNameParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/MigrationNameAvailabilityResource"
- },
- "description": "The required parameters for checking if a migration name is available."
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/MigrationNameAvailabilityResource"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "MigrationResource": {
- "type": "object",
- "properties": {
- "properties": {
- "$ref": "#/definitions/MigrationResourceProperties",
- "description": "Migration resource properties.",
- "x-ms-client-flatten": true
- }
- },
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
- }
- ],
- "description": "Represents a migration resource."
- },
- "MigrationResourceProperties": {
- "type": "object",
- "properties": {
- "migrationId": {
- "type": "string",
- "readOnly": true,
- "description": "ID for migration, a GUID."
- },
- "currentStatus": {
- "$ref": "#/definitions/MigrationStatus",
- "readOnly": true,
- "description": "Current status of migration"
- },
- "migrationInstanceResourceId": {
- "type": "string",
- "format": "arm-id",
- "description": "ResourceId of the private endpoint migration instance"
- },
- "migrationMode": {
- "$ref": "#/definitions/MigrationMode",
- "description": "There are two types of migration modes Online and Offline"
- },
- "migrationOption": {
- "$ref": "#/definitions/MigrationOption",
- "description": "This indicates the supported Migration option for the migration"
- },
- "sourceType": {
- "$ref": "#/definitions/SourceType",
- "description": "migration source server type : OnPremises, AWS, GCP, AzureVM, PostgreSQLSingleServer, AWS_RDS, AWS_AURORA, AWS_EC2, GCP_CloudSQL, GCP_AlloyDB, GCP_Compute, or EDB"
- },
- "sslMode": {
- "$ref": "#/definitions/SslMode",
- "description": "SSL modes for migration. Default SSL mode for PostgreSQLSingleServer is VerifyFull and Prefer for other source types"
- },
- "sourceDbServerMetadata": {
- "$ref": "#/definitions/DbServerMetadata",
- "readOnly": true,
- "description": "Metadata of the source database server"
- },
- "targetDbServerMetadata": {
- "$ref": "#/definitions/DbServerMetadata",
- "readOnly": true,
- "description": "Metadata of the target database server"
- },
- "sourceDbServerResourceId": {
- "type": "string",
- "description": "ResourceId of the source database server in case the sourceType is PostgreSQLSingleServer. For other source types this should be ipaddress:port@username or hostname:port@username"
- },
- "sourceDbServerFullyQualifiedDomainName": {
- "type": "string",
- "description": "Source server fully qualified domain name (FQDN) or IP address. It is a optional value, if customer provide it, migration service will always use it for connection"
- },
- "targetDbServerResourceId": {
- "type": "string",
- "readOnly": true,
- "description": "ResourceId of the source database server"
- },
- "targetDbServerFullyQualifiedDomainName": {
- "type": "string",
- "description": "Target server fully qualified domain name (FQDN) or IP address. It is a optional value, if customer provide it, migration service will always use it for connection"
- },
- "secretParameters": {
- "$ref": "#/definitions/MigrationSecretParameters",
- "description": "Migration secret parameters"
- },
- "dbsToMigrate": {
- "maxItems": 50,
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "Number of databases to migrate",
- "x-ms-identifiers": []
- },
- "setupLogicalReplicationOnSourceDbIfNeeded": {
- "type": "string",
- "enum": [
- "True",
- "False"
- ],
- "x-ms-enum": {
- "name": "LogicalReplicationOnSourceDbEnum",
- "modelAsString": true
- },
- "description": "Indicates whether to setup LogicalReplicationOnSourceDb, if needed"
- },
- "overwriteDbsInTarget": {
- "type": "string",
- "enum": [
- "True",
- "False"
- ],
- "x-ms-enum": {
- "name": "OverwriteDbsInTargetEnum",
- "modelAsString": true
- },
- "description": "Indicates whether the databases on the target server can be overwritten, if already present. If set to False, the migration workflow will wait for a confirmation, if it detects that the database already exists."
- },
- "migrationWindowStartTimeInUtc": {
- "format": "date-time",
- "type": "string",
- "description": "Start time in UTC for migration window"
- },
- "migrationWindowEndTimeInUtc": {
- "format": "date-time",
- "type": "string",
- "description": "End time in UTC for migration window"
- },
- "migrateRoles": {
- "type": "string",
- "enum": [
- "True",
- "False"
- ],
- "x-ms-enum": {
- "name": "MigrateRolesEnum",
- "modelAsString": true
- },
- "description": "To migrate roles and permissions we need to send this flag as True"
- },
- "startDataMigration": {
- "type": "string",
- "enum": [
- "True",
- "False"
- ],
- "x-ms-enum": {
- "name": "StartDataMigrationEnum",
- "modelAsString": true
- },
- "description": "Indicates whether the data migration should start right away"
- },
- "triggerCutover": {
- "type": "string",
- "enum": [
- "True",
- "False"
- ],
- "x-ms-enum": {
- "name": "TriggerCutoverEnum",
- "modelAsString": true
- },
- "description": "To trigger cutover for entire migration we need to send this flag as True"
- },
- "dbsToTriggerCutoverOn": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "When you want to trigger cutover for specific databases send triggerCutover flag as True and database names in this array",
- "x-ms-identifiers": []
- },
- "cancel": {
- "type": "string",
- "enum": [
- "True",
- "False"
- ],
- "x-ms-enum": {
- "name": "CancelEnum",
- "modelAsString": true
- },
- "description": "To trigger cancel for entire migration we need to send this flag as True"
- },
- "dbsToCancelMigrationOn": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "When you want to trigger cancel for specific databases send cancel flag as True and database names in this array",
- "x-ms-identifiers": []
- }
- },
- "description": "Migration resource properties."
- },
- "MigrationResourceListResult": {
- "type": "object",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/MigrationResource"
- },
- "readOnly": true,
- "description": "A list of migration resources.",
- "x-ms-identifiers": []
- },
- "nextLink": {
- "description": "The link used to get the next page of migrations.",
- "type": "string",
- "readOnly": true
- }
- },
- "description": "A list of migration resources."
- },
- "MigrationResourceForPatch": {
- "type": "object",
- "properties": {
- "properties": {
- "$ref": "#/definitions/MigrationResourcePropertiesForPatch",
- "description": "Migration resource properties.",
- "x-ms-client-flatten": true
- },
- "tags": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "description": "Application-specific metadata in the form of key-value pairs."
- }
- },
- "description": "Represents a migration resource for patch."
- },
- "MigrationResourcePropertiesForPatch": {
- "type": "object",
- "properties": {
- "sourceDbServerResourceId": {
- "type": "string",
- "description": "ResourceId of the source database server"
- },
- "sourceDbServerFullyQualifiedDomainName": {
- "type": "string",
- "description": "Source server fully qualified domain name (FQDN) or IP address. It is a optional value, if customer provide it, migration service will always use it for connection"
- },
- "targetDbServerFullyQualifiedDomainName": {
- "type": "string",
- "description": "Target server fully qualified domain name (FQDN) or IP address. It is a optional value, if customer provide it, migration service will always use it for connection"
- },
- "secretParameters": {
- "$ref": "#/definitions/MigrationSecretParameters",
- "description": "Migration secret parameters"
- },
- "dbsToMigrate": {
- "maxItems": 50,
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "Number of databases to migrate",
- "x-ms-identifiers": []
- },
- "setupLogicalReplicationOnSourceDbIfNeeded": {
- "type": "string",
- "enum": [
- "True",
- "False"
- ],
- "x-ms-enum": {
- "name": "LogicalReplicationOnSourceDbEnum",
- "modelAsString": true
- },
- "description": "Indicates whether to setup LogicalReplicationOnSourceDb, if needed"
- },
- "overwriteDbsInTarget": {
- "type": "string",
- "enum": [
- "True",
- "False"
- ],
- "x-ms-enum": {
- "name": "OverwriteDbsInTargetEnum",
- "modelAsString": true
- },
- "description": "Indicates whether the databases on the target server can be overwritten, if already present. If set to False, the migration workflow will wait for a confirmation, if it detects that the database already exists."
- },
- "migrationWindowStartTimeInUtc": {
- "format": "date-time",
- "type": "string",
- "description": "Start time in UTC for migration window"
- },
- "migrateRoles": {
- "type": "string",
- "enum": [
- "True",
- "False"
- ],
- "x-ms-enum": {
- "name": "MigrateRolesEnum",
- "modelAsString": true
- },
- "description": "To migrate roles and permissions we need to send this flag as True"
- },
- "startDataMigration": {
- "type": "string",
- "enum": [
- "True",
- "False"
- ],
- "x-ms-enum": {
- "name": "StartDataMigrationEnum",
- "modelAsString": true
- },
- "description": "Indicates whether the data migration should start right away"
- },
- "triggerCutover": {
- "type": "string",
- "enum": [
- "True",
- "False"
- ],
- "x-ms-enum": {
- "name": "TriggerCutoverEnum",
- "modelAsString": true
- },
- "description": "To trigger cutover for entire migration we need to send this flag as True"
- },
- "dbsToTriggerCutoverOn": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "When you want to trigger cutover for specific databases send triggerCutover flag as True and database names in this array",
- "x-ms-identifiers": []
- },
- "cancel": {
- "type": "string",
- "enum": [
- "True",
- "False"
- ],
- "x-ms-enum": {
- "name": "CancelEnum",
- "modelAsString": true
- },
- "description": "To trigger cancel for entire migration we need to send this flag as True"
- },
- "dbsToCancelMigrationOn": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "When you want to trigger cancel for specific databases send cancel flag as True and database names in this array",
- "x-ms-identifiers": []
- },
- "migrationMode": {
- "$ref": "#/definitions/MigrationMode",
- "description": "There are two types of migration modes Online and Offline"
- }
- },
- "description": "Migration resource properties for patch."
- },
- "MigrationSecretParameters": {
- "required": [
- "adminCredentials"
- ],
- "type": "object",
- "properties": {
- "adminCredentials": {
- "x-ms-secret": true,
- "x-ms-external": true,
- "$ref": "#/definitions/AdminCredentials",
- "description": "Admin credentials for source and target servers"
- },
- "sourceServerUsername": {
- "type": "string",
- "x-ms-mutability": [
- "create",
- "update"
- ],
- "description": "Gets or sets the username for the source server. This user need not be an admin."
- },
- "targetServerUsername": {
- "type": "string",
- "x-ms-mutability": [
- "create",
- "update"
- ],
- "description": "Gets or sets the username for the target server. This user need not be an admin."
- }
- },
- "description": "Migration secret parameters."
- },
- "AdminCredentials": {
- "type": "object",
- "required": [
- "sourceServerPassword",
- "targetServerPassword"
- ],
- "properties": {
- "sourceServerPassword": {
- "type": "string",
- "x-ms-secret": true,
- "x-ms-external": true,
- "x-ms-mutability": [
- "create",
- "update"
- ],
- "description": "Password for source server."
- },
- "targetServerPassword": {
- "type": "string",
- "x-ms-secret": true,
- "x-ms-external": true,
- "x-ms-mutability": [
- "create",
- "update"
- ],
- "description": "Password for target server."
- }
- },
- "description": "Server admin credentials."
- },
- "DbServerMetadata": {
- "type": "object",
- "properties": {
- "location": {
- "type": "string",
- "description": "Location of database server",
- "x-ms-mutability": [
- "read"
- ],
- "readOnly": true
- },
- "version": {
- "type": "string",
- "description": "Version for database engine"
- },
- "storageMb": {
- "format": "int32",
- "type": "integer",
- "description": "Storage size in MB for database server"
- },
- "sku": {
- "$ref": "#/definitions/ServerSku",
- "description": "SKU for the database server. This object is empty for PG single server"
- }
- },
- "description": "Database server metadata."
- },
- "MigrationDetailsLevel": {
- "enum": [
- "Default",
- "Summary",
- "Full"
- ],
- "type": "string",
- "description": "Migration details level.",
- "x-ms-enum": {
- "name": "MigrationDetailsLevel",
- "modelAsString": true
- }
- },
- "MigrationMode": {
- "enum": [
- "Offline",
- "Online"
- ],
- "type": "string",
- "description": "There are two types of migration modes Online and Offline",
- "x-ms-enum": {
- "name": "MigrationMode",
- "modelAsString": true
- }
- },
- "MigrationOption": {
- "enum": [
- "Validate",
- "Migrate",
- "ValidateAndMigrate"
- ],
- "type": "string",
- "description": "Supported types of migration request include Validate, Migrate and ValidateAndMigrate",
- "x-ms-enum": {
- "name": "MigrationOption",
- "modelAsString": true
- }
- },
- "MigrationState": {
- "enum": [
- "InProgress",
- "WaitingForUserAction",
- "Canceled",
- "Failed",
- "Succeeded",
- "ValidationFailed",
- "CleaningUp"
- ],
- "type": "string",
- "description": "Migration state.",
- "x-ms-enum": {
- "name": "MigrationState",
- "modelAsString": true
- }
- },
- "MigrationStatus": {
- "type": "object",
- "properties": {
- "state": {
- "$ref": "#/definitions/MigrationState",
- "readOnly": true,
- "description": "State of migration"
- },
- "error": {
- "type": "string",
- "readOnly": true,
- "description": "Error message, if any, for the migration state"
- },
- "currentSubStateDetails": {
- "$ref": "#/definitions/MigrationSubStateDetails",
- "readOnly": true,
- "description": "Current Migration sub state details."
- }
- },
- "description": "Migration status."
- },
- "MigrationSubState": {
- "enum": [
- "PerformingPreRequisiteSteps",
- "WaitingForLogicalReplicationSetupRequestOnSourceDB",
- "WaitingForDBsToMigrateSpecification",
- "WaitingForTargetDBOverwriteConfirmation",
- "WaitingForDataMigrationScheduling",
- "WaitingForDataMigrationWindow",
- "MigratingData",
- "WaitingForCutoverTrigger",
- "CompletingMigration",
- "Completed",
- "CancelingRequestedDBMigrations",
- "ValidationInProgress"
- ],
- "type": "string",
- "description": "Migration sub state.",
- "x-ms-enum": {
- "name": "MigrationSubState",
- "modelAsString": true
- }
- },
- "MigrationSubStateDetails": {
- "type": "object",
- "properties": {
- "currentSubState": {
- "$ref": "#/definitions/MigrationSubState",
- "readOnly": true
- },
- "dbDetails": {
- "type": "object",
- "additionalProperties": {
- "$ref": "#/definitions/DbMigrationStatus"
- }
- },
- "validationDetails": {
- "$ref": "#/definitions/ValidationDetails"
- }
- },
- "description": "Migration sub state details."
- },
- "DbMigrationStatus": {
- "type": "object",
- "description": "Migration status of an individual database",
- "properties": {
- "databaseName": {
- "type": "string",
- "description": "Name of the database"
- },
- "migrationState": {
- "type": "string",
- "description": "Migration db state of an individual database",
- "enum": [
- "InProgress",
- "WaitingForCutoverTrigger",
- "Failed",
- "Canceled",
- "Succeeded",
- "Canceling"
- ],
- "x-ms-enum": {
- "name": "MigrationDbState",
- "modelAsString": true
- }
- },
- "migrationOperation": {
- "type": "string",
- "description": "Migration operation of an individual database"
- },
- "startedOn": {
- "type": "string",
- "format": "date-time",
- "description": "Start date-time of a migration state"
- },
- "endedOn": {
- "type": "string",
- "format": "date-time",
- "description": "End date-time of a migration state"
- },
- "fullLoadQueuedTables": {
- "format": "int32",
- "type": "integer",
- "description": "Number of tables queued for the migration of a DB"
- },
- "fullLoadErroredTables": {
- "format": "int32",
- "type": "integer",
- "description": "Number of tables errored out during the migration of a DB"
- },
- "fullLoadLoadingTables": {
- "format": "int32",
- "type": "integer",
- "description": "Number of tables loading during the migration of a DB"
- },
- "fullLoadCompletedTables": {
- "format": "int32",
- "type": "integer",
- "description": "Number of tables loaded during the migration of a DB"
- },
- "cdcUpdateCounter": {
- "format": "int32",
- "type": "integer",
- "description": "CDC update counter"
- },
- "cdcDeleteCounter": {
- "format": "int32",
- "type": "integer",
- "description": "CDC delete counter"
- },
- "cdcInsertCounter": {
- "format": "int32",
- "type": "integer",
- "description": "CDC insert counter"
- },
- "appliedChanges": {
- "format": "int32",
- "type": "integer",
- "description": "CDC applied changes counter"
- },
- "incomingChanges": {
- "format": "int32",
- "type": "integer",
- "description": "CDC incoming changes counter"
- },
- "latency": {
- "format": "int32",
- "type": "integer",
- "description": "Lag in seconds between source and target during online phase"
- },
- "message": {
- "type": "string",
- "description": "Error message, if any, for the migration state"
- }
- }
- },
- "ValidationDetails": {
- "type": "object",
- "description": "Details for the validation for migration",
- "properties": {
- "status": {
- "$ref": "#/definitions/ValidationState"
- },
- "validationStartTimeInUtc": {
- "type": "string",
- "format": "date-time",
- "description": "Validation Start date-time in UTC"
- },
- "validationEndTimeInUtc": {
- "type": "string",
- "format": "date-time",
- "description": "Validation End date-time in UTC"
- },
- "serverLevelValidationDetails": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ValidationSummaryItem"
- },
- "description": "Details of server level validations",
- "x-ms-identifiers": []
- },
- "dbLevelValidationDetails": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/DbLevelValidationStatus"
- },
- "description": "Details of server level validations",
- "x-ms-identifiers": [
- "databaseName"
- ]
- }
- }
- },
- "DbLevelValidationStatus": {
- "type": "object",
- "description": "Validation status summary for an individual database",
- "properties": {
- "databaseName": {
- "type": "string",
- "description": "Name of the database"
- },
- "startedOn": {
- "type": "string",
- "format": "date-time",
- "description": "Start date-time of a database level validation"
- },
- "endedOn": {
- "type": "string",
- "format": "date-time",
- "description": "End date-time of a database level validation"
- },
- "summary": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ValidationSummaryItem"
- },
- "description": "Summary of database level validations",
- "x-ms-identifiers": []
- }
- }
- },
- "ValidationSummaryItem": {
- "type": "object",
- "description": "Validation summary object",
- "properties": {
- "type": {
- "type": "string",
- "description": "Validation type"
- },
- "state": {
- "$ref": "#/definitions/ValidationState"
- },
- "messages": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ValidationMessage"
- },
- "description": "Validation messages",
- "x-ms-identifiers": []
- }
- }
- },
- "ValidationMessage": {
- "type": "object",
- "description": "Validation message object",
- "properties": {
- "state": {
- "$ref": "#/definitions/ValidationState",
- "description": "Severity of validation message"
- },
- "message": {
- "type": "string",
- "description": "Validation message string"
- }
- }
- },
- "ValidationState": {
- "type": "string",
- "description": "Validation status for migration",
- "enum": [
- "Failed",
- "Succeeded",
- "Warning"
- ],
- "x-ms-enum": {
- "name": "ValidationState",
- "modelAsString": true
- }
- },
- "SourceType": {
- "enum": [
- "OnPremises",
- "AWS",
- "GCP",
- "AzureVM",
- "PostgreSQLSingleServer",
- "AWS_RDS",
- "AWS_AURORA",
- "AWS_EC2",
- "GCP_CloudSQL",
- "GCP_AlloyDB",
- "GCP_Compute",
- "EDB"
- ],
- "type": "string",
- "description": "Migration source server type : OnPremises, AWS, GCP, AzureVM, PostgreSQLSingleServer, AWS_RDS, AWS_AURORA, AWS_EC2, GCP_CloudSQL, GCP_AlloyDB, GCP_Compute, or EDB",
- "x-ms-enum": {
- "name": "SourceType",
- "modelAsString": true
- }
- },
- "SslMode": {
- "enum": [
- "Prefer",
- "Require",
- "VerifyCA",
- "VerifyFull"
- ],
- "type": "string",
- "description": "Supported SSL modes for migration. VerifyFull is the recommended SSL mode for Single server migration. Prefer, Require are recommended SSL modes for other source types",
- "x-ms-enum": {
- "name": "SslMode",
- "modelAsString": true
- }
- },
- "ServerSku": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3."
- },
- "tier": {
- "type": "string",
- "description": "The tier of the particular SKU, e.g. Burstable.",
- "enum": [
- "Burstable",
- "GeneralPurpose",
- "MemoryOptimized"
- ],
- "x-ms-enum": {
- "name": "SkuTier",
- "modelAsString": true
- }
- }
- },
- "description": "Sku information related properties of a server."
- },
- "MigrationNameAvailabilityReason": {
- "enum": [
- "Invalid",
- "AlreadyExists"
- ],
- "type": "string",
- "description": "Migration name availability reason.",
- "x-ms-enum": {
- "name": "MigrationNameAvailabilityReason",
- "modelAsString": true
- }
- },
- "MigrationNameAvailabilityResource": {
- "required": [
- "name",
- "type"
- ],
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "description": "The resource name to verify."
- },
- "type": {
- "type": "string",
- "description": "The type of the resource."
- },
- "nameAvailable": {
- "type": "boolean",
- "description": "Indicates whether the resource name is available.",
- "readOnly": true
- },
- "reason": {
- "$ref": "#/definitions/MigrationNameAvailabilityReason",
- "description": "Migration name availability reason",
- "readOnly": true
- },
- "message": {
- "type": "string",
- "description": "Migration name availability message.",
- "readOnly": true
- }
- },
- "description": "Represents a migration name's availability."
- }
- },
- "parameters": {
- "TargetDbServerSubscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The subscription ID of the target database server.",
- "pattern": "([a-z0-9]){8,8}[-]([a-z0-9]){4,4}[-]([a-z0-9]){4,4}[-]([a-z0-9]){4,4}[-]([a-z0-9]){12,12}",
- "x-ms-parameter-location": "method"
- },
- "TargetDbServerResourceGroupNameParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The resource group name of the target database server.",
- "pattern": "^[-a-z0-9A-Z._()]+[^.]$",
- "x-ms-parameter-location": "method"
- },
- "TargetDbServerNameParameter": {
- "name": "targetDbServerName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the target database server.",
- "pattern": "([-a-z0-9]){3,63}",
- "x-ms-parameter-location": "method"
- },
- "MigrationNameParameter": {
- "name": "migrationName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the migration.",
- "pattern": "^[a-z][a-z0-9]*$",
- "x-ms-parameter-location": "method"
- },
- "MigrationListFilter": {
- "name": "migrationListFilter",
- "in": "query",
- "required": false,
- "enum": [
- "Active",
- "All"
- ],
- "type": "string",
- "description": "Migration list filter. Retrieves either active migrations or all migrations.",
- "x-ms-enum": {
- "name": "MigrationListFilter",
- "modelAsString": true
- },
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/Operations.json b/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/Operations.json
deleted file mode 100644
index 01d625da1..000000000
--- a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/Operations.json
+++ /dev/null
@@ -1,164 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "PostgreSQLServerManagementClient",
- "description": "The Microsoft Azure management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model.",
- "version": "2024-08-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/providers/Microsoft.DBforPostgreSQL/operations": {
- "get": {
- "tags": [
- "Operations"
- ],
- "operationId": "Operations_List",
- "x-ms-examples": {
- "OperationList": {
- "$ref": "./examples/OperationList.json"
- }
- },
- "description": "Lists all of the available REST API operations.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/OperationListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "OperationDisplay": {
- "type": "object",
- "properties": {
- "provider": {
- "type": "string",
- "readOnly": true,
- "description": "Operation resource provider name."
- },
- "resource": {
- "type": "string",
- "readOnly": true,
- "description": "Resource on which the operation is performed."
- },
- "operation": {
- "type": "string",
- "readOnly": true,
- "description": "Localized friendly name for the operation."
- },
- "description": {
- "type": "string",
- "readOnly": true,
- "description": "Operation description."
- }
- },
- "description": "Display metadata associated with the operation."
- },
- "Operation": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "readOnly": true,
- "description": "The name of the operation being performed on this particular object."
- },
- "display": {
- "$ref": "#/definitions/OperationDisplay",
- "readOnly": true,
- "description": "The localized display information for this particular operation or action."
- },
- "isDataAction": {
- "description": "Indicates whether the operation is a data action",
- "type": "boolean"
- },
- "origin": {
- "type": "string",
- "readOnly": true,
- "description": "The intended executor of the operation.",
- "enum": [
- "NotSpecified",
- "user",
- "system"
- ],
- "x-ms-enum": {
- "name": "OperationOrigin",
- "modelAsString": true
- }
- },
- "properties": {
- "type": "object",
- "additionalProperties": {
- "type": "object"
- },
- "readOnly": true,
- "x-ms-client-flatten": false,
- "description": "Additional descriptions for the operation."
- }
- },
- "description": "REST API operation definition."
- },
- "OperationListResult": {
- "description": "A list of resource provider operations.",
- "type": "object",
- "properties": {
- "value": {
- "description": "Collection of available operation details",
- "uniqueItems": false,
- "type": "array",
- "items": {
- "$ref": "#/definitions/Operation"
- },
- "x-ms-identifiers": [
- "name"
- ]
- },
- "nextLink": {
- "description": "URL client should use to fetch the next page (per server side paging).\r\nIt's null for now, added for future use.",
- "type": "string"
- }
- }
- }
- },
- "parameters": {}
-}
diff --git a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/PrivateDnsZone.json b/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/PrivateDnsZone.json
deleted file mode 100644
index 8a8e8ea82..000000000
--- a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/PrivateDnsZone.json
+++ /dev/null
@@ -1,77 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "version": "2024-08-01",
- "title": "PostgreSQLServerManagementClient",
- "description": "The Microsoft Azure management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model."
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/providers/Microsoft.DBforPostgreSQL/getPrivateDnsZoneSuffix": {
- "post": {
- "tags": [
- "GetPrivateDnsZoneSuffix"
- ],
- "operationId": "GetPrivateDnsZoneSuffix_Execute",
- "x-ms-examples": {
- "GetPrivateDnsZoneSuffix": {
- "$ref": "./examples/GetPrivateDnsZoneSuffix.json"
- }
- },
- "description": "Get private DNS zone suffix in the cloud",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/PrivateDnsZoneSuffix"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "PrivateDnsZoneSuffix": {
- "type": "string",
- "description": "Represents a resource name availability."
- }
- }
-}
diff --git a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/PrivateEndpointConnections.json b/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/PrivateEndpointConnections.json
deleted file mode 100644
index def9b6815..000000000
--- a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/PrivateEndpointConnections.json
+++ /dev/null
@@ -1,270 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "PostgreSQLServerManagementClient",
- "description": "The Microsoft Azure management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model.",
- "version": "2024-08-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}": {
- "get": {
- "tags": [
- "PrivateEndpointConnections"
- ],
- "description": "Gets a private endpoint connection.",
- "operationId": "PrivateEndpointConnections_Get",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/PrivateEndpointConnectionNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully retrieved a specified private endpoint connection.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/privatelinks.json#/definitions/PrivateEndpointConnection"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Gets private endpoint connection.": {
- "$ref": "./examples/PrivateEndpointConnectionGet.json"
- }
- }
- },
- "put": {
- "tags": [
- "PrivateEndpointConnections"
- ],
- "description": "Approve or reject a private endpoint connection with a given name.",
- "operationId": "PrivateEndpointConnection_Update",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/PrivateEndpointConnectionNameParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/privatelinks.json#/definitions/PrivateEndpointConnection"
- },
- "description": "The required parameters for updating private endpoint connection."
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully approved or rejected private endpoint connection.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/privatelinks.json#/definitions/PrivateEndpointConnection"
- }
- },
- "201": {
- "description": "Successfully approved or rejected private endpoint connection.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/privatelinks.json#/definitions/PrivateEndpointConnection"
- }
- },
- "202": {
- "description": "Accepted",
- "headers": {
- "Location": {
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-examples": {
- "Approve or reject a private endpoint connection with a given name.": {
- "$ref": "./examples/PrivateEndpointConnectionUpdate.json"
- }
- }
- },
- "delete": {
- "tags": [
- "PrivateEndpointConnections"
- ],
- "description": "Deletes a private endpoint connection with a given name.",
- "operationId": "PrivateEndpointConnection_Delete",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/PrivateEndpointConnectionNameParameter"
- }
- ],
- "responses": {
- "202": {
- "description": "Accepted and the operation will complete asynchronously.",
- "headers": {
- "Location": {
- "type": "string"
- }
- }
- },
- "204": {
- "description": "Private endpoint connection does not exist."
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "azure-async-operation"
- },
- "x-ms-examples": {
- "Deletes a private endpoint connection with a given name.": {
- "$ref": "./examples/PrivateEndpointConnectionDelete.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/privateEndpointConnections": {
- "get": {
- "tags": [
- "PrivateEndpointConnections"
- ],
- "description": "Gets all private endpoint connections on a server.",
- "operationId": "PrivateEndpointConnections_ListByServer",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully retrieved private endpoint connections.",
- "schema": {
- "$ref": "#/definitions/PrivateEndpointConnectionListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "Gets list of private endpoint connections on a server.": {
- "$ref": "./examples/PrivateEndpointConnectionList.json"
- }
- }
- }
- }
- },
- "definitions": {
- "PrivateEndpointConnectionListResult": {
- "description": "A list of private endpoint connections.",
- "type": "object",
- "properties": {
- "value": {
- "description": "Array of results.",
- "type": "array",
- "items": {
- "$ref": "../../../../../common-types/resource-management/v5/privatelinks.json#/definitions/PrivateEndpointConnection"
- },
- "readOnly": true
- },
- "nextLink": {
- "description": "The URL to get the next set of results.",
- "type": "string",
- "format": "uri",
- "readOnly": true
- }
- }
- }
- },
- "parameters": {}
-}
diff --git a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/PrivateLinkResources.json b/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/PrivateLinkResources.json
deleted file mode 100644
index 9e188d7a5..000000000
--- a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/PrivateLinkResources.json
+++ /dev/null
@@ -1,155 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "PostgreSQLServerManagementClient",
- "description": "The Microsoft Azure management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model.",
- "version": "2024-08-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/privateLinkResources": {
- "get": {
- "tags": [
- "PrivateLinkResources"
- ],
- "description": "Gets the private link resources for PostgreSQL server.",
- "operationId": "PrivateLinkResources_ListByServer",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully retrieved private link resources.",
- "schema": {
- "$ref": "#/definitions/PrivateLinkResourceListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "Gets private link resources for PostgreSQL.": {
- "$ref": "./examples/PrivateLinkResourcesList.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/privateLinkResources/{groupName}": {
- "get": {
- "tags": [
- "PrivateLinkResources"
- ],
- "description": "Gets a private link resource for PostgreSQL server.",
- "operationId": "PrivateLinkResources_Get",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- },
- {
- "name": "groupName",
- "in": "path",
- "description": "The name of the private link resource.",
- "required": true,
- "type": "string",
- "pattern": "^.*$"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully retrieved private link resources.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/privatelinks.json#/definitions/PrivateLinkResource"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Gets a private link resource for PostgreSQL.": {
- "$ref": "./examples/PrivateLinkResourcesGet.json"
- }
- }
- }
- }
- },
- "definitions": {
- "PrivateLinkResourceListResult": {
- "description": "A list of private link resources",
- "type": "object",
- "properties": {
- "value": {
- "description": "Array of results.",
- "type": "array",
- "items": {
- "$ref": "../../../../../common-types/resource-management/v5/privatelinks.json#/definitions/PrivateLinkResource"
- },
- "readOnly": true
- },
- "nextLink": {
- "description": "Link to retrieve next page of results.",
- "type": "string",
- "readOnly": true
- }
- }
- }
- },
- "parameters": {}
-}
diff --git a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/Replicas.json b/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/Replicas.json
deleted file mode 100644
index 89ea828d9..000000000
--- a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/Replicas.json
+++ /dev/null
@@ -1,83 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "PostgreSQLServerManagementClient",
- "description": "The Microsoft Azure management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model.",
- "version": "2024-08-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/replicas": {
- "get": {
- "tags": [
- "Replicas"
- ],
- "operationId": "Replicas_ListByServer",
- "x-ms-examples": {
- "ReplicasListByServer": {
- "$ref": "./examples/ReplicasListByServer.json"
- }
- },
- "description": "List all the replicas for a given server.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "./FlexibleServers.json#/definitions/ServerListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- }
- }
-}
diff --git a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/ServerLogs.json b/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/ServerLogs.json
deleted file mode 100644
index 35221ee85..000000000
--- a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/ServerLogs.json
+++ /dev/null
@@ -1,148 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "PostgreSQLServerManagementClient",
- "description": "The Microsoft Azure management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model.",
- "version": "2024-08-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/logFiles": {
- "get": {
- "tags": [
- "LogFiles"
- ],
- "operationId": "LogFiles_ListByServer",
- "x-ms-examples": {
- "List all server log files for a server": {
- "$ref": "./examples/LogFilesListByServer.json"
- }
- },
- "description": "List all the server log files in a given server.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/LogFileListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- }
- },
- "definitions": {
- "LogFileProperties": {
- "type": "object",
- "properties": {
- "createdTime": {
- "type": "string",
- "format": "date-time",
- "description": "Creation timestamp of the log file."
- },
- "lastModifiedTime": {
- "type": "string",
- "format": "date-time",
- "description": "Last modified timestamp of the log file."
- },
- "sizeInKb": {
- "type": "integer",
- "format": "int64",
- "description": "The size in kb of the logFile."
- },
- "type": {
- "type": "string",
- "description": "Type of the log file."
- },
- "url": {
- "type": "string",
- "description": "The url to download the log file from."
- }
- },
- "description": "The properties of a logFile."
- },
- "LogFile": {
- "type": "object",
- "properties": {
- "properties": {
- "$ref": "#/definitions/LogFileProperties",
- "x-ms-client-flatten": true,
- "description": "The properties of a logFile."
- }
- },
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
- }
- ],
- "description": "Represents a logFile."
- },
- "LogFileListResult": {
- "type": "object",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/LogFile"
- },
- "description": "The list of logFiles in a server"
- },
- "nextLink": {
- "description": "The link used to get the next page of operations.",
- "type": "string"
- }
- },
- "description": "A List of logFiles."
- }
- },
- "parameters": {}
-}
diff --git a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/ServerStartStopRestart.json b/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/ServerStartStopRestart.json
deleted file mode 100644
index edffb5872..000000000
--- a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/ServerStartStopRestart.json
+++ /dev/null
@@ -1,229 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "PostgreSQLServerManagementClient",
- "description": "The Microsoft Azure management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model.",
- "version": "2024-08-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/restart": {
- "post": {
- "tags": [
- "ServerRestart"
- ],
- "operationId": "Servers_Restart",
- "x-ms-examples": {
- "ServerRestart": {
- "$ref": "./examples/ServerRestart.json"
- },
- "ServerRestartWithFailover": {
- "$ref": "./examples/ServerRestartWithFailover.json"
- }
- },
- "description": "Restarts a server.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "schema": {
- "$ref": "#/definitions/RestartParameter"
- },
- "description": "The parameters for restarting a server."
- }
- ],
- "responses": {
- "200": {
- "description": "OK"
- },
- "202": {
- "description": "Accepted",
- "headers": {
- "Location": {
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "location"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/start": {
- "post": {
- "tags": [
- "ServerStart"
- ],
- "operationId": "Servers_Start",
- "x-ms-examples": {
- "ServerStart": {
- "$ref": "./examples/ServerStart.json"
- }
- },
- "description": "Starts a server.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK"
- },
- "202": {
- "description": "Accepted",
- "headers": {
- "Location": {
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "location"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/stop": {
- "post": {
- "tags": [
- "ServerStop"
- ],
- "operationId": "Servers_Stop",
- "x-ms-examples": {
- "ServerStop": {
- "$ref": "./examples/ServerStop.json"
- }
- },
- "description": "Stops a server.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK"
- },
- "202": {
- "description": "Accepted",
- "headers": {
- "Location": {
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "location"
- }
- }
- }
- },
- "definitions": {
- "RestartParameter": {
- "type": "object",
- "properties": {
- "restartWithFailover": {
- "type": "boolean",
- "description": "Indicates whether to restart the server with failover."
- },
- "failoverMode": {
- "type": "string",
- "description": "Failover mode.",
- "enum": [
- "PlannedFailover",
- "ForcedFailover",
- "PlannedSwitchover",
- "ForcedSwitchover"
- ],
- "x-ms-enum": {
- "name": "FailoverMode",
- "modelAsString": true
- }
- }
- },
- "description": "Represents server restart parameters."
- }
- },
- "parameters": {}
-}
diff --git a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/ThreatProtection.json b/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/ThreatProtection.json
deleted file mode 100644
index 63e17023e..000000000
--- a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/ThreatProtection.json
+++ /dev/null
@@ -1,280 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "PostgreSQLServerManagementClient",
- "description": "The Microsoft Azure management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, administrators, log files, configurations, migrations, advanced threat protection settings with new business model.",
- "version": "2024-08-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/advancedThreatProtectionSettings": {
- "get": {
- "tags": [
- "AdvancedThreatProtectionSettings"
- ],
- "description": "Get a list of server's Threat Protection state.",
- "operationId": "ServerThreatProtectionSettings_ListByServer",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully retrieved the server threat detection policy.",
- "schema": {
- "$ref": "#/definitions/ServerThreatProtectionListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation of advanced threat protection on the flexible server failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get a server's Advanced Threat Protection settings": {
- "$ref": "./examples/ServerThreatProtectionSettingsListByServer.json"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/advancedThreatProtectionSettings/{threatProtectionName}": {
- "get": {
- "tags": [
- "AdvancedThreatProtectionSettings"
- ],
- "description": "Get a server's Advanced Threat Protection settings.",
- "operationId": "ServerThreatProtectionSettings_Get",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- },
- {
- "$ref": "#/parameters/ThreatProtectionNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully retrieved the server advanced threat protection settings.",
- "schema": {
- "$ref": "#/definitions/ServerThreatProtectionSettingsModel"
- }
- },
- "default": {
- "description": "Error response describing why the operation of threat protection on the flexible server failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get a server's Threat Protection settings": {
- "$ref": "./examples/ServerThreatProtectionSettingsGet.json"
- }
- }
- },
- "put": {
- "tags": [
- "AdvancedThreatProtectionSettings"
- ],
- "description": "Creates or updates a server's Advanced Threat Protection settings.",
- "operationId": "ServerThreatProtectionSettings_CreateOrUpdate",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- },
- {
- "$ref": "#/parameters/ThreatProtectionNameParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "description": "The Advanced Threat Protection state for the flexible server.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ServerThreatProtectionSettingsModel"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully set or update the server Threat Protection settings.",
- "schema": {
- "$ref": "#/definitions/ServerThreatProtectionSettingsModel"
- }
- },
- "default": {
- "description": "Error response describing why the operation of setting Threat Protection failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- },
- "201": {
- "description": "Successfully created the server Threat Protection settings.",
- "schema": {
- "$ref": "#/definitions/ServerThreatProtectionSettingsModel"
- }
- },
- "202": {
- "description": "Accepted",
- "headers": {
- "Location": {
- "type": "string"
- }
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "azure-async-operation"
- },
- "x-ms-examples": {
- "Update a server's Threat Protection settings": {
- "$ref": "./examples/ServerThreatProtectionSettingsCreateOrUpdate.json"
- }
- }
- }
- }
- },
- "definitions": {
- "ServerThreatProtectionProperties": {
- "description": "Properties of server Threat Protection state.",
- "required": [
- "state"
- ],
- "type": "object",
- "properties": {
- "state": {
- "description": "Specifies the state of the Threat Protection, whether it is enabled or disabled or a state has not been applied yet on the specific server.",
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "ThreatProtectionState",
- "modelAsString": false
- }
- },
- "creationTime": {
- "format": "date-time",
- "description": "Specifies the UTC creation time of the policy.",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "ServerThreatProtectionSettingsModel": {
- "description": "Server's Advanced Threat Protection settings.",
- "type": "object",
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
- }
- ],
- "properties": {
- "properties": {
- "$ref": "#/definitions/ServerThreatProtectionProperties",
- "description": "Advanced Threat Protection properties.",
- "x-ms-client-flatten": true
- }
- }
- },
- "ServerThreatProtectionListResult": {
- "description": "A list of the server's Advanced Threat Protection settings.",
- "type": "object",
- "properties": {
- "value": {
- "description": "Array of results.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/ServerThreatProtectionSettingsModel"
- },
- "readOnly": true
- },
- "nextLink": {
- "description": "Link to retrieve next page of results.",
- "type": "string",
- "readOnly": true
- }
- }
- }
- },
- "parameters": {
- "ThreatProtectionNameParameter": {
- "name": "threatProtectionName",
- "in": "path",
- "description": "The name of the Threat Protection state.",
- "required": true,
- "type": "string",
- "enum": [
- "Default"
- ],
- "x-ms-enum": {
- "name": "ThreatProtectionName",
- "modelAsString": true
- },
- "pattern": "^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/VirtualEndpoints.json b/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/VirtualEndpoints.json
deleted file mode 100644
index 5795994b6..000000000
--- a/swagger-specs/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/VirtualEndpoints.json
+++ /dev/null
@@ -1,403 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "PostgreSQLServerManagementClient",
- "description": "The Microsoft Azure management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model.",
- "version": "2024-08-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/virtualendpoints/{virtualEndpointName}": {
- "put": {
- "tags": [
- "VirtualEndpoints"
- ],
- "operationId": "VirtualEndpoints_Create",
- "x-ms-examples": {
- "Create a new virtual endpoint for a flexible server": {
- "$ref": "./examples/VirtualEndpointCreate.json"
- }
- },
- "description": "Creates a new virtual endpoint for PostgreSQL flexible server.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- },
- {
- "$ref": "#/parameters/VirtualEndpointNameParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/VirtualEndpointResource"
- },
- "description": "The required parameters for creating or updating virtual endpoints."
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/VirtualEndpointResource"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/VirtualEndpointResource"
- }
- },
- "202": {
- "description": "Accepted",
- "headers": {
- "Location": {
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "azure-async-operation"
- }
- },
- "patch": {
- "tags": [
- "VirtualEndpoints"
- ],
- "operationId": "VirtualEndpoints_Update",
- "x-ms-examples": {
- "Update a virtual endpoint for a server to update the ": {
- "$ref": "./examples/VirtualEndpointUpdate.json"
- }
- },
- "description": "Updates an existing virtual endpoint. The request body can contain one to many of the properties present in the normal virtual endpoint definition.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- },
- {
- "$ref": "#/parameters/VirtualEndpointNameParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/VirtualEndpointResourceForPatch"
- },
- "description": "The required parameters for updating a server."
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/VirtualEndpointResource"
- }
- },
- "202": {
- "description": "Accepted",
- "headers": {
- "Location": {
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "azure-async-operation"
- }
- },
- "delete": {
- "tags": [
- "VirtualEndpoints"
- ],
- "operationId": "VirtualEndpoints_Delete",
- "x-ms-examples": {
- "Delete a virtual endpoint": {
- "$ref": "./examples/VirtualEndpointDelete.json"
- }
- },
- "description": "Deletes a virtual endpoint.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- },
- {
- "$ref": "#/parameters/VirtualEndpointNameParameter"
- }
- ],
- "responses": {
- "202": {
- "description": "Accepted",
- "headers": {
- "Location": {
- "type": "string"
- }
- }
- },
- "204": {
- "description": "NoContent"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "location"
- }
- },
- "get": {
- "tags": [
- "VirtualEndpoints"
- ],
- "operationId": "VirtualEndpoints_Get",
- "x-ms-examples": {
- "Get a virtual endpoint": {
- "$ref": "./examples/VirtualEndpointsGet.json"
- }
- },
- "description": "Gets information about a virtual endpoint.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- },
- {
- "$ref": "#/parameters/VirtualEndpointNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/VirtualEndpointResource"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/virtualendpoints": {
- "get": {
- "tags": [
- "VirtualEndpoints"
- ],
- "operationId": "VirtualEndpoints_ListByServer",
- "x-ms-examples": {
- "VirtualEndpointListByServer": {
- "$ref": "./examples/VirtualEndpointsListByServer.json"
- }
- },
- "description": "List all the servers in a given resource group.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/VirtualEndpointsListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- }
- },
- "definitions": {
- "VirtualEndpointResourceProperties": {
- "type": "object",
- "properties": {
- "endpointType": {
- "type": "string",
- "description": "The endpoint type for the virtual endpoint.",
- "enum": [
- "ReadWrite"
- ],
- "x-ms-enum": {
- "name": "VirtualEndpointType",
- "modelAsString": true
- }
- },
- "members": {
- "type": "array",
- "items": {
- "type": "string",
- "description": "Member for the virtual endpoint."
- },
- "description": "List of members for a virtual endpoint"
- },
- "virtualEndpoints": {
- "type": "array",
- "items": {
- "type": "string",
- "description": "Virtual endpoint for a server."
- },
- "description": "List of virtual endpoints for a server",
- "readOnly": true
- }
- },
- "description": "The properties of a virtual endpoint."
- },
- "VirtualEndpointResource": {
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/VirtualEndpointResourceForPatch"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource"
- }
- ],
- "description": "Represents a virtual endpoint for a server."
- },
- "VirtualEndpointResourceForPatch": {
- "type": "object",
- "properties": {
- "properties": {
- "$ref": "#/definitions/VirtualEndpointResourceProperties",
- "x-ms-client-flatten": true,
- "description": "Properties of the virtual endpoint resource."
- }
- },
- "description": "Represents a virtual endpoint for a server."
- },
- "VirtualEndpointsListResult": {
- "type": "object",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VirtualEndpointResource"
- },
- "description": "The list of virtual endpoints"
- },
- "nextLink": {
- "description": "The link used to get the next page of operations.",
- "type": "string"
- }
- },
- "description": "A list of virtual endpoints."
- }
- },
- "parameters": {
- "VirtualEndpointNameParameter": {
- "name": "virtualEndpointName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the virtual endpoint.",
- "pattern": "^[A-Za-z0-9][A-Za-z0-9-]{0,62}(?= usages) to the groupQuota. So, this API can be used to assign Quota to subscriptions and assign back unused quota to group quota, which can be assigned to another subscriptions in the GroupQuota. User can collect unused quotas from multiple subscriptions within the groupQuota and assign the groupQuota to the subscription, where it's needed.",
+ "operationId": "GroupQuotaSubscriptionAllocationRequest_Update",
"x-ms-examples": {
- "SubscriptionQuotaAllocation_List_ForCompute": {
- "$ref": "./examples/SubscriptionQuotaAllocation/SubscriptionQuotaAllocation_List-Compute.json"
+ "SubscriptionQuotaAllocation_Patch_Request_ForCompute": {
+ "$ref": "./examples/SubscriptionQuotaAllocationRequests/PatchSubscriptionQuotaAllocationRequest-Compute.json"
}
},
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
"parameters": [
{
"$ref": "#/parameters/ManagementGroupId"
@@ -1041,11 +910,23 @@
{
"$ref": "#/parameters/GroupQuotaName"
},
+ {
+ "$ref": "#/parameters/ResourceProviderName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter"
+ },
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "#/parameters/FilterLocationInQuery"
+ "name": "allocateQuotaRequest",
+ "in": "body",
+ "description": "Quota requests payload.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SubscriptionQuotaAllocationsList"
+ }
}
],
"responses": {
@@ -1055,6 +936,24 @@
"$ref": "#/definitions/SubscriptionQuotaAllocationsList"
}
},
+ "202": {
+ "description": "Request Accepted",
+ "headers": {
+ "Retry-After": {
+ "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.",
+ "type": "integer",
+ "format": "int64"
+ },
+ "Location": {
+ "description": "URL for determining when an operation has completed. Send a GET request to the URL in Location header.\nThe URI should return a 202 until the operation reaches a terminal state and 200 once it reaches a terminal state.\n\nFor more info: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#202-accepted-and-location-headers",
+ "type": "string"
+ },
+ "Azure-AsyncOperation": {
+ "description": "URL for checking the ongoing status of the operation.\nTo get the status of the asynchronous operation, send a GET request to the URL in Azure-AsyncOperation header value.\n\nFor more info: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#asynchronous-operations",
+ "type": "string"
+ }
+ }
+ },
"default": {
"description": "Error",
"schema": {
@@ -1062,19 +961,17 @@
}
}
}
- }
- },
- "/providers/Microsoft.Management/managementGroups/{managementGroupId}/subscriptions/{subscriptionId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/quotaAllocations/{resourceName}": {
+ },
"get": {
"tags": [
"SubscriptionQuotaAllocation"
],
- "summary": "Gets Quota allocated to a subscription for the specific Resource Provider, Location, ResourceName.",
- "description": "Gets Quota allocated to a subscription for the specific Resource Provider, Location, ResourceName. This will include the GroupQuota and total quota allocated to the subscription. Only the Group quota allocated to the subscription can be allocated back to the MG Group Quota.",
- "operationId": "GroupQuotaSubscriptionAllocation_Get",
+ "summary": "Gets all the quota allocated to a subscription for the specified resource provider and location for resource names passed in $filter=resourceName eq {SKU}.",
+ "description": "Gets all the quota allocated to a subscription for the specified resource provider and location for resource names passed in $filter=resourceName eq {SKU}. This will include the GroupQuota and total quota allocated to the subscription. Only the Group quota allocated to the subscription can be allocated back to the MG Group Quota.",
+ "operationId": "GroupQuotaSubscriptionAllocation_List",
"x-ms-examples": {
- "SubscriptionQuotaAllocation_Get_Request_ForCompute": {
- "$ref": "./examples/SubscriptionQuotaAllocation/SubscriptionQuotaAllocation_Get-Compute.json"
+ "SubscriptionQuotaAllocation_List_ForCompute": {
+ "$ref": "./examples/SubscriptionQuotaAllocation/SubscriptionQuotaAllocation_List-Compute.json"
}
},
"parameters": [
@@ -1088,20 +985,20 @@
"$ref": "#/parameters/GroupQuotaName"
},
{
- "$ref": "#/parameters/ResourceName"
+ "$ref": "#/parameters/ResourceProviderName"
},
{
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter"
},
{
- "$ref": "#/parameters/FilterLocationInQuery"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "Success",
"schema": {
- "$ref": "#/definitions/SubscriptionQuotaAllocations"
+ "$ref": "#/definitions/SubscriptionQuotaAllocationsList"
}
},
"default": {
@@ -1113,7 +1010,7 @@
}
}
},
- "/providers/Microsoft.Management/managementGroups/{managementGroupId}/subscriptions/{subscriptionId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/quotaAllocationRequests/{allocationId}": {
+ "/providers/Microsoft.Management/managementGroups/{managementGroupId}/subscriptions/{subscriptionId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/quotaAllocationRequests/{allocationId}": {
"get": {
"tags": [
"SubscriptionQuotaAllocationRequest"
@@ -1136,6 +1033,9 @@
{
"$ref": "#/parameters/GroupQuotaName"
},
+ {
+ "$ref": "#/parameters/ResourceProviderName"
+ },
{
"$ref": "#/parameters/AllocationId"
},
@@ -1211,167 +1111,6 @@
}
}
},
- "/providers/Microsoft.Management/managementGroups/{managementGroupId}/subscriptions/{subscriptionId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/quotaAllocationRequests/{resourceName}": {
- "put": {
- "tags": [
- "SubscriptionQuotaAllocationRequest"
- ],
- "summary": "Request to assign quota from group quota to a specific Subscription. This request will use Asynchronous pattern to check the status using Async polling as standards defined at - https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/async-api-reference.md#asynchronous-operations.",
- "description": "Request to assign quota from group quota to a specific Subscription. The assign GroupQuota to subscriptions or reduce the quota allocated to subscription to give back the unused quota ( quota >= usages) to the groupQuota. So, this API can be used to assign Quota to subscriptions and assign back unused quota to group quota, which can be assigned to another subscriptions in the GroupQuota.",
- "operationId": "GroupQuotaSubscriptionAllocationRequest_CreateOrUpdate",
- "x-ms-examples": {
- "SubscriptionQuotaAllocation_Put_Request_ForCompute": {
- "$ref": "./examples/SubscriptionQuotaAllocationRequests/PutSubscriptionQuotaAllocationRequest-Compute.json"
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "location"
- },
- "parameters": [
- {
- "$ref": "#/parameters/ManagementGroupId"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/GroupQuotaName"
- },
- {
- "$ref": "#/parameters/ResourceProviderName"
- },
- {
- "$ref": "#/parameters/ResourceName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "name": "allocateQuotaRequest",
- "in": "body",
- "description": "Quota requests payload.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/QuotaAllocationRequestStatus"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "OK. , Create or Update",
- "schema": {
- "$ref": "#/definitions/QuotaAllocationRequestStatus"
- }
- },
- "201": {
- "description": "Request Created. Create or Update",
- "headers": {
- "Retry-After": {
- "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.",
- "type": "integer",
- "format": "int64"
- },
- "Location": {
- "description": "URL for determining when an operation has completed. Send a GET request to the URL in Location header.\nThe URI should return a 202 until the operation reaches a terminal state and 200 once it reaches a terminal state.\n\nFor more info: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#202-accepted-and-location-headers",
- "type": "string"
- },
- "Azure-AsyncOperation": {
- "description": "URL for checking the ongoing status of the operation.\nTo get the status of the asynchronous operation, send a GET request to the URL in Azure-AsyncOperation header value.\n\nFor more info: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#asynchronous-operations",
- "type": "string"
- }
- },
- "schema": {
- "$ref": "#/definitions/LROResponse"
- }
- },
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "patch": {
- "tags": [
- "SubscriptionQuotaAllocationRequest"
- ],
- "summary": "Request to assign quota from group quota to a specific Subscription. This request will use Asynchronous pattern with 202 response and status polling API.",
- "description": "Request to assign quota from group quota to a specific Subscription. The assign GroupQuota to subscriptions or reduce the quota allocated to subscription to give back the unused quota ( quota >= usages) to the groupQuota. So, this API can be used to assign Quota to subscriptions and assign back unused quota to group quota, which can be assigned to another subscriptions in the GroupQuota. User can collect unused quotas from multiple subscriptions within the groupQuota and assign the groupQuota to the subscription, where it's needed.",
- "operationId": "GroupQuotaSubscriptionAllocationRequest_Update",
- "x-ms-examples": {
- "SubscriptionQuotaAllocation_Patch_Request_ForCompute": {
- "$ref": "./examples/SubscriptionQuotaAllocationRequests/PatchSubscriptionQuotaAllocationRequest-Compute.json"
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "location"
- },
- "parameters": [
- {
- "$ref": "#/parameters/ManagementGroupId"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/GroupQuotaName"
- },
- {
- "$ref": "#/parameters/ResourceProviderName"
- },
- {
- "$ref": "#/parameters/ResourceName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "name": "allocateQuotaRequest",
- "in": "body",
- "description": "Quota requests payload.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/QuotaAllocationRequestStatus"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "Request status details.",
- "schema": {
- "$ref": "#/definitions/QuotaAllocationRequestStatus"
- }
- },
- "202": {
- "description": "Request Accepted",
- "headers": {
- "Retry-After": {
- "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.",
- "type": "integer",
- "format": "int64"
- },
- "Location": {
- "description": "URL for determining when an operation has completed. Send a GET request to the URL in Location header.\nThe URI should return a 202 until the operation reaches a terminal state and 200 once it reaches a terminal state.\n\nFor more info: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#202-accepted-and-location-headers",
- "type": "string"
- },
- "Azure-AsyncOperation": {
- "description": "URL for checking the ongoing status of the operation.\nTo get the status of the asynchronous operation, send a GET request to the URL in Azure-AsyncOperation header value.\n\nFor more info: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#asynchronous-operations",
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- },
"/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/locationUsages/{location}": {
"get": {
"x-ms-pageable": {
@@ -1867,11 +1606,6 @@
"GroupQuotaLimit": {
"type": "object",
"description": "Group Quota limit.",
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
- }
- ],
"properties": {
"properties": {
"description": "Group Quota properties for the specified resource.",
@@ -1887,8 +1621,9 @@
"type": "object",
"description": "Group Quota details.",
"properties": {
- "region": {
- "$ref": "#/definitions/RegionScope"
+ "resourceName": {
+ "type": "string",
+ "description": "The resource name, such as SKU name."
},
"limit": {
"type": "integer",
@@ -1899,6 +1634,11 @@
"description": "Any comment related to quota request.",
"type": "string"
},
+ "unit": {
+ "description": " The usages units, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.",
+ "type": "string",
+ "readOnly": true
+ },
"name": {
"type": "object",
"x-ms-client-flatten": true,
@@ -1917,11 +1657,6 @@
}
}
},
- "unit": {
- "description": " The usages units, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.",
- "type": "string",
- "readOnly": true
- },
"availableLimit": {
"type": "integer",
"format": "int64",
@@ -1937,18 +1672,32 @@
"GroupQuotaLimitList": {
"type": "object",
"description": "List of Group Quota Limit details.",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ],
"properties": {
- "value": {
- "type": "array",
- "description": "List of Group Quota Limit details.",
- "items": {
- "$ref": "#/definitions/GroupQuotaLimit"
+ "properties": {
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "$ref": "#/definitions/RequestState",
+ "readOnly": true
+ },
+ "value": {
+ "type": "array",
+ "description": "List of Group Quota Limit details.",
+ "items": {
+ "$ref": "#/definitions/GroupQuotaLimit"
+ }
+ },
+ "nextLink": {
+ "description": "The URL to use for getting the next set of results.",
+ "type": "string",
+ "readOnly": true
+ }
}
- },
- "nextLink": {
- "description": "The URL to use for getting the next set of results.",
- "type": "string",
- "readOnly": true
}
}
},
@@ -2080,11 +1829,6 @@
"SubscriptionQuotaAllocations": {
"type": "object",
"description": "Quota allocated to a subscription for the specific Resource Provider, Location, ResourceName. This will include the GroupQuota and total quota allocated to the subscription. Only the Group quota allocated to the subscription can be allocated back to the MG Group Quota.",
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
- }
- ],
"properties": {
"properties": {
"description": "Quota properties for the specified resource.",
@@ -2096,8 +1840,9 @@
"type": "object",
"description": "Subscription Quota details.",
"properties": {
- "region": {
- "$ref": "#/definitions/RegionScope"
+ "resourceName": {
+ "type": "string",
+ "description": "The resource name, such as SKU name."
},
"limit": {
"type": "integer",
@@ -2206,18 +1951,32 @@
"SubscriptionQuotaAllocationsList": {
"type": "object",
"description": "Subscription quota list.",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ],
"properties": {
- "value": {
- "type": "array",
- "description": "Subscription quota list.",
- "items": {
- "$ref": "#/definitions/SubscriptionQuotaAllocations"
+ "properties": {
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "$ref": "#/definitions/RequestState",
+ "readOnly": true
+ },
+ "value": {
+ "type": "array",
+ "description": "Subscription quota list.",
+ "items": {
+ "$ref": "#/definitions/SubscriptionQuotaAllocations"
+ }
+ },
+ "nextLink": {
+ "description": "The URL to use for getting the next set of results.",
+ "type": "string",
+ "readOnly": true
+ }
}
- },
- "nextLink": {
- "description": "The URL to use for getting the next set of results.",
- "type": "string",
- "readOnly": true
}
}
},
diff --git a/swagger-specs/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/quota.json b/swagger-specs/quota/resource-manager/Microsoft.Quota/preview/2024-10-15-preview/quota.json
similarity index 99%
rename from swagger-specs/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/quota.json
rename to swagger-specs/quota/resource-manager/Microsoft.Quota/preview/2024-10-15-preview/quota.json
index 399342149..535c96f42 100644
--- a/swagger-specs/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/quota.json
+++ b/swagger-specs/quota/resource-manager/Microsoft.Quota/preview/2024-10-15-preview/quota.json
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
- "version": "2023-06-01-preview",
+ "version": "2024-10-15-preview",
"title": "Azure Quota Extension API",
"description": "Microsoft Azure Quota Resource Provider"
},
diff --git a/swagger-specs/quota/resource-manager/api-set.json b/swagger-specs/quota/resource-manager/api-set.json
index b97c085cc..f3fa3e931 100644
--- a/swagger-specs/quota/resource-manager/api-set.json
+++ b/swagger-specs/quota/resource-manager/api-set.json
@@ -1 +1 @@
-{"addition_input_file_paths": [], "input_files": ["Microsoft.Quota/preview/2023-06-01-preview/groupquota.json", "Microsoft.Quota/preview/2023-06-01-preview/quota.json"], "name": "package-2023-06-01-preview"}
\ No newline at end of file
+{"addition_input_file_paths": [], "input_files": ["Microsoft.Quota/preview/2024-10-15-preview/groupquota.json", "Microsoft.Quota/preview/2024-10-15-preview/quota.json"], "name": "package-2024-10-15-preview"}
\ No newline at end of file
diff --git a/swagger-specs/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/redis.json b/swagger-specs/redis/resource-manager/Microsoft.Cache/stable/2024-11-01/redis.json
similarity index 98%
rename from swagger-specs/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/redis.json
rename to swagger-specs/redis/resource-manager/Microsoft.Cache/stable/2024-11-01/redis.json
index 1348ba9e9..89c6c0847 100644
--- a/swagger-specs/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/redis.json
+++ b/swagger-specs/redis/resource-manager/Microsoft.Cache/stable/2024-11-01/redis.json
@@ -3,7 +3,7 @@
"info": {
"title": "RedisManagementClient",
"description": "REST API for Azure Redis Cache Service.",
- "version": "2024-03-01"
+ "version": "2024-11-01"
},
"host": "management.azure.com",
"schemes": [
@@ -184,6 +184,15 @@
},
"RedisCacheCreate": {
"$ref": "./examples/RedisCacheCreate.json"
+ },
+ "RedisCacheCreateAutomaticZonalAllocationPolicy": {
+ "$ref": "./examples/RedisCacheCreateAutomaticZonalAllocationPolicy.json"
+ },
+ "RedisCacheCreateNoZonesZonalAllocationPolicy": {
+ "$ref": "./examples/RedisCacheCreateNoZonesZonalAllocationPolicy.json"
+ },
+ "RedisCacheCreateUserDefinedZonalAllocationPolicy": {
+ "$ref": "./examples/RedisCacheCreateUserDefinedZonalAllocationPolicy.json"
}
},
"description": "Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.",
@@ -2393,6 +2402,19 @@
"type": "boolean",
"description": "Authentication to Redis through access keys is disabled when set as true. Default value is false.",
"default": false
+ },
+ "zonalAllocationPolicy": {
+ "type": "string",
+ "description": "Optional: Specifies how availability zones are allocated to the Redis cache. 'Automatic' enables zone redundancy and Azure will automatically select zones based on regional availability and capacity. 'UserDefined' will select availability zones passed in by you using the 'zones' parameter. 'NoZones' will produce a non-zonal cache. If 'zonalAllocationPolicy' is not passed, it will be set to 'UserDefined' when zones are passed in, otherwise, it will be set to 'Automatic' in regions where zones are supported and 'NoZones' in regions where zones are not supported.",
+ "enum": [
+ "Automatic",
+ "UserDefined",
+ "NoZones"
+ ],
+ "x-ms-enum": {
+ "name": "ZonalAllocationPolicy",
+ "modelAsString": true
+ }
}
},
"description": "Create/Update/Get common properties of the redis cache.",
diff --git a/swagger-specs/redis/resource-manager/api-set.json b/swagger-specs/redis/resource-manager/api-set.json
index e14ec406f..b874adcd7 100644
--- a/swagger-specs/redis/resource-manager/api-set.json
+++ b/swagger-specs/redis/resource-manager/api-set.json
@@ -1 +1 @@
-{"addition_input_file_paths": [], "input_files": ["Microsoft.Cache/stable/2024-03-01/redis.json"], "name": "package-2024-03"}
\ No newline at end of file
+{"addition_input_file_paths": [], "input_files": ["Microsoft.Cache/stable/2024-11-01/redis.json"], "name": "package-2024-11"}
\ No newline at end of file
diff --git a/swagger-specs/redisenterprise/resource-manager/Microsoft.Cache/stable/2024-02-01/redisenterprise.json b/swagger-specs/redisenterprise/resource-manager/Microsoft.Cache/stable/2024-10-01/redisenterprise.json
similarity index 89%
rename from swagger-specs/redisenterprise/resource-manager/Microsoft.Cache/stable/2024-02-01/redisenterprise.json
rename to swagger-specs/redisenterprise/resource-manager/Microsoft.Cache/stable/2024-10-01/redisenterprise.json
index 7b5f1a68b..992729cfa 100644
--- a/swagger-specs/redisenterprise/resource-manager/Microsoft.Cache/stable/2024-02-01/redisenterprise.json
+++ b/swagger-specs/redisenterprise/resource-manager/Microsoft.Cache/stable/2024-10-01/redisenterprise.json
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
- "version": "2024-02-01",
+ "version": "2024-10-01",
"title": "RedisEnterpriseManagementClient",
"description": "REST API for managing Redis Enterprise resources in Azure."
},
@@ -218,7 +218,19 @@
}
},
"202": {
- "description": "The cluster update operation was started. GET the URL in the Azure-AsyncOperation or Location headers to retrieve updated status."
+ "description": "The cluster update operation was started. GET the URL in the Azure-AsyncOperation or Location headers to retrieve updated status.",
+ "headers": {
+ "Location": {
+ "description": "Location URI to poll for result",
+ "type": "string",
+ "format": "uri"
+ },
+ "Azure-AsyncOperation": {
+ "description": "Azure-AsyncOperation URI to poll for result",
+ "type": "string",
+ "format": "uri"
+ }
+ }
},
"default": {
"description": "Error response describing why the operation failed.",
@@ -262,7 +274,19 @@
"description": "The cluster was successfully deleted."
},
"202": {
- "description": "The cluster delete operation was successfully started. GET the URL in the Azure-AsyncOperation or Location headers to retrieve updated status."
+ "description": "The cluster delete operation was successfully started. GET the URL in the Azure-AsyncOperation or Location headers to retrieve updated status.",
+ "headers": {
+ "Location": {
+ "description": "Location URI to poll for result",
+ "type": "string",
+ "format": "uri"
+ },
+ "Azure-AsyncOperation": {
+ "description": "Azure-AsyncOperation URI to poll for result",
+ "type": "string",
+ "format": "uri"
+ }
+ }
},
"204": {
"description": "The cluster was successfully deleted."
@@ -560,7 +584,19 @@
}
},
"202": {
- "description": "The database update operation was successfully started. GET the URL in the Azure-AsyncOperation or Location headers to retrieve updated status."
+ "description": "The database update operation was successfully started. GET the URL in the Azure-AsyncOperation or Location headers to retrieve updated status.",
+ "headers": {
+ "Location": {
+ "description": "Location URI to poll for result",
+ "type": "string",
+ "format": "uri"
+ },
+ "Azure-AsyncOperation": {
+ "description": "Azure-AsyncOperation URI to poll for result",
+ "type": "string",
+ "format": "uri"
+ }
+ }
},
"default": {
"description": "Error response describing why the operation failed.",
@@ -652,7 +688,19 @@
"description": "Successfully deleted the database."
},
"202": {
- "description": "The database delete operation started. GET the URL in the Azure-AsyncOperation or Location headers to retrieve updated status."
+ "description": "The database delete operation started. GET the URL in the Azure-AsyncOperation or Location headers to retrieve updated status.",
+ "headers": {
+ "Location": {
+ "description": "Location URI to poll for result",
+ "type": "string",
+ "format": "uri"
+ },
+ "Azure-AsyncOperation": {
+ "description": "Azure-AsyncOperation URI to poll for result",
+ "type": "string",
+ "format": "uri"
+ }
+ }
},
"204": {
"description": "Successfully deleted the database."
@@ -763,7 +811,19 @@
}
},
"202": {
- "description": "The cluster update operation was started. GET the URL in the Azure-AsyncOperation or Location headers to retrieve updated status."
+ "description": "The cluster update operation was started. GET the URL in the Azure-AsyncOperation or Location headers to retrieve updated status.",
+ "headers": {
+ "Location": {
+ "description": "Location URI to poll for result",
+ "type": "string",
+ "format": "uri"
+ },
+ "Azure-AsyncOperation": {
+ "description": "Azure-AsyncOperation URI to poll for result",
+ "type": "string",
+ "format": "uri"
+ }
+ }
},
"default": {
"description": "Error response describing why the operation failed.",
@@ -822,7 +882,19 @@
"description": "Import operation succeeded."
},
"202": {
- "description": "The import operation was started. GET the URL in the Azure-AsyncOperation or Location headers to retrieve updated status."
+ "description": "The import operation was started. GET the URL in the Azure-AsyncOperation or Location headers to retrieve updated status.",
+ "headers": {
+ "Location": {
+ "description": "Location URI to poll for result",
+ "type": "string",
+ "format": "uri"
+ },
+ "Azure-AsyncOperation": {
+ "description": "Azure-AsyncOperation URI to poll for result",
+ "type": "string",
+ "format": "uri"
+ }
+ }
},
"default": {
"description": "Error response describing why the operation failed.",
@@ -881,7 +953,19 @@
"description": "Export operation succeeded."
},
"202": {
- "description": "Export operation successfully enqueued; follow the Location header to poll for final outcome."
+ "description": "Export operation successfully enqueued; follow the Location header to poll for final outcome.",
+ "headers": {
+ "Location": {
+ "description": "Location URI to poll for result",
+ "type": "string",
+ "format": "uri"
+ },
+ "Azure-AsyncOperation": {
+ "description": "Azure-AsyncOperation URI to poll for result",
+ "type": "string",
+ "format": "uri"
+ }
+ }
},
"default": {
"description": "Error response describing why the operation failed.",
@@ -1188,7 +1272,19 @@
"description": "Force unlink operation succeeded. The unlinked database must be deleted before it can be recreated and linked again."
},
"202": {
- "description": "Force unlink operation successfully enqueued; follow the Azure-AsyncOperation header to poll for final outcome."
+ "description": "Force unlink operation successfully enqueued; follow the Azure-AsyncOperation header to poll for final outcome.",
+ "headers": {
+ "Location": {
+ "description": "Location URI to poll for result",
+ "type": "string",
+ "format": "uri"
+ },
+ "Azure-AsyncOperation": {
+ "description": "Azure-AsyncOperation URI to poll for result",
+ "type": "string",
+ "format": "uri"
+ }
+ }
},
"default": {
"description": "Error response describing why the operation failed.",
@@ -1199,6 +1295,74 @@
}
}
},
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/forceLinkToReplicationGroup": {
+ "post": {
+ "tags": [
+ "RedisEnterprise",
+ "Databases"
+ ],
+ "operationId": "Databases_ForceLinkToReplicationGroup",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "How to relink a database after a regional outage": {
+ "$ref": "./examples/RedisEnterpriseDatabasesForceLink.json"
+ }
+ },
+ "description": "Forcibly recreates an existing database on the specified cluster, and rejoins it to an existing replication group. **IMPORTANT NOTE:** All data in this database will be discarded, and the database will temporarily be unavailable while rejoining the replication group.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ClusterNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DatabaseNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ForceLinkParameters"
+ },
+ "description": "Information identifying the database to be unlinked."
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Force link operation successfully enqueued; follow the Azure-AsyncOperation header to poll for final outcome.",
+ "headers": {
+ "Location": {
+ "description": "Location URI to poll for result",
+ "type": "string",
+ "format": "uri"
+ },
+ "Azure-AsyncOperation": {
+ "description": "Azure-AsyncOperation URI to poll for result",
+ "type": "string",
+ "format": "uri"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/flush": {
"post": {
"tags": [
@@ -1278,11 +1442,14 @@
"type": "string",
"description": "The type of RedisEnterprise cluster to deploy. Possible values: (Enterprise_E10, EnterpriseFlash_F300 etc.)",
"enum": [
+ "Enterprise_E1",
"Enterprise_E5",
"Enterprise_E10",
"Enterprise_E20",
"Enterprise_E50",
"Enterprise_E100",
+ "Enterprise_E200",
+ "Enterprise_E400",
"EnterpriseFlash_F300",
"EnterpriseFlash_F700",
"EnterpriseFlash_F1500"
@@ -1886,6 +2053,27 @@
}
}
},
+ "ForceLinkParameters": {
+ "type": "object",
+ "description": "Parameters for reconfiguring active geo-replication, of an existing database that was previously unlinked from a replication group.",
+ "required": [
+ "groupNickname",
+ "linkedDatabases"
+ ],
+ "properties": {
+ "groupNickname": {
+ "type": "string",
+ "description": "The name of the group of linked database resources. This should match the existing replication group name."
+ },
+ "linkedDatabases": {
+ "type": "array",
+ "description": "The resource IDs of the databases that are expected to be linked and included in the replication group. This parameter is used to validate that the linking is to the expected (unlinked) part of the replication group, if it is splintered.",
+ "items": {
+ "$ref": "#/definitions/LinkedDatabase"
+ }
+ }
+ }
+ },
"ForceUnlinkParameters": {
"title": "Forcibly unlink another database from this database.",
"type": "object",
@@ -1937,18 +2125,20 @@
"parameters": {
"ClusterNameParameter": {
"name": "clusterName",
+ "pattern": "^(?=.{1,60}$)[A-Za-z0-9]+(-[A-Za-z0-9]+)*$",
"in": "path",
"required": true,
"type": "string",
- "description": "The name of the RedisEnterprise cluster.",
+ "description": "The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens",
"x-ms-parameter-location": "method"
},
"DatabaseNameParameter": {
"name": "databaseName",
+ "pattern": "^(?=.{1,60}$)[A-Za-z0-9]+(-[A-Za-z0-9]+)*$",
"in": "path",
"required": true,
"type": "string",
- "description": "The name of the database.",
+ "description": "The name of the Redis Enterprise database.",
"x-ms-parameter-location": "method"
}
}
diff --git a/swagger-specs/redisenterprise/resource-manager/api-set.json b/swagger-specs/redisenterprise/resource-manager/api-set.json
index 86e04a2b9..2817a0ab5 100644
--- a/swagger-specs/redisenterprise/resource-manager/api-set.json
+++ b/swagger-specs/redisenterprise/resource-manager/api-set.json
@@ -1 +1 @@
-{"addition_input_file_paths": [], "input_files": ["Microsoft.Cache/stable/2024-02-01/redisenterprise.json"], "name": "package-2024-02"}
\ No newline at end of file
+{"addition_input_file_paths": [], "input_files": ["Microsoft.Cache/stable/2024-10-01/redisenterprise.json"], "name": "package-2024-10"}
\ No newline at end of file
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/alerts.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/alerts.json
deleted file mode 100644
index 0b5e69c16..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/alerts.json
+++ /dev/null
@@ -1,720 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Security Center",
- "description": "API spec for Microsoft.Security (Azure Security Center) resource provider",
- "version": "2015-06-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/alerts": {
- "get": {
- "x-ms-examples": {
- "Get security alerts on a subscription": {
- "$ref": "./examples/Alerts/GetAlertsSubscription_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "List all the alerts that are associated with the subscription",
- "operationId": "Alerts_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ODataFilter"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ODataSelect"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ODataExpand"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AlertList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/alerts": {
- "get": {
- "x-ms-examples": {
- "Get security alerts on a resource group": {
- "$ref": "./examples/Alerts/GetAlertsResourceGroup_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "List all the alerts that are associated with the resource group",
- "operationId": "Alerts_ListByResourceGroup",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ODataFilter"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ODataSelect"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ODataExpand"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AlertList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts": {
- "get": {
- "x-ms-examples": {
- "Get security alerts on a subscription from a security data location": {
- "$ref": "./examples/Alerts/GetAlertsSubscriptionsLocation_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "List all the alerts that are associated with the subscription that are stored in a specific location",
- "operationId": "Alerts_ListSubscriptionLevelAlertsByRegion",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ODataFilter"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ODataSelect"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ODataExpand"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AlertList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts": {
- "get": {
- "x-ms-examples": {
- "Get security alerts on a resource group from a security data location": {
- "$ref": "./examples/Alerts/GetAlertsResourceGroupLocation_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "List all the alerts that are associated with the resource group that are stored in a specific location",
- "operationId": "Alerts_ListResourceGroupLevelAlertsByRegion",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ODataFilter"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ODataSelect"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ODataExpand"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AlertList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}": {
- "get": {
- "x-ms-examples": {
- "Get security alert on a subscription from a security data location": {
- "$ref": "./examples/Alerts/GetAlertSubscriptionLocation_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "Get an alert that is associated with a subscription",
- "operationId": "Alerts_GetSubscriptionLevelAlert",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/AlertName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Alert"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}": {
- "get": {
- "x-ms-examples": {
- "Get security alert on a resource group from a security data location": {
- "$ref": "./examples/Alerts/GetAlertResourceGroupLocation_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "Get an alert that is associated a resource group or a resource in a resource group",
- "operationId": "Alerts_GetResourceGroupLevelAlerts",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/AlertName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Alert"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/dismiss": {
- "post": {
- "x-ms-examples": {
- "Update security alert state on a subscription from a security data location": {
- "$ref": "./examples/Alerts/UpdateAlertSubscriptionLocation_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "Update the alert's state",
- "operationId": "Alerts_UpdateSubscriptionLevelAlertStateToDismiss",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/AlertName"
- }
- ],
- "responses": {
- "204": {
- "description": "No Content"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/reactivate": {
- "post": {
- "x-ms-examples": {
- "Update security alert state on a subscription from a security data location": {
- "$ref": "./examples/Alerts/UpdateAlertSubscriptionLocation_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "Update the alert's state",
- "operationId": "Alerts_UpdateSubscriptionLevelAlertStateToReactivate",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/AlertName"
- }
- ],
- "responses": {
- "204": {
- "description": "No Content"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/dismiss": {
- "post": {
- "x-ms-examples": {
- "Update security alert state on a resource group from a security data location": {
- "$ref": "./examples/Alerts/UpdateAlertResourceGroupLocation_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "Update the alert's state",
- "operationId": "Alerts_UpdateResourceGroupLevelAlertStateToDismiss",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/AlertName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- }
- ],
- "responses": {
- "204": {
- "description": "No Content"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/reactivate": {
- "post": {
- "x-ms-examples": {
- "Update security alert state on a resource group from a security data location": {
- "$ref": "./examples/Alerts/UpdateAlertResourceGroupLocation_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "Update the alert's state",
- "operationId": "Alerts_UpdateResourceGroupLevelAlertStateToReactivate",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/AlertName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- }
- ],
- "responses": {
- "204": {
- "description": "No Content"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "AlertList": {
- "type": "object",
- "description": "List of security alerts",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Alert"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "Alert": {
- "type": "object",
- "description": "Security alert",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/AlertProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "AlertProperties": {
- "type": "object",
- "description": "describes security alert properties.",
- "properties": {
- "state": {
- "readOnly": true,
- "type": "string",
- "description": "State of the alert (Active, Dismissed etc.)"
- },
- "reportedTimeUtc": {
- "readOnly": true,
- "type": "string",
- "format": "date-time",
- "description": "The time the incident was reported to Microsoft.Security in UTC"
- },
- "vendorName": {
- "readOnly": true,
- "type": "string",
- "description": "Name of the vendor that discovered the incident"
- },
- "alertName": {
- "readOnly": true,
- "type": "string",
- "description": "Name of the alert type"
- },
- "alertDisplayName": {
- "readOnly": true,
- "type": "string",
- "description": "Display name of the alert type"
- },
- "detectedTimeUtc": {
- "readOnly": true,
- "type": "string",
- "format": "date-time",
- "description": "The time the incident was detected by the vendor"
- },
- "description": {
- "readOnly": true,
- "type": "string",
- "description": "Description of the incident and what it means"
- },
- "remediationSteps": {
- "readOnly": true,
- "type": "string",
- "description": "Recommended steps to reradiate the incident"
- },
- "actionTaken": {
- "readOnly": true,
- "type": "string",
- "description": "The action that was taken as a response to the alert (Active, Blocked etc.)"
- },
- "reportedSeverity": {
- "readOnly": true,
- "type": "string",
- "enum": [
- "Silent",
- "Information",
- "Low",
- "High"
- ],
- "x-ms-enum": {
- "name": "reportedSeverity",
- "modelAsString": true,
- "values": [
- {
- "value": "Silent"
- },
- {
- "value": "Information"
- },
- {
- "value": "Low"
- },
- {
- "value": "High"
- }
- ]
- },
- "description": "Estimated severity of this alert"
- },
- "compromisedEntity": {
- "readOnly": true,
- "type": "string",
- "description": "The entity that the incident happened on"
- },
- "associatedResource": {
- "readOnly": true,
- "type": "string",
- "description": "Azure resource ID of the associated resource"
- },
- "extendedProperties": {
- "$ref": "#/definitions/AlertExtendedProperties"
- },
- "systemSource": {
- "readOnly": true,
- "type": "string",
- "description": "The type of the alerted resource (Azure, Non-Azure)"
- },
- "canBeInvestigated": {
- "readOnly": true,
- "type": "boolean",
- "description": "Whether this alert can be investigated with Azure Security Center"
- },
- "isIncident": {
- "readOnly": true,
- "type": "boolean",
- "description": "Whether this alert is for incident type or not (otherwise - single alert)"
- },
- "entities": {
- "type": "array",
- "description": "objects that are related to this alerts",
- "items": {
- "$ref": "#/definitions/AlertEntity"
- }
- },
- "confidenceScore": {
- "readOnly": true,
- "type": "number",
- "format": "float",
- "minimum": 0,
- "maximum": 1,
- "description": "level of confidence we have on the alert"
- },
- "confidenceReasons": {
- "type": "array",
- "description": "reasons the alert got the confidenceScore value",
- "items": {
- "$ref": "#/definitions/AlertConfidenceReason"
- }
- },
- "subscriptionId": {
- "readOnly": true,
- "type": "string",
- "description": "Azure subscription ID of the resource that had the security alert or the subscription ID of the workspace that this resource reports to"
- },
- "instanceId": {
- "readOnly": true,
- "type": "string",
- "description": "Instance ID of the alert."
- },
- "workspaceArmId": {
- "readOnly": true,
- "type": "string",
- "description": "Azure resource ID of the workspace that the alert was reported to."
- },
- "correlationKey": {
- "readOnly": true,
- "type": "string",
- "description": "Alerts with the same CorrelationKey will be grouped together in Ibiza."
- }
- }
- },
- "AlertConfidenceReason": {
- "type": "object",
- "description": "Factors that increase our confidence that the alert is a true positive",
- "properties": {
- "type": {
- "readOnly": true,
- "type": "string",
- "description": "Type of confidence factor"
- },
- "reason": {
- "readOnly": true,
- "type": "string",
- "description": "description of the confidence reason"
- }
- }
- },
- "AlertEntity": {
- "type": "object",
- "additionalProperties": true,
- "description": "Changing set of properties depending on the entity type.",
- "properties": {
- "type": {
- "readOnly": true,
- "type": "string",
- "description": "Type of entity"
- }
- }
- },
- "AlertExtendedProperties": {
- "type": "object",
- "additionalProperties": true,
- "description": "Changing set of properties depending on the alert type."
- }
- },
- "parameters": {
- "AlertName": {
- "name": "alertName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Name of the alert object",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/allowedConnections.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/allowedConnections.json
deleted file mode 100644
index c326c58c7..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/allowedConnections.json
+++ /dev/null
@@ -1,297 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2015-06-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/allowedConnections": {
- "get": {
- "x-ms-examples": {
- "Get allowed connections on a subscription": {
- "$ref": "./examples/AllowedConnections/GetAllowedConnectionsSubscription_example.json"
- }
- },
- "tags": [
- "AllowedConnections"
- ],
- "description": "Gets the list of all possible traffic between resources for the subscription",
- "operationId": "AllowedConnections_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AllowedConnectionsList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/allowedConnections": {
- "get": {
- "x-ms-examples": {
- "Get allowed connections on a subscription from security data location": {
- "$ref": "./examples/AllowedConnections/GetAllowedConnectionsSubscriptionLocation_example.json"
- }
- },
- "tags": [
- "AllowedConnections"
- ],
- "description": "Gets the list of all possible traffic between resources for the subscription and location.",
- "operationId": "AllowedConnections_ListByHomeRegion",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AllowedConnectionsList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/allowedConnections/{connectionType}": {
- "get": {
- "x-ms-examples": {
- "Get allowed connections": {
- "$ref": "./examples/AllowedConnections/GetAllowedConnections_example.json"
- }
- },
- "tags": [
- "AllowedConnections"
- ],
- "description": "Gets the list of all possible traffic between resources for the subscription and location, based on connection type.",
- "operationId": "AllowedConnections_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/ConnectionType"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AllowedConnectionsResource"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "AllowedConnectionsList": {
- "type": "object",
- "description": "List of all possible traffic between Azure resources",
- "properties": {
- "value": {
- "type": "array",
- "readOnly": true,
- "items": {
- "$ref": "#/definitions/AllowedConnectionsResource"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "AllowedConnectionsResource": {
- "type": "object",
- "description": "The resource whose properties describes the allowed traffic between Azure resources",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "readOnly": true,
- "$ref": "#/definitions/AllowedConnectionsResourceProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- },
- {
- "$ref": "../../../common/v1/types.json#/definitions/Location"
- }
- ]
- },
- "AllowedConnectionsResourceProperties": {
- "type": "object",
- "description": "Describes the allowed traffic between Azure resources",
- "properties": {
- "calculatedDateTime": {
- "type": "string",
- "format": "date-time",
- "readOnly": true,
- "description": "The UTC time on which the allowed connections resource was calculated"
- },
- "connectableResources": {
- "type": "array",
- "readOnly": true,
- "description": "List of connectable resources",
- "items": {
- "$ref": "#/definitions/ConnectableResource"
- }
- }
- }
- },
- "ConnectableResource": {
- "type": "object",
- "description": "Describes the allowed inbound and outbound traffic of an Azure resource",
- "properties": {
- "id": {
- "type": "string",
- "readOnly": true,
- "description": "The Azure resource id"
- },
- "inboundConnectedResources": {
- "type": "array",
- "readOnly": true,
- "description": "The list of Azure resources that the resource has inbound allowed connection from",
- "items": {
- "$ref": "#/definitions/ConnectedResource"
- }
- },
- "outboundConnectedResources": {
- "type": "array",
- "readOnly": true,
- "description": "The list of Azure resources that the resource has outbound allowed connection to",
- "items": {
- "$ref": "#/definitions/ConnectedResource"
- }
- }
- }
- },
- "ConnectedResource": {
- "type": "object",
- "description": "Describes properties of a connected resource",
- "properties": {
- "connectedResourceId": {
- "type": "string",
- "readOnly": true,
- "description": "The Azure resource id of the connected resource"
- },
- "tcpPorts": {
- "type": "string",
- "readOnly": true,
- "description": "The allowed tcp ports"
- },
- "udpPorts": {
- "type": "string",
- "readOnly": true,
- "description": "The allowed udp ports"
- }
- }
- }
- },
- "parameters": {
- "ConnectionType": {
- "name": "connectionType",
- "type": "string",
- "in": "path",
- "description": "The type of allowed connections (Internal, External)",
- "required": true,
- "enum": [
- "Internal",
- "External"
- ],
- "x-ms-enum": {
- "name": "connectionType",
- "modelAsString": true,
- "values": [
- {
- "value": "Internal"
- },
- {
- "value": "External"
- }
- ]
- },
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/discoveredSecuritySolutions.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/discoveredSecuritySolutions.json
deleted file mode 100644
index 4dd66014b..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/discoveredSecuritySolutions.json
+++ /dev/null
@@ -1,263 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2015-06-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/discoveredSecuritySolutions": {
- "get": {
- "x-ms-examples": {
- "Get discovered security solutions": {
- "$ref": "./examples/DiscoveredSecuritySolutions/GetDiscoveredSecuritySolutionsSubscription_example.json"
- }
- },
- "tags": [
- "DiscoveredSecuritySolutions"
- ],
- "description": "Gets a list of discovered Security Solutions for the subscription.",
- "operationId": "DiscoveredSecuritySolutions_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/DiscoveredSecuritySolutionList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/discoveredSecuritySolutions": {
- "get": {
- "x-ms-examples": {
- "Get discovered security solutions from a security data location": {
- "$ref": "./examples/DiscoveredSecuritySolutions/GetDiscoveredSecuritySolutionsSubscriptionLocation_example.json"
- }
- },
- "tags": [
- "DiscoveredSecuritySolutions"
- ],
- "description": "Gets a list of discovered Security Solutions for the subscription and location.",
- "operationId": "DiscoveredSecuritySolutions_ListByHomeRegion",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/DiscoveredSecuritySolutionList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/discoveredSecuritySolutions/{discoveredSecuritySolutionName}": {
- "get": {
- "x-ms-examples": {
- "Get discovered security solution from a security data location": {
- "$ref": "./examples/DiscoveredSecuritySolutions/GetDiscoveredSecuritySolutionResourceGroupLocation_example.json"
- }
- },
- "tags": [
- "DiscoveredSecuritySolutions"
- ],
- "description": "Gets a specific discovered Security Solution.",
- "operationId": "DiscoveredSecuritySolutions_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/DiscoveredSecuritySolutionName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/DiscoveredSecuritySolution"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "DiscoveredSecuritySolutionList": {
- "type": "object",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/DiscoveredSecuritySolution"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "DiscoveredSecuritySolution": {
- "type": "object",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/DiscoveredSecuritySolutionProperties"
- }
- },
- "required": [
- "properties"
- ],
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- },
- {
- "$ref": "../../../common/v1/types.json#/definitions/Location"
- }
- ]
- },
- "DiscoveredSecuritySolutionProperties": {
- "type": "object",
- "properties": {
- "securityFamily": {
- "type": "string",
- "description": "The security family of the discovered solution",
- "enum": [
- "Waf",
- "Ngfw",
- "SaasWaf",
- "Va"
- ],
- "x-ms-enum": {
- "name": "securityFamily",
- "modelAsString": true,
- "values": [
- {
- "value": "Waf"
- },
- {
- "value": "Ngfw"
- },
- {
- "value": "SaasWaf"
- },
- {
- "value": "Va"
- }
- ]
- }
- },
- "offer": {
- "type": "string",
- "description": "The security solutions' image offer"
- },
- "publisher": {
- "type": "string",
- "description": "The security solutions' image publisher"
- },
- "sku": {
- "type": "string",
- "description": "The security solutions' image sku"
- }
- },
- "required": [
- "securityFamily",
- "offer",
- "publisher",
- "sku"
- ]
- }
- },
- "parameters": {
- "DiscoveredSecuritySolutionName": {
- "name": "discoveredSecuritySolutionName",
- "type": "string",
- "in": "path",
- "required": true,
- "description": "Name of a discovered security solution.",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/externalSecuritySolutions.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/externalSecuritySolutions.json
deleted file mode 100644
index c0c70c7ac..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/externalSecuritySolutions.json
+++ /dev/null
@@ -1,385 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2015-06-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/externalSecuritySolutions": {
- "get": {
- "x-ms-examples": {
- "Get external security solutions on a subscription": {
- "$ref": "./examples/ExternalSecuritySolutions/GetExternalSecuritySolutionsSubscription_example.json"
- }
- },
- "description": "Gets a list of external security solutions for the subscription.",
- "tags": [
- "ExternalSecuritySolutions"
- ],
- "operationId": "ExternalSecuritySolutions_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ExternalSecuritySolutionList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/ExternalSecuritySolutions": {
- "get": {
- "x-ms-examples": {
- "Get external security solutions on a subscription from security data location": {
- "$ref": "./examples/ExternalSecuritySolutions/GetExternalSecuritySolutionsSubscriptionLocation_example.json"
- }
- },
- "description": "Gets a list of external Security Solutions for the subscription and location.",
- "tags": [
- "ExternalSecuritySolutions"
- ],
- "operationId": "ExternalSecuritySolutions_ListByHomeRegion",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ExternalSecuritySolutionList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/ExternalSecuritySolutions/{externalSecuritySolutionsName}": {
- "get": {
- "x-ms-examples": {
- "Get external security solution": {
- "$ref": "./examples/ExternalSecuritySolutions/GetExternalSecuritySolution_example.json"
- }
- },
- "description": "Gets a specific external Security Solution.",
- "tags": [
- "ExternalSecuritySolutions"
- ],
- "operationId": "ExternalSecuritySolutions_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/ExternalSecuritySolutionsName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ExternalSecuritySolution"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "ExternalSecuritySolutionList": {
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ExternalSecuritySolution"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "ExternalSecuritySolution": {
- "type": "object",
- "description": "Represents a security solution external to Microsoft Defender for Cloud which sends information to an OMS workspace and whose data is displayed by Microsoft Defender for Cloud.",
- "discriminator": "kind",
- "properties": {},
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- },
- {
- "$ref": "#/definitions/ExternalSecuritySolutionKind"
- },
- {
- "$ref": "../../../common/v1/types.json#/definitions/Location"
- }
- ]
- },
- "CefExternalSecuritySolution": {
- "x-ms-discriminator-value": "CEF",
- "type": "object",
- "description": "Represents a security solution which sends CEF logs to an OMS workspace",
- "allOf": [
- {
- "$ref": "#/definitions/ExternalSecuritySolution"
- }
- ],
- "properties": {
- "properties": {
- "$ref": "#/definitions/CefSolutionProperties"
- }
- }
- },
- "AtaExternalSecuritySolution": {
- "x-ms-discriminator-value": "ATA",
- "type": "object",
- "description": "Represents an ATA security solution which sends logs to an OMS workspace",
- "allOf": [
- {
- "$ref": "#/definitions/ExternalSecuritySolution"
- }
- ],
- "properties": {
- "properties": {
- "$ref": "#/definitions/AtaSolutionProperties"
- }
- }
- },
- "AadExternalSecuritySolution": {
- "x-ms-discriminator-value": "AAD",
- "type": "object",
- "description": "Represents an AAD identity protection solution which sends logs to an OMS workspace.",
- "allOf": [
- {
- "$ref": "#/definitions/ExternalSecuritySolution"
- }
- ],
- "properties": {
- "properties": {
- "$ref": "#/definitions/AadSolutionProperties"
- }
- }
- },
- "ExternalSecuritySolutionKind": {
- "type": "object",
- "description": "Describes an Azure resource with kind",
- "properties": {
- "kind": {
- "type": "string",
- "description": "The kind of the external solution",
- "enum": [
- "CEF",
- "ATA",
- "AAD"
- ],
- "x-ms-enum": {
- "name": "ExternalSecuritySolutionKind",
- "modelAsString": true,
- "values": [
- {
- "value": "CEF"
- },
- {
- "value": "ATA"
- },
- {
- "value": "AAD"
- }
- ]
- }
- }
- }
- },
- "ExternalSecuritySolutionProperties": {
- "type": "object",
- "description": "The solution properties (correspond to the solution kind)",
- "additionalProperties": true,
- "properties": {
- "deviceVendor": {
- "type": "string"
- },
- "deviceType": {
- "type": "string"
- },
- "workspace": {
- "$ref": "#/definitions/ConnectedWorkspace"
- }
- }
- },
- "ConnectedWorkspace": {
- "type": "object",
- "title": "Represents an OMS workspace to which the solution is connected",
- "properties": {
- "id": {
- "type": "string",
- "description": "Azure resource ID of the connected OMS workspace"
- }
- }
- },
- "AadConnectivityState": {
- "type": "object",
- "description": "Describes an Azure resource with kind",
- "properties": {
- "connectivityState": {
- "type": "string",
- "title": "The connectivity state of the external AAD solution ",
- "enum": [
- "Discovered",
- "NotLicensed",
- "Connected"
- ],
- "x-ms-enum": {
- "name": "AadConnectivityState",
- "modelAsString": true,
- "values": [
- {
- "value": "Discovered"
- },
- {
- "value": "NotLicensed"
- },
- {
- "value": "Connected"
- }
- ]
- }
- }
- }
- },
- "AadSolutionProperties": {
- "type": "object",
- "title": "The external security solution properties for AAD solutions",
- "allOf": [
- {
- "$ref": "#/definitions/ExternalSecuritySolutionProperties"
- },
- {
- "$ref": "#/definitions/AadConnectivityState"
- }
- ]
- },
- "CefSolutionProperties": {
- "type": "object",
- "title": "The external security solution properties for CEF solutions",
- "properties": {
- "hostname": {
- "type": "string"
- },
- "agent": {
- "type": "string"
- },
- "lastEventReceived": {
- "type": "string"
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/ExternalSecuritySolutionProperties"
- }
- ]
- },
- "AtaSolutionProperties": {
- "type": "object",
- "title": "The external security solution properties for ATA solutions",
- "properties": {
- "lastEventReceived": {
- "type": "string"
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/ExternalSecuritySolutionProperties"
- }
- ]
- }
- },
- "parameters": {
- "ExternalSecuritySolutionsName": {
- "name": "externalSecuritySolutionsName",
- "in": "path",
- "description": "Name of an external security solution.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/jitNetworkAccessPolicies.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/jitNetworkAccessPolicies.json
deleted file mode 100644
index 34e0e1abf..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/jitNetworkAccessPolicies.json
+++ /dev/null
@@ -1,770 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2015-06-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/jitNetworkAccessPolicies": {
- "get": {
- "x-ms-examples": {
- "Get JIT network access policies on a subscription": {
- "$ref": "./examples/JitNetworkAccessPolicies/GetJitNetworkAccessPoliciesSubscription_example.json"
- }
- },
- "tags": [
- "JitNetworkAccessPolicies"
- ],
- "description": "Policies for protecting resources using Just-in-Time access control.",
- "operationId": "JitNetworkAccessPolicies_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/JitNetworkAccessPoliciesList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/jitNetworkAccessPolicies": {
- "get": {
- "x-ms-examples": {
- "Get JIT network access policies on a subscription from a security data location": {
- "$ref": "./examples/JitNetworkAccessPolicies/GetJitNetworkAccessPoliciesSubscriptionLocation_example.json"
- }
- },
- "tags": [
- "JitNetworkAccessPolicies"
- ],
- "description": "Policies for protecting resources using Just-in-Time access control for the subscription, location",
- "operationId": "JitNetworkAccessPolicies_ListByRegion",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/JitNetworkAccessPoliciesList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/jitNetworkAccessPolicies": {
- "get": {
- "x-ms-examples": {
- "Get JIT network access policies on a resource group": {
- "$ref": "./examples/JitNetworkAccessPolicies/GetJitNetworkAccessPoliciesResourceGroup_example.json"
- }
- },
- "tags": [
- "JitNetworkAccessPolicies"
- ],
- "description": "Policies for protecting resources using Just-in-Time access control for the subscription, location",
- "operationId": "JitNetworkAccessPolicies_ListByResourceGroup",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/JitNetworkAccessPoliciesList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/jitNetworkAccessPolicies": {
- "get": {
- "x-ms-examples": {
- "Get JIT network access policies on a resource group from a security data location": {
- "$ref": "./examples/JitNetworkAccessPolicies/GetJitNetworkAccessPoliciesResourceGroupLocation_example.json"
- }
- },
- "tags": [
- "JitNetworkAccessPolicies"
- ],
- "description": "Policies for protecting resources using Just-in-Time access control for the subscription, location",
- "operationId": "JitNetworkAccessPolicies_ListByResourceGroupAndRegion",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/JitNetworkAccessPoliciesList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/jitNetworkAccessPolicies/{jitNetworkAccessPolicyName}": {
- "get": {
- "x-ms-examples": {
- "Get JIT network access policy": {
- "$ref": "./examples/JitNetworkAccessPolicies/GetJitNetworkAccessPolicy_example.json"
- }
- },
- "tags": [
- "JitNetworkAccessPolicies"
- ],
- "description": "Policies for protecting resources using Just-in-Time access control for the subscription, location",
- "operationId": "JitNetworkAccessPolicies_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/JitNetworkAccessPolicyName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/JitNetworkAccessPolicy"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Create JIT network access policy": {
- "$ref": "./examples/JitNetworkAccessPolicies/CreateJitNetworkAccessPolicy_example.json"
- }
- },
- "tags": [
- "JitNetworkAccessPolicies"
- ],
- "description": "Create a policy for protecting resources using Just-in-Time access control",
- "operationId": "JitNetworkAccessPolicies_CreateOrUpdate",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/JitNetworkAccessPolicyName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "#/parameters/JitNetworkAccessPolicy"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/JitNetworkAccessPolicy"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "delete": {
- "x-ms-examples": {
- "Delete a JIT network access policy": {
- "$ref": "./examples/JitNetworkAccessPolicies/DeleteJitNetworkAccessPolicy_example.json"
- }
- },
- "tags": [
- "JitNetworkAccessPolicies"
- ],
- "description": "Delete a Just-in-Time access control policy.",
- "operationId": "JitNetworkAccessPolicies_Delete",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/JitNetworkAccessPolicyName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK - Resource was deleted"
- },
- "204": {
- "description": "No Content - Resource does not exist"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/jitNetworkAccessPolicies/{jitNetworkAccessPolicyName}/{jitNetworkAccessPolicyInitiateType}": {
- "post": {
- "x-ms-examples": {
- "Initiate an action on a JIT network access policy": {
- "$ref": "./examples/JitNetworkAccessPolicies/InitiateJitNetworkAccessPolicy_example.json"
- }
- },
- "tags": [
- "JitNetworkAccessPolicies"
- ],
- "description": "Initiate a JIT access from a specific Just-in-Time policy configuration.",
- "operationId": "JitNetworkAccessPolicies_Initiate",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/JitNetworkAccessPolicyName"
- },
- {
- "$ref": "#/parameters/JitNetworkAccessPolicyInitiateType"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "#/parameters/JitNetworkAccessPolicyInitiateRequest"
- }
- ],
- "responses": {
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/JitNetworkAccessRequest"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "JitNetworkAccessPoliciesList": {
- "type": "object",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/JitNetworkAccessPolicy"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "JitNetworkAccessPolicy": {
- "type": "object",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/JitNetworkAccessPolicyProperties"
- }
- },
- "required": [
- "properties"
- ],
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- },
- {
- "$ref": "../../../common/v1/types.json#/definitions/Kind"
- },
- {
- "$ref": "../../../common/v1/types.json#/definitions/Location"
- }
- ]
- },
- "JitNetworkAccessPolicyProperties": {
- "type": "object",
- "properties": {
- "virtualMachines": {
- "type": "array",
- "description": "Configurations for Microsoft.Compute/virtualMachines resource type.",
- "items": {
- "$ref": "#/definitions/JitNetworkAccessPolicyVirtualMachine"
- }
- },
- "requests": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/JitNetworkAccessRequest"
- }
- },
- "provisioningState": {
- "type": "string",
- "readOnly": true,
- "description": "Gets the provisioning state of the Just-in-Time policy."
- }
- },
- "required": [
- "virtualMachines"
- ]
- },
- "JitNetworkAccessPolicyVirtualMachine": {
- "type": "object",
- "required": [
- "id",
- "ports"
- ],
- "properties": {
- "id": {
- "type": "string",
- "description": "Resource ID of the virtual machine that is linked to this policy"
- },
- "ports": {
- "type": "array",
- "description": "Port configurations for the virtual machine",
- "items": {
- "$ref": "#/definitions/JitNetworkAccessPortRule"
- }
- },
- "publicIpAddress": {
- "type": "string",
- "description": "Public IP address of the Azure Firewall that is linked to this policy, if applicable"
- }
- }
- },
- "JitNetworkAccessPortRule": {
- "type": "object",
- "properties": {
- "number": {
- "$ref": "#/definitions/PortNumber"
- },
- "protocol": {
- "type": "string",
- "enum": [
- "TCP",
- "UDP",
- "*"
- ],
- "x-ms-enum": {
- "name": "protocol",
- "modelAsString": true,
- "values": [
- {
- "value": "TCP"
- },
- {
- "value": "UDP"
- },
- {
- "value": "*",
- "name": "All"
- }
- ]
- }
- },
- "allowedSourceAddressPrefix": {
- "type": "string",
- "description": "Mutually exclusive with the \"allowedSourceAddressPrefixes\" parameter. Should be an IP address or CIDR, for example \"192.168.0.3\" or \"192.168.0.0/16\"."
- },
- "allowedSourceAddressPrefixes": {
- "type": "array",
- "description": "Mutually exclusive with the \"allowedSourceAddressPrefix\" parameter.",
- "items": {
- "type": "string",
- "description": "IP address or CIDR, for example \"192.168.0.3\" or \"192.168.0.0/16\"."
- }
- },
- "maxRequestAccessDuration": {
- "type": "string",
- "description": "Maximum duration requests can be made for. In ISO 8601 duration format. Minimum 5 minutes, maximum 1 day"
- }
- },
- "required": [
- "maxRequestAccessDuration",
- "number",
- "protocol"
- ]
- },
- "JitNetworkAccessRequest": {
- "type": "object",
- "properties": {
- "virtualMachines": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/JitNetworkAccessRequestVirtualMachine"
- }
- },
- "startTimeUtc": {
- "type": "string",
- "format": "date-time",
- "description": "The start time of the request in UTC"
- },
- "requestor": {
- "type": "string",
- "description": "The identity of the person who made the request"
- },
- "justification": {
- "type": "string",
- "description": "The justification for making the initiate request"
- }
- },
- "required": [
- "requestor",
- "startTimeUtc",
- "virtualMachines"
- ]
- },
- "JitNetworkAccessRequestVirtualMachine": {
- "type": "object",
- "required": [
- "id",
- "ports"
- ],
- "properties": {
- "id": {
- "type": "string",
- "description": "Resource ID of the virtual machine that is linked to this policy"
- },
- "ports": {
- "type": "array",
- "description": "The ports that were opened for the virtual machine",
- "items": {
- "$ref": "#/definitions/JitNetworkAccessRequestPort"
- }
- }
- }
- },
- "JitNetworkAccessRequestPort": {
- "type": "object",
- "properties": {
- "number": {
- "$ref": "#/definitions/PortNumber"
- },
- "allowedSourceAddressPrefix": {
- "type": "string",
- "description": "Mutually exclusive with the \"allowedSourceAddressPrefixes\" parameter. Should be an IP address or CIDR, for example \"192.168.0.3\" or \"192.168.0.0/16\"."
- },
- "allowedSourceAddressPrefixes": {
- "type": "array",
- "description": "Mutually exclusive with the \"allowedSourceAddressPrefix\" parameter.",
- "items": {
- "description": "IP address or CIDR, for example \"192.168.0.3\" or \"192.168.0.0/16\".",
- "type": "string"
- }
- },
- "endTimeUtc": {
- "type": "string",
- "format": "date-time",
- "description": "The date & time at which the request ends in UTC"
- },
- "status": {
- "type": "string",
- "description": "The status of the port",
- "enum": [
- "Revoked",
- "Initiated"
- ],
- "x-ms-enum": {
- "name": "status",
- "modelAsString": true,
- "values": [
- {
- "value": "Revoked"
- },
- {
- "value": "Initiated"
- }
- ]
- }
- },
- "statusReason": {
- "type": "string",
- "description": "A description of why the `status` has its value",
- "enum": [
- "Expired",
- "UserRequested",
- "NewerRequestInitiated"
- ],
- "x-ms-enum": {
- "name": "statusReason",
- "modelAsString": true,
- "values": [
- {
- "value": "Expired"
- },
- {
- "value": "UserRequested"
- },
- {
- "value": "NewerRequestInitiated"
- }
- ]
- }
- },
- "mappedPort": {
- "type": "integer",
- "description": "The port which is mapped to this port's `number` in the Azure Firewall, if applicable"
- }
- },
- "required": [
- "endTimeUtc",
- "number",
- "status",
- "statusReason"
- ]
- },
- "JitNetworkAccessPolicyInitiateRequest": {
- "type": "object",
- "properties": {
- "virtualMachines": {
- "type": "array",
- "description": "A list of virtual machines & ports to open access for",
- "items": {
- "$ref": "#/definitions/JitNetworkAccessPolicyInitiateVirtualMachine"
- }
- },
- "justification": {
- "type": "string",
- "description": "The justification for making the initiate request"
- }
- },
- "required": [
- "virtualMachines"
- ]
- },
- "JitNetworkAccessPolicyInitiateVirtualMachine": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "Resource ID of the virtual machine that is linked to this policy"
- },
- "ports": {
- "type": "array",
- "description": "The ports to open for the resource with the `id`",
- "items": {
- "$ref": "#/definitions/JitNetworkAccessPolicyInitiatePort"
- }
- }
- },
- "required": [
- "id",
- "ports"
- ]
- },
- "JitNetworkAccessPolicyInitiatePort": {
- "type": "object",
- "properties": {
- "number": {
- "$ref": "#/definitions/PortNumber"
- },
- "allowedSourceAddressPrefix": {
- "type": "string",
- "description": "Source of the allowed traffic. If omitted, the request will be for the source IP address of the initiate request."
- },
- "endTimeUtc": {
- "type": "string",
- "format": "date-time",
- "description": "The time to close the request in UTC"
- }
- },
- "required": [
- "endTimeUtc",
- "number"
- ]
- },
- "PortNumber": {
- "type": "integer",
- "minimum": 0,
- "maximum": 65535
- }
- },
- "parameters": {
- "JitNetworkAccessPolicyName": {
- "name": "jitNetworkAccessPolicyName",
- "type": "string",
- "in": "path",
- "required": true,
- "description": "Name of a Just-in-Time access configuration policy.",
- "x-ms-parameter-location": "method"
- },
- "JitNetworkAccessPolicyInitiateType": {
- "name": "jitNetworkAccessPolicyInitiateType",
- "type": "string",
- "in": "path",
- "required": true,
- "description": "Type of the action to do on the Just-in-Time access policy.",
- "enum": [
- "initiate"
- ],
- "x-ms-parameter-location": "method"
- },
- "JitNetworkAccessPolicyInitiateRequest": {
- "name": "body",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/JitNetworkAccessPolicyInitiateRequest"
- },
- "x-ms-parameter-location": "method"
- },
- "JitNetworkAccessPolicy": {
- "name": "body",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/JitNetworkAccessPolicy"
- },
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/locations.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/locations.json
deleted file mode 100644
index fbcc71c65..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/locations.json
+++ /dev/null
@@ -1,142 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2015-06-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations": {
- "get": {
- "x-ms-examples": {
- "Get security data locations": {
- "$ref": "./examples/Locations/GetLocations_example.json"
- }
- },
- "tags": [
- "Locations"
- ],
- "description": "The location of the responsible ASC of the specific subscription (home region). For each subscription there is only one responsible location. The location in the response should be used to read or write other resources in ASC according to their ID.",
- "operationId": "Locations_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/AscLocationList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}": {
- "get": {
- "x-ms-examples": {
- "Get security data location": {
- "$ref": "./examples/Locations/GetLocation_example.json"
- }
- },
- "tags": [
- "Locations"
- ],
- "description": "Details of a specific location",
- "operationId": "Locations_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/AscLocation"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "parameters": {
- "ExtendedResourceProvider": {
- "name": "extendedResourceProvider",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Resource provider name of the base resource",
- "x-ms-parameter-location": "method"
- },
- "ExtendedResourceType": {
- "name": "extendedResourceType",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Type of the base resource",
- "x-ms-parameter-location": "method"
- },
- "ExtendedResourceName": {
- "name": "extendedResourceName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the base resource",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/operations.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/operations.json
deleted file mode 100644
index bd7e79846..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/operations.json
+++ /dev/null
@@ -1,134 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2015-06-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/providers/Microsoft.Security/operations": {
- "get": {
- "tags": [
- "Operations"
- ],
- "description": "Exposes all available operations for discovery purposes.",
- "operationId": "Operations_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/OperationList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- }
- },
- "definitions": {
- "OperationList": {
- "type": "object",
- "description": "List of possible operations for Microsoft.Security resource provider",
- "properties": {
- "value": {
- "type": "array",
- "description": "List of Security operations",
- "items": {
- "$ref": "#/definitions/Operation"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "Operation": {
- "type": "object",
- "description": "Possible operation in the REST API of Microsoft.Security",
- "properties": {
- "name": {
- "readOnly": true,
- "type": "string",
- "description": "Name of the operation"
- },
- "origin": {
- "readOnly": true,
- "type": "string",
- "description": "Where the operation is originated"
- },
- "display": {
- "$ref": "#/definitions/OperationDisplay"
- }
- }
- },
- "OperationDisplay": {
- "type": "object",
- "description": "Security operation display",
- "properties": {
- "provider": {
- "readOnly": true,
- "type": "string",
- "description": "The resource provider for the operation."
- },
- "resource": {
- "readOnly": true,
- "type": "string",
- "description": "The display name of the resource the operation applies to."
- },
- "operation": {
- "readOnly": true,
- "type": "string",
- "description": "The display name of the security operation."
- },
- "description": {
- "readOnly": true,
- "type": "string",
- "description": "The description of the operation."
- }
- }
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/tasks.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/tasks.json
deleted file mode 100644
index 391d0bf95..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/tasks.json
+++ /dev/null
@@ -1,454 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2015-06-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/tasks": {
- "get": {
- "x-ms-examples": {
- "Get security recommendations tasks": {
- "$ref": "./examples/Tasks/GetTasksSubscription_example.json"
- }
- },
- "tags": [
- "Tasks"
- ],
- "description": "Recommended tasks that will help improve the security of the subscription proactively",
- "operationId": "Tasks_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ODataFilter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityTaskList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/tasks": {
- "get": {
- "x-ms-examples": {
- "Get security recommendations tasks from security data location": {
- "$ref": "./examples/Tasks/GetTasksSubscriptionLocation_example.json"
- }
- },
- "tags": [
- "Tasks"
- ],
- "description": "Recommended tasks that will help improve the security of the subscription proactively",
- "operationId": "Tasks_ListByHomeRegion",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ODataFilter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityTaskList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/tasks/{taskName}": {
- "get": {
- "x-ms-examples": {
- "Get security recommendation task from security data location": {
- "$ref": "./examples/Tasks/GetTaskSubscriptionLocation_example.json"
- }
- },
- "tags": [
- "Tasks"
- ],
- "description": "Recommended tasks that will help improve the security of the subscription proactively",
- "operationId": "Tasks_GetSubscriptionLevelTask",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/TaskName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityTask"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/tasks/{taskName}/{taskUpdateActionType}": {
- "post": {
- "x-ms-examples": {
- "Change security recommendation task state": {
- "$ref": "./examples/Tasks/UpdateTaskSubscriptionLocation_example.json"
- }
- },
- "tags": [
- "Tasks"
- ],
- "description": "Recommended tasks that will help improve the security of the subscription proactively",
- "operationId": "Tasks_UpdateSubscriptionLevelTaskState",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/TaskName"
- },
- {
- "$ref": "#/parameters/TaskUpdateActionType"
- }
- ],
- "responses": {
- "204": {
- "description": "No Content"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/tasks": {
- "get": {
- "x-ms-examples": {
- "Get security recommendation tasks in a resource group": {
- "$ref": "./examples/Tasks/GetTasksResourceGroupLocation_example.json"
- }
- },
- "tags": [
- "Tasks"
- ],
- "description": "Recommended tasks that will help improve the security of the subscription proactively",
- "operationId": "Tasks_ListByResourceGroup",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ODataFilter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityTaskList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/tasks/{taskName}": {
- "get": {
- "x-ms-examples": {
- "Get security recommendation task in a resource group": {
- "$ref": "./examples/Tasks/GetTaskResourceGroupLocation_example.json"
- }
- },
- "tags": [
- "Tasks"
- ],
- "description": "Recommended tasks that will help improve the security of the subscription proactively",
- "operationId": "Tasks_GetResourceGroupLevelTask",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/TaskName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityTask"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/tasks/{taskName}/{taskUpdateActionType}": {
- "post": {
- "x-ms-examples": {
- "Change security recommendation task state": {
- "$ref": "./examples/Tasks/UpdateTaskResourceGroupLocation_example.json"
- }
- },
- "tags": [
- "Tasks"
- ],
- "description": "Recommended tasks that will help improve the security of the subscription proactively",
- "operationId": "Tasks_UpdateResourceGroupLevelTaskState",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/TaskName"
- },
- {
- "$ref": "#/parameters/TaskUpdateActionType"
- }
- ],
- "responses": {
- "204": {
- "description": "No Content"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "SecurityTaskList": {
- "type": "object",
- "description": "List of security task recommendations",
- "properties": {
- "value": {
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/SecurityTask"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "SecurityTask": {
- "type": "object",
- "description": "Security task that we recommend to do in order to strengthen security",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/SecurityTaskProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "SecurityTaskProperties": {
- "type": "object",
- "description": "Describes properties of a task.",
- "properties": {
- "state": {
- "readOnly": true,
- "type": "string",
- "description": "State of the task (Active, Resolved etc.)"
- },
- "creationTimeUtc": {
- "readOnly": true,
- "type": "string",
- "format": "date-time",
- "description": "The time this task was discovered in UTC"
- },
- "securityTaskParameters": {
- "$ref": "#/definitions/SecurityTaskParameters"
- },
- "lastStateChangeTimeUtc": {
- "readOnly": true,
- "type": "string",
- "format": "date-time",
- "description": "The time this task's details were last changed in UTC"
- },
- "subState": {
- "readOnly": true,
- "type": "string",
- "description": "Additional data on the state of the task"
- }
- }
- },
- "SecurityTaskParameters": {
- "type": "object",
- "description": "Changing set of properties, depending on the task type that is derived from the name field",
- "additionalProperties": true,
- "properties": {
- "name": {
- "readOnly": true,
- "type": "string",
- "description": "Name of the task type"
- }
- }
- }
- },
- "parameters": {
- "TaskName": {
- "name": "taskName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Name of the task object, will be a GUID",
- "x-ms-parameter-location": "method"
- },
- "TaskUpdateActionType": {
- "name": "taskUpdateActionType",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "Activate",
- "Dismiss",
- "Start",
- "Resolve",
- "Close"
- ],
- "x-ms-enum": {
- "name": "TaskUpdateActionType",
- "modelAsString": true
- },
- "description": "Type of the action to do on the task",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/topologies.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/topologies.json
deleted file mode 100644
index ef9b292b1..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/topologies.json
+++ /dev/null
@@ -1,301 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2015-06-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/topologies": {
- "get": {
- "x-ms-examples": {
- "Get topology on a subscription": {
- "$ref": "./examples/Topology/GetTopologySubscription_example.json"
- }
- },
- "tags": [
- "Topology"
- ],
- "description": "Gets a list that allows to build a topology view of a subscription.",
- "operationId": "Topology_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/TopologyList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/topologies": {
- "get": {
- "x-ms-examples": {
- "Get topology on a subscription from security data location": {
- "$ref": "./examples/Topology/GetTopologySubscriptionLocation_example.json"
- }
- },
- "tags": [
- "Topology"
- ],
- "description": "Gets a list that allows to build a topology view of a subscription and location.",
- "operationId": "Topology_ListByHomeRegion",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/TopologyList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/topologies/{topologyResourceName}": {
- "get": {
- "x-ms-examples": {
- "Get topology": {
- "$ref": "./examples/Topology/GetTopology_example.json"
- }
- },
- "tags": [
- "Topology"
- ],
- "description": "Gets a specific topology component.",
- "operationId": "Topology_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/TopologyResourceName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/TopologyResource"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "TopologyList": {
- "type": "object",
- "properties": {
- "value": {
- "type": "array",
- "readOnly": true,
- "items": {
- "$ref": "#/definitions/TopologyResource"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "TopologyResource": {
- "type": "object",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "readOnly": true,
- "$ref": "#/definitions/TopologyResourceProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- },
- {
- "$ref": "../../../common/v1/types.json#/definitions/Location"
- }
- ]
- },
- "TopologyResourceProperties": {
- "type": "object",
- "properties": {
- "calculatedDateTime": {
- "type": "string",
- "format": "date-time",
- "readOnly": true,
- "description": "The UTC time on which the topology was calculated"
- },
- "topologyResources": {
- "type": "array",
- "readOnly": true,
- "description": "Azure resources which are part of this topology resource",
- "items": {
- "$ref": "#/definitions/TopologySingleResource"
- }
- }
- }
- },
- "TopologySingleResource": {
- "type": "object",
- "properties": {
- "resourceId": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource id"
- },
- "severity": {
- "type": "string",
- "readOnly": true,
- "description": "The security severity of the resource"
- },
- "recommendationsExist": {
- "type": "boolean",
- "readOnly": true,
- "description": "Indicates if the resource has security recommendations"
- },
- "networkZones": {
- "type": "string",
- "readOnly": true,
- "description": "Indicates the resource connectivity level to the Internet (InternetFacing, Internal ,etc.)"
- },
- "topologyScore": {
- "type": "integer",
- "readOnly": true,
- "description": "Score of the resource based on its security severity"
- },
- "location": {
- "type": "string",
- "readOnly": true,
- "description": "The location of this resource"
- },
- "parents": {
- "type": "array",
- "readOnly": true,
- "description": "Azure resources connected to this resource which are in higher level in the topology view",
- "items": {
- "$ref": "#/definitions/TopologySingleResourceParent"
- }
- },
- "children": {
- "type": "array",
- "readOnly": true,
- "description": "Azure resources connected to this resource which are in lower level in the topology view",
- "items": {
- "$ref": "#/definitions/TopologySingleResourceChild"
- }
- }
- }
- },
- "TopologySingleResourceParent": {
- "type": "object",
- "properties": {
- "resourceId": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource id which serves as parent resource in topology view"
- }
- }
- },
- "TopologySingleResourceChild": {
- "type": "object",
- "properties": {
- "resourceId": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource id which serves as child resource in topology view"
- }
- }
- }
- },
- "parameters": {
- "TopologyResourceName": {
- "name": "topologyResourceName",
- "in": "path",
- "description": "Name of a topology resources collection.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/advancedThreatProtectionSettings.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/advancedThreatProtectionSettings.json
deleted file mode 100644
index 3edc85033..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/advancedThreatProtectionSettings.json
+++ /dev/null
@@ -1,166 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Security Center",
- "description": "API spec for Microsoft.Security (Azure Security Center) resource provider",
- "version": "2017-08-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/{resourceId}/providers/Microsoft.Security/advancedThreatProtectionSettings/{settingName}": {
- "get": {
- "x-ms-examples": {
- "Gets the Advanced Threat Protection settings for the specified resource.": {
- "$ref": "./examples/AdvancedThreatProtection/GetAdvancedThreatProtectionSettings_example.json"
- }
- },
- "tags": [
- "AdvancedThreatProtection"
- ],
- "description": "Gets the Advanced Threat Protection settings for the specified resource.",
- "operationId": "AdvancedThreatProtection_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceId"
- },
- {
- "$ref": "#/parameters/AdvancedThreatProtectionSettingName"
- }
- ],
- "responses": {
- "200": {
- "description": "Successful request to get Advanced Threat Protection settings.",
- "schema": {
- "$ref": "#/definitions/AdvancedThreatProtectionSetting"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Creates or updates the Advanced Threat Protection settings on a specified resource.": {
- "$ref": "./examples/AdvancedThreatProtection/PutAdvancedThreatProtectionSettings_example.json"
- }
- },
- "tags": [
- "AdvancedThreatProtection"
- ],
- "description": "Creates or updates the Advanced Threat Protection settings on a specified resource.",
- "operationId": "AdvancedThreatProtection_Create",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceId"
- },
- {
- "$ref": "#/parameters/AdvancedThreatProtectionSettingName"
- },
- {
- "$ref": "#/parameters/AdvancedThreatProtectionSetting"
- }
- ],
- "responses": {
- "200": {
- "description": "Successful request to put Advanced Threat Protection settings.",
- "schema": {
- "$ref": "#/definitions/AdvancedThreatProtectionSetting"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "AdvancedThreatProtectionProperties": {
- "properties": {
- "isEnabled": {
- "type": "boolean",
- "description": "Indicates whether Advanced Threat Protection is enabled."
- }
- },
- "description": "The Advanced Threat Protection settings."
- },
- "AdvancedThreatProtectionSetting": {
- "type": "object",
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ],
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/AdvancedThreatProtectionProperties"
- }
- },
- "description": "The Advanced Threat Protection resource."
- }
- },
- "parameters": {
- "AdvancedThreatProtectionSettingName": {
- "name": "settingName",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "current"
- ],
- "description": "Advanced Threat Protection setting name.",
- "x-ms-parameter-location": "method"
- },
- "AdvancedThreatProtectionSetting": {
- "name": "advancedThreatProtectionSetting",
- "in": "body",
- "required": true,
- "description": "Advanced Threat Protection Settings",
- "schema": {
- "$ref": "#/definitions/AdvancedThreatProtectionSetting"
- },
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/autoProvisioningSettings.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/autoProvisioningSettings.json
deleted file mode 100644
index 918725ad7..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/autoProvisioningSettings.json
+++ /dev/null
@@ -1,243 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Security Center",
- "description": "API spec for Microsoft.Security (Azure Security Center) resource provider",
- "version": "2017-08-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/autoProvisioningSettings": {
- "get": {
- "x-ms-examples": {
- "Get auto provisioning settings for subscription": {
- "$ref": "./examples/AutoProvisioningSettings/GetAutoProvisioningSettingsSubscription_example.json"
- }
- },
- "tags": [
- "AutoProvisioningSettings"
- ],
- "description": "Exposes the auto provisioning settings of the subscriptions",
- "operationId": "AutoProvisioningSettings_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AutoProvisioningSettingList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/autoProvisioningSettings/{settingName}": {
- "get": {
- "x-ms-examples": {
- "Get an auto provisioning setting for subscription": {
- "$ref": "./examples/AutoProvisioningSettings/GetAutoProvisioningSettingSubscription_example.json"
- }
- },
- "tags": [
- "AutoProvisioningSettings"
- ],
- "description": "Details of a specific setting",
- "operationId": "AutoProvisioningSettings_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/AutoProvisioningSettingName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AutoProvisioningSetting"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Create auto provisioning settings for subscription": {
- "$ref": "./examples/AutoProvisioningSettings/CreateAutoProvisioningSettingsSubscription_example.json"
- }
- },
- "tags": [
- "AutoProvisioningSettings"
- ],
- "description": "Details of a specific setting",
- "operationId": "AutoProvisioningSettings_Create",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/AutoProvisioningSettingName"
- },
- {
- "$ref": "#/parameters/AutoProvisioningSetting"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AutoProvisioningSetting"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "AutoProvisioningSettingList": {
- "type": "object",
- "description": "List of all the auto provisioning settings response",
- "properties": {
- "value": {
- "description": "List of all the auto provisioning settings",
- "type": "array",
- "items": {
- "$ref": "#/definitions/AutoProvisioningSetting"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "AutoProvisioningSetting": {
- "type": "object",
- "description": "Auto provisioning setting",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "Auto provisioning setting data",
- "$ref": "#/definitions/AutoProvisioningSettingProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "AutoProvisioningSettingProperties": {
- "type": "object",
- "description": "describes properties of an auto provisioning setting",
- "properties": {
- "autoProvision": {
- "type": "string",
- "description": "Describes what kind of security agent provisioning action to take",
- "enum": [
- "On",
- "Off"
- ],
- "x-ms-enum": {
- "name": "autoProvision",
- "modelAsString": true,
- "values": [
- {
- "value": "On",
- "description": "Install missing security agent on VMs automatically"
- },
- {
- "value": "Off",
- "description": "Do not install security agent on the VMs automatically"
- }
- ]
- }
- }
- },
- "required": [
- "autoProvision"
- ]
- }
- },
- "parameters": {
- "AutoProvisioningSettingName": {
- "name": "settingName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Auto provisioning setting key",
- "x-ms-parameter-location": "method"
- },
- "AutoProvisioningSetting": {
- "name": "setting",
- "in": "body",
- "required": true,
- "description": "Auto provisioning setting key",
- "schema": {
- "$ref": "#/definitions/AutoProvisioningSetting"
- },
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/compliances.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/compliances.json
deleted file mode 100644
index b0f9ba593..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/compliances.json
+++ /dev/null
@@ -1,206 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2017-08-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/{scope}/providers/Microsoft.Security/compliances": {
- "get": {
- "x-ms-examples": {
- "Get security compliance data over time": {
- "$ref": "./examples/Compliances/GetCompliances_example.json"
- }
- },
- "tags": [
- "Compliances"
- ],
- "description": "The Compliance scores of the specific management group.",
- "operationId": "Compliances_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/Scope"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ComplianceList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/{scope}/providers/Microsoft.Security/compliances/{complianceName}": {
- "get": {
- "x-ms-examples": {
- "Get security compliance data for a day": {
- "$ref": "./examples/Compliances/GetCompliance_example.json"
- }
- },
- "tags": [
- "Compliances"
- ],
- "description": "Details of a specific Compliance.",
- "operationId": "Compliances_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/Scope"
- },
- {
- "$ref": "#/parameters/ComplianceName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Compliance"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "ComplianceList": {
- "type": "object",
- "readOnly": true,
- "description": "List of Compliance objects response",
- "properties": {
- "value": {
- "type": "array",
- "description": "List of Compliance objects",
- "items": {
- "$ref": "#/definitions/Compliance"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "Compliance": {
- "type": "object",
- "readOnly": true,
- "description": "Compliance of a scope",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "Compliance data",
- "$ref": "#/definitions/ComplianceProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "ComplianceProperties": {
- "type": "object",
- "description": "The Compliance score (percentage) of a Subscription is a sum of all Resources' Compliances under the given Subscription. A Resource Compliance is defined as the compliant ('healthy') Policy Definitions out of all Policy Definitions applicable to a given resource.",
- "properties": {
- "assessmentTimestampUtcDate": {
- "readOnly": true,
- "type": "string",
- "format": "date-time",
- "description": "The timestamp when the Compliance calculation was conducted."
- },
- "resourceCount": {
- "readOnly": true,
- "type": "integer",
- "description": "The resource count of the given subscription for which the Compliance calculation was conducted (needed for Management Group Compliance calculation)."
- },
- "assessmentResult": {
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/ComplianceSegment"
- },
- "description": "An array of segment, which is the actually the compliance assessment."
- }
- }
- },
- "ComplianceSegment": {
- "type": "object",
- "description": "A segment of a compliance assessment.",
- "properties": {
- "segmentType": {
- "readOnly": true,
- "type": "string",
- "description": "The segment type, e.g. compliant, non-compliance, insufficient coverage, N/A, etc."
- },
- "percentage": {
- "type": "number",
- "format": "double",
- "readOnly": true,
- "description": "The size (%) of the segment."
- }
- }
- }
- },
- "parameters": {
- "ComplianceName": {
- "name": "complianceName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "name of the Compliance",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/deviceSecurityGroups.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/deviceSecurityGroups.json
deleted file mode 100644
index 655474e9e..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/deviceSecurityGroups.json
+++ /dev/null
@@ -1,631 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Security Center",
- "description": "API spec for Microsoft.Security (Azure Security Center) resource provider",
- "version": "2017-08-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/{resourceId}/providers/Microsoft.Security/deviceSecurityGroups": {
- "get": {
- "x-ms-examples": {
- "List all device security groups for the specified IoT Hub resource": {
- "$ref": "./examples/DeviceSecurityGroups/ListDeviceSecurityGroups_example.json"
- }
- },
- "tags": [
- "DeviceSecurityGroups"
- ],
- "description": "Use this method get the list of device security groups for the specified IoT Hub resource.",
- "operationId": "DeviceSecurityGroups_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/DeviceSecurityGroupList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/{resourceId}/providers/Microsoft.Security/deviceSecurityGroups/{deviceSecurityGroupName}": {
- "get": {
- "x-ms-examples": {
- "Get a device security group for the specified IoT Hub resource": {
- "$ref": "./examples/DeviceSecurityGroups/GetDeviceSecurityGroups_example.json"
- }
- },
- "tags": [
- "DeviceSecurityGroups"
- ],
- "description": "Use this method to get the device security group for the specified IoT Hub resource.",
- "operationId": "DeviceSecurityGroups_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceId"
- },
- {
- "$ref": "#/parameters/DeviceSecurityGroupName"
- }
- ],
- "responses": {
- "200": {
- "description": "Successful request to get device security group.",
- "schema": {
- "$ref": "#/definitions/DeviceSecurityGroup"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Create or update a device security group for the specified IoT hub resource": {
- "$ref": "./examples/DeviceSecurityGroups/PutDeviceSecurityGroups_example.json"
- }
- },
- "tags": [
- "DeviceSecurityGroups"
- ],
- "description": "Use this method to creates or updates the device security group on a specified IoT Hub resource.",
- "operationId": "DeviceSecurityGroups_CreateOrUpdate",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceId"
- },
- {
- "$ref": "#/parameters/DeviceSecurityGroupName"
- },
- {
- "$ref": "#/parameters/DeviceSecurityGroup"
- }
- ],
- "responses": {
- "200": {
- "description": "Security group was updated.",
- "schema": {
- "$ref": "#/definitions/DeviceSecurityGroup"
- }
- },
- "201": {
- "description": "Security group was created.",
- "schema": {
- "$ref": "#/definitions/DeviceSecurityGroup"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "delete": {
- "x-ms-examples": {
- "Delete a device security group for the specified IoT Hub resource": {
- "$ref": "./examples/DeviceSecurityGroups/DeleteDeviceSecurityGroups_example.json"
- }
- },
- "tags": [
- "DeviceSecurityGroups"
- ],
- "description": "User this method to deletes the device security group.",
- "operationId": "DeviceSecurityGroups_Delete",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceId"
- },
- {
- "$ref": "#/parameters/DeviceSecurityGroupName"
- }
- ],
- "responses": {
- "200": {
- "description": "Device security group has been deleted."
- },
- "204": {
- "description": "Device security group does not exist."
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "DeviceSecurityGroupList": {
- "type": "object",
- "readOnly": true,
- "description": "List of device security groups",
- "properties": {
- "value": {
- "type": "array",
- "description": "List of device security group objects",
- "items": {
- "$ref": "#/definitions/DeviceSecurityGroup"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "DeviceSecurityGroup": {
- "type": "object",
- "description": "The device security group resource",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "Device Security group data",
- "$ref": "#/definitions/DeviceSecurityGroupProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "DeviceSecurityGroupProperties": {
- "type": "object",
- "description": "describes properties of a security group.",
- "properties": {
- "thresholdRules": {
- "type": "array",
- "description": "The list of custom alert threshold rules.",
- "items": {
- "type": "object",
- "$ref": "#/definitions/ThresholdCustomAlertRule"
- }
- },
- "timeWindowRules": {
- "type": "array",
- "description": "The list of custom alert time-window rules.",
- "items": {
- "type": "object",
- "$ref": "#/definitions/TimeWindowCustomAlertRule"
- }
- },
- "allowlistRules": {
- "type": "array",
- "description": "The allow-list custom alert rules.",
- "items": {
- "type": "object",
- "$ref": "#/definitions/AllowlistCustomAlertRule"
- }
- },
- "denylistRules": {
- "type": "array",
- "description": "The deny-list custom alert rules.",
- "items": {
- "type": "object",
- "$ref": "#/definitions/DenylistCustomAlertRule"
- }
- }
- }
- },
- "CustomAlertRule": {
- "type": "object",
- "description": "A custom alert rule.",
- "discriminator": "ruleType",
- "properties": {
- "displayName": {
- "type": "string",
- "readOnly": true,
- "description": "The display name of the custom alert."
- },
- "description": {
- "type": "string",
- "readOnly": true,
- "description": "The description of the custom alert."
- },
- "isEnabled": {
- "type": "boolean",
- "description": "Status of the custom alert."
- },
- "ruleType": {
- "type": "string",
- "description": "The type of the custom alert rule."
- }
- },
- "required": [
- "isEnabled",
- "ruleType"
- ]
- },
- "ListCustomAlertRule": {
- "type": "object",
- "description": "A List custom alert rule.",
- "allOf": [
- {
- "$ref": "#/definitions/CustomAlertRule"
- }
- ],
- "properties": {
- "valueType": {
- "type": "string",
- "description": "The value type of the items in the list.",
- "enum": [
- "IpCidr",
- "String"
- ],
- "readOnly": true,
- "x-ms-enum": {
- "name": "valueType",
- "modelAsString": true,
- "values": [
- {
- "value": "IpCidr",
- "description": "An IP range in CIDR format (e.g. '192.168.0.1/8')."
- },
- {
- "value": "String",
- "description": "Any string value."
- }
- ]
- }
- }
- }
- },
- "AllowlistCustomAlertRule": {
- "type": "object",
- "description": "A custom alert rule that checks if a value (depends on the custom alert type) is allowed.",
- "allOf": [
- {
- "$ref": "#/definitions/ListCustomAlertRule"
- }
- ],
- "properties": {
- "allowlistValues": {
- "type": "array",
- "description": "The values to allow. The format of the values depends on the rule type.",
- "items": {
- "type": "string"
- }
- }
- },
- "required": [
- "allowlistValues"
- ]
- },
- "ConnectionToIpNotAllowed": {
- "type": "object",
- "description": "Outbound connection to an ip that isn't allowed. Allow list consists of ipv4 or ipv6 range in CIDR notation.",
- "allOf": [
- {
- "$ref": "#/definitions/AllowlistCustomAlertRule"
- }
- ],
- "properties": {}
- },
- "LocalUserNotAllowed": {
- "type": "object",
- "description": "Login by a local user that isn't allowed. Allow list consists of login names to allow.",
- "allOf": [
- {
- "$ref": "#/definitions/AllowlistCustomAlertRule"
- }
- ],
- "properties": {}
- },
- "ProcessNotAllowed": {
- "type": "object",
- "description": "Execution of a process that isn't allowed. Allow list consists of process names to allow.",
- "allOf": [
- {
- "$ref": "#/definitions/AllowlistCustomAlertRule"
- }
- ],
- "properties": {}
- },
- "DenylistCustomAlertRule": {
- "type": "object",
- "description": "A custom alert rule that checks if a value (depends on the custom alert type) is denied.",
- "allOf": [
- {
- "$ref": "#/definitions/ListCustomAlertRule"
- }
- ],
- "properties": {
- "denylistValues": {
- "type": "array",
- "description": "The values to deny. The format of the values depends on the rule type.",
- "items": {
- "type": "string"
- }
- }
- },
- "required": [
- "denylistValues"
- ]
- },
- "ThresholdCustomAlertRule": {
- "type": "object",
- "description": "A custom alert rule that checks if a value (depends on the custom alert type) is within the given range.",
- "allOf": [
- {
- "$ref": "#/definitions/CustomAlertRule"
- }
- ],
- "properties": {
- "minThreshold": {
- "type": "integer",
- "description": "The minimum threshold."
- },
- "maxThreshold": {
- "type": "integer",
- "description": "The maximum threshold."
- }
- },
- "required": [
- "minThreshold",
- "maxThreshold"
- ]
- },
- "TimeWindowCustomAlertRule": {
- "type": "object",
- "description": "A custom alert rule that checks if the number of activities (depends on the custom alert type) in a time window is within the given range.",
- "allOf": [
- {
- "$ref": "#/definitions/ThresholdCustomAlertRule"
- }
- ],
- "properties": {
- "timeWindowSize": {
- "type": "string",
- "description": "The time window size in iso8601 format.",
- "format": "duration"
- }
- },
- "required": [
- "timeWindowSize"
- ]
- },
- "ActiveConnectionsNotInAllowedRange": {
- "type": "object",
- "description": "Number of active connections is not in allowed range.",
- "allOf": [
- {
- "$ref": "#/definitions/TimeWindowCustomAlertRule"
- }
- ],
- "properties": {}
- },
- "AmqpC2DMessagesNotInAllowedRange": {
- "type": "object",
- "description": "Number of cloud to device messages (AMQP protocol) is not in allowed range.",
- "allOf": [
- {
- "$ref": "#/definitions/TimeWindowCustomAlertRule"
- }
- ],
- "properties": {}
- },
- "MqttC2DMessagesNotInAllowedRange": {
- "type": "object",
- "description": "Number of cloud to device messages (MQTT protocol) is not in allowed range.",
- "allOf": [
- {
- "$ref": "#/definitions/TimeWindowCustomAlertRule"
- }
- ],
- "properties": {}
- },
- "HttpC2DMessagesNotInAllowedRange": {
- "type": "object",
- "description": "Number of cloud to device messages (HTTP protocol) is not in allowed range.",
- "allOf": [
- {
- "$ref": "#/definitions/TimeWindowCustomAlertRule"
- }
- ],
- "properties": {}
- },
- "AmqpC2DRejectedMessagesNotInAllowedRange": {
- "type": "object",
- "description": "Number of rejected cloud to device messages (AMQP protocol) is not in allowed range.",
- "allOf": [
- {
- "$ref": "#/definitions/TimeWindowCustomAlertRule"
- }
- ],
- "properties": {}
- },
- "MqttC2DRejectedMessagesNotInAllowedRange": {
- "type": "object",
- "description": "Number of rejected cloud to device messages (MQTT protocol) is not in allowed range.",
- "allOf": [
- {
- "$ref": "#/definitions/TimeWindowCustomAlertRule"
- }
- ],
- "properties": {}
- },
- "HttpC2DRejectedMessagesNotInAllowedRange": {
- "type": "object",
- "description": "Number of rejected cloud to device messages (HTTP protocol) is not in allowed range.",
- "allOf": [
- {
- "$ref": "#/definitions/TimeWindowCustomAlertRule"
- }
- ],
- "properties": {}
- },
- "AmqpD2CMessagesNotInAllowedRange": {
- "type": "object",
- "description": "Number of device to cloud messages (AMQP protocol) is not in allowed range.",
- "allOf": [
- {
- "$ref": "#/definitions/TimeWindowCustomAlertRule"
- }
- ],
- "properties": {}
- },
- "MqttD2CMessagesNotInAllowedRange": {
- "type": "object",
- "description": "Number of device to cloud messages (MQTT protocol) is not in allowed range.",
- "allOf": [
- {
- "$ref": "#/definitions/TimeWindowCustomAlertRule"
- }
- ],
- "properties": {}
- },
- "HttpD2CMessagesNotInAllowedRange": {
- "type": "object",
- "description": "Number of device to cloud messages (HTTP protocol) is not in allowed range.",
- "allOf": [
- {
- "$ref": "#/definitions/TimeWindowCustomAlertRule"
- }
- ],
- "properties": {}
- },
- "DirectMethodInvokesNotInAllowedRange": {
- "type": "object",
- "description": "Number of direct method invokes is not in allowed range.",
- "allOf": [
- {
- "$ref": "#/definitions/TimeWindowCustomAlertRule"
- }
- ],
- "properties": {}
- },
- "FailedLocalLoginsNotInAllowedRange": {
- "type": "object",
- "description": "Number of failed local logins is not in allowed range.",
- "allOf": [
- {
- "$ref": "#/definitions/TimeWindowCustomAlertRule"
- }
- ],
- "properties": {}
- },
- "FileUploadsNotInAllowedRange": {
- "type": "object",
- "description": "Number of file uploads is not in allowed range.",
- "allOf": [
- {
- "$ref": "#/definitions/TimeWindowCustomAlertRule"
- }
- ],
- "properties": {}
- },
- "QueuePurgesNotInAllowedRange": {
- "type": "object",
- "description": "Number of device queue purges is not in allowed range.",
- "allOf": [
- {
- "$ref": "#/definitions/TimeWindowCustomAlertRule"
- }
- ],
- "properties": {}
- },
- "TwinUpdatesNotInAllowedRange": {
- "type": "object",
- "description": "Number of twin updates is not in allowed range.",
- "allOf": [
- {
- "$ref": "#/definitions/TimeWindowCustomAlertRule"
- }
- ],
- "properties": {}
- },
- "UnauthorizedOperationsNotInAllowedRange": {
- "type": "object",
- "description": "Number of unauthorized operations is not in allowed range.",
- "allOf": [
- {
- "$ref": "#/definitions/TimeWindowCustomAlertRule"
- }
- ],
- "properties": {}
- }
- },
- "parameters": {
- "DeviceSecurityGroupName": {
- "name": "deviceSecurityGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the device security group. Note that the name of the device security group is case insensitive.",
- "x-ms-parameter-location": "method"
- },
- "DeviceSecurityGroup": {
- "name": "deviceSecurityGroup",
- "in": "body",
- "required": true,
- "description": "Security group object.",
- "schema": {
- "$ref": "#/definitions/DeviceSecurityGroup"
- },
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/informationProtectionPolicies.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/informationProtectionPolicies.json
deleted file mode 100644
index 90e13c30f..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/informationProtectionPolicies.json
+++ /dev/null
@@ -1,362 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Security Center",
- "description": "API spec for Microsoft.Security (Azure Security Center) resource provider",
- "version": "2017-08-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/{scope}/providers/Microsoft.Security/informationProtectionPolicies/{informationProtectionPolicyName}": {
- "get": {
- "x-ms-examples": {
- "Get the customized information protection policy for a management group": {
- "$ref": "./examples/InformationProtectionPolicies/GetCustomInformationProtectionPolicy_example.json"
- },
- "Get the effective information protection policy for a management group": {
- "$ref": "./examples/InformationProtectionPolicies/GetEffectiveInformationProtectionPolicy_example.json"
- }
- },
- "tags": [
- "InformationProtectionPolicies"
- ],
- "description": "Details of the information protection policy.",
- "operationId": "InformationProtectionPolicies_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/Scope"
- },
- {
- "$ref": "#/parameters/InformationProtectionPolicyName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/InformationProtectionPolicy"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Create or update an information protection policy for a management group": {
- "$ref": "./examples/InformationProtectionPolicies/CreateOrUpdateInformationProtectionPolicy_example.json"
- }
- },
- "tags": [
- "InformationProtectionPolicies"
- ],
- "description": "Details of the information protection policy.",
- "operationId": "InformationProtectionPolicies_CreateOrUpdate",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/Scope"
- },
- {
- "$ref": "#/parameters/InformationProtectionPolicyName"
- },
- {
- "$ref": "#/parameters/InformationProtectionPolicy"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/InformationProtectionPolicy"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/InformationProtectionPolicy"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/{scope}/providers/Microsoft.Security/informationProtectionPolicies": {
- "get": {
- "x-ms-examples": {
- "Get information protection policies": {
- "$ref": "./examples/InformationProtectionPolicies/ListInformationProtectionPolicies_example.json"
- }
- },
- "tags": [
- "InformationProtectionPolicies"
- ],
- "description": "Information protection policies of a specific management group.",
- "operationId": "InformationProtectionPolicies_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/Scope"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/InformationProtectionPolicyList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- }
- },
- "definitions": {
- "InformationProtectionPolicyList": {
- "type": "object",
- "readOnly": true,
- "description": "Information protection policies response.",
- "properties": {
- "value": {
- "type": "array",
- "description": "List of information protection policies.",
- "items": {
- "$ref": "#/definitions/InformationProtectionPolicy"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "InformationProtectionPolicy": {
- "type": "object",
- "description": "Information protection policy.",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "Information protection policy data",
- "$ref": "#/definitions/InformationProtectionPolicyProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "InformationProtectionPolicyProperties": {
- "type": "object",
- "description": "describes properties of an information protection policy.",
- "properties": {
- "lastModifiedUtc": {
- "type": "string",
- "format": "date-time",
- "readOnly": true,
- "description": "Describes the last UTC time the policy was modified."
- },
- "version": {
- "type": "string",
- "readOnly": true,
- "description": "Describes the version of the policy."
- },
- "labels": {
- "type": "object",
- "description": "Dictionary of sensitivity labels.",
- "additionalProperties": {
- "type": "object",
- "$ref": "#/definitions/SensitivityLabel"
- }
- },
- "informationTypes": {
- "type": "object",
- "description": "The sensitivity information types.",
- "additionalProperties": {
- "type": "object",
- "$ref": "#/definitions/InformationType"
- }
- }
- }
- },
- "SensitivityLabel": {
- "type": "object",
- "description": "The sensitivity label.",
- "properties": {
- "displayName": {
- "type": "string",
- "description": "The name of the sensitivity label."
- },
- "description": {
- "type": "string",
- "description": "The description of the sensitivity label."
- },
- "rank": {
- "type": "string",
- "description": "The rank of the sensitivity label.",
- "enum": [
- "None",
- "Low",
- "Medium",
- "High",
- "Critical"
- ],
- "x-ms-enum": {
- "name": "rank",
- "modelAsString": false
- }
- },
- "order": {
- "format": "int32",
- "description": "The order of the sensitivity label.",
- "type": "integer"
- },
- "enabled": {
- "type": "boolean",
- "description": "Indicates whether the label is enabled or not."
- }
- }
- },
- "InformationType": {
- "type": "object",
- "description": "The information type.",
- "properties": {
- "displayName": {
- "type": "string",
- "description": "The name of the information type."
- },
- "description": {
- "type": "string",
- "description": "The description of the information type."
- },
- "order": {
- "format": "int32",
- "description": "The order of the information type.",
- "type": "integer"
- },
- "recommendedLabelId": {
- "type": "string",
- "format": "uuid",
- "description": "The recommended label id to be associated with this information type."
- },
- "enabled": {
- "type": "boolean",
- "description": "Indicates whether the information type is enabled or not."
- },
- "custom": {
- "type": "boolean",
- "description": "Indicates whether the information type is custom or not."
- },
- "keywords": {
- "type": "array",
- "description": "The information type keywords.",
- "items": {
- "$ref": "#/definitions/InformationProtectionKeyword"
- }
- }
- }
- },
- "InformationProtectionKeyword": {
- "type": "object",
- "description": "The information type keyword.",
- "properties": {
- "pattern": {
- "type": "string",
- "description": "The keyword pattern."
- },
- "custom": {
- "type": "boolean",
- "description": "Indicates whether the keyword is custom or not."
- },
- "canBeNumeric": {
- "type": "boolean",
- "description": "Indicates whether the keyword can be applied on numeric types or not."
- },
- "excluded": {
- "type": "boolean",
- "description": "Indicates whether the keyword is excluded or not."
- }
- }
- }
- },
- "parameters": {
- "InformationProtectionPolicyName": {
- "name": "informationProtectionPolicyName",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "effective",
- "custom"
- ],
- "x-ms-enum": {
- "name": "InformationProtectionPolicyName",
- "modelAsString": true
- },
- "description": "Name of the information protection policy.",
- "x-ms-parameter-location": "method"
- },
- "InformationProtectionPolicy": {
- "name": "informationProtectionPolicy",
- "in": "body",
- "required": true,
- "description": "Information protection policy.",
- "schema": {
- "$ref": "#/definitions/InformationProtectionPolicy"
- },
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutionAnalytics.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutionAnalytics.json
deleted file mode 100644
index 54e224ea4..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutionAnalytics.json
+++ /dev/null
@@ -1,916 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Security Center",
- "description": "API spec for Microsoft.Security (Azure Security Center) resource provider",
- "version": "2017-08-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels": {
- "get": {
- "x-ms-examples": {
- "Get Security Solutions Analytics": {
- "$ref": "./examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAnalyticsList_example.json"
- }
- },
- "tags": [
- "IoT Security Solutions Analytics"
- ],
- "description": "Security Analytics of a security solution",
- "operationId": "IoTSecuritySolutionsAnalytics_GetAll",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/SolutionName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IoTSecuritySolutionAnalyticsModelList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default": {
- "get": {
- "x-ms-examples": {
- "Get Security Solutions Analytics": {
- "$ref": "./examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAnalytics_example.json"
- }
- },
- "tags": [
- "IoT Security Solutions Analytics"
- ],
- "description": "Security Analytics of a security solution",
- "operationId": "IoTSecuritySolutionsAnalytics_GetDefault",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/SolutionName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IoTSecuritySolutionAnalyticsModel"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedAlerts": {
- "get": {
- "x-ms-examples": {
- "Get Security Solutions Analytics": {
- "$ref": "./examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlertList_example.json"
- }
- },
- "tags": [
- "IoT Security Solutions Analytics"
- ],
- "description": "Security Analytics of a security solution",
- "operationId": "IoTSecuritySolutionsAnalyticsAggregatedAlerts_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/SolutionName"
- },
- {
- "name": "$top",
- "in": "query",
- "description": "The number of results to retrieve.",
- "required": false,
- "type": "integer"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IoTSecurityAggregatedAlertList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedAlerts/{aggregatedAlertName}": {
- "get": {
- "x-ms-examples": {
- "Get Security Solutions Analytics": {
- "$ref": "./examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlert_example.json"
- }
- },
- "tags": [
- "IoT Security Solutions Analytics"
- ],
- "description": "Security Analytics of a security solution",
- "operationId": "IoTSecuritySolutionsAnalyticsAggregatedAlert_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/SolutionName"
- },
- {
- "$ref": "#/parameters/AggregatedAlertName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IoTSecurityAggregatedAlert"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedAlerts/{aggregatedAlertName}/dismiss": {
- "post": {
- "x-ms-examples": {
- "Get Security Solutions Analytics": {
- "$ref": "./examples/IoTSecuritySolutionsAnalytics/PostIoTSecuritySolutionsSecurityAggregatedAlertDismiss_example.json"
- }
- },
- "tags": [
- "IoT Security Solutions Analytics"
- ],
- "description": "Security Analytics of a security solution",
- "operationId": "IoTSecuritySolutionsAnalyticsAggregatedAlert_Dismiss",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/SolutionName"
- },
- {
- "$ref": "#/parameters/AggregatedAlertName"
- }
- ],
- "responses": {
- "200": {
- "description": "Dismissed"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedRecommendations/{aggregatedRecommendationName}": {
- "get": {
- "x-ms-examples": {
- "Get Security Solutions Analytics": {
- "$ref": "./examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendation_example.json"
- }
- },
- "tags": [
- "IoT Security Solutions Analytics"
- ],
- "description": "Security Analytics of a security solution",
- "operationId": "IoTSecuritySolutionsAnalyticsRecommendation_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/SolutionName"
- },
- {
- "$ref": "#/parameters/AggregatedRecommendationName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IoTSecurityAggregatedRecommendation"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedRecommendations": {
- "get": {
- "x-ms-examples": {
- "Get Security Solutions Analytics": {
- "$ref": "./examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendationList_example.json"
- }
- },
- "tags": [
- "IoT Security Solutions Analytics"
- ],
- "description": "Security Analytics of a security solution",
- "operationId": "IoTSecuritySolutionsAnalyticsRecommendations_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/SolutionName"
- },
- {
- "name": "$top",
- "in": "query",
- "description": "The number of results to retrieve.",
- "required": false,
- "type": "integer"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IoTSecurityAggregatedRecommendationList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- }
- },
- "definitions": {
- "IoTSeverityMetrics": {
- "type": "object",
- "description": "Severity metrics",
- "properties": {
- "high": {
- "type": "integer",
- "description": "count of high severity items"
- },
- "medium": {
- "type": "integer",
- "description": "count of medium severity items"
- },
- "low": {
- "type": "integer",
- "description": "count of low severity items"
- }
- }
- },
- "IoTSecuritySolutionAnalyticsModel": {
- "type": "object",
- "description": "Security Analytics of a security solution",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "Security Solution Aggregated Alert data",
- "$ref": "#/definitions/IoTSecuritySolutionAnalyticsModelProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "IoTSecuritySolutionAnalyticsModelProperties": {
- "description": "Security Analytics of a security solution properties",
- "properties": {
- "metrics": {
- "type": "object",
- "$ref": "#/definitions/IoTSeverityMetrics",
- "description": "Security Analytics of a security solution",
- "readOnly": true
- },
- "unhealthyDeviceCount": {
- "type": "integer",
- "readOnly": true,
- "description": "number of unhealthy devices"
- },
- "devicesMetrics": {
- "description": "The list of devices metrics by the aggregated date.",
- "type": "array",
- "readOnly": true,
- "items": {
- "properties": {
- "date": {
- "type": "string",
- "format": "date-time",
- "description": "the date of the metrics"
- },
- "devicesMetrics": {
- "type": "object",
- "$ref": "#/definitions/IoTSeverityMetrics",
- "description": "devices alerts count by severity."
- }
- }
- }
- },
- "topAlertedDevices": {
- "description": "The list of top 3 devices with the most attacked.",
- "type": "object",
- "$ref": "#/definitions/IoTSecurityAlertedDevicesList"
- },
- "mostPrevalentDeviceAlerts": {
- "description": "The list of most prevalent 3 alerts.",
- "type": "object",
- "$ref": "#/definitions/IoTSecurityDeviceAlertsList"
- },
- "mostPrevalentDeviceRecommendations": {
- "description": "The list of most prevalent 3 recommendations.",
- "type": "object",
- "$ref": "#/definitions/IoTSecurityDeviceRecommendationsList"
- }
- }
- },
- "IoTSecuritySolutionAnalyticsModelList": {
- "description": "List of Security Analytics of a security solution",
- "required": [
- "value"
- ],
- "properties": {
- "value": {
- "type": "array",
- "description": "List of Security Analytics of a security solution",
- "items": {
- "$ref": "#/definitions/IoTSecuritySolutionAnalyticsModel"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "IoTSecurityAggregatedAlertList": {
- "description": "List of IoT aggregated security alerts",
- "required": [
- "value"
- ],
- "properties": {
- "value": {
- "type": "array",
- "description": "List of aggregated alerts data",
- "items": {
- "$ref": "#/definitions/IoTSecurityAggregatedAlert"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "IoTSecurityAggregatedRecommendationList": {
- "description": "List of IoT aggregated security recommendations",
- "required": [
- "value"
- ],
- "properties": {
- "value": {
- "type": "array",
- "description": "List of aggregated alerts data",
- "items": {
- "$ref": "#/definitions/IoTSecurityAggregatedRecommendation"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "IoTSecurityAlertedDevicesList": {
- "description": "List of devices with the count of raised alerts",
- "required": [
- "value"
- ],
- "properties": {
- "value": {
- "type": "array",
- "description": "List of aggregated alerts data",
- "items": {
- "$ref": "#/definitions/IoTSecurityAlertedDevice"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "IoTSecurityDeviceAlertsList": {
- "description": "List of alerts with the count of raised alerts",
- "required": [
- "value"
- ],
- "properties": {
- "value": {
- "type": "array",
- "description": "List of top alerts data",
- "items": {
- "$ref": "#/definitions/IoTSecurityDeviceAlert"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "IoTSecurityDeviceRecommendationsList": {
- "description": "List of recommendations with the count of devices",
- "required": [
- "value"
- ],
- "properties": {
- "value": {
- "type": "array",
- "description": "List of aggregated recommendation data",
- "items": {
- "$ref": "#/definitions/IoTSecurityDeviceRecommendation"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "IoTSecurityAggregatedAlert": {
- "type": "object",
- "description": "Security Solution Aggregated Alert information",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "Security Solution Aggregated Alert data",
- "$ref": "#/definitions/IoTSecurityAggregatedAlertProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- },
- {
- "$ref": "#/definitions/TagsResource"
- }
- ]
- },
- "IoTSecurityAggregatedAlertProperties": {
- "type": "object",
- "description": "Security Solution Aggregated Alert data",
- "properties": {
- "alertType": {
- "readOnly": true,
- "type": "string",
- "description": "Name of the alert type"
- },
- "alertDisplayName": {
- "readOnly": true,
- "type": "string",
- "description": "Display name of the alert type"
- },
- "aggregatedDateUtc": {
- "readOnly": true,
- "type": "string",
- "format": "date",
- "description": "The date the incidents were detected by the vendor"
- },
- "vendorName": {
- "readOnly": true,
- "type": "string",
- "description": "Name of the vendor that discovered the incident"
- },
- "reportedSeverity": {
- "readOnly": true,
- "type": "string",
- "enum": [
- "Informational",
- "Low",
- "Medium",
- "High"
- ],
- "x-ms-enum": {
- "name": "reportedSeverity",
- "modelAsString": true,
- "values": [
- {
- "value": "Informational"
- },
- {
- "value": "Low"
- },
- {
- "value": "Medium"
- },
- {
- "value": "High"
- }
- ]
- },
- "description": "Estimated severity of this alert"
- },
- "remediationSteps": {
- "readOnly": true,
- "type": "string",
- "description": "Recommended steps for remediation"
- },
- "description": {
- "readOnly": true,
- "type": "string",
- "description": "Description of the incident and what it means"
- },
- "count": {
- "readOnly": true,
- "type": "integer",
- "description": "Occurrence number of the alert within the aggregated date"
- },
- "effectedResourceType": {
- "readOnly": true,
- "type": "string",
- "description": "Azure resource ID of the resource that got the alerts"
- },
- "systemSource": {
- "readOnly": true,
- "type": "string",
- "description": "The type of the alerted resource (Azure, Non-Azure)"
- },
- "actionTaken": {
- "readOnly": true,
- "type": "string",
- "description": "The action that was taken as a response to the alert (Active, Blocked etc.)"
- },
- "logAnalyticsQuery": {
- "readOnly": true,
- "type": "string",
- "description": "query in log analytics to get the list of affected devices/alerts"
- }
- }
- },
- "IoTSecurityAggregatedRecommendation": {
- "type": "object",
- "description": "Security Solution Recommendation Information",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "Security Solution data",
- "$ref": "#/definitions/IoTSecurityAggregatedRecommendationProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- },
- {
- "$ref": "#/definitions/TagsResource"
- }
- ]
- },
- "IoTSecurityAggregatedRecommendationProperties": {
- "type": "object",
- "description": "Security Solution Recommendation Information",
- "properties": {
- "recommendationName": {
- "type": "string",
- "description": "Name of the recommendation"
- },
- "recommendationDisplayName": {
- "readOnly": true,
- "type": "string",
- "description": "Display name of the recommendation type."
- },
- "description": {
- "readOnly": true,
- "type": "string",
- "description": "Description of the incident and what it means"
- },
- "recommendationTypeId": {
- "description": "The recommendation-type GUID.",
- "type": "string",
- "readOnly": true
- },
- "detectedBy": {
- "readOnly": true,
- "type": "string",
- "description": "Name of the vendor that discovered the issue"
- },
- "remediationSteps": {
- "readOnly": true,
- "type": "string",
- "description": "Recommended steps for remediation"
- },
- "reportedSeverity": {
- "readOnly": true,
- "type": "string",
- "enum": [
- "Informational",
- "Low",
- "Medium",
- "High"
- ],
- "x-ms-enum": {
- "name": "reportedSeverity",
- "modelAsString": true,
- "values": [
- {
- "value": "Informational"
- },
- {
- "value": "Low"
- },
- {
- "value": "Medium"
- },
- {
- "value": "High"
- }
- ]
- },
- "description": "Estimated severity of this recommendation"
- },
- "healthyDevices": {
- "readOnly": true,
- "type": "integer",
- "description": "the number of the healthy devices within the solution"
- },
- "unhealthyDeviceCount": {
- "readOnly": true,
- "type": "integer",
- "description": "the number of the unhealthy devices within the solution"
- },
- "logAnalyticsQuery": {
- "readOnly": true,
- "type": "string",
- "description": "query in log analytics to get the list of affected devices/alerts"
- }
- }
- },
- "IoTSecurityAlertedDevice": {
- "type": "object",
- "description": "Statistic information about the number of alerts per device during the last period",
- "properties": {
- "deviceId": {
- "readOnly": true,
- "type": "string",
- "description": "Name of the alert type"
- },
- "alertsCount": {
- "readOnly": true,
- "type": "integer",
- "description": "the number of alerts raised for this device"
- }
- }
- },
- "IoTSecurityDeviceAlert": {
- "type": "object",
- "description": "Statistic information about the number of alerts per alert type during the last period",
- "properties": {
- "alertDisplayName": {
- "readOnly": true,
- "type": "string",
- "description": "Display name of the alert"
- },
- "reportedSeverity": {
- "readOnly": true,
- "type": "string",
- "enum": [
- "Informational",
- "Low",
- "Medium",
- "High"
- ],
- "x-ms-enum": {
- "name": "reportedSeverity",
- "modelAsString": true,
- "values": [
- {
- "value": "Informational"
- },
- {
- "value": "Low"
- },
- {
- "value": "Medium"
- },
- {
- "value": "High"
- }
- ]
- },
- "description": "Estimated severity of this alert"
- },
- "alertsCount": {
- "readOnly": true,
- "type": "integer",
- "description": "the number of alerts raised for this alert type"
- }
- }
- },
- "IoTSecurityDeviceRecommendation": {
- "type": "object",
- "description": "Statistic information about the number of recommendations per recommendation type",
- "properties": {
- "recommendationDisplayName": {
- "readOnly": true,
- "type": "string",
- "description": "Display name of the recommendation"
- },
- "reportedSeverity": {
- "readOnly": true,
- "type": "string",
- "enum": [
- "Informational",
- "Low",
- "Medium",
- "High"
- ],
- "x-ms-enum": {
- "name": "reportedSeverity",
- "modelAsString": true,
- "values": [
- {
- "value": "Informational"
- },
- {
- "value": "Low"
- },
- {
- "value": "Medium"
- },
- {
- "value": "High"
- }
- ]
- },
- "description": "Estimated severity of this recommendation"
- },
- "devicesCount": {
- "readOnly": true,
- "type": "integer",
- "description": "the number of device with this recommendation"
- }
- }
- },
- "TagsResource": {
- "properties": {
- "tags": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags"
- }
- },
- "description": "A container holding only the Tags for a resource, allowing the user to update the tags."
- }
- },
- "parameters": {
- "SolutionName": {
- "name": "solutionName",
- "in": "path",
- "required": true,
- "description": "The solution manager name",
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "AggregatedAlertName": {
- "name": "aggregatedAlertName",
- "in": "path",
- "required": true,
- "description": "Identifier of the aggregated alert",
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "AggregatedRecommendationName": {
- "name": "aggregatedRecommendationName",
- "in": "path",
- "required": true,
- "description": "Identifier of the aggregated recommendation",
- "type": "string",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json
deleted file mode 100644
index 0e1a2d2e6..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json
+++ /dev/null
@@ -1,659 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Security Center",
- "description": "API spec for Microsoft.Security (Azure Security Center) resource provider",
- "version": "2017-08-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/iotSecuritySolutions": {
- "get": {
- "x-ms-examples": {
- "Get Security Solutions list": {
- "$ref": "./examples/IoTSecuritySolutions/GetIoTSecuritySolutionsList_example.json"
- },
- "Get Security Solutions list By IotHub": {
- "$ref": "./examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHub_example.json"
- }
- },
- "tags": [
- "IoT Security Solutions"
- ],
- "description": "List of security solutions",
- "operationId": "IoTSecuritySolutions_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/FilterParam"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IoTSecuritySolutionsList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions": {
- "get": {
- "x-ms-examples": {
- "Get Security Solutions list": {
- "$ref": "./examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByRg_example.json"
- },
- "Get Security Solutions list By IotHub": {
- "$ref": "./examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHubAndRg_example.json"
- }
- },
- "tags": [
- "IoT Security Solutions"
- ],
- "description": "List of security solutions",
- "operationId": "IoTSecuritySolutionsResourceGroup_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/FilterParam"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IoTSecuritySolutionsList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}": {
- "get": {
- "x-ms-examples": {
- "Get an iot security solution": {
- "$ref": "./examples/IoTSecuritySolutions/GetIoTSecuritySolution_example.json"
- }
- },
- "tags": [
- "IoT Security Solutions"
- ],
- "description": "Details of a specific iot security solution",
- "operationId": "IotSecuritySolution_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/SolutionName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IoTSecuritySolutionModel"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Create an iot security solution": {
- "$ref": "./examples/IoTSecuritySolutions/CreateIoTSecuritySolution_example.json"
- }
- },
- "tags": [
- "IoT Security Solutions"
- ],
- "description": "Create new solution manager",
- "operationId": "IotSecuritySolution_Create",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/SolutionName"
- },
- {
- "$ref": "#/parameters/IotSecuritySolutionData"
- }
- ],
- "responses": {
- "200": {
- "description": "Updated",
- "schema": {
- "$ref": "#/definitions/IoTSecuritySolutionModel"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/IoTSecuritySolutionModel"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "patch": {
- "x-ms-examples": {
- "Update an iot security solution": {
- "$ref": "./examples/IoTSecuritySolutions/UpdateIoTSecuritySolution_example.json"
- }
- },
- "tags": [
- "IoT Security Solutions"
- ],
- "description": "update existing Security Solution tags or user defined resources. To update other fields use the CreateOrUpdate method",
- "operationId": "IotSecuritySolution_Update",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/SolutionName"
- },
- {
- "$ref": "#/parameters/UpdateIotSecuritySolution"
- }
- ],
- "responses": {
- "200": {
- "description": "Updated",
- "schema": {
- "$ref": "#/definitions/IoTSecuritySolutionModel"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "delete": {
- "x-ms-examples": {
- "Create an iot security solution": {
- "$ref": "./examples/IoTSecuritySolutions/DeleteIoTSecuritySolution_example.json"
- }
- },
- "tags": [
- "IoT Security Solutions"
- ],
- "description": "Create new solution manager",
- "operationId": "IotSecuritySolution_Delete",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/SolutionName"
- }
- ],
- "responses": {
- "200": {
- "description": "Security Solution deleted"
- },
- "204": {
- "description": "Security Solution was not exists"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "TagsResource": {
- "properties": {
- "tags": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags"
- }
- },
- "description": "A container holding only the Tags for a resource, allowing the user to update the tags."
- },
- "IoTSecuritySolutionsList": {
- "description": "List of iot solutions",
- "required": [
- "value"
- ],
- "properties": {
- "value": {
- "type": "array",
- "description": "List of security solutions",
- "items": {
- "$ref": "#/definitions/IoTSecuritySolutionModel"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "IoTSecuritySolutionModel": {
- "type": "object",
- "description": "Security Solution",
- "properties": {
- "location": {
- "type": "string",
- "description": "The resource location."
- },
- "properties": {
- "x-ms-client-flatten": true,
- "description": "Security Solution data",
- "$ref": "#/definitions/IoTSecuritySolutionProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- },
- {
- "$ref": "#/definitions/TagsResource"
- }
- ]
- },
- "IoTSecuritySolutionProperties": {
- "type": "object",
- "description": "Security Solution setting data",
- "properties": {
- "workspace": {
- "type": "string",
- "description": "Workspace resource ID"
- },
- "displayName": {
- "type": "string",
- "description": "Resource display name."
- },
- "status": {
- "type": "string",
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "default": "Enabled",
- "description": "Security solution status",
- "x-ms-enum": {
- "name": "SecuritySolutionStatus",
- "modelAsString": true
- }
- },
- "export": {
- "type": "array",
- "items": {
- "enum": [
- "RawEvents"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "ExportData",
- "modelAsString": true,
- "values": [
- {
- "value": "RawEvents",
- "description": "Agent raw events"
- }
- ]
- }
- },
- "description": "List of additional export to workspace data options"
- },
- "disabledDataSources": {
- "type": "array",
- "items": {
- "enum": [
- "TwinData"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "DataSource",
- "modelAsString": true,
- "values": [
- {
- "value": "TwinData",
- "description": "Devices twin data"
- }
- ]
- }
- },
- "description": "Disabled data sources. Disabling these data sources compromises the system."
- },
- "iotHubs": {
- "type": "array",
- "description": "IoT Hub resource IDs",
- "items": {
- "type": "string"
- }
- },
- "userDefinedResources": {
- "$ref": "#/definitions/UserDefinedResourcesProperties"
- },
- "autoDiscoveredResources": {
- "type": "array",
- "description": "List of resources that were automatically discovered as relevant to the security solution.",
- "items": {
- "type": "string"
- },
- "readOnly": true
- },
- "recommendationsConfiguration": {
- "$ref": "#/definitions/RecommendationConfigurationList"
- }
- },
- "required": [
- "iotHubs",
- "workspace",
- "displayName"
- ]
- },
- "UserDefinedResourcesProperties": {
- "type": "object",
- "description": "Properties of the solution's user defined resources.",
- "properties": {
- "query": {
- "type": "string",
- "x-nullable": true,
- "description": "Azure Resource Graph query which represents the security solution's user defined resources. Required to start with \"where type != \"Microsoft.Devices/IotHubs\"\""
- },
- "querySubscriptions": {
- "type": "array",
- "x-nullable": true,
- "description": "List of Azure subscription ids on which the user defined resources query should be executed.",
- "items": {
- "type": "string",
- "pattern": "^[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}$"
- }
- }
- },
- "required": [
- "query",
- "querySubscriptions"
- ]
- },
- "RecommendationConfigurationProperties": {
- "type": "object",
- "description": "Recommendation configuration",
- "properties": {
- "recommendationType": {
- "type": "string",
- "description": "The recommendation type.",
- "enum": [
- "IoT_ACRAuthentication",
- "IoT_AgentSendsUnutilizedMessages",
- "IoT_Baseline",
- "IoT_EdgeHubMemOptimize",
- "IoT_EdgeLoggingOptions",
- "IoT_InconsistentModuleSettings",
- "IoT_InstallAgent",
- "IoT_IPFilter_DenyAll",
- "IoT_IPFilter_PermissiveRule",
- "IoT_OpenPorts",
- "IoT_PermissiveFirewallPolicy",
- "IoT_PermissiveInputFirewallRules",
- "IoT_PermissiveOutputFirewallRules",
- "IoT_PrivilegedDockerOptions",
- "IoT_SharedCredentials",
- "IoT_VulnerableTLSCipherSuite"
- ],
- "x-ms-enum": {
- "name": "RecommendationType",
- "modelAsString": true,
- "values": [
- {
- "value": "IoT_ACRAuthentication",
- "description": "Authentication schema used for pull an edge module from an ACR repository does not use Service Principal Authentication."
- },
- {
- "value": "IoT_AgentSendsUnutilizedMessages",
- "description": "IoT agent message size capacity is currently underutilized, causing an increase in the number of sent messages. Adjust message intervals for better utilization."
- },
- {
- "value": "IoT_Baseline",
- "description": "Identified security related system configuration issues."
- },
- {
- "value": "IoT_EdgeHubMemOptimize",
- "description": "You can optimize Edge Hub memory usage by turning off protocol heads for any protocols not used by Edge modules in your solution."
- },
- {
- "value": "IoT_EdgeLoggingOptions",
- "description": "Logging is disabled for this edge module."
- },
- {
- "value": "IoT_InconsistentModuleSettings",
- "description": "A minority within a device security group has inconsistent Edge Module settings with the rest of their group."
- },
- {
- "value": "IoT_InstallAgent",
- "description": "Install the Azure Security of Things Agent."
- },
- {
- "value": "IoT_IPFilter_DenyAll",
- "description": "IP Filter Configuration should have rules defined for allowed traffic and should deny all other traffic by default."
- },
- {
- "value": "IoT_IPFilter_PermissiveRule",
- "description": "An Allow IP Filter rules source IP range is too large. Overly permissive rules might expose your IoT hub to malicious intenders."
- },
- {
- "value": "IoT_OpenPorts",
- "description": "A listening endpoint was found on the device."
- },
- {
- "value": "IoT_PermissiveFirewallPolicy",
- "description": "An Allowed firewall policy was found (INPUT/OUTPUT). The policy should Deny all traffic by default and define rules to allow necessary communication to/from the device."
- },
- {
- "value": "IoT_PermissiveInputFirewallRules",
- "description": "A rule in the firewall has been found that contains a permissive pattern for a wide range of IP addresses or Ports."
- },
- {
- "value": "IoT_PermissiveOutputFirewallRules",
- "description": "A rule in the firewall has been found that contains a permissive pattern for a wide range of IP addresses or Ports."
- },
- {
- "value": "IoT_PrivilegedDockerOptions",
- "description": "Edge module is configured to run in privileged mode, with extensive Linux capabilities or with host-level network access (send/receive data to host machine)."
- },
- {
- "value": "IoT_SharedCredentials",
- "description": "Same authentication credentials to the IoT Hub used by multiple devices. This could indicate an illegitimate device impersonating a legitimate device. It also exposes the risk of device impersonation by an attacker."
- },
- {
- "value": "IoT_VulnerableTLSCipherSuite",
- "description": "Insecure TLS configurations detected. Immediate upgrade recommended."
- }
- ]
- }
- },
- "name": {
- "type": "string",
- "readOnly": true
- },
- "status": {
- "type": "string",
- "enum": [
- "Disabled",
- "Enabled"
- ],
- "default": "Enabled",
- "description": "Recommendation status. The recommendation is not generated when the status is disabled",
- "x-ms-enum": {
- "name": "RecommendationConfigStatus",
- "modelAsString": true
- }
- }
- },
- "required": [
- "recommendationType",
- "status"
- ]
- },
- "RecommendationConfigurationList": {
- "type": "array",
- "description": "List of recommendation configuration",
- "items": {
- "$ref": "#/definitions/RecommendationConfigurationProperties"
- }
- },
- "UpdateIotSecuritySolutionData": {
- "type": "object",
- "properties": {
- "userDefinedResources": {
- "$ref": "#/definitions/UserDefinedResourcesProperties"
- },
- "recommendationsConfiguration": {
- "$ref": "#/definitions/RecommendationConfigurationList"
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/TagsResource"
- }
- ]
- }
- },
- "parameters": {
- "SolutionName": {
- "name": "solutionName",
- "in": "path",
- "required": true,
- "description": "The solution manager name",
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "IotSecuritySolutionData": {
- "name": "iotSecuritySolutionData",
- "in": "body",
- "required": true,
- "description": "The security solution data",
- "schema": {
- "$ref": "#/definitions/IoTSecuritySolutionModel"
- },
- "x-ms-parameter-location": "method"
- },
- "FilterParam": {
- "name": "$filter",
- "in": "query",
- "required": false,
- "description": "filter the Security Solution with OData syntax. supporting filter by iotHubs",
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "UpdateIotSecuritySolution": {
- "name": "updateIotSecuritySolutionData",
- "in": "body",
- "required": true,
- "description": "The security solution data",
- "x-ms-parameter-location": "method",
- "schema": {
- "$ref": "#/definitions/UpdateIotSecuritySolutionData"
- }
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/securityContacts.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/securityContacts.json
deleted file mode 100644
index 5c121c998..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/securityContacts.json
+++ /dev/null
@@ -1,363 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2017-08-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/securityContacts": {
- "get": {
- "x-ms-examples": {
- "Update security contact data minimal": {
- "$ref": "./examples/SecurityContacts/GetSecurityContactsSubscription_min_example.json"
- },
- "Update security contact data full": {
- "$ref": "./examples/SecurityContacts/GetSecurityContactsSubscription_full_example.json"
- }
- },
- "tags": [
- "Security Contacts"
- ],
- "description": "Security contact configurations for the subscription",
- "operationId": "SecurityContacts_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityContactList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/securityContacts/{securityContactName}": {
- "get": {
- "x-ms-examples": {
- "Get security contact data minimal": {
- "$ref": "./examples/SecurityContacts/GetSecurityContact_min_example.json"
- },
- "Get security contact data full": {
- "$ref": "./examples/SecurityContacts/GetSecurityContact_full_example.json"
- }
- },
- "tags": [
- "Security Contacts"
- ],
- "description": "Security contact configurations for the subscription",
- "operationId": "SecurityContacts_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/SecurityContactName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityContact"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Create security contact data minimal": {
- "$ref": "./examples/SecurityContacts/CreateSecurityContact_min_example.json"
- },
- "Create security contact data full": {
- "$ref": "./examples/SecurityContacts/CreateSecurityContact_full_example.json"
- }
- },
- "tags": [
- "Security Contacts"
- ],
- "description": "Security contact configurations for the subscription",
- "operationId": "SecurityContacts_Create",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/SecurityContactName"
- },
- {
- "$ref": "#/parameters/SecurityContact"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityContact"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "delete": {
- "x-ms-examples": {
- "Delete security contact data": {
- "$ref": "./examples/SecurityContacts/DeleteSecurityContact_example.json"
- }
- },
- "tags": [
- "Security Contacts"
- ],
- "description": "Security contact configurations for the subscription",
- "operationId": "SecurityContacts_Delete",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/SecurityContactName"
- }
- ],
- "responses": {
- "204": {
- "description": "No Content"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "patch": {
- "x-ms-examples": {
- "Update security contact data minimal": {
- "$ref": "./examples/SecurityContacts/UpdateSecurityContact_min_example.json"
- },
- "Update security contact data full": {
- "$ref": "./examples/SecurityContacts/UpdateSecurityContact_full_example.json"
- }
- },
- "tags": [
- "Security Contacts"
- ],
- "description": "Security contact configurations for the subscription",
- "operationId": "SecurityContacts_Update",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/SecurityContactName"
- },
- {
- "$ref": "#/parameters/SecurityContact"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityContact"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "SecurityContactList": {
- "type": "object",
- "description": "List of security contacts response",
- "properties": {
- "value": {
- "readOnly": true,
- "description": "List of security contacts",
- "type": "array",
- "items": {
- "$ref": "#/definitions/SecurityContact"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "SecurityContact": {
- "type": "object",
- "description": "Contact details for security issues",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "Security contact data",
- "$ref": "#/definitions/SecurityContactProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "SecurityContactProperties": {
- "type": "object",
- "description": "describes security contact properties",
- "properties": {
- "email": {
- "type": "string",
- "format": "email",
- "description": "The email of this security contact"
- },
- "phone": {
- "type": "string",
- "description": "The phone number of this security contact"
- },
- "alertNotifications": {
- "type": "string",
- "enum": [
- "On",
- "Off"
- ],
- "x-ms-enum": {
- "name": "alertNotifications",
- "modelAsString": true,
- "values": [
- {
- "value": "On",
- "description": "Get notifications on new alerts"
- },
- {
- "value": "Off",
- "description": "Don't get notifications on new alerts"
- }
- ]
- },
- "description": "Whether to send security alerts notifications to the security contact"
- },
- "alertsToAdmins": {
- "type": "string",
- "enum": [
- "On",
- "Off"
- ],
- "x-ms-enum": {
- "name": "alertsToAdmins",
- "modelAsString": true,
- "values": [
- {
- "value": "On",
- "description": "Send notification on new alerts to the subscription's admins"
- },
- {
- "value": "Off",
- "description": "Don't send notification on new alerts to the subscription's admins"
- }
- ]
- },
- "description": "Whether to send security alerts notifications to subscription admins"
- }
- },
- "required": [
- "email",
- "alertNotifications",
- "alertsToAdmins"
- ]
- }
- },
- "parameters": {
- "SecurityContactName": {
- "name": "securityContactName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Name of the security contact object",
- "x-ms-parameter-location": "method"
- },
- "SecurityContact": {
- "name": "securityContact",
- "in": "body",
- "required": true,
- "description": "Security contact object",
- "schema": {
- "$ref": "#/definitions/SecurityContact"
- },
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/settings.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/settings.json
deleted file mode 100644
index 7417cbd2f..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/settings.json
+++ /dev/null
@@ -1,265 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2017-08-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/settings": {
- "get": {
- "x-ms-examples": {
- "Get settings of subscription": {
- "$ref": "./examples/Settings/GetSettings_example.json"
- }
- },
- "tags": [
- "Settings"
- ],
- "description": "Settings about different configurations in Microsoft Defender for Cloud",
- "operationId": "Settings_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SettingsList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/settings/{settingName}": {
- "get": {
- "x-ms-examples": {
- "Get a setting on subscription": {
- "$ref": "./examples/Settings/GetSetting_example.json"
- }
- },
- "tags": [
- "Settings"
- ],
- "description": "Settings of different configurations in Microsoft Defender for Cloud",
- "operationId": "Settings_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/SettingName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Setting"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Update a setting for subscription": {
- "$ref": "./examples/Settings/UpdateSetting_example.json"
- }
- },
- "tags": [
- "Settings"
- ],
- "description": "updating settings about different configurations in Microsoft Defender for Cloud",
- "operationId": "Settings_Update",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/SettingName"
- },
- {
- "$ref": "#/parameters/Setting"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Setting"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "SettingsList": {
- "type": "object",
- "description": "Subscription settings list.",
- "properties": {
- "value": {
- "type": "array",
- "description": "The settings list.",
- "items": {
- "$ref": "#/definitions/Setting"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "DataExportSetting": {
- "type": "object",
- "description": "Represents a data export setting",
- "x-ms-discriminator-value": "DataExportSetting",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "Data export setting data",
- "$ref": "#/definitions/DataExportSettingProperties"
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/Setting"
- }
- ]
- },
- "Setting": {
- "type": "object",
- "description": "The kind of the security setting",
- "properties": {
- "kind": {
- "type": "string",
- "description": "the kind of the settings string (DataExportSetting)",
- "enum": [
- "DataExportSetting",
- "AlertSuppressionSetting"
- ],
- "x-ms-enum": {
- "name": "SettingKind",
- "modelAsString": true,
- "values": [
- {
- "value": "DataExportSetting"
- },
- {
- "value": "AlertSuppressionSetting"
- }
- ]
- }
- }
- },
- "discriminator": "kind",
- "required": [
- "kind"
- ],
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "DataExportSettingProperties": {
- "type": "object",
- "description": "The data export setting properties",
- "properties": {
- "enabled": {
- "type": "boolean",
- "description": "Is the data export setting is enabled"
- }
- },
- "required": [
- "enabled"
- ]
- }
- },
- "parameters": {
- "SettingName": {
- "name": "settingName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Name of setting: (MCAS/WDATP)",
- "enum": [
- "MCAS",
- "WDATP"
- ],
- "x-ms-parameter-location": "method"
- },
- "Setting": {
- "name": "setting",
- "in": "body",
- "required": true,
- "description": "Setting object",
- "schema": {
- "$ref": "#/definitions/Setting"
- },
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/workspaceSettings.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/workspaceSettings.json
deleted file mode 100644
index c1e9d23c8..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/workspaceSettings.json
+++ /dev/null
@@ -1,306 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Security Center",
- "description": "API spec for Microsoft.Security (Azure Security Center) resource provider",
- "version": "2017-08-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/workspaceSettings": {
- "get": {
- "x-ms-examples": {
- "Get workspace settings on subscription": {
- "$ref": "./examples/WorkspaceSettings/GetWorkspaceSettings_example.json"
- }
- },
- "tags": [
- "Workspace Settings"
- ],
- "description": "Settings about where we should store your security data and logs. If the result is empty, it means that no custom-workspace configuration was set",
- "operationId": "WorkspaceSettings_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/WorkspaceSettingList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/workspaceSettings/{workspaceSettingName}": {
- "get": {
- "x-ms-examples": {
- "Get a workspace setting on subscription": {
- "$ref": "./examples/WorkspaceSettings/GetWorkspaceSetting_example.json"
- }
- },
- "tags": [
- "Workspace Settings"
- ],
- "description": "Settings about where we should store your security data and logs. If the result is empty, it means that no custom-workspace configuration was set",
- "operationId": "WorkspaceSettings_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/WorkspaceSettingName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/WorkspaceSetting"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Create a workspace setting data for subscription": {
- "$ref": "./examples/WorkspaceSettings/CreateWorkspaceSetting_example.json"
- }
- },
- "tags": [
- "Workspace Settings"
- ],
- "description": "creating settings about where we should store your security data and logs",
- "operationId": "WorkspaceSettings_Create",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/WorkspaceSettingName"
- },
- {
- "$ref": "#/parameters/WorkspaceSetting"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/WorkspaceSetting"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "patch": {
- "x-ms-examples": {
- "Update a workspace setting data for subscription": {
- "$ref": "./examples/WorkspaceSettings/UpdateWorkspaceSetting_example.json"
- }
- },
- "tags": [
- "Workspace Settings"
- ],
- "description": "Settings about where we should store your security data and logs",
- "operationId": "WorkspaceSettings_Update",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/WorkspaceSettingName"
- },
- {
- "$ref": "#/parameters/WorkspaceSetting"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/WorkspaceSetting"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "delete": {
- "x-ms-examples": {
- "Delete a workspace setting data for resource group": {
- "$ref": "./examples/WorkspaceSettings/DeleteWorkspaceSetting_example.json"
- }
- },
- "tags": [
- "Workspace Settings"
- ],
- "description": "Deletes the custom workspace settings for this subscription. new VMs will report to the default workspace",
- "operationId": "WorkspaceSettings_Delete",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/WorkspaceSettingName"
- }
- ],
- "responses": {
- "204": {
- "description": "No Content"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "WorkspaceSettingList": {
- "description": "List of workspace settings response",
- "required": [
- "value"
- ],
- "properties": {
- "value": {
- "type": "array",
- "description": "List of workspace settings",
- "items": {
- "$ref": "#/definitions/WorkspaceSetting"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "WorkspaceSetting": {
- "type": "object",
- "description": "Configures where to store the OMS agent data for workspaces under a scope",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "Workspace setting data",
- "$ref": "#/definitions/WorkspaceSettingProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "WorkspaceSettingProperties": {
- "type": "object",
- "description": "Workspace setting data",
- "properties": {
- "workspaceId": {
- "type": "string",
- "description": "The full Azure ID of the workspace to save the data in"
- },
- "scope": {
- "type": "string",
- "description": "All the VMs in this scope will send their security data to the mentioned workspace unless overridden by a setting with more specific scope"
- }
- },
- "required": [
- "workspaceId",
- "scope"
- ]
- }
- },
- "parameters": {
- "WorkspaceSettingName": {
- "name": "workspaceSettingName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Name of the security setting",
- "x-ms-parameter-location": "method"
- },
- "WorkspaceSetting": {
- "name": "workspaceSetting",
- "in": "body",
- "required": true,
- "description": "Security data setting object",
- "schema": {
- "$ref": "#/definitions/WorkspaceSetting"
- },
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/alertsSuppressionRules.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/alertsSuppressionRules.json
deleted file mode 100644
index 8247b2392..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/alertsSuppressionRules.json
+++ /dev/null
@@ -1,337 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Security Center",
- "description": "API spec for Microsoft.Security (Azure Security Center) resource provider",
- "version": "2019-01-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/alertsSuppressionRules": {
- "get": {
- "x-ms-examples": {
- "Get suppression rules for subscription": {
- "$ref": "./examples/AlertsSuppressionRules/GetAlertsSuppressionRules_example.json"
- },
- "Get suppression alert rule for subscription, filtered by AlertType": {
- "$ref": "./examples/AlertsSuppressionRules/GetAlertsSuppressionRulesWithAlertType_example.json"
- }
- },
- "tags": [
- "AlertsSuppressionRules"
- ],
- "description": "List of all the dismiss rules for the given subscription",
- "operationId": "AlertsSuppressionRules_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/AlertType"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AlertsSuppressionRulesList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/alertsSuppressionRules/{alertsSuppressionRuleName}": {
- "get": {
- "x-ms-examples": {
- "Get suppression alert rule for subscription": {
- "$ref": "./examples/AlertsSuppressionRules/GetAlertsSuppressionRule_example.json"
- }
- },
- "tags": [
- "AlertsSuppressionRules"
- ],
- "description": "Get dismiss rule, with name: {alertsSuppressionRuleName}, for the given subscription",
- "operationId": "AlertsSuppressionRules_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/AlertsSuppressionRuleName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AlertsSuppressionRule"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Update or create suppression rule for subscription": {
- "$ref": "./examples/AlertsSuppressionRules/PutAlertsSuppressionRule_example.json"
- }
- },
- "tags": [
- "AlertsSuppressionRules"
- ],
- "description": "Update existing rule or create new rule if it doesn't exist",
- "operationId": "AlertsSuppressionRules_Update",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/AlertsSuppressionRuleName"
- },
- {
- "$ref": "#/parameters/AlertsSuppressionRule"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AlertsSuppressionRule"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "delete": {
- "x-ms-examples": {
- "Delete suppression rule data for a subscription": {
- "$ref": "./examples/AlertsSuppressionRules/DeleteAlertsSuppressionRule_example.json"
- }
- },
- "tags": [
- "AlertsSuppressionRules"
- ],
- "description": "Delete dismiss alert rule for this subscription.",
- "operationId": "AlertsSuppressionRules_Delete",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/AlertsSuppressionRuleName"
- }
- ],
- "responses": {
- "204": {
- "description": "OK, No Content"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "AlertsSuppressionRulesList": {
- "type": "object",
- "description": "Suppression rules list for subscription.",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/AlertsSuppressionRule"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "URI to fetch the next page."
- }
- },
- "required": [
- "value"
- ]
- },
- "AlertsSuppressionRule": {
- "type": "object",
- "description": "Describes the suppression rule",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/AlertsSuppressionRuleProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "AlertsSuppressionRuleProperties": {
- "type": "object",
- "description": "describes AlertsSuppressionRule properties",
- "properties": {
- "alertType": {
- "type": "string",
- "description": "Type of the alert to automatically suppress. For all alert types, use '*'"
- },
- "lastModifiedUtc": {
- "readOnly": true,
- "type": "string",
- "format": "date-time",
- "description": "The last time this rule was modified"
- },
- "expirationDateUtc": {
- "type": "string",
- "format": "date-time",
- "description": "Expiration date of the rule, if value is not provided or provided as null there will no expiration at all"
- },
- "reason": {
- "type": "string",
- "description": "The reason for dismissing the alert"
- },
- "state": {
- "type": "string",
- "description": "Possible states of the rule",
- "x-ms-enum": {
- "name": "RuleState"
- },
- "enum": [
- "Enabled",
- "Disabled",
- "Expired"
- ]
- },
- "comment": {
- "type": "string",
- "description": "Any comment regarding the rule"
- },
- "suppressionAlertsScope": {
- "type": "object",
- "description": "The suppression conditions",
- "$ref": "#/definitions/SuppressionAlertsScope"
- }
- },
- "required": [
- "alertType",
- "reason",
- "state"
- ]
- },
- "ScopeElement": {
- "type": "object",
- "additionalProperties": true,
- "description": "A more specific scope used to identify the alerts to suppress.",
- "properties": {
- "field": {
- "type": "string",
- "description": "The alert entity type to suppress by."
- }
- }
- },
- "SuppressionAlertsScope": {
- "type": "object",
- "properties": {
- "allOf": {
- "type": "array",
- "description": "All the conditions inside need to be true in order to suppress the alert",
- "items": {
- "$ref": "#/definitions/ScopeElement"
- }
- }
- },
- "required": [
- "allOf"
- ]
- }
- },
- "parameters": {
- "AlertType": {
- "name": "AlertType",
- "in": "query",
- "type": "string",
- "description": "Type of the alert to get rules for",
- "x-ms-parameter-location": "method"
- },
- "AlertsSuppressionRule": {
- "name": "alertsSuppressionRule",
- "in": "body",
- "required": true,
- "description": "Suppression rule object",
- "schema": {
- "$ref": "#/definitions/AlertsSuppressionRule"
- },
- "x-ms-parameter-location": "method"
- },
- "AlertsSuppressionRuleName": {
- "name": "alertsSuppressionRuleName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The unique name of the suppression alert rule",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/assessmentMetadata.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/assessmentMetadata.json
deleted file mode 100644
index f4dfcf832..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/assessmentMetadata.json
+++ /dev/null
@@ -1,530 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2019-01-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/providers/Microsoft.Security/assessmentMetadata": {
- "get": {
- "x-ms-examples": {
- "List security assessment metadata": {
- "$ref": "./examples/AssessmentsMetadata/ListAssessmentsMetadata_example.json"
- }
- },
- "tags": [
- "Assessments Metadata"
- ],
- "description": "Get metadata information on all assessment types",
- "operationId": "AssessmentsMetadata_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityAssessmentMetadataList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/providers/Microsoft.Security/assessmentMetadata/{assessmentMetadataName}": {
- "get": {
- "x-ms-examples": {
- "Get security assessment metadata": {
- "$ref": "./examples/AssessmentsMetadata/GetAssessmentsMetadata_example.json"
- }
- },
- "tags": [
- "Assessments Metadata"
- ],
- "description": "Get metadata information on an assessment type",
- "operationId": "AssessmentsMetadata_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "#/parameters/AssessmentsMetadataName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityAssessmentMetadata"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/assessmentMetadata": {
- "get": {
- "x-ms-examples": {
- "List security assessment metadata for subscription": {
- "$ref": "./examples/AssessmentsMetadata/ListAssessmentsMetadata_subscription_example.json"
- }
- },
- "tags": [
- "Assessments Metadata"
- ],
- "description": "Get metadata information on all assessment types in a specific subscription",
- "operationId": "AssessmentsMetadataSubscription_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityAssessmentMetadataList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/assessmentMetadata/{assessmentMetadataName}": {
- "get": {
- "x-ms-examples": {
- "Get security assessment metadata for subscription": {
- "$ref": "./examples/AssessmentsMetadata/GetAssessmentsMetadata_subscription_example.json"
- }
- },
- "tags": [
- "Assessments Metadata"
- ],
- "description": "Get metadata information on an assessment type in a specific subscription",
- "operationId": "AssessmentsMetadataSubscription_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "#/parameters/AssessmentsMetadataName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityAssessmentMetadata"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Create security assessment metadata for subscription": {
- "$ref": "./examples/AssessmentsMetadata/CreateAssessmentsMetadata_subscription_example.json"
- }
- },
- "tags": [
- "Assessments Metadata"
- ],
- "description": "Create metadata information on an assessment type in a specific subscription",
- "operationId": "AssessmentsMetadataSubscription_Create",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "#/parameters/AssessmentsMetadataName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/SecurityAssessmentMetadata"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityAssessmentMetadata"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "delete": {
- "x-ms-examples": {
- "Delete a security assessment metadata for subscription": {
- "$ref": "./examples/AssessmentsMetadata/DeleteAssessmentsMetadata_subscription_example.json"
- }
- },
- "tags": [
- "Assessments Metadata"
- ],
- "description": "Delete metadata information on an assessment type in a specific subscription, will cause the deletion of all the assessments of that type in that subscription",
- "operationId": "AssessmentsMetadataSubscription_Delete",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "#/parameters/AssessmentsMetadataName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "SecurityAssessmentMetadataList": {
- "type": "object",
- "description": "List of security assessment metadata",
- "properties": {
- "value": {
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/SecurityAssessmentMetadata"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "SecurityAssessmentMetadata": {
- "type": "object",
- "description": "Security assessment metadata",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/SecurityAssessmentMetadataProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "SecurityAssessmentMetadataProperties": {
- "type": "object",
- "description": "Describes properties of an assessment metadata.",
- "properties": {
- "displayName": {
- "type": "string",
- "description": "User friendly display name of the assessment"
- },
- "policyDefinitionId": {
- "readOnly": true,
- "type": "string",
- "description": "Azure resource ID of the policy definition that turns this assessment calculation on"
- },
- "description": {
- "type": "string",
- "description": "Human readable description of the assessment"
- },
- "remediationDescription": {
- "type": "string",
- "description": "Human readable description of what you should do to mitigate this security issue"
- },
- "categories": {
- "type": "array",
- "items": {
- "type": "string",
- "description": "The categories of resource that is at risk when the assessment is unhealthy",
- "enum": [
- "Compute",
- "Networking",
- "Data",
- "IdentityAndAccess",
- "IoT"
- ],
- "x-ms-enum": {
- "name": "categories",
- "modelAsString": true,
- "values": [
- {
- "value": "Compute"
- },
- {
- "value": "Networking"
- },
- {
- "value": "Data"
- },
- {
- "value": "IdentityAndAccess"
- },
- {
- "value": "IoT"
- }
- ]
- }
- }
- },
- "severity": {
- "type": "string",
- "description": "The severity level of the assessment",
- "enum": [
- "Low",
- "Medium",
- "High"
- ],
- "x-ms-enum": {
- "name": "severity",
- "modelAsString": true,
- "values": [
- {
- "value": "Low"
- },
- {
- "value": "Medium"
- },
- {
- "value": "High"
- }
- ]
- }
- },
- "userImpact": {
- "type": "string",
- "description": "The user impact of the assessment",
- "enum": [
- "Low",
- "Moderate",
- "High"
- ],
- "x-ms-enum": {
- "name": "userImpact",
- "modelAsString": true,
- "values": [
- {
- "value": "Low"
- },
- {
- "value": "Moderate"
- },
- {
- "value": "High"
- }
- ]
- }
- },
- "implementationEffort": {
- "type": "string",
- "description": "The implementation effort required to remediate this assessment",
- "enum": [
- "Low",
- "Moderate",
- "High"
- ],
- "x-ms-enum": {
- "name": "implementationEffort",
- "modelAsString": true,
- "values": [
- {
- "value": "Low"
- },
- {
- "value": "Moderate"
- },
- {
- "value": "High"
- }
- ]
- }
- },
- "threats": {
- "type": "array",
- "items": {
- "type": "string",
- "description": "Threats impact of the assessment",
- "enum": [
- "accountBreach",
- "dataExfiltration",
- "dataSpillage",
- "maliciousInsider",
- "elevationOfPrivilege",
- "threatResistance",
- "missingCoverage",
- "denialOfService"
- ],
- "x-ms-enum": {
- "name": "threats",
- "modelAsString": true,
- "values": [
- {
- "value": "accountBreach"
- },
- {
- "value": "dataExfiltration"
- },
- {
- "value": "dataSpillage"
- },
- {
- "value": "maliciousInsider"
- },
- {
- "value": "elevationOfPrivilege"
- },
- {
- "value": "threatResistance"
- },
- {
- "value": "missingCoverage"
- },
- {
- "value": "denialOfService"
- }
- ]
- }
- }
- },
- "preview": {
- "type": "boolean",
- "description": "True if this assessment is in preview release status"
- },
- "assessmentType": {
- "type": "string",
- "description": "BuiltIn if the assessment based on built-in Azure Policy definition, Custom if the assessment based on custom Azure Policy definition",
- "enum": [
- "BuiltIn",
- "CustomPolicy",
- "CustomerManaged"
- ],
- "x-ms-enum": {
- "name": "assessmentType",
- "modelAsString": true,
- "values": [
- {
- "value": "BuiltIn",
- "description": "Microsoft Defender for Cloud managed assessments"
- },
- {
- "value": "CustomPolicy",
- "description": "User defined policies that are automatically ingested from Azure Policy to Microsoft Defender for Cloud"
- },
- {
- "value": "CustomerManaged",
- "description": "User assessments pushed directly by the user or other third party to Microsoft Defender for Cloud"
- }
- ]
- }
- }
- },
- "required": [
- "displayName",
- "severity",
- "assessmentType"
- ]
- }
- },
- "parameters": {
- "AssessmentsMetadataName": {
- "name": "assessmentMetadataName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The Assessment Key - Unique key for the assessment type",
- "x-ms-parameter-location": "method"
- },
- "SecurityAssessmentMetadata": {
- "name": "assessmentMetadata",
- "in": "body",
- "required": true,
- "description": "AssessmentMetadata object",
- "schema": {
- "$ref": "#/definitions/SecurityAssessmentMetadata"
- },
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/assessments.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/assessments.json
deleted file mode 100644
index 6d7298eb0..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/assessments.json
+++ /dev/null
@@ -1,374 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2019-01-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/{scope}/providers/Microsoft.Security/assessments": {
- "get": {
- "x-ms-examples": {
- "List security assessments": {
- "$ref": "./examples/Assessments/ListAssessments_example.json"
- }
- },
- "tags": [
- "Assessments"
- ],
- "description": "Get security assessments on all your scanned resources inside a scope",
- "operationId": "Assessments_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/Scope"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityAssessmentList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/{resourceId}/providers/Microsoft.Security/assessments/{assessmentName}": {
- "get": {
- "x-ms-examples": {
- "Get security recommendation task from security data location": {
- "$ref": "./examples/Assessments/GetAssessment_example.json"
- },
- "Get security recommendation task from security data location with expand parameter": {
- "$ref": "./examples/Assessments/GetAssessmentWithExpand_example.json"
- }
- },
- "tags": [
- "Assessments"
- ],
- "description": "Get a security assessment on your scanned resource",
- "operationId": "Assessments_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceId"
- },
- {
- "$ref": "#/parameters/AssessmentName"
- },
- {
- "$ref": "#/parameters/ExpandAssessments"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityAssessment"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Create security recommendation task on a resource": {
- "$ref": "./examples/Assessments/PutAssessment_example.json"
- }
- },
- "tags": [
- "Assessments"
- ],
- "description": "Create a security assessment on your resource. An assessment metadata that describes this assessment must be predefined with the same name before inserting the assessment result",
- "operationId": "Assessments_CreateOrUpdate",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceId"
- },
- {
- "$ref": "#/parameters/AssessmentName"
- },
- {
- "$ref": "#/parameters/AssessmentBody"
- }
- ],
- "responses": {
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/SecurityAssessment"
- }
- },
- "200": {
- "description": "OK - Updated",
- "schema": {
- "$ref": "#/definitions/SecurityAssessment"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "delete": {
- "x-ms-examples": {
- "Delete a security recommendation task on a resource": {
- "$ref": "./examples/Assessments/DeleteAssessment_example.json"
- }
- },
- "tags": [
- "Assessments"
- ],
- "description": "Delete a security assessment on your resource. An assessment metadata that describes this assessment must be predefined with the same name before inserting the assessment result",
- "operationId": "Assessments_Delete",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceId"
- },
- {
- "$ref": "#/parameters/AssessmentName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK - Assessment was deleted"
- },
- "204": {
- "description": "No Content - Assessment does not exist"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "SecurityAssessmentList": {
- "type": "object",
- "description": "Page of a security assessments list",
- "properties": {
- "value": {
- "description": "Collection of security assessments in this page",
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/SecurityAssessment"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "SecurityAssessment": {
- "type": "object",
- "description": "Security assessment on a resource",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/SecurityAssessmentProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "SecurityAssessmentProperties": {
- "type": "object",
- "description": "Describes properties of an assessment.",
- "properties": {
- "resourceDetails": {
- "$ref": "../../../common/v1/types.json#/definitions/ResourceDetails"
- },
- "displayName": {
- "readOnly": true,
- "type": "string",
- "description": "User friendly display name of the assessment"
- },
- "status": {
- "$ref": "#/definitions/AssessmentStatus"
- },
- "additionalData": {
- "type": "object",
- "description": "Additional data regarding the assessment",
- "additionalProperties": {
- "type": "string"
- }
- },
- "links": {
- "$ref": "#/definitions/AssessmentLinks"
- }
- },
- "required": [
- "resourceDetails",
- "status"
- ]
- },
- "AssessmentLinks": {
- "type": "object",
- "description": "Links relevant to the assessment",
- "readOnly": true,
- "properties": {
- "azurePortalUri": {
- "type": "string",
- "description": "Link to assessment in Azure Portal",
- "readOnly": true
- }
- }
- },
- "AssessmentStatus": {
- "type": "object",
- "description": "The result of the assessment",
- "properties": {
- "code": {
- "type": "string",
- "description": "Programmatic code for the status of the assessment",
- "enum": [
- "Healthy",
- "Unhealthy",
- "NotApplicable"
- ],
- "x-ms-enum": {
- "name": "AssessmentStatusCode",
- "modelAsString": true,
- "values": [
- {
- "value": "Healthy",
- "description": "The resource is healthy"
- },
- {
- "value": "Unhealthy",
- "description": "The resource has a security issue that needs to be addressed"
- },
- {
- "value": "NotApplicable",
- "description": "Assessment for this resource did not happen"
- }
- ]
- }
- },
- "cause": {
- "type": "string",
- "description": "Programmatic code for the cause of the assessment status"
- },
- "description": {
- "type": "string",
- "description": "Human readable description of the assessment status"
- }
- },
- "required": [
- "code"
- ]
- }
- },
- "parameters": {
- "ExpandAssessments": {
- "name": "$expand",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "OData expand. Optional.",
- "x-ms-parameter-location": "method",
- "enum": [
- "links",
- "metadata"
- ],
- "x-ms-enum": {
- "name": "ExpandEnum",
- "modelAsString": true,
- "values": [
- {
- "value": "links",
- "description": "All links associated with an assessment"
- },
- {
- "value": "metadata",
- "description": "Assessment metadata"
- }
- ]
- }
- },
- "AssessmentName": {
- "name": "assessmentName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The Assessment Key - Unique key for the assessment type",
- "x-ms-parameter-location": "method"
- },
- "AssessmentBody": {
- "name": "assessment",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/SecurityAssessment"
- },
- "description": "Calculated assessment on a pre-defined assessment metadata",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
deleted file mode 100644
index 71a866e49..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/automations.json
+++ /dev/null
@@ -1,695 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2019-01-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/automations": {
- "get": {
- "x-ms-examples": {
- "List all security automations of a specified subscription": {
- "$ref": "./examples/Automations/GetAutomationsSubscription_example.json"
- }
- },
- "tags": [
- "Automations"
- ],
- "description": "Lists all the security automations in the specified subscription. Use the 'nextLink' property in the response to get the next page of security automations for the specified subscription.",
- "operationId": "Automations_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AutomationList"
- }
- },
- "default": {
- "description": "Error response that describes why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/automations": {
- "get": {
- "x-ms-examples": {
- "List all security automations of a specified resource group": {
- "$ref": "./examples/Automations/GetAutomationsResourceGroup_example.json"
- }
- },
- "tags": [
- "Automations"
- ],
- "description": "Lists all the security automations in the specified resource group. Use the 'nextLink' property in the response to get the next page of security automations for the specified resource group.",
- "operationId": "Automations_ListByResourceGroup",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AutomationList"
- }
- },
- "default": {
- "description": "Error response that describes why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/automations/{automationName}": {
- "get": {
- "x-ms-examples": {
- "Retrieve a security automation": {
- "$ref": "./examples/Automations/GetAutomationResourceGroup_example.json"
- }
- },
- "tags": [
- "Automations"
- ],
- "description": "Retrieves information about the model of a security automation.",
- "operationId": "Automations_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/AutomationName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Automation"
- }
- },
- "default": {
- "description": "Error response that describes why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Create or update a security automation for all assessments (including all severities)": {
- "$ref": "./examples/Automations/PutAutomationAllAssessments_example.json"
- },
- "Create or update a security automation for all high severity assessments": {
- "$ref": "./examples/Automations/PutAutomationHighSeverityAssessments_example.json"
- },
- "Disable or enable a security automation": {
- "$ref": "./examples/Automations/PutDisableAutomation_example.json"
- }
- },
- "tags": [
- "Automations"
- ],
- "description": "Creates or updates a security automation. If a security automation is already created and a subsequent request is issued for the same automation id, then it will be updated.",
- "operationId": "Automations_CreateOrUpdate",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/AutomationName"
- },
- {
- "$ref": "#/parameters/AutomationInBody"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Automation"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/Automation"
- }
- },
- "default": {
- "description": "Error response that describes why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "delete": {
- "x-ms-examples": {
- "Delete a security automation": {
- "$ref": "./examples/Automations/DeleteAutomation_example.json"
- }
- },
- "tags": [
- "Automations"
- ],
- "operationId": "Automations_Delete",
- "description": "Deletes a security automation.",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/AutomationName"
- }
- ],
- "responses": {
- "204": {
- "description": "NoContent"
- },
- "default": {
- "description": "Error response that describes why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/automations/{automationName}/validate": {
- "post": {
- "x-ms-examples": {
- "Validate the security automation model before create or update": {
- "$ref": "./examples/Automations/ValidateAutomation_example.json"
- }
- },
- "tags": [
- "Automations"
- ],
- "description": "Validates the security automation model before create or update. Any validation errors are returned to the client.",
- "operationId": "Automations_Validate",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/AutomationName"
- },
- {
- "$ref": "#/parameters/AutomationInBody"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AutomationValidationStatus"
- }
- },
- "default": {
- "description": "Error response that describes why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "AutomationList": {
- "description": "List of security automations response.",
- "required": [
- "value"
- ],
- "properties": {
- "value": {
- "type": "array",
- "description": "The list of security automations under the given scope.",
- "items": {
- "$ref": "#/definitions/Automation"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "Automation": {
- "type": "object",
- "description": "The security automation resource.",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "Security automation data",
- "$ref": "#/definitions/AutomationProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/TrackedResource"
- }
- ]
- },
- "AutomationProperties": {
- "type": "object",
- "description": "A set of properties that defines the behavior of the automation configuration. To learn more about the supported security events data models schemas - please visit https://aka.ms/ASCAutomationSchemas.",
- "properties": {
- "description": {
- "type": "string",
- "description": "The security automation description."
- },
- "isEnabled": {
- "type": "boolean",
- "description": "Indicates whether the security automation is enabled."
- },
- "scopes": {
- "type": "array",
- "description": "A collection of scopes on which the security automations logic is applied. Supported scopes are the subscription itself or a resource group under that subscription. The automation will only apply on defined scopes.",
- "items": {
- "$ref": "#/definitions/AutomationScope"
- }
- },
- "sources": {
- "type": "array",
- "description": "A collection of the source event types which evaluate the security automation set of rules.",
- "items": {
- "$ref": "#/definitions/AutomationSource"
- }
- },
- "actions": {
- "type": "array",
- "description": "A collection of the actions which are triggered if all the configured rules evaluations, within at least one rule set, are true.",
- "items": {
- "$ref": "#/definitions/AutomationAction"
- }
- }
- }
- },
- "AutomationSource": {
- "type": "object",
- "description": "The source event types which evaluate the security automation set of rules. For example - security alerts and security assessments. To learn more about the supported security events data models schemas - please visit https://aka.ms/ASCAutomationSchemas.",
- "properties": {
- "eventSource": {
- "type": "string",
- "description": "A valid event source type.",
- "enum": [
- "Assessments",
- "AssessmentsSnapshot",
- "SubAssessments",
- "SubAssessmentsSnapshot",
- "Alerts",
- "SecureScores",
- "SecureScoresSnapshot",
- "SecureScoreControls",
- "SecureScoreControlsSnapshot",
- "RegulatoryComplianceAssessment",
- "RegulatoryComplianceAssessmentSnapshot"
- ],
- "x-ms-enum": {
- "name": "EventSource",
- "modelAsString": true,
- "values": [
- {
- "value": "Assessments"
- },
- {
- "value": "AssessmentsSnapshot"
- },
- {
- "value": "SubAssessments"
- },
- {
- "value": "SubAssessmentsSnapshot"
- },
- {
- "value": "Alerts"
- },
- {
- "value": "SecureScores"
- },
- {
- "value": "SecureScoresSnapshot"
- },
- {
- "value": "SecureScoreControls"
- },
- {
- "value": "SecureScoreControlsSnapshot"
- },
- {
- "value": "RegulatoryComplianceAssessment"
- },
- {
- "value": "RegulatoryComplianceAssessmentSnapshot"
- }
- ]
- }
- },
- "ruleSets": {
- "type": "array",
- "description": "A set of rules which evaluate upon event interception. A logical disjunction is applied between defined rule sets (logical 'or').",
- "items": {
- "$ref": "#/definitions/AutomationRuleSet"
- }
- }
- }
- },
- "AutomationScope": {
- "type": "object",
- "description": "A single automation scope.",
- "properties": {
- "description": {
- "type": "string",
- "description": "The resources scope description."
- },
- "scopePath": {
- "type": "string",
- "description": "The resources scope path. Can be the subscription on which the automation is defined on or a resource group under that subscription (fully qualified Azure resource IDs)."
- }
- }
- },
- "AutomationAction": {
- "type": "object",
- "description": "The action that should be triggered.",
- "discriminator": "actionType",
- "required": [
- "actionType"
- ],
- "properties": {
- "actionType": {
- "type": "string",
- "description": "The type of the action that will be triggered by the Automation",
- "enum": [
- "LogicApp",
- "EventHub",
- "Workspace"
- ],
- "x-ms-enum": {
- "name": "ActionType",
- "modelAsString": true,
- "values": [
- {
- "value": "LogicApp"
- },
- {
- "value": "EventHub"
- },
- {
- "value": "Workspace"
- }
- ]
- }
- }
- }
- },
- "AutomationActionLogicApp": {
- "type": "object",
- "description": "The logic app action that should be triggered. To learn more about Microsoft Defender for Cloud's Workflow Automation capabilities, visit https://aka.ms/ASCWorkflowAutomationLearnMore",
- "x-ms-discriminator-value": "LogicApp",
- "allOf": [
- {
- "$ref": "#/definitions/AutomationAction"
- }
- ],
- "properties": {
- "logicAppResourceId": {
- "type": "string",
- "description": "The triggered Logic App Azure Resource ID. This can also reside on other subscriptions, given that you have permissions to trigger the Logic App"
- },
- "uri": {
- "type": "string",
- "description": "The Logic App trigger URI endpoint (it will not be included in any response).",
- "format": "uri"
- }
- }
- },
- "AutomationActionEventHub": {
- "type": "object",
- "description": "The target Event Hub to which event data will be exported. To learn more about Microsoft Defender for Cloud continuous export capabilities, visit https://aka.ms/ASCExportLearnMore",
- "x-ms-discriminator-value": "EventHub",
- "allOf": [
- {
- "$ref": "#/definitions/AutomationAction"
- }
- ],
- "properties": {
- "eventHubResourceId": {
- "type": "string",
- "description": "The target Event Hub Azure Resource ID."
- },
- "sasPolicyName": {
- "readOnly": true,
- "type": "string",
- "description": "The target Event Hub SAS policy name."
- },
- "connectionString": {
- "type": "string",
- "description": "The target Event Hub connection string (it will not be included in any response)."
- }
- }
- },
- "AutomationActionWorkspace": {
- "type": "object",
- "description": "The Log Analytics Workspace to which event data will be exported. Security alerts data will reside in the 'SecurityAlert' table and the assessments data will reside in the 'SecurityRecommendation' table (under the 'Security'/'SecurityCenterFree' solutions). Note that in order to view the data in the workspace, the Security Center Log Analytics free/standard solution needs to be enabled on that workspace. To learn more about Microsoft Defender for Cloud continuous export capabilities, visit https://aka.ms/ASCExportLearnMore",
- "x-ms-discriminator-value": "Workspace",
- "allOf": [
- {
- "$ref": "#/definitions/AutomationAction"
- }
- ],
- "properties": {
- "workspaceResourceId": {
- "type": "string",
- "description": "The fully qualified Log Analytics Workspace Azure Resource ID."
- }
- }
- },
- "AutomationRuleSet": {
- "type": "object",
- "description": "A rule set which evaluates all its rules upon an event interception. Only when all the included rules in the rule set will be evaluated as 'true', will the event trigger the defined actions.",
- "properties": {
- "rules": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/AutomationTriggeringRule"
- }
- }
- }
- },
- "AutomationTriggeringRule": {
- "type": "object",
- "description": "A rule which is evaluated upon event interception. The rule is configured by comparing a specific value from the event model to an expected value. This comparison is done by using one of the supported operators set.",
- "properties": {
- "propertyJPath": {
- "type": "string",
- "description": "The JPath of the entity model property that should be checked."
- },
- "propertyType": {
- "type": "string",
- "description": "The data type of the compared operands (string, integer, floating point number or a boolean [true/false]]",
- "enum": [
- "String",
- "Integer",
- "Number",
- "Boolean"
- ],
- "x-ms-enum": {
- "name": "PropertyType",
- "modelAsString": true,
- "values": [
- {
- "value": "String"
- },
- {
- "value": "Integer"
- },
- {
- "value": "Number"
- },
- {
- "value": "Boolean"
- }
- ]
- }
- },
- "expectedValue": {
- "type": "string",
- "description": "The expected value."
- },
- "operator": {
- "type": "string",
- "description": "A valid comparer operator to use. A case-insensitive comparison will be applied for String PropertyType.",
- "enum": [
- "Equals",
- "GreaterThan",
- "GreaterThanOrEqualTo",
- "LesserThan",
- "LesserThanOrEqualTo",
- "NotEquals",
- "Contains",
- "StartsWith",
- "EndsWith"
- ],
- "x-ms-enum": {
- "name": "Operator",
- "modelAsString": true,
- "values": [
- {
- "value": "Equals",
- "description": "Applies for decimal and non-decimal operands"
- },
- {
- "value": "GreaterThan",
- "description": "Applies only for decimal operands"
- },
- {
- "value": "GreaterThanOrEqualTo",
- "description": "Applies only for decimal operands"
- },
- {
- "value": "LesserThan",
- "description": "Applies only for decimal operands"
- },
- {
- "value": "LesserThanOrEqualTo",
- "description": "Applies only for decimal operands"
- },
- {
- "value": "NotEquals",
- "description": "Applies for decimal and non-decimal operands"
- },
- {
- "value": "Contains",
- "description": "Applies only for non-decimal operands"
- },
- {
- "value": "StartsWith",
- "description": "Applies only for non-decimal operands"
- },
- {
- "value": "EndsWith",
- "description": "Applies only for non-decimal operands"
- }
- ]
- }
- }
- }
- },
- "AutomationValidationStatus": {
- "type": "object",
- "description": "The security automation model state property bag.",
- "properties": {
- "isValid": {
- "type": "boolean",
- "description": "Indicates whether the model is valid or not."
- },
- "message": {
- "type": "string",
- "description": "The validation message."
- }
- }
- }
- },
- "parameters": {
- "AutomationName": {
- "name": "automationName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The security automation name.",
- "x-ms-parameter-location": "method"
- },
- "AutomationInBody": {
- "name": "Automation",
- "in": "body",
- "required": true,
- "description": "The security automation resource",
- "schema": {
- "$ref": "#/definitions/Automation"
- },
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json
deleted file mode 100644
index 5d4856e3c..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json
+++ /dev/null
@@ -1,622 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2019-01-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/regulatoryComplianceStandards": {
- "get": {
- "x-ms-examples": {
- "Get all supported regulatory compliance standards details and state": {
- "$ref": "./examples/RegulatoryCompliance/getRegulatoryComplianceStandardList_example.json"
- }
- },
- "tags": [
- "RegulatoryCompliance"
- ],
- "description": "Supported regulatory compliance standards details and state",
- "operationId": "RegulatoryComplianceStandards_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ODataFilter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/RegulatoryComplianceStandardList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/regulatoryComplianceStandards/{regulatoryComplianceStandardName}": {
- "get": {
- "x-ms-examples": {
- "Get selected regulatory compliance standard details and state": {
- "$ref": "./examples/RegulatoryCompliance/getRegulatoryComplianceStandard_example.json"
- }
- },
- "tags": [
- "RegulatoryCompliance"
- ],
- "description": "Supported regulatory compliance details state for selected standard",
- "operationId": "RegulatoryComplianceStandards_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/RegulatoryComplianceStandardName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/RegulatoryComplianceStandard"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/regulatoryComplianceStandards/{regulatoryComplianceStandardName}/regulatoryComplianceControls": {
- "get": {
- "x-ms-examples": {
- "Get all regulatory compliance controls details and state for selected standard": {
- "$ref": "./examples/RegulatoryCompliance/getRegulatoryComplianceControlList_example.json"
- }
- },
- "tags": [
- "RegulatoryCompliance"
- ],
- "description": "All supported regulatory compliance controls details and state for selected standard",
- "operationId": "RegulatoryComplianceControls_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/RegulatoryComplianceStandardName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ODataFilter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/RegulatoryComplianceControlList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/regulatoryComplianceStandards/{regulatoryComplianceStandardName}/regulatoryComplianceControls/{regulatoryComplianceControlName}": {
- "get": {
- "x-ms-examples": {
- "Get selected regulatory compliance control details and state": {
- "$ref": "./examples/RegulatoryCompliance/getRegulatoryComplianceControl_example.json"
- }
- },
- "tags": [
- "RegulatoryCompliance"
- ],
- "description": "Selected regulatory compliance control details and state",
- "operationId": "RegulatoryComplianceControls_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/RegulatoryComplianceStandardName"
- },
- {
- "$ref": "#/parameters/RegulatoryComplianceControlName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/RegulatoryComplianceControl"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/regulatoryComplianceStandards/{regulatoryComplianceStandardName}/regulatoryComplianceControls/{regulatoryComplianceControlName}/regulatoryComplianceAssessments": {
- "get": {
- "x-ms-examples": {
- "Get all assessments mapped to selected regulatory compliance control": {
- "$ref": "./examples/RegulatoryCompliance/getRegulatoryComplianceAssessmentList_example.json"
- }
- },
- "tags": [
- "RegulatoryCompliance"
- ],
- "description": "Details and state of assessments mapped to selected regulatory compliance control",
- "operationId": "RegulatoryComplianceAssessments_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/RegulatoryComplianceStandardName"
- },
- {
- "$ref": "#/parameters/RegulatoryComplianceControlName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ODataFilter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/RegulatoryComplianceAssessmentList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/regulatoryComplianceStandards/{regulatoryComplianceStandardName}/regulatoryComplianceControls/{regulatoryComplianceControlName}/regulatoryComplianceAssessments/{regulatoryComplianceAssessmentName}": {
- "get": {
- "x-ms-examples": {
- "Get selected regulatory compliance assessment details and state": {
- "$ref": "./examples/RegulatoryCompliance/getRegulatoryComplianceAssessment_example.json"
- }
- },
- "tags": [
- "RegulatoryCompliance"
- ],
- "description": "Supported regulatory compliance details and state for selected assessment",
- "operationId": "RegulatoryComplianceAssessments_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/RegulatoryComplianceStandardName"
- },
- {
- "$ref": "#/parameters/RegulatoryComplianceControlName"
- },
- {
- "$ref": "#/parameters/RegulatoryComplianceAssessmentName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/RegulatoryComplianceAssessment"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "RegulatoryComplianceStandardList": {
- "description": "List of regulatory compliance standards response",
- "required": [
- "value"
- ],
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/RegulatoryComplianceStandard"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "RegulatoryComplianceStandard": {
- "type": "object",
- "description": "Regulatory compliance standard details and state",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "Regulatory compliance standard data",
- "$ref": "#/definitions/RegulatoryComplianceStandardProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "RegulatoryComplianceStandardProperties": {
- "type": "object",
- "description": "Regulatory compliance standard data",
- "properties": {
- "state": {
- "type": "string",
- "description": "Aggregative state based on the standard's supported controls states",
- "enum": [
- "Passed",
- "Failed",
- "Skipped",
- "Unsupported"
- ],
- "x-ms-enum": {
- "name": "state",
- "modelAsString": true,
- "values": [
- {
- "value": "Passed",
- "description": "All supported regulatory compliance controls in the given standard have a passed state"
- },
- {
- "value": "Failed",
- "description": "At least one supported regulatory compliance control in the given standard has a state of failed"
- },
- {
- "value": "Skipped",
- "description": "All supported regulatory compliance controls in the given standard have a state of skipped"
- },
- {
- "value": "Unsupported",
- "description": "No supported regulatory compliance data for the given standard"
- }
- ]
- }
- },
- "passedControls": {
- "readOnly": true,
- "type": "integer",
- "description": "The number of supported regulatory compliance controls of the given standard with a passed state"
- },
- "failedControls": {
- "readOnly": true,
- "type": "integer",
- "description": "The number of supported regulatory compliance controls of the given standard with a failed state"
- },
- "skippedControls": {
- "readOnly": true,
- "type": "integer",
- "description": "The number of supported regulatory compliance controls of the given standard with a skipped state"
- },
- "unsupportedControls": {
- "readOnly": true,
- "type": "integer",
- "description": "The number of regulatory compliance controls of the given standard which are unsupported by automated assessments"
- }
- }
- },
- "RegulatoryComplianceControlList": {
- "description": "List of regulatory compliance controls response",
- "required": [
- "value"
- ],
- "properties": {
- "value": {
- "type": "array",
- "description": "List of regulatory compliance controls",
- "items": {
- "$ref": "#/definitions/RegulatoryComplianceControl"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "RegulatoryComplianceControl": {
- "type": "object",
- "description": "Regulatory compliance control details and state",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "Regulatory compliance control data",
- "$ref": "#/definitions/RegulatoryComplianceControlProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "RegulatoryComplianceControlProperties": {
- "type": "object",
- "description": "Regulatory compliance control data",
- "properties": {
- "description": {
- "readOnly": true,
- "type": "string",
- "description": "The description of the regulatory compliance control"
- },
- "state": {
- "type": "string",
- "description": "Aggregative state based on the control's supported assessments states",
- "enum": [
- "Passed",
- "Failed",
- "Skipped",
- "Unsupported"
- ],
- "x-ms-enum": {
- "name": "state",
- "modelAsString": true,
- "values": [
- {
- "value": "Passed",
- "description": "All supported regulatory compliance assessments in the given control have a passed state"
- },
- {
- "value": "Failed",
- "description": "At least one supported regulatory compliance assessment in the given control has a state of failed"
- },
- {
- "value": "Skipped",
- "description": "All supported regulatory compliance assessments in the given control have a state of skipped"
- },
- {
- "value": "Unsupported",
- "description": "No supported regulatory assessment data for the given control"
- }
- ]
- }
- },
- "passedAssessments": {
- "readOnly": true,
- "type": "integer",
- "description": "The number of supported regulatory compliance assessments of the given control with a passed state"
- },
- "failedAssessments": {
- "readOnly": true,
- "type": "integer",
- "description": "The number of supported regulatory compliance assessments of the given control with a failed state"
- },
- "skippedAssessments": {
- "readOnly": true,
- "type": "integer",
- "description": "The number of supported regulatory compliance assessments of the given control with a skipped state"
- }
- }
- },
- "RegulatoryComplianceAssessmentList": {
- "description": "List of regulatory compliance assessment response",
- "required": [
- "value"
- ],
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/RegulatoryComplianceAssessment"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "RegulatoryComplianceAssessment": {
- "type": "object",
- "description": "Regulatory compliance assessment details and state",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "Regulatory compliance assessment data",
- "$ref": "#/definitions/RegulatoryComplianceAssessmentProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "RegulatoryComplianceAssessmentProperties": {
- "type": "object",
- "description": "Regulatory compliance assessment data",
- "properties": {
- "description": {
- "readOnly": true,
- "type": "string",
- "description": "The description of the regulatory compliance assessment"
- },
- "assessmentType": {
- "readOnly": true,
- "type": "string",
- "description": "The expected type of assessment contained in the AssessmentDetailsLink"
- },
- "assessmentDetailsLink": {
- "readOnly": true,
- "type": "string",
- "description": "Link to more detailed assessment results data. The response type will be according to the assessmentType field"
- },
- "state": {
- "type": "string",
- "description": "Aggregative state based on the assessment's scanned resources states",
- "enum": [
- "Passed",
- "Failed",
- "Skipped",
- "Unsupported"
- ],
- "x-ms-enum": {
- "name": "state",
- "modelAsString": true,
- "values": [
- {
- "value": "Passed",
- "description": "All related resources passed the given assessment"
- },
- {
- "value": "Failed",
- "description": "The given assessment failed on at least one resource"
- },
- {
- "value": "Skipped",
- "description": "The given assessment skipped on all related resources"
- },
- {
- "value": "Unsupported",
- "description": "The given assessment has no supported resources"
- }
- ]
- }
- },
- "passedResources": {
- "readOnly": true,
- "type": "integer",
- "description": "The given assessment's related resources count with passed state."
- },
- "failedResources": {
- "readOnly": true,
- "type": "integer",
- "description": "The given assessment's related resources count with failed state."
- },
- "skippedResources": {
- "readOnly": true,
- "type": "integer",
- "description": "The given assessment's related resources count with skipped state."
- },
- "unsupportedResources": {
- "readOnly": true,
- "type": "integer",
- "description": "The given assessment's related resources count with unsupported state."
- }
- }
- }
- },
- "parameters": {
- "RegulatoryComplianceStandardName": {
- "name": "regulatoryComplianceStandardName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Name of the regulatory compliance standard object",
- "x-ms-parameter-location": "method"
- },
- "RegulatoryComplianceControlName": {
- "name": "regulatoryComplianceControlName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Name of the regulatory compliance control object",
- "x-ms-parameter-location": "method"
- },
- "RegulatoryComplianceAssessmentName": {
- "name": "regulatoryComplianceAssessmentName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Name of the regulatory compliance assessment object",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/subAssessments.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/subAssessments.json
deleted file mode 100644
index 8cebdbbd4..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/subAssessments.json
+++ /dev/null
@@ -1,550 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2019-01-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/{scope}/providers/Microsoft.Security/subAssessments": {
- "get": {
- "x-ms-examples": {
- "List security sub-assessments": {
- "$ref": "./examples/SubAssessments/ListSubscriptionSubAssessments_example.json"
- }
- },
- "tags": [
- "SubAssessments"
- ],
- "description": "Get security sub-assessments on all your scanned resources inside a subscription scope",
- "operationId": "SubAssessments_ListAll",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/Scope"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecuritySubAssessmentList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/{scope}/providers/Microsoft.Security/assessments/{assessmentName}/subAssessments": {
- "get": {
- "x-ms-examples": {
- "List security sub-assessments": {
- "$ref": "./examples/SubAssessments/ListSubAssessments_example.json"
- }
- },
- "tags": [
- "SubAssessments"
- ],
- "description": "Get security sub-assessments on all your scanned resources inside a scope",
- "operationId": "SubAssessments_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/Scope"
- },
- {
- "$ref": "#/parameters/AssessmentName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecuritySubAssessmentList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/{scope}/providers/Microsoft.Security/assessments/{assessmentName}/subAssessments/{subAssessmentName}": {
- "get": {
- "x-ms-examples": {
- "Get security recommendation task from security data location": {
- "$ref": "./examples/SubAssessments/GetSubAssessment_example.json"
- }
- },
- "tags": [
- "SubAssessments"
- ],
- "description": "Get a security sub-assessment on your scanned resource",
- "operationId": "SubAssessments_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/Scope"
- },
- {
- "$ref": "#/parameters/AssessmentName"
- },
- {
- "$ref": "#/parameters/SubAssessmentName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecuritySubAssessment"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "SecuritySubAssessmentList": {
- "type": "object",
- "description": "List of security sub-assessments",
- "properties": {
- "value": {
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/SecuritySubAssessment"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "SecuritySubAssessment": {
- "type": "object",
- "description": "Security sub-assessment on a resource",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/SecuritySubAssessmentProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "SecuritySubAssessmentProperties": {
- "type": "object",
- "description": "Describes properties of an sub-assessment.",
- "properties": {
- "id": {
- "readOnly": true,
- "type": "string",
- "description": "Vulnerability ID"
- },
- "displayName": {
- "readOnly": true,
- "type": "string",
- "description": "User friendly display name of the sub-assessment"
- },
- "status": {
- "$ref": "#/definitions/SubAssessmentStatus"
- },
- "remediation": {
- "readOnly": true,
- "type": "string",
- "description": "Information on how to remediate this sub-assessment"
- },
- "impact": {
- "readOnly": true,
- "type": "string",
- "description": "Description of the impact of this sub-assessment"
- },
- "category": {
- "readOnly": true,
- "type": "string",
- "description": "Category of the sub-assessment"
- },
- "description": {
- "readOnly": true,
- "type": "string",
- "description": "Human readable description of the assessment status"
- },
- "timeGenerated": {
- "readOnly": true,
- "type": "string",
- "format": "date-time",
- "description": "The date and time the sub-assessment was generated"
- },
- "resourceDetails": {
- "$ref": "../../../common/v1/types.json#/definitions/ResourceDetails"
- },
- "additionalData": {
- "$ref": "#/definitions/AdditionalData"
- }
- }
- },
- "AdditionalData": {
- "type": "object",
- "description": "Details of the sub-assessment",
- "discriminator": "assessedResourceType",
- "properties": {
- "assessedResourceType": {
- "type": "string",
- "description": "Sub-assessment resource type",
- "enum": [
- "SqlServerVulnerability",
- "ContainerRegistryVulnerability",
- "ServerVulnerability"
- ],
- "x-ms-enum": {
- "name": "AssessedResourceType",
- "modelAsString": true,
- "values": [
- {
- "value": "SqlServerVulnerability"
- },
- {
- "value": "ContainerRegistryVulnerability"
- },
- {
- "value": "ServerVulnerability"
- }
- ]
- }
- }
- },
- "required": [
- "assessedResourceType"
- ]
- },
- "SubAssessmentStatus": {
- "type": "object",
- "description": "Status of the sub-assessment",
- "properties": {
- "code": {
- "readOnly": true,
- "type": "string",
- "description": "Programmatic code for the status of the assessment",
- "enum": [
- "Healthy",
- "Unhealthy",
- "NotApplicable"
- ],
- "x-ms-enum": {
- "name": "SubAssessmentStatusCode",
- "modelAsString": true,
- "values": [
- {
- "value": "Healthy",
- "description": "The resource is healthy"
- },
- {
- "value": "Unhealthy",
- "description": "The resource has a security issue that needs to be addressed"
- },
- {
- "value": "NotApplicable",
- "description": "Assessment for this resource did not happen"
- }
- ]
- }
- },
- "cause": {
- "readOnly": true,
- "type": "string",
- "description": "Programmatic code for the cause of the assessment status"
- },
- "description": {
- "readOnly": true,
- "type": "string",
- "description": "Human readable description of the assessment status"
- },
- "severity": {
- "readOnly": true,
- "type": "string",
- "enum": [
- "Low",
- "Medium",
- "High"
- ],
- "x-ms-enum": {
- "name": "severity",
- "modelAsString": true,
- "values": [
- {
- "value": "Low"
- },
- {
- "value": "Medium"
- },
- {
- "value": "High"
- }
- ]
- },
- "description": "The sub-assessment severity level"
- }
- }
- },
- "SqlServerVulnerabilityProperties": {
- "type": "object",
- "description": "Details of the resource that was assessed",
- "x-ms-discriminator-value": "SqlServerVulnerability",
- "allOf": [
- {
- "$ref": "#/definitions/AdditionalData"
- }
- ],
- "properties": {
- "type": {
- "readOnly": true,
- "type": "string",
- "description": "The resource type the sub assessment refers to in its resource details"
- },
- "query": {
- "readOnly": true,
- "type": "string",
- "description": "The T-SQL query that runs on your SQL database to perform the particular check"
- }
- }
- },
- "ContainerRegistryVulnerabilityProperties": {
- "type": "object",
- "description": "Additional context fields for container registry Vulnerability assessment",
- "x-ms-discriminator-value": "ContainerRegistryVulnerability",
- "allOf": [
- {
- "$ref": "#/definitions/AdditionalData"
- }
- ],
- "properties": {
- "type": {
- "readOnly": true,
- "type": "string",
- "description": "Vulnerability Type. e.g: Vulnerability, Potential Vulnerability, Information Gathered, Vulnerability"
- },
- "cvss": {
- "readOnly": true,
- "type": "object",
- "description": "Dictionary from cvss version to cvss details object",
- "additionalProperties": {
- "$ref": "#/definitions/CVSS"
- }
- },
- "patchable": {
- "readOnly": true,
- "type": "boolean",
- "description": "Indicates whether a patch is available or not"
- },
- "cve": {
- "readOnly": true,
- "type": "array",
- "description": "List of CVEs",
- "items": {
- "$ref": "#/definitions/CVE"
- }
- },
- "publishedTime": {
- "readOnly": true,
- "type": "string",
- "format": "date-time",
- "description": "Published time"
- },
- "vendorReferences": {
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/VendorReference"
- }
- },
- "repositoryName": {
- "readOnly": true,
- "type": "string",
- "description": "Name of the repository which the vulnerable image belongs to"
- },
- "imageDigest": {
- "readOnly": true,
- "type": "string",
- "description": "Digest of the vulnerable image"
- }
- }
- },
- "ServerVulnerabilityProperties": {
- "type": "object",
- "description": "Additional context fields for server vulnerability assessment",
- "x-ms-discriminator-value": "ServerVulnerabilityAssessment",
- "allOf": [
- {
- "$ref": "#/definitions/AdditionalData"
- }
- ],
- "properties": {
- "type": {
- "readOnly": true,
- "type": "string",
- "description": "Vulnerability Type. e.g: Vulnerability, Potential Vulnerability, Information Gathered"
- },
- "cvss": {
- "readOnly": true,
- "type": "object",
- "description": "Dictionary from cvss version to cvss details object",
- "additionalProperties": {
- "$ref": "#/definitions/CVSS"
- }
- },
- "patchable": {
- "readOnly": true,
- "type": "boolean",
- "description": "Indicates whether a patch is available or not"
- },
- "cve": {
- "readOnly": true,
- "type": "array",
- "description": "List of CVEs",
- "items": {
- "$ref": "#/definitions/CVE"
- }
- },
- "threat": {
- "readOnly": true,
- "type": "string",
- "description": "Threat name"
- },
- "publishedTime": {
- "readOnly": true,
- "type": "string",
- "format": "date-time",
- "description": "Published time"
- },
- "vendorReferences": {
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/VendorReference"
- }
- }
- }
- },
- "CVSS": {
- "type": "object",
- "description": "CVSS details",
- "properties": {
- "base": {
- "readOnly": true,
- "type": "number",
- "description": "CVSS base"
- }
- }
- },
- "CVE": {
- "type": "object",
- "description": "CVE details",
- "properties": {
- "title": {
- "readOnly": true,
- "type": "string",
- "description": "CVE title"
- },
- "link": {
- "readOnly": true,
- "type": "string",
- "description": "Link url"
- }
- }
- },
- "VendorReference": {
- "type": "object",
- "description": "Vendor reference",
- "properties": {
- "title": {
- "readOnly": true,
- "type": "string",
- "description": "Link title"
- },
- "link": {
- "readOnly": true,
- "type": "string",
- "description": "Link url"
- }
- }
- }
- },
- "parameters": {
- "AssessmentName": {
- "name": "assessmentName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The Assessment Key - Unique key for the assessment type",
- "x-ms-parameter-location": "method"
- },
- "SubAssessmentName": {
- "name": "subAssessmentName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The Sub-Assessment Key - Unique key for the sub-assessment type",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/connectors.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/connectors.json
deleted file mode 100644
index e780b1510..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/connectors.json
+++ /dev/null
@@ -1,618 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2020-01-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/connectors": {
- "get": {
- "x-ms-examples": {
- "Get all cloud accounts connectors of a subscription": {
- "$ref": "./examples/Connectors/GetListConnectorSubscription_example.json"
- }
- },
- "tags": [
- "Connectors"
- ],
- "description": "Cloud accounts connectors of a subscription",
- "operationId": "Connectors_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ConnectorSettingList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/connectors/{connectorName}": {
- "get": {
- "x-ms-examples": {
- "Details of a specific cloud account connector": {
- "$ref": "./examples/Connectors/GetConnectorSubscription_example.json"
- }
- },
- "tags": [
- "Connectors"
- ],
- "description": "Details of a specific cloud account connector",
- "operationId": "Connectors_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/ConnectorName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ConnectorSetting"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "AwsCred - Create a cloud account connector for a subscription": {
- "$ref": "./examples/Connectors/CreateUpdateAwsCredConnectorSubscription_example.json"
- },
- "AwsAssumeRole - Create a cloud account connector for a subscription": {
- "$ref": "./examples/Connectors/CreateUpdateAwsAssumeRoleConnectorSubscription_example.json"
- },
- "gcpCredentials - Create a cloud account connector for a subscription": {
- "$ref": "./examples/Connectors/CreateUpdateGcpCredentialsConnectorSubscription_example.json"
- }
- },
- "tags": [
- "Connectors"
- ],
- "description": "Create a cloud account connector or update an existing one. Connect to your cloud account. For AWS, use either account credentials or role-based authentication. For GCP, use account organization credentials.",
- "operationId": "Connectors_CreateOrUpdate",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/ConnectorName"
- },
- {
- "$ref": "#/parameters/ConnectorSetting"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ConnectorSetting"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "delete": {
- "x-ms-examples": {
- "Delete a cloud account connector from a subscription": {
- "$ref": "./examples/Connectors/DeleteConnectorSubscription_example.json"
- }
- },
- "tags": [
- "Connectors"
- ],
- "description": "Delete a cloud account connector from a subscription",
- "operationId": "Connectors_Delete",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/ConnectorName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK"
- },
- "204": {
- "description": "The connector is not found"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "ConnectorSettingList": {
- "type": "object",
- "description": "For a subscription, list of all cloud account connectors and their settings",
- "properties": {
- "value": {
- "description": "List of all the cloud account connector settings",
- "type": "array",
- "items": {
- "$ref": "#/definitions/ConnectorSetting"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "ConnectorSetting": {
- "type": "object",
- "description": "The connector setting",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "Connector setting data",
- "$ref": "#/definitions/ConnectorSettingProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "ConnectorSettingProperties": {
- "type": "object",
- "description": "Describes properties of a connector setting",
- "properties": {
- "hybridComputeSettings": {
- "description": "Settings for hybrid compute management. These settings are relevant only for Arc autoProvision (Hybrid Compute).",
- "type": "object",
- "$ref": "#/definitions/HybridComputeSettingsProperties"
- },
- "authenticationDetails": {
- "description": "Settings for authentication management, these settings are relevant only for the cloud connector.",
- "type": "object",
- "$ref": "#/definitions/AuthenticationDetailsProperties"
- }
- }
- },
- "HybridComputeSettingsProperties": {
- "type": "object",
- "description": "Settings for hybrid compute management",
- "properties": {
- "hybridComputeProvisioningState": {
- "description": "State of the service principal and its secret",
- "type": "string",
- "readOnly": true,
- "enum": [
- "Valid",
- "Invalid",
- "Expired"
- ],
- "x-ms-enum": {
- "name": "hybridComputeProvisioningState",
- "modelAsString": true,
- "values": [
- {
- "value": "Valid",
- "description": "Valid service principal details."
- },
- {
- "value": "Invalid",
- "description": "Invalid service principal details."
- },
- {
- "value": "Expired",
- "description": "the service principal details are expired"
- }
- ]
- }
- },
- "autoProvision": {
- "type": "string",
- "description": "Whether or not to automatically install Azure Arc (hybrid compute) agents on machines",
- "enum": [
- "On",
- "Off"
- ],
- "x-ms-enum": {
- "name": "autoProvision",
- "modelAsString": true,
- "values": [
- {
- "value": "On",
- "description": "Install missing Azure Arc agents on machines automatically"
- },
- {
- "value": "Off",
- "description": "Do not install Azure Arc agent on the machines automatically"
- }
- ]
- }
- },
- "resourceGroupName": {
- "type": "string",
- "description": "The name of the resource group where Arc (Hybrid Compute) connectors are connected."
- },
- "region": {
- "type": "string",
- "description": "The location where the metadata of machines will be stored",
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
- "proxyServer": {
- "type": "object",
- "description": "For a non-Azure machine that is not connected directly to the internet, specify a proxy server that the non-Azure machine can use.",
- "$ref": "#/definitions/ProxyServerProperties"
- },
- "servicePrincipal": {
- "description": "An object to access resources that are secured by an Azure AD tenant.",
- "type": "object",
- "$ref": "#/definitions/ServicePrincipalProperties"
- }
- },
- "required": [
- "autoProvision"
- ]
- },
- "ServicePrincipalProperties": {
- "type": "object",
- "description": "Details of the service principal.",
- "properties": {
- "applicationId": {
- "type": "string",
- "description": "Application ID of service principal."
- },
- "secret": {
- "type": "string",
- "description": "A secret string that the application uses to prove its identity, also can be referred to as application password (write only)."
- }
- }
- },
- "AuthenticationDetailsProperties": {
- "type": "object",
- "description": "Settings for cloud authentication management",
- "discriminator": "authenticationType",
- "properties": {
- "authenticationProvisioningState": {
- "description": "State of the multi-cloud connector",
- "type": "string",
- "readOnly": true,
- "enum": [
- "Valid",
- "Invalid",
- "Expired",
- "IncorrectPolicy"
- ],
- "x-ms-enum": {
- "name": "authenticationProvisioningState",
- "modelAsString": true,
- "values": [
- {
- "value": "Valid",
- "description": "Valid connector"
- },
- {
- "value": "Invalid",
- "description": "Invalid connector"
- },
- {
- "value": "Expired",
- "description": "the connection has expired"
- },
- {
- "value": "IncorrectPolicy",
- "description": "Incorrect policy of the connector"
- }
- ]
- }
- },
- "grantedPermissions": {
- "description": "The permissions detected in the cloud account.",
- "type": "array",
- "readOnly": true,
- "items": {
- "$ref": "#/definitions/PermissionProperty"
- }
- },
- "authenticationType": {
- "description": "Connect to your cloud account, for AWS use either account credentials or role-based authentication. For GCP use account organization credentials.",
- "type": "string",
- "enum": [
- "awsCreds",
- "awsAssumeRole",
- "gcpCredentials"
- ],
- "x-ms-enum": {
- "name": "authenticationType",
- "modelAsString": true,
- "values": [
- {
- "value": "awsCreds",
- "description": "AWS cloud account connector user credentials authentication"
- },
- {
- "value": "awsAssumeRole",
- "description": "AWS account connector assume role authentication"
- },
- {
- "value": "gcpCredentials",
- "description": "GCP account connector service to service authentication"
- }
- ]
- }
- }
- },
- "required": [
- "authenticationType"
- ]
- },
- "AwsCredsAuthenticationDetailsProperties": {
- "type": "object",
- "description": "AWS cloud account connector based credentials, the credentials is composed of access key ID and secret key, for more details, refer to Creating an IAM User in Your AWS Account (write only)",
- "x-ms-discriminator-value": "awsCreds",
- "allOf": [
- {
- "$ref": "#/definitions/AuthenticationDetailsProperties"
- }
- ],
- "properties": {
- "accountId": {
- "description": "The ID of the cloud account",
- "type": "string",
- "readOnly": true
- },
- "awsAccessKeyId": {
- "type": "string",
- "description": "Public key element of the AWS credential object (write only)"
- },
- "awsSecretAccessKey": {
- "type": "string",
- "description": "Secret key element of the AWS credential object (write only)"
- }
- },
- "required": [
- "awsAccessKeyId",
- "awsSecretAccessKey"
- ]
- },
- "AwAssumeRoleAuthenticationDetailsProperties": {
- "type": "object",
- "description": "AWS cloud account connector based assume role, the role enables delegating access to your AWS resources. The role is composed of role Amazon Resource Name (ARN) and external ID. For more details, refer to Creating a Role to Delegate Permissions to an IAM User (write only)",
- "x-ms-discriminator-value": "awsAssumeRole",
- "allOf": [
- {
- "$ref": "#/definitions/AuthenticationDetailsProperties"
- }
- ],
- "properties": {
- "accountId": {
- "description": "The ID of the cloud account",
- "type": "string",
- "readOnly": true
- },
- "awsAssumeRoleArn": {
- "type": "string",
- "description": "Assumed role ID is an identifier that you can use to create temporary security credentials."
- },
- "awsExternalId": {
- "type": "string",
- "description": "A unique identifier that is required when you assume a role in another account."
- }
- },
- "required": [
- "awsAssumeRoleArn",
- "awsExternalId"
- ]
- },
- "GcpCredentialsDetailsProperties": {
- "type": "object",
- "description": "GCP cloud account connector based service to service credentials, the credentials are composed of the organization ID and a JSON API key (write only)",
- "x-ms-discriminator-value": "gcpCredentials",
- "allOf": [
- {
- "$ref": "#/definitions/AuthenticationDetailsProperties"
- }
- ],
- "properties": {
- "organizationId": {
- "description": "The organization ID of the GCP cloud account",
- "type": "string"
- },
- "type": {
- "type": "string",
- "description": "Type field of the API key (write only)"
- },
- "projectId": {
- "type": "string",
- "description": "Project ID field of the API key (write only)"
- },
- "privateKeyId": {
- "type": "string",
- "description": "Private key ID field of the API key (write only)"
- },
- "privateKey": {
- "type": "string",
- "description": "Private key field of the API key (write only)"
- },
- "clientEmail": {
- "type": "string",
- "description": "Client email field of the API key (write only)"
- },
- "clientId": {
- "type": "string",
- "description": "Client ID field of the API key (write only)"
- },
- "authUri": {
- "type": "string",
- "description": "Auth URI field of the API key (write only)"
- },
- "tokenUri": {
- "type": "string",
- "description": "Token URI field of the API key (write only)"
- },
- "authProviderX509CertUrl": {
- "type": "string",
- "description": "Auth provider x509 certificate URL field of the API key (write only)"
- },
- "clientX509CertUrl": {
- "type": "string",
- "description": "Client x509 certificate URL field of the API key (write only)"
- }
- },
- "required": [
- "organizationId",
- "type",
- "projectId",
- "privateKeyId",
- "privateKey",
- "clientEmail",
- "clientId",
- "authUri",
- "tokenUri",
- "authProviderX509CertUrl",
- "clientX509CertUrl"
- ]
- },
- "PermissionProperty": {
- "description": "A permission detected in the cloud account.",
- "type": "string",
- "readOnly": true,
- "enum": [
- "AWS::AWSSecurityHubReadOnlyAccess",
- "AWS::SecurityAudit",
- "AWS::AmazonSSMAutomationRole",
- "GCP::Security Center Admin Viewer"
- ],
- "x-ms-enum": {
- "name": "PermissionProperty",
- "modelAsString": true,
- "values": [
- {
- "value": "AWS::AWSSecurityHubReadOnlyAccess",
- "description": "This permission provides read only access to AWS Security Hub resources."
- },
- {
- "value": "AWS::SecurityAudit",
- "description": "This permission grants access to read security configuration metadata."
- },
- {
- "value": "AWS::AmazonSSMAutomationRole",
- "description": "The permission provides for EC2 Automation service to execute activities defined within Automation documents."
- },
- {
- "value": "GCP::Security Center Admin Viewer",
- "description": "This permission provides read only access to GCP Security Command Center."
- }
- ]
- }
- },
- "ProxyServerProperties": {
- "type": "object",
- "description": "For a non-Azure machine that is not connected directly to the internet, specify a proxy server that the non-Azure machine can use.",
- "properties": {
- "ip": {
- "type": "string",
- "description": "Proxy server IP"
- },
- "port": {
- "type": "string",
- "description": "Proxy server port"
- }
- }
- }
- },
- "parameters": {
- "ConnectorName": {
- "name": "connectorName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Name of the cloud account connector",
- "x-ms-parameter-location": "method"
- },
- "ConnectorSetting": {
- "name": "connectorSetting",
- "in": "body",
- "required": true,
- "description": "Settings for the cloud account connector",
- "schema": {
- "$ref": "#/definitions/ConnectorSetting"
- },
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/secureScore.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/secureScore.json
deleted file mode 100644
index 24f813874..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/secureScore.json
+++ /dev/null
@@ -1,622 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2020-01-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/secureScores": {
- "get": {
- "x-ms-examples": {
- "List secure scores": {
- "$ref": "./examples/secureScores/ListSecureScores_example.json"
- }
- },
- "tags": [
- "Secure Score"
- ],
- "description": "List secure scores for all your Microsoft Defender for Cloud initiatives within your current scope.",
- "operationId": "SecureScores_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecureScoresList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/secureScores/{secureScoreName}": {
- "get": {
- "x-ms-examples": {
- "Get single secure score": {
- "$ref": "./examples/secureScores/GetSecureScoresSingle_example.json"
- }
- },
- "tags": [
- "Secure Score"
- ],
- "description": "Get secure score for a specific Microsoft Defender for Cloud initiative within your current scope. For the ASC Default initiative, use 'ascScore'.",
- "operationId": "SecureScores_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/secureScoreName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecureScoreItem"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/secureScores/{secureScoreName}/secureScoreControls": {
- "get": {
- "x-ms-examples": {
- "Get security controls and their current score for the specified initiative": {
- "$ref": "./examples/secureScores/ListSecureScoreControlsForName_builtin_example.json"
- },
- "Get security controls and their current score for the specified initiative with the expand parameter": {
- "$ref": "./examples/secureScores/ListSecureScoreControlsForNameWithExpand_builtin_example.json"
- }
- },
- "tags": [
- "Secure Score"
- ],
- "description": "Get all security controls for a specific initiative within a scope",
- "operationId": "SecureScoreControls_ListBySecureScore",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/secureScoreName"
- },
- {
- "$ref": "#/parameters/ExpandControlsDefinition"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecureScoreControlList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/secureScoreControls": {
- "get": {
- "x-ms-examples": {
- "List all secure scores controls": {
- "$ref": "./examples/secureScores/ListSecureScoreControls_example.json"
- }
- },
- "tags": [
- "Secure Score Controls"
- ],
- "description": "Get all security controls within a scope",
- "operationId": "SecureScoreControls_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/ExpandControlsDefinition"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecureScoreControlList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/providers/Microsoft.Security/secureScoreControlDefinitions": {
- "get": {
- "x-ms-examples": {
- "List security controls definition": {
- "$ref": "./examples/secureScoreControlDefinitions/ListSecureScoreControlDefinitions_example.json"
- }
- },
- "tags": [
- "Secure Score Control Definitions"
- ],
- "description": "List the available security controls, their assessments, and the max score",
- "operationId": "SecureScoreControlDefinitions_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/secureScoreControlDefinitionList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/secureScoreControlDefinitions": {
- "get": {
- "x-ms-examples": {
- "List security controls definition by subscription": {
- "$ref": "./examples/secureScoreControlDefinitions/ListSecureScoreControlDefinitions_subscription_example.json"
- }
- },
- "tags": [
- "Secure Score Control Definitions"
- ],
- "description": "For a specified subscription, list the available security controls, their assessments, and the max score",
- "operationId": "SecureScoreControlDefinitions_ListBySubscription",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/secureScoreControlDefinitionList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- }
- },
- "definitions": {
- "SecureScoresList": {
- "type": "object",
- "description": "List of secure scores",
- "properties": {
- "value": {
- "description": "Collection of secure scores in this page",
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/SecureScoreItem"
- }
- },
- "nextLink": {
- "description": "The URI to fetch the next page.",
- "readOnly": true,
- "type": "string"
- }
- }
- },
- "SecureScoreItem": {
- "description": "Secure score item data model",
- "readOnly": true,
- "type": "object",
- "properties": {
- "properties": {
- "description": "Secure score item",
- "readOnly": true,
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/SecureScoreItemProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "SecureScoreItemProperties": {
- "description": "Describes properties of a calculated secure score.",
- "readOnly": true,
- "type": "object",
- "properties": {
- "displayName": {
- "description": "The initiative’s name",
- "readOnly": true,
- "type": "string"
- },
- "score": {
- "description": "score object",
- "readOnly": true,
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ScoreDetails"
- },
- "weight": {
- "description": "The relative weight for each subscription. Used when calculating an aggregated secure score for multiple subscriptions.",
- "readOnly": true,
- "type": "integer",
- "format": "int64",
- "minimum": 0,
- "exclusiveMinimum": false
- }
- }
- },
- "ScoreDetails": {
- "description": "Calculation result data",
- "readOnly": true,
- "type": "object",
- "properties": {
- "max": {
- "description": "Maximum score available",
- "readOnly": true,
- "type": "integer",
- "format": "int32",
- "minimum": 0,
- "exclusiveMinimum": false
- },
- "current": {
- "description": "Current score",
- "readOnly": true,
- "type": "number",
- "format": "double",
- "minimum": 0.00,
- "exclusiveMinimum": false
- },
- "percentage": {
- "description": "Ratio of the current score divided by the maximum. Rounded to 4 digits after the decimal point",
- "readOnly": true,
- "type": "number",
- "format": "double",
- "minimum": 0.00,
- "maximum": 1.00,
- "exclusiveMinimum": false,
- "exclusiveMaximum": false
- }
- }
- },
- "SecureScoreControlScore": {
- "description": "Calculation result data",
- "type": "object",
- "properties": {
- "max": {
- "description": "Maximum control score (0..10)",
- "readOnly": true,
- "type": "integer",
- "format": "int32",
- "minimum": 0,
- "maximum": 10,
- "exclusiveMinimum": false
- },
- "current": {
- "description": "Actual score for the control = (achieved points / total points) * max score. if total points is zeroed, the return number is 0.00",
- "readOnly": true,
- "type": "number",
- "format": "double",
- "minimum": 0.00,
- "maximum": 10.00,
- "exclusiveMinimum": false
- },
- "percentage": {
- "description": "Ratio of the current score divided by the maximum. Rounded to 4 digits after the decimal point",
- "readOnly": true,
- "type": "number",
- "format": "double",
- "minimum": 0.00,
- "maximum": 1.00,
- "exclusiveMinimum": false,
- "exclusiveMaximum": false
- }
- }
- },
- "SecureScoreControlList": {
- "description": "List of security controls",
- "type": "object",
- "properties": {
- "value": {
- "description": "Collection of security controls in this page",
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/SecureScoreControlDetails"
- }
- },
- "nextLink": {
- "description": "The URI to fetch the next page.",
- "readOnly": true,
- "type": "string"
- }
- }
- },
- "SecureScoreControlDetails": {
- "description": "Details of the security control, its score, and the health status of the relevant resources.",
- "type": "object",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/SecureScoreControlScoreDetails"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "SecureScoreControlScoreDetails": {
- "description": "Calculation result data in control level",
- "type": "object",
- "properties": {
- "displayName": {
- "description": "User friendly display name of the control",
- "readOnly": true,
- "type": "string"
- },
- "score": {
- "description": "Actual score object for the control",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ScoreDetails"
- },
- "healthyResourceCount": {
- "description": "Number of healthy resources in the control",
- "readOnly": true,
- "type": "integer",
- "format": "int32"
- },
- "unhealthyResourceCount": {
- "description": "Number of unhealthy resources in the control",
- "readOnly": true,
- "type": "integer",
- "format": "int32"
- },
- "notApplicableResourceCount": {
- "description": "Number of not applicable resources in the control",
- "readOnly": true,
- "type": "integer",
- "format": "int32"
- },
- "weight": {
- "description": "The relative weight for this specific control in each of your subscriptions. Used when calculating an aggregated score for this control across all of your subscriptions.",
- "readOnly": true,
- "type": "integer",
- "format": "int64",
- "minimum": 0,
- "exclusiveMinimum": false
- },
- "definition": {
- "$ref": "#/definitions/SecureScoreControlDefinitionItem"
- }
- }
- },
- "secureScoreControlDefinitionList": {
- "description": "List of security controls definition",
- "type": "object",
- "properties": {
- "value": {
- "description": "Collection of security controls definition in this page",
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/SecureScoreControlDefinitionItem"
- }
- },
- "nextLink": {
- "description": "The URI to fetch the next page.",
- "readOnly": true,
- "type": "string"
- }
- }
- },
- "SecureScoreControlDefinitionItem": {
- "description": "Information about the security control.",
- "type": "object",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/SecureScoreControlDefinitionItemProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "SecureScoreControlDefinitionItemProperties": {
- "description": "Security Control Definition Properties.",
- "type": "object",
- "properties": {
- "displayName": {
- "description": "User friendly display name of the control",
- "readOnly": true,
- "type": "string"
- },
- "description": {
- "description": "User friendly description of the control",
- "readOnly": true,
- "type": "string",
- "maxLength": 256
- },
- "maxScore": {
- "description": "Maximum control score (0..10)",
- "readOnly": true,
- "type": "integer",
- "format": "int32",
- "minimum": 0,
- "maximum": 10,
- "exclusiveMinimum": false
- },
- "source": {
- "description": "Source object from which the control was created",
- "readOnly": true,
- "$ref": "#/definitions/SecureScoreControlDefinitionSource"
- },
- "assessmentDefinitions": {
- "description": "Array of assessments metadata IDs that are included in this security control",
- "readOnly": true,
- "$ref": "../../../common/v1/types.json#/definitions/AzureResourceLinks"
- }
- }
- },
- "SecureScoreControlDefinitionSource": {
- "description": "The type of the security control (For example, BuiltIn)",
- "readOnly": true,
- "type": "object",
- "properties": {
- "sourceType": {
- "description": "The type of security control (for example, BuiltIn)",
- "type": "string",
- "enum": [
- "BuiltIn",
- "Custom"
- ],
- "x-ms-enum": {
- "name": "controlType",
- "modelAsString": true,
- "values": [
- {
- "value": "BuiltIn",
- "description": "Microsoft Defender for Cloud managed assessments"
- },
- {
- "value": "Custom",
- "description": "Non Microsoft Defender for Cloud managed assessments"
- }
- ]
- }
- }
- }
- }
- },
- "parameters": {
- "ExpandControlsDefinition": {
- "name": "$expand",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "OData expand. Optional.",
- "x-ms-parameter-location": "method",
- "enum": [
- "definition"
- ],
- "x-ms-enum": {
- "name": "ExpandControlsEnum",
- "modelAsString": true,
- "values": [
- {
- "value": "definition",
- "description": "Add definition object for each control"
- }
- ]
- }
- },
- "secureScoreName": {
- "name": "secureScoreName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The initiative name. For the ASC Default initiative, use 'ascScore' as in the sample request below.",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/securityContacts.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/securityContacts.json
deleted file mode 100644
index 58a291e83..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/securityContacts.json
+++ /dev/null
@@ -1,392 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2020-01-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/securityContacts": {
- "get": {
- "x-ms-examples": {
- "List security contact data": {
- "$ref": "./examples/SecurityContacts/GetSecurityContactsSubscription_example.json"
- }
- },
- "tags": [
- "Security Contacts"
- ],
- "description": "List all security contact configurations for the subscription",
- "operationId": "SecurityContacts_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityContactList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/securityContacts/{securityContactName}": {
- "get": {
- "x-ms-examples": {
- "Get a security contact": {
- "$ref": "./examples/SecurityContacts/GetSecurityContact_example.json"
- }
- },
- "tags": [
- "Security Contacts"
- ],
- "description": "Get Default Security contact configurations for the subscription",
- "operationId": "SecurityContacts_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/SecurityContactName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityContact"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Create security contact data": {
- "$ref": "./examples/SecurityContacts/CreateSecurityContact_example.json"
- }
- },
- "tags": [
- "Security Contacts"
- ],
- "description": "Create security contact configurations for the subscription",
- "operationId": "SecurityContacts_Create",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/SecurityContactName"
- },
- {
- "$ref": "#/parameters/SecurityContact"
- }
- ],
- "responses": {
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/SecurityContact"
- }
- },
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityContact"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "delete": {
- "x-ms-examples": {
- "Deletes a security contact data": {
- "$ref": "./examples/SecurityContacts/DeleteSecurityContact_example.json"
- }
- },
- "tags": [
- "Security Contacts"
- ],
- "description": "Delete security contact configurations for the subscription",
- "operationId": "SecurityContacts_Delete",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/SecurityContactName"
- }
- ],
- "responses": {
- "200": {
- "description": "Security contact deleted"
- },
- "204": {
- "description": "Security contact was not found"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "SecurityContactList": {
- "type": "object",
- "description": "List of security contacts response",
- "properties": {
- "value": {
- "readOnly": true,
- "description": "List of security contacts",
- "type": "array",
- "items": {
- "$ref": "#/definitions/SecurityContact"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "SecurityContact": {
- "type": "object",
- "description": "Contact details and configurations for notifications coming from Microsoft Defender for Cloud.",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "Security contact data",
- "$ref": "#/definitions/SecurityContactProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "SecurityContactProperties": {
- "type": "object",
- "description": "Describes security contact properties",
- "properties": {
- "emails": {
- "type": "string",
- "description": "List of email addresses which will get notifications from Microsoft Defender for Cloud by the configurations defined in this security contact."
- },
- "phone": {
- "type": "string",
- "description": "The security contact's phone number"
- },
- "alertNotifications": {
- "type": "object",
- "description": "Defines whether to send email notifications about new security alerts",
- "properties": {
- "state": {
- "type": "string",
- "description": "Defines if email notifications will be sent about new security alerts",
- "enum": [
- "On",
- "Off"
- ],
- "x-ms-enum": {
- "name": "state",
- "modelAsString": true,
- "values": [
- {
- "value": "On",
- "description": "Get notifications on new alerts"
- },
- {
- "value": "Off",
- "description": "Don't get notifications on new alerts"
- }
- ]
- }
- },
- "minimalSeverity": {
- "type": "string",
- "description": "Defines the minimal alert severity which will be sent as email notifications",
- "enum": [
- "High",
- "Medium",
- "Low"
- ],
- "x-ms-enum": {
- "name": "minimalSeverity",
- "modelAsString": true,
- "values": [
- {
- "value": "High",
- "description": "Get notifications on new alerts with High severity"
- },
- {
- "value": "Medium",
- "description": "Get notifications on new alerts with medium or high severity"
- },
- {
- "value": "Low",
- "description": "Don't get notifications on new alerts with low, medium or high severity"
- }
- ]
- }
- }
- }
- },
- "notificationsByRole": {
- "type": "object",
- "description": "Defines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on the subscription.",
- "properties": {
- "state": {
- "type": "string",
- "description": "Defines whether to send email notifications from AMicrosoft Defender for Cloud to persons with specific RBAC roles on the subscription.",
- "enum": [
- "On",
- "Off"
- ],
- "x-ms-enum": {
- "name": "state",
- "modelAsString": true,
- "values": [
- {
- "value": "On",
- "description": "Send notification on new alerts to the subscription's admins"
- },
- {
- "value": "Off",
- "description": "Don't send notification on new alerts to the subscription's admins"
- }
- ]
- }
- },
- "roles": {
- "type": "array",
- "description": "Defines which RBAC roles will get email notifications from Microsoft Defender for Cloud. List of allowed RBAC roles: ",
- "items": {
- "$ref": "#/definitions/SecurityContactRole"
- }
- }
- }
- }
- }
- },
- "SecurityContactRole": {
- "type": "string",
- "description": "A possible role to configure sending security notification alerts to",
- "enum": [
- "AccountAdmin",
- "ServiceAdmin",
- "Owner",
- "Contributor"
- ],
- "x-ms-enum": {
- "name": "roles",
- "modelAsString": true,
- "values": [
- {
- "value": "AccountAdmin",
- "description": "If enabled, send notification on new alerts to the account admins"
- },
- {
- "value": "ServiceAdmin",
- "description": "If enabled, send notification on new alerts to the service admins"
- },
- {
- "value": "Owner",
- "description": "If enabled, send notification on new alerts to the subscription owners"
- },
- {
- "value": "Contributor",
- "description": "If enabled, send notification on new alerts to the subscription contributors"
- }
- ]
- }
- }
- },
- "parameters": {
- "SecurityContactName": {
- "name": "securityContactName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Name of the security contact object",
- "x-ms-parameter-location": "method"
- },
- "SecurityContact": {
- "name": "securityContact",
- "in": "body",
- "required": true,
- "description": "Security contact object",
- "schema": {
- "$ref": "#/definitions/SecurityContact"
- },
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2021-05-01-preview/softwareInventories.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2021-05-01-preview/softwareInventories.json
deleted file mode 100644
index 1af50949c..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2021-05-01-preview/softwareInventories.json
+++ /dev/null
@@ -1,307 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Security Center",
- "description": "API spec for Microsoft.Security (Azure Security Center) resource provider",
- "version": "2021-05-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Security/softwareInventories": {
- "get": {
- "description": "Gets the software inventory of the virtual machine.",
- "operationId": "SoftwareInventories_ListByExtendedResource",
- "x-ms-examples": {
- "Gets the software inventory of the virtual machine": {
- "$ref": "./examples/SoftwareInventories/ListByExtendedResourceSoftwareInventories_example.json"
- }
- },
- "tags": [
- "softwareInventories"
- ],
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "name": "resourceNamespace",
- "in": "path",
- "description": "The namespace of the resource.",
- "required": true,
- "type": "string"
- },
- {
- "name": "resourceType",
- "in": "path",
- "description": "The type of the resource.",
- "required": true,
- "type": "string"
- },
- {
- "name": "resourceName",
- "in": "path",
- "description": "Name of the resource.",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SoftwaresList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/softwareInventories": {
- "get": {
- "description": "Gets the software inventory of all virtual machines in the subscriptions.",
- "operationId": "SoftwareInventories_ListBySubscription",
- "x-ms-examples": {
- "Gets the software inventory of all virtual machines in the subscriptions": {
- "$ref": "./examples/SoftwareInventories/ListBySubscriptionSoftwareInventories_example.json"
- }
- },
- "tags": [
- "softwareInventories"
- ],
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SoftwaresList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Security/softwareInventories/{softwareName}": {
- "get": {
- "description": "Gets a single software data of the virtual machine.",
- "operationId": "SoftwareInventories_Get",
- "x-ms-examples": {
- "Gets a single software data of the virtual machine": {
- "$ref": "./examples/SoftwareInventories/GetSoftware_example.json"
- }
- },
- "tags": [
- "softwareInventories"
- ],
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "name": "resourceNamespace",
- "in": "path",
- "description": "The namespace of the resource.",
- "required": true,
- "type": "string"
- },
- {
- "name": "resourceType",
- "in": "path",
- "description": "The type of the resource.",
- "required": true,
- "type": "string"
- },
- {
- "name": "resourceName",
- "in": "path",
- "description": "Name of the resource.",
- "required": true,
- "type": "string"
- },
- {
- "name": "softwareName",
- "in": "path",
- "description": "Name of the installed software.",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Software"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "SoftwaresList": {
- "type": "object",
- "description": "Represents the software inventory of the virtual machine.",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Software"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "Software": {
- "type": "object",
- "description": "Represents a software data",
- "required": [
- "properties"
- ],
- "properties": {
- "properties": {
- "description": "Properties of the Software Inventory resource",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/SoftwareProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "SoftwareProperties": {
- "description": "Software Inventory resource properties",
- "properties": {
- "deviceId": {
- "type": "string",
- "description": "Unique identifier for the virtual machine in the service."
- },
- "osPlatform": {
- "type": "string",
- "description": "Platform of the operating system running on the device."
- },
- "vendor": {
- "type": "string",
- "description": "Name of the software vendor."
- },
- "softwareName": {
- "type": "string",
- "description": "Name of the software product."
- },
- "version": {
- "type": "string",
- "description": "Version number of the software product."
- },
- "endOfSupportStatus": {
- "type": "string",
- "description": "End of support status.",
- "enum": [
- "None",
- "noLongerSupported",
- "versionNoLongerSupported",
- "upcomingNoLongerSupported",
- "upcomingVersionNoLongerSupported"
- ],
- "x-ms-enum": {
- "name": "EndOfSupportStatus",
- "modelAsString": true
- }
- },
- "endOfSupportDate": {
- "type": "string",
- "description": "The end of support date in case the product is upcoming end of support."
- },
- "numberOfKnownVulnerabilities": {
- "type": "integer",
- "format": "int32",
- "description": "Number of weaknesses."
- },
- "firstSeenAt": {
- "type": "string",
- "description": "First time that the software was seen in the device."
- }
- }
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/customAssessmentAutomation.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/customAssessmentAutomation.json
deleted file mode 100644
index 2c3997011..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/customAssessmentAutomation.json
+++ /dev/null
@@ -1,435 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Security Center",
- "description": "API spec for Microsoft.Security (Azure Security Center) resource provider",
- "version": "2021-07-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customAssessmentAutomations/{customAssessmentAutomationName}": {
- "get": {
- "summary": "Gets a custom assessment automation",
- "description": "Gets a single custom assessment automation by name for the provided subscription and resource group.",
- "tags": [
- "customAssessmentAutomations"
- ],
- "operationId": "CustomAssessmentAutomations_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/customAssessmentAutomationName"
- }
- ],
- "x-ms-examples": {
- "Get a Custom Assessment Automation": {
- "$ref": "./examples/CustomAssessmentAutomations/customAssessmentAutomationGet_example.json"
- }
- },
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/customAssessmentAutomation"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "summary": "Creates a custom assessment automation",
- "description": "Creates or updates a custom assessment automation for the provided subscription. Please note that providing an existing custom assessment automation will replace the existing record.",
- "tags": [
- "customAssessmentAutomations"
- ],
- "operationId": "CustomAssessmentAutomations_Create",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/customAssessmentAutomationName"
- },
- {
- "$ref": "#/parameters/customAssessmentAutomationBody"
- }
- ],
- "x-ms-examples": {
- "Create a Custom Assessment Automation": {
- "$ref": "./examples/CustomAssessmentAutomations/customAssessmentAutomationCreate_example.json"
- }
- },
- "responses": {
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/customAssessmentAutomation"
- }
- },
- "200": {
- "description": "OK - Updated",
- "schema": {
- "$ref": "#/definitions/customAssessmentAutomation"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "delete": {
- "summary": "Deletes a custom assessment automation",
- "description": "Deletes a custom assessment automation by name for a provided subscription",
- "tags": [
- "customAssessmentAutomations"
- ],
- "operationId": "CustomAssessmentAutomations_Delete",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/customAssessmentAutomationName"
- }
- ],
- "x-ms-examples": {
- "Delete a Custom Assessment Automation": {
- "$ref": "./examples/CustomAssessmentAutomations/customAssessmentAutomationDelete_example.json"
- }
- },
- "responses": {
- "200": {
- "description": "OK - Custom Assessment Automation was deleted"
- },
- "204": {
- "description": "No Content - Custom Assessment Automation does not exist"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customAssessmentAutomations": {
- "get": {
- "summary": "List custom assessment automations in a subscription and a resource group",
- "description": "List custom assessment automations by provided subscription and resource group",
- "tags": [
- "customAssessmentAutomations"
- ],
- "operationId": "CustomAssessmentAutomations_ListByResourceGroup",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- }
- ],
- "x-ms-examples": {
- "List Custom Assessment Automations in a subscription and a resource group": {
- "$ref": "./examples/CustomAssessmentAutomations/customAssessmentAutomationListByResourceGroup_example.json"
- }
- },
- "responses": {
- "200": {
- "description": "OK - Returns a collection of Custom Assessment Automations",
- "schema": {
- "$ref": "#/definitions/customAssessmentAutomationsListResult"
- }
- },
- "default": {
- "description": "Error response that describes why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/customAssessmentAutomations": {
- "get": {
- "summary": "List custom assessment automations in a subscription",
- "description": "List custom assessment automations by provided subscription",
- "tags": [
- "customAssessmentAutomations"
- ],
- "operationId": "CustomAssessmentAutomations_ListBySubscription",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- }
- ],
- "x-ms-examples": {
- "List Custom Assessment Automations in a subscription": {
- "$ref": "./examples/CustomAssessmentAutomations/customAssessmentAutomationListBySubscription_example.json"
- }
- },
- "responses": {
- "200": {
- "description": "OK - Returns a collection of Custom Assessment Automations",
- "schema": {
- "$ref": "#/definitions/customAssessmentAutomationsListResult"
- }
- },
- "default": {
- "description": "Error response that describes why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- }
- },
- "definitions": {
- "customAssessmentAutomationsListResult": {
- "type": "object",
- "description": "A list of Custom Assessment Automations",
- "properties": {
- "value": {
- "description": "Collection of Custom Assessment Automations",
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/customAssessmentAutomation"
- }
- },
- "nextLink": {
- "description": "The link used to get the next page of operations.",
- "type": "string"
- }
- }
- },
- "customAssessmentAutomation": {
- "type": "object",
- "description": "Custom Assessment Automation",
- "properties": {
- "systemData": {
- "readOnly": true,
- "type": "object",
- "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.",
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
- },
- "properties": {
- "x-ms-client-flatten": true,
- "description": "describes Custom Assessment Automation properties.",
- "$ref": "#/definitions/customAssessmentAutomationProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "customAssessmentAutomationRequest": {
- "type": "object",
- "description": "Custom Assessment Automation request",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "describes Custom Assessment Automation request properties.",
- "$ref": "#/definitions/customAssessmentAutomationRequestProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "customAssessmentAutomationProperties": {
- "type": "object",
- "description": "describes the Custom Assessment Automation properties",
- "properties": {
- "compressedQuery": {
- "description": "GZip encoded KQL query representing the assessment automation results required.",
- "type": "string"
- },
- "supportedCloud": {
- "description": "Relevant cloud for the custom assessment automation.",
- "type": "string",
- "enum": [
- "AWS",
- "GCP"
- ],
- "x-ms-enum": {
- "name": "supportedCloudEnum",
- "modelAsString": true
- },
- "x-ms-client-default": "AWS"
- },
- "severity": {
- "description": "The severity to relate to the assessments generated by this assessment automation.",
- "type": "string",
- "enum": [
- "High",
- "Medium",
- "Low"
- ],
- "x-ms-enum": {
- "name": "severityEnum",
- "modelAsString": true
- },
- "x-ms-client-default": "Low"
- },
- "displayName": {
- "description": "The display name of the assessments generated by this assessment automation.",
- "type": "string"
- },
- "description": {
- "description": "The description to relate to the assessments generated by this assessment automation.",
- "type": "string"
- },
- "remediationDescription": {
- "description": "The remediation description to relate to the assessments generated by this assessment automation.",
- "type": "string"
- },
- "assessmentKey": {
- "description": "The assessment metadata key used when an assessment is generated for this assessment automation.",
- "type": "string"
- }
- }
- },
- "customAssessmentAutomationRequestProperties": {
- "type": "object",
- "description": "describes the Custom Assessment Automation properties",
- "properties": {
- "compressedQuery": {
- "description": "Base 64 encoded KQL query representing the assessment automation results required.",
- "type": "string"
- },
- "supportedCloud": {
- "description": "Relevant cloud for the custom assessment automation.",
- "type": "string",
- "enum": [
- "AWS",
- "GCP"
- ],
- "x-ms-enum": {
- "name": "supportedCloudEnum",
- "modelAsString": true
- },
- "x-ms-client-default": "AWS"
- },
- "severity": {
- "description": "The severity to relate to the assessments generated by this assessment automation.",
- "type": "string",
- "enum": [
- "High",
- "Medium",
- "Low"
- ],
- "x-ms-enum": {
- "name": "severityEnum",
- "modelAsString": true
- },
- "x-ms-client-default": "Low"
- },
- "displayName": {
- "description": "The display name of the assessments generated by this assessment automation.",
- "type": "string"
- },
- "description": {
- "description": "The description to relate to the assessments generated by this assessment automation.",
- "type": "string"
- },
- "remediationDescription": {
- "description": "The remediation description to relate to the assessments generated by this assessment automation.",
- "type": "string"
- }
- }
- }
- },
- "parameters": {
- "customAssessmentAutomationName": {
- "name": "customAssessmentAutomationName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Name of the Custom Assessment Automation.",
- "x-ms-parameter-location": "method"
- },
- "customAssessmentAutomationBody": {
- "name": "customAssessmentAutomationBody",
- "in": "body",
- "description": "Custom Assessment Automation body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/customAssessmentAutomationRequest"
- },
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/customEntityStoreAssignment.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/customEntityStoreAssignment.json
deleted file mode 100644
index 5aedaab3a..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/customEntityStoreAssignment.json
+++ /dev/null
@@ -1,351 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Security Center",
- "description": "API spec for Microsoft.Security (Azure Security Center) resource provider",
- "version": "2021-07-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customEntityStoreAssignments/{customEntityStoreAssignmentName}": {
- "get": {
- "summary": "Gets a custom entity store assignment",
- "description": "Gets a single custom entity store assignment by name for the provided subscription and resource group.",
- "tags": [
- "customEntityStoreAssignments"
- ],
- "operationId": "CustomEntityStoreAssignments_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/customEntityStoreAssignmentName"
- }
- ],
- "x-ms-examples": {
- "Get a custom entity store assignment": {
- "$ref": "./examples/CustomEntityStoreAssignments/customEntityStoreAssignmentGet_example.json"
- }
- },
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/CustomEntityStoreAssignment"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "summary": "Creates a custom entity store assignment",
- "description": "Creates a custom entity store assignment for the provided subscription, if not already exists.",
- "tags": [
- "customEntityStoreAssignments"
- ],
- "operationId": "CustomEntityStoreAssignments_Create",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/customEntityStoreAssignmentName"
- },
- {
- "$ref": "#/parameters/customEntityStoreAssignmentRequestBody"
- }
- ],
- "x-ms-examples": {
- "Create a custom entity store assignment": {
- "$ref": "./examples/CustomEntityStoreAssignments/customEntityStoreAssignmentCreate_example.json"
- }
- },
- "responses": {
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/CustomEntityStoreAssignment"
- }
- },
- "200": {
- "description": "OK - Updated",
- "schema": {
- "$ref": "#/definitions/CustomEntityStoreAssignment"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "delete": {
- "summary": "Deleted a custom entity store assignment",
- "description": "Delete a custom entity store assignment by name for a provided subscription",
- "tags": [
- "customEntityStoreAssignments"
- ],
- "operationId": "CustomEntityStoreAssignments_Delete",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/customEntityStoreAssignmentName"
- }
- ],
- "x-ms-examples": {
- "Delete a custom entity store assignment": {
- "$ref": "./examples/CustomEntityStoreAssignments/customEntityStoreAssignmentDelete_example.json"
- }
- },
- "responses": {
- "200": {
- "description": "OK - Custom Entity Store Assignment was deleted"
- },
- "204": {
- "description": "No Content - Custom Entity Store Assignment does not exist"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customEntityStoreAssignments": {
- "get": {
- "summary": "List custom entity store assignments in a subscription and a resource group",
- "description": "List custom entity store assignments by a provided subscription and resource group",
- "tags": [
- "customEntityStoreAssignments"
- ],
- "operationId": "CustomEntityStoreAssignments_ListByResourceGroup",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- }
- ],
- "x-ms-examples": {
- "List custom entity store assignments in a subscription and a resource group": {
- "$ref": "./examples/CustomEntityStoreAssignments/customEntityStoreAssignmentListByResourceGroup_example.json"
- }
- },
- "responses": {
- "200": {
- "description": "OK - Returns a collection of custom entity store assignments",
- "schema": {
- "$ref": "#/definitions/CustomEntityStoreAssignmentsListResult"
- }
- },
- "default": {
- "description": "Error response that describes why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/customEntityStoreAssignments": {
- "get": {
- "summary": "List custom entity store assignments in a subscription",
- "description": "List custom entity store assignments by provided subscription",
- "tags": [
- "customEntityStoreAssignments"
- ],
- "operationId": "CustomEntityStoreAssignments_ListBySubscription",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- }
- ],
- "x-ms-examples": {
- "List custom entity store assignments in a subscription": {
- "$ref": "./examples/CustomEntityStoreAssignments/customEntityStoreAssignmentListBySubscription_example.json"
- }
- },
- "responses": {
- "200": {
- "description": "OK - Returns a collection of custom entity store assignments",
- "schema": {
- "$ref": "#/definitions/CustomEntityStoreAssignmentsListResult"
- }
- },
- "default": {
- "description": "Error response that describes why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- }
- },
- "definitions": {
- "CustomEntityStoreAssignmentsListResult": {
- "type": "object",
- "description": "A list of custom entity store assignments",
- "properties": {
- "value": {
- "description": "Collection of custom entity store assignments",
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/CustomEntityStoreAssignment"
- }
- },
- "nextLink": {
- "description": "The link used to get the next page of operations.",
- "type": "string"
- }
- }
- },
- "CustomEntityStoreAssignment": {
- "type": "object",
- "description": "Custom entity store assignment",
- "properties": {
- "systemData": {
- "readOnly": true,
- "type": "object",
- "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.",
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
- },
- "properties": {
- "x-ms-client-flatten": true,
- "description": "describes custom entity store assignment properties.",
- "$ref": "#/definitions/CustomEntityStoreAssignmentProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "CustomEntityStoreAssignmentProperties": {
- "type": "object",
- "description": "describes the custom entity store assignment properties",
- "properties": {
- "principal": {
- "description": "The principal assigned with entity store. Format of principal is: [AAD type]=[PrincipalObjectId];[TenantId]",
- "type": "string"
- },
- "entityStoreDatabaseLink": {
- "description": "The link to entity store database.",
- "type": "string"
- }
- }
- },
- "CustomEntityStoreAssignmentRequest": {
- "type": "object",
- "description": "describes the custom entity store assignment request",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/CustomEntityStoreAssignmentRequestProperties"
- }
- }
- },
- "CustomEntityStoreAssignmentRequestProperties": {
- "type": "object",
- "description": "describes properties of custom entity store assignment request",
- "properties": {
- "principal": {
- "description": "The principal assigned with entity store. If not provided, will use caller principal. Format of principal is: [AAD type]=[PrincipalObjectId];[TenantId]",
- "type": "string"
- }
- }
- }
- },
- "parameters": {
- "customEntityStoreAssignmentName": {
- "name": "customEntityStoreAssignmentName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Name of the custom entity store assignment. Generated name is GUID.",
- "x-ms-parameter-location": "method"
- },
- "customEntityStoreAssignmentRequestBody": {
- "name": "customEntityStoreAssignmentRequestBody",
- "in": "body",
- "description": "Custom entity store assignment body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/CustomEntityStoreAssignmentRequest"
- },
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/securityConnectors.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/securityConnectors.json
deleted file mode 100644
index 667d5c13b..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/securityConnectors.json
+++ /dev/null
@@ -1,597 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Security Center",
- "description": "API spec for Microsoft.Security (Azure Security Center) resource provider",
- "version": "2021-07-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/securityConnectors": {
- "get": {
- "x-ms-examples": {
- "List all security connectors of a specified subscription": {
- "$ref": "./examples/SecurityConnectors/GetSecurityConnectorsSubscription_example.json"
- }
- },
- "tags": [
- "SecurityConnectors"
- ],
- "description": "Lists all the security connectors in the specified subscription. Use the 'nextLink' property in the response to get the next page of security connectors for the specified subscription.",
- "operationId": "SecurityConnectors_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityConnectorsList"
- }
- },
- "default": {
- "description": "Error response that describes why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors": {
- "get": {
- "x-ms-examples": {
- "List all security connectors of a specified resource group": {
- "$ref": "./examples/SecurityConnectors/GetSecurityConnectorsResourceGroup_example.json"
- }
- },
- "tags": [
- "SecurityConnectors"
- ],
- "description": "Lists all the security connectors in the specified resource group. Use the 'nextLink' property in the response to get the next page of security connectors for the specified resource group.",
- "operationId": "SecurityConnectors_ListByResourceGroup",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityConnectorsList"
- }
- },
- "default": {
- "description": "Error response that describes why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}": {
- "get": {
- "x-ms-examples": {
- "Retrieve a security connector": {
- "$ref": "./examples/SecurityConnectors/GetSecurityConnectorResourceGroup_example.json"
- }
- },
- "tags": [
- "SecurityConnectors"
- ],
- "description": "Retrieves details of a specific security connector",
- "operationId": "SecurityConnectors_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/securityConnectorName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityConnector"
- }
- },
- "default": {
- "description": "Error response that describes why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Create or update a security connector": {
- "$ref": "./examples/SecurityConnectors/PutSecurityConnector_example.json"
- }
- },
- "tags": [
- "SecurityConnectors"
- ],
- "description": "Creates or updates a security connector. If a security connector is already created and a subsequent request is issued for the same security connector id, then it will be updated.",
- "operationId": "SecurityConnectors_CreateOrUpdate",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/securityConnectorName"
- },
- {
- "$ref": "#/parameters/securityConnectorInBody"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityConnector"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/SecurityConnector"
- }
- },
- "default": {
- "description": "Error response that describes why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "patch": {
- "x-ms-examples": {
- "Update a security connector": {
- "$ref": "./examples/SecurityConnectors/PatchSecurityConnector_example.json"
- }
- },
- "tags": [
- "SecurityConnectors"
- ],
- "description": "Updates a security connector",
- "operationId": "SecurityConnectors_Update",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/securityConnectorName"
- },
- {
- "$ref": "#/parameters/securityConnectorInBody"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityConnector"
- }
- },
- "default": {
- "description": "Error response that describes why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "delete": {
- "x-ms-examples": {
- "Delete a security connector": {
- "$ref": "./examples/SecurityConnectors/DeleteSecurityConnector_example.json"
- }
- },
- "tags": [
- "SecurityConnectors"
- ],
- "operationId": "SecurityConnectors_Delete",
- "description": "Deletes a security connector.",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/securityConnectorName"
- }
- ],
- "responses": {
- "200": {
- "description": "The resource was deleted successfully"
- },
- "204": {
- "description": "NoContent"
- },
- "default": {
- "description": "Error response that describes why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "SecurityConnectorsList": {
- "type": "object",
- "description": "List of security connectors response.",
- "required": [
- "value"
- ],
- "properties": {
- "value": {
- "type": "array",
- "description": "The list of security connectors under the given scope.",
- "items": {
- "$ref": "#/definitions/SecurityConnector"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "SecurityConnector": {
- "type": "object",
- "description": "The security connector resource.",
- "properties": {
- "systemData": {
- "readOnly": true,
- "type": "object",
- "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.",
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
- },
- "properties": {
- "x-ms-client-flatten": true,
- "description": "Security connector data",
- "$ref": "#/definitions/SecurityConnectorProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/TrackedResource"
- }
- ]
- },
- "SecurityConnectorProperties": {
- "type": "object",
- "description": "A set of properties that defines the security connector configuration.",
- "properties": {
- "hierarchyIdentifier": {
- "type": "string",
- "description": "The multi cloud resource identifier (account id in case of AWS connector)."
- },
- "cloudName": {
- "type": "string",
- "description": "The multi cloud resource's cloud name.",
- "enum": [
- "Azure",
- "AWS",
- "GCP"
- ],
- "x-ms-enum": {
- "name": "cloudName",
- "modelAsString": true
- }
- },
- "offerings": {
- "type": "array",
- "description": "A collection of offerings for the security connector.",
- "items": {
- "$ref": "#/definitions/cloudOffering"
- }
- },
- "organizationalData": {
- "type": "object",
- "description": "The multi cloud account's organizational data",
- "properties": {
- "organizationMembershipType": {
- "type": "string",
- "description": "The multi cloud account's membership type in the organization",
- "enum": [
- "Member",
- "Organization"
- ],
- "x-ms-enum": {
- "name": "organizationMembershipType",
- "modelAsString": true
- }
- },
- "parentHierarchyId": {
- "type": "string",
- "description": "If the multi cloud account is not of membership type organization, this will be the ID of the account's parent"
- },
- "stacksetName": {
- "type": "string",
- "description": "If the multi cloud account is of membership type organization, this will be the name of the onboarding stackset"
- },
- "excludedAccountIds": {
- "type": "array",
- "description": "If the multi cloud account is of membership type organization, list of accounts excluded from offering",
- "items": {
- "type": "string",
- "description": "account IDs"
- }
- }
- }
- }
- }
- },
- "cloudOffering": {
- "type": "object",
- "description": "The security offering details",
- "discriminator": "offeringType",
- "required": [
- "offeringType"
- ],
- "properties": {
- "offeringType": {
- "type": "string",
- "description": "The type of the security offering.",
- "enum": [
- "CspmMonitorAws",
- "DefenderForContainersAws",
- "DefenderForServersAws",
- "InformationProtectionAws"
- ],
- "x-ms-enum": {
- "name": "OfferingType",
- "modelAsString": true
- }
- },
- "description": {
- "type": "string",
- "description": "The offering description.",
- "readOnly": true
- }
- }
- },
- "cspmMonitorAwsOffering": {
- "type": "object",
- "description": "The CSPM monitoring for AWS offering configurations",
- "x-ms-discriminator-value": "CspmMonitorAws",
- "allOf": [
- {
- "$ref": "#/definitions/cloudOffering"
- }
- ],
- "properties": {
- "nativeCloudConnection": {
- "type": "object",
- "description": "The native cloud connection configuration",
- "properties": {
- "cloudRoleArn": {
- "type": "string",
- "description": "The cloud role ARN in AWS for this feature"
- }
- }
- }
- }
- },
- "defenderForContainersAwsOffering": {
- "type": "object",
- "description": "The Defender for Containers AWS offering configurations",
- "x-ms-discriminator-value": "DefenderForContainersAws",
- "allOf": [
- {
- "$ref": "#/definitions/cloudOffering"
- }
- ],
- "properties": {
- "kubernetesService": {
- "type": "object",
- "description": "The kubernetes service connection configuration",
- "properties": {
- "cloudRoleArn": {
- "type": "string",
- "description": "The cloud role ARN in AWS for this feature"
- }
- }
- },
- "kubernetesScubaReader": {
- "type": "object",
- "description": "The kubernetes to scuba connection configuration",
- "properties": {
- "cloudRoleArn": {
- "type": "string",
- "description": "The cloud role ARN in AWS for this feature"
- }
- }
- },
- "cloudWatchToKinesis": {
- "type": "object",
- "description": "The cloudwatch to kinesis connection configuration",
- "properties": {
- "cloudRoleArn": {
- "type": "string",
- "description": "The cloud role ARN in AWS for this feature"
- }
- }
- },
- "kinesisToS3": {
- "type": "object",
- "description": "The kinesis to s3 connection configuration",
- "properties": {
- "cloudRoleArn": {
- "type": "string",
- "description": "The cloud role ARN in AWS for this feature"
- }
- }
- }
- }
- },
- "defenderForServersAwsOffering": {
- "type": "object",
- "description": "The Defender for Servers AWS offering configurations",
- "x-ms-discriminator-value": "DefenderForServersAws",
- "allOf": [
- {
- "$ref": "#/definitions/cloudOffering"
- }
- ],
- "properties": {
- "defenderForServers": {
- "type": "object",
- "description": "The Defender for servers connection configuration",
- "properties": {
- "cloudRoleArn": {
- "type": "string",
- "description": "The cloud role ARN in AWS for this feature"
- }
- }
- },
- "arcAutoProvisioning": {
- "type": "object",
- "description": "The ARC autoprovisioning configuration",
- "properties": {
- "enabled": {
- "type": "boolean",
- "description": "Is arc auto provisioning enabled"
- },
- "servicePrincipalSecretMetadata": {
- "type": "object",
- "description": "Metadata of Service Principal secret for autoprovisioning",
- "properties": {
- "expiryDate": {
- "type": "string",
- "description": "expiration date of service principal secret"
- },
- "parameterStoreRegion": {
- "type": "string",
- "description": "region of parameter store where secret is kept"
- },
- "parameterNameInStore": {
- "type": "string",
- "description": "name of secret resource in parameter store"
- }
- }
- }
- }
- }
- }
- },
- "informationProtectionAwsOffering": {
- "type": "object",
- "description": "The information protection for AWS offering configurations",
- "x-ms-discriminator-value": "InformationProtectionAws",
- "allOf": [
- {
- "$ref": "#/definitions/cloudOffering"
- }
- ],
- "properties": {
- "informationProtection": {
- "type": "object",
- "description": "The native cloud connection configuration",
- "properties": {
- "cloudRoleArn": {
- "type": "string",
- "description": "The cloud role ARN in AWS for this feature"
- }
- }
- }
- }
- }
- },
- "parameters": {
- "securityConnectorName": {
- "name": "securityConnectorName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The security connector name.",
- "x-ms-parameter-location": "method"
- },
- "securityConnectorInBody": {
- "name": "securityConnector",
- "in": "body",
- "required": true,
- "description": "The security connector resource",
- "schema": {
- "$ref": "#/definitions/SecurityConnector"
- },
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2021-10-01-preview/mdeOnboardings.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2021-10-01-preview/mdeOnboardings.json
deleted file mode 100644
index ddb73e3cb..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2021-10-01-preview/mdeOnboardings.json
+++ /dev/null
@@ -1,156 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Security Center",
- "description": "API spec for Microsoft.Security (Azure Security Center) resource provider",
- "version": "2021-10-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/mdeOnboardings": {
- "get": {
- "x-ms-examples": {
- "The configuration or data needed to onboard the machine to MDE": {
- "$ref": "./examples/MdeOnboardings/ListMdeOnboardings_example.json"
- }
- },
- "tags": [
- "MdeOnboarding"
- ],
- "description": "The configuration or data needed to onboard the machine to MDE",
- "operationId": "MdeOnboardings_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/MdeOnboardingDataList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/mdeOnboardings/default": {
- "get": {
- "x-ms-examples": {
- "The default configuration or data needed to onboard the machine to MDE": {
- "$ref": "./examples/MdeOnboardings/GetMdeOnboardings_example.json"
- }
- },
- "tags": [
- "MdeOnboarding"
- ],
- "description": "The default configuration or data needed to onboard the machine to MDE",
- "operationId": "MdeOnboardings_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/MdeOnboardingData"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "MdeOnboardingDataProperties": {
- "type": "object",
- "properties": {
- "onboardingPackageWindows": {
- "format": "byte",
- "type": "string",
- "description": "The onboarding package used to onboard Windows machines to MDE, coded in base64. This can also be used for onboarding using the dedicated VM Extension"
- },
- "onboardingPackageLinux": {
- "format": "byte",
- "type": "string",
- "description": "The onboarding package used to onboard Linux machines to MDE, coded in base64. This can also be used for onboarding using the dedicated VM Extension"
- }
- },
- "description": "Properties of the MDE configuration or data parameter needed to onboard the machine to MDE"
- },
- "MdeOnboardingData": {
- "type": "object",
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ],
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/MdeOnboardingDataProperties"
- }
- },
- "description": "The resource of the configuration or data needed to onboard the machine to MDE"
- },
- "MdeOnboardingDataList": {
- "type": "object",
- "description": "List of all MDE onboarding data resources",
- "properties": {
- "value": {
- "description": "List of the resources of the configuration or data needed to onboard the machine to MDE",
- "type": "array",
- "items": {
- "$ref": "#/definitions/MdeOnboardingData"
- }
- }
- }
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/governanceAssignments.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/governanceAssignments.json
deleted file mode 100644
index 54b61b687..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/governanceAssignments.json
+++ /dev/null
@@ -1,369 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2022-01-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/{scope}/providers/Microsoft.Security/assessments/{assessmentName}/governanceAssignments": {
- "get": {
- "x-ms-examples": {
- "List governance assignments": {
- "$ref": "./examples/GovernanceAssignments/ListGovernanceAssignments_example.json"
- }
- },
- "tags": [
- "GovernanceAssignments"
- ],
- "description": "Get governance assignments on all of your resources inside a scope",
- "operationId": "GovernanceAssignments_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "#/parameters/Scope"
- },
- {
- "$ref": "#/parameters/AssessmentName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/GovernanceAssignmentsList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/{scope}/providers/Microsoft.Security/assessments/{assessmentName}/governanceAssignments/{assignmentKey}": {
- "get": {
- "x-ms-examples": {
- "Get governanceAssignment by specific governanceAssignmentKey": {
- "$ref": "./examples/GovernanceAssignments/GetGovernanceAssignment_example.json"
- }
- },
- "tags": [
- "GovernanceAssignments"
- ],
- "description": "Get a specific governanceAssignment for the requested scope by AssignmentKey",
- "operationId": "GovernanceAssignments_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "#/parameters/Scope"
- },
- {
- "$ref": "#/parameters/AssessmentName"
- },
- {
- "$ref": "#/parameters/AssignmentKey"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/GovernanceAssignment"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Create Governance assignment": {
- "$ref": "./examples/GovernanceAssignments/PutGovernanceAssignment_example.json"
- }
- },
- "tags": [
- "GovernanceAssignments"
- ],
- "description": "Creates or updates a governance assignment on the given subscription.",
- "operationId": "GovernanceAssignments_CreateOrUpdate",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "#/parameters/Scope"
- },
- {
- "$ref": "#/parameters/AssessmentName"
- },
- {
- "$ref": "#/parameters/AssignmentKey"
- },
- {
- "$ref": "#/parameters/GovernanceAssignmentBody"
- }
- ],
- "responses": {
- "200": {
- "description": "OK - Updated",
- "schema": {
- "$ref": "#/definitions/GovernanceAssignment"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/GovernanceAssignment"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "delete": {
- "x-ms-examples": {
- "Delete security assignment": {
- "$ref": "./examples/GovernanceAssignments/DeleteGovernanceAssignment_example.json"
- }
- },
- "tags": [
- "GovernanceAssignments"
- ],
- "description": "Delete a GovernanceAssignment over a given scope",
- "operationId": "GovernanceAssignments_Delete",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "#/parameters/Scope"
- },
- {
- "$ref": "#/parameters/AssessmentName"
- },
- {
- "$ref": "#/parameters/AssignmentKey"
- }
- ],
- "responses": {
- "200": {
- "description": "OK - Governance assignment was deleted"
- },
- "204": {
- "description": "No Content - Governance assignment does not exist"
- },
- "default": {
- "description": "Error response describing why the operation failed"
- }
- }
- }
- }
- },
- "definitions": {
- "GovernanceAssignmentsList": {
- "type": "object",
- "description": "Page of a governance assignments list",
- "properties": {
- "value": {
- "description": "Collection of governance assignments in this page",
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/GovernanceAssignment"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page"
- }
- }
- },
- "GovernanceAssignment": {
- "type": "object",
- "description": "Governance assignment over a given scope",
- "properties": {
- "properties": {
- "description": "The properties of a governance assignment",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/GovernanceAssignmentProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "GovernanceAssignmentProperties": {
- "type": "object",
- "description": "Describes properties of an governance assignment",
- "properties": {
- "owner": {
- "description": "The Owner for the governance assignment - e.g. user@contoso.com - see example",
- "type": "string"
- },
- "remediationDueDate": {
- "type": "string",
- "format": "date-time",
- "description": "The remediation due-date - after this date Secure Score will be affected (in case of active grace-period)"
- },
- "remediationEta": {
- "description": "The ETA (estimated time of arrival) for remediation (optional), see example",
- "$ref": "#/definitions/RemediationEta"
- },
- "isGracePeriod": {
- "description": "Defines whether there is a grace period on the governance assignment",
- "type": "boolean"
- },
- "governanceEmailNotification": {
- "description": "The email notifications settings for the governance rule, states whether to disable notifications for mangers and owners",
- "$ref": "#/definitions/GovernanceEmailNotification"
- },
- "additionalData": {
- "description": "The additional data for the governance assignment - e.g. links to ticket (optional), see example",
- "$ref": "#/definitions/GovernanceAssignmentAdditionalData"
- }
- },
- "required": [
- "remediationDueDate"
- ]
- },
- "GovernanceEmailNotification": {
- "type": "object",
- "description": "The governance email weekly notification configuration.",
- "properties": {
- "disableManagerEmailNotification": {
- "description": "Exclude manager from weekly email notification.",
- "type": "boolean"
- },
- "disableOwnerEmailNotification": {
- "description": "Exclude owner from weekly email notification.",
- "type": "boolean"
- }
- }
- },
- "GovernanceAssignmentAdditionalData": {
- "type": "object",
- "description": "Describe the additional data of governance assignment - optional",
- "properties": {
- "ticketNumber": {
- "description": "Ticket number associated with this governance assignment",
- "type": "integer",
- "format": "int32",
- "minimum": 0
- },
- "ticketLink": {
- "description": "Ticket link associated with this governance assignment - for example: https://snow.com",
- "type": "string"
- },
- "ticketStatus": {
- "description": "The ticket status associated with this governance assignment - for example: Active",
- "type": "string"
- }
- }
- },
- "RemediationEta": {
- "type": "object",
- "description": "The ETA (estimated time of arrival) for remediation",
- "properties": {
- "eta": {
- "description": "ETA for remediation.",
- "type": "string",
- "format": "date-time"
- },
- "justification": {
- "description": "Justification for change of Eta.",
- "type": "string"
- }
- },
- "required": [
- "eta",
- "justification"
- ]
- }
- },
- "parameters": {
- "AssignmentKey": {
- "name": "assignmentKey",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The governance assignment key - the assessment key of the required governance assignment",
- "x-ms-parameter-location": "method"
- },
- "AssessmentName": {
- "name": "assessmentName",
- "in": "path",
- "required": true,
- "type": "string",
- "pattern": "^[-\\w\\._\\(\\)]+$",
- "description": "The Assessment Key - A unique key for the assessment type",
- "x-ms-parameter-location": "method"
- },
- "GovernanceAssignmentBody": {
- "name": "governanceAssignment",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/GovernanceAssignment"
- },
- "description": "Governance assignment over a subscription scope",
- "x-ms-parameter-location": "method"
- },
- "Scope": {
- "name": "scope",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The scope of the Governance assignments. Valid scopes are: subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/governanceRules.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/governanceRules.json
deleted file mode 100644
index 10e93a4e8..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/governanceRules.json
+++ /dev/null
@@ -1,714 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2022-01-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/{scope}/providers/Microsoft.Security/governanceRules": {
- "get": {
- "x-ms-examples": {
- "List governance rules by subscription scope": {
- "$ref": "./examples/GovernanceRules/ListBySubscriptionGovernanceRules_example.json"
- },
- "List governance rules by security connector scope": {
- "$ref": "./examples/GovernanceRules/ListBySecurityConnectorGovernanceRules_example.json"
- },
- "List governance rules by management group scope": {
- "$ref": "./examples/GovernanceRules/ListByManagementGroupGovernanceRules_example.json"
- }
- },
- "tags": [
- "GovernanceRules"
- ],
- "description": "Get a list of all relevant governance rules over a scope",
- "operationId": "GovernanceRules_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "#/parameters/Scope"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/GovernanceRuleList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/{scope}/providers/Microsoft.Security/governanceRules/{ruleId}": {
- "get": {
- "x-ms-examples": {
- "Get a governance rule over subscription scope": {
- "$ref": "./examples/GovernanceRules/GetGovernanceRule_example.json"
- },
- "Get a governance rule over security connector scope": {
- "$ref": "./examples/GovernanceRules/GetSecurityConnectorGovernanceRule_example.json"
- },
- "Get a governance rule over management group scope": {
- "$ref": "./examples/GovernanceRules/GetManagementGroupGovernanceRule_example.json"
- }
- },
- "tags": [
- "GovernanceRules"
- ],
- "description": "Get a specific governance rule for the requested scope by ruleId",
- "operationId": "GovernanceRules_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "#/parameters/Scope"
- },
- {
- "$ref": "#/parameters/RuleId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/GovernanceRule"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Create or update governance rule over subscription scope": {
- "$ref": "./examples/GovernanceRules/PutGovernanceRule_example.json"
- },
- "Create or update governance rule over security connector scope": {
- "$ref": "./examples/GovernanceRules/PutSecurityConnectorGovernanceRule_example.json"
- },
- "Create or update governance rule over management group scope": {
- "$ref": "./examples/GovernanceRules/PutManagementGroupGovernanceRule_example.json"
- }
- },
- "tags": [
- "GovernanceRules"
- ],
- "description": "Creates or updates a governance rule over a given scope",
- "operationId": "GovernanceRules_CreateOrUpdate",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "#/parameters/Scope"
- },
- {
- "$ref": "#/parameters/RuleId"
- },
- {
- "$ref": "#/parameters/GovernanceRuleBody"
- }
- ],
- "responses": {
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/GovernanceRule"
- }
- },
- "200": {
- "description": "OK - Updated",
- "schema": {
- "$ref": "#/definitions/GovernanceRule"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "delete": {
- "x-ms-examples": {
- "Delete a Governance rule over subscription scope": {
- "$ref": "./examples/GovernanceRules/DeleteGovernanceRule_example.json"
- },
- "Delete a Governance rule over security connector scope": {
- "$ref": "./examples/GovernanceRules/DeleteSecurityConnectorGovernanceRule_example.json"
- },
- "Delete a Governance rule over management group scope": {
- "$ref": "./examples/GovernanceRules/DeleteManagementGroupGovernanceRule_example.json"
- }
- },
- "tags": [
- "GovernanceRules"
- ],
- "description": "Delete a Governance rule over a given scope",
- "operationId": "GovernanceRules_Delete",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "#/parameters/Scope"
- },
- {
- "$ref": "#/parameters/RuleId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK - Governance rule was deleted"
- },
- "202": {
- "description": "Accepted - The operation still in progress",
- "headers": {
- "location": {
- "type": "string",
- "description": "Location URL for the deletion status"
- }
- }
- },
- "204": {
- "description": "No Content - Governance rule does not exist"
- },
- "default": {
- "description": "Error response describing why the operation failed"
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "location"
- }
- }
- },
- "/{scope}/providers/Microsoft.Security/governanceRules/{ruleId}/execute": {
- "post": {
- "x-ms-examples": {
- "Execute Governance rule over subscription scope": {
- "$ref": "./examples/GovernanceRules/PostGovernanceRule_example.json"
- },
- "Execute governance rule over security connector scope": {
- "$ref": "./examples/GovernanceRules/PostSecurityConnectorGovernanceRule_example.json"
- },
- "Execute governance rule over management group scope": {
- "$ref": "./examples/GovernanceRules/PostManagementGroupGovernanceRule_example.json"
- }
- },
- "tags": [
- "GovernanceRules"
- ],
- "description": "Execute a governance rule",
- "operationId": "GovernanceRules_Execute",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "#/parameters/Scope"
- },
- {
- "$ref": "#/parameters/RuleId"
- },
- {
- "$ref": "#/parameters/ExecuteGovernanceRuleBody"
- }
- ],
- "responses": {
- "202": {
- "description": "Accepted",
- "headers": {
- "location": {
- "type": "string",
- "description": "Location URL for the execution status"
- }
- }
- },
- "default": {
- "description": "Error response describing why the operation failed",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "location"
- }
- }
- },
- "/{scope}/providers/Microsoft.Security/governanceRules/{ruleId}/operationResults/{operationId}": {
- "get": {
- "x-ms-examples": {
- "Get governance rules long run operation result over subscription": {
- "$ref": "./examples/GovernanceRules/GetGovernanceRuleExecuteStatus_example.json"
- },
- "Get governance rules long run operation result over security connector": {
- "$ref": "./examples/GovernanceRules/GetSecurityConnectorGovernanceRuleExecuteStatus_example.json"
- },
- "Get governance rules long run operation result over management group": {
- "$ref": "./examples/GovernanceRules/GetManagementGroupGovernanceRuleExecuteStatus_example.json"
- }
- },
- "tags": [
- "GovernanceRules"
- ],
- "description": "Get governance rules long run operation result for the requested scope by ruleId and operationId",
- "operationId": "GovernanceRules_OperationResults",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "#/parameters/Scope"
- },
- {
- "$ref": "#/parameters/RuleId"
- },
- {
- "$ref": "#/parameters/OperationId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK - The operation completed",
- "schema": {
- "$ref": "#/definitions/OperationResult"
- }
- },
- "202": {
- "description": "Accepted - The operation still in progress",
- "headers": {
- "location": {
- "type": "string",
- "description": "Location URL for the execution status"
- }
- }
- },
- "default": {
- "description": "Error response describing why the operation failed",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "GovernanceRuleList": {
- "type": "object",
- "description": "Page of a governance rules list",
- "properties": {
- "value": {
- "description": "Collection of governance rules in this page",
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/GovernanceRule"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page"
- }
- }
- },
- "GovernanceRule": {
- "type": "object",
- "description": "Governance rule over a given scope",
- "properties": {
- "properties": {
- "description": "Properties of a governance rule",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/GovernanceRuleProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "GovernanceRuleProperties": {
- "type": "object",
- "description": "Describes properties of an governance rule",
- "properties": {
- "tenantId": {
- "description": "The tenantId (GUID)",
- "readOnly": true,
- "type": "string"
- },
- "displayName": {
- "description": "Display name of the governance rule",
- "type": "string"
- },
- "description": {
- "description": "Description of the governance rule",
- "type": "string"
- },
- "remediationTimeframe": {
- "type": "string",
- "description": "Governance rule remediation timeframe - this is the time that will affect on the grace-period duration e.g. 7.00:00:00 - means 7 days",
- "pattern": "^[0-9]+\\.[0-9]{2}:[0-9]{2}:[0-9]{2}$"
- },
- "isGracePeriod": {
- "description": "Defines whether there is a grace period on the governance rule",
- "type": "boolean"
- },
- "rulePriority": {
- "description": "The governance rule priority, priority to the lower number. Rules with the same priority on the same scope will not be allowed",
- "type": "integer",
- "format": "int32",
- "minimum": 0,
- "maximum": 1000
- },
- "isDisabled": {
- "description": "Defines whether the rule is active/inactive",
- "type": "boolean"
- },
- "ruleType": {
- "type": "string",
- "description": "The rule type of the governance rule, defines the source of the rule e.g. Integrated",
- "enum": [
- "Integrated",
- "ServiceNow"
- ],
- "x-ms-enum": {
- "name": "GovernanceRuleType",
- "modelAsString": true,
- "values": [
- {
- "value": "Integrated",
- "description": "The source of the rule type definition is integrated"
- },
- {
- "value": "ServiceNow",
- "description": "The source of the rule type definition is ServiceNow"
- }
- ]
- }
- },
- "sourceResourceType": {
- "type": "string",
- "description": "The governance rule source, what the rule affects, e.g. Assessments",
- "enum": [
- "Assessments"
- ],
- "x-ms-enum": {
- "name": "GovernanceRuleSourceResourceType",
- "modelAsString": true,
- "values": [
- {
- "value": "Assessments",
- "description": "The source of the governance rule is assessments"
- }
- ]
- }
- },
- "excludedScopes": {
- "type": "array",
- "description": "Excluded scopes, filter out the descendants of the scope (on management scopes)",
- "items": {
- "description": "The excluded scope",
- "type": "string"
- },
- "x-ms-identifiers": []
- },
- "conditionSets": {
- "type": "array",
- "description": "The governance rule conditionSets - see examples",
- "items": {
- "$ref": "#/definitions/GovernanceRuleConditionSets"
- },
- "x-ms-identifiers": []
- },
- "includeMemberScopes": {
- "type": "boolean",
- "description": "Defines whether the rule is management scope rule (master connector as a single scope or management scope)"
- },
- "ownerSource": {
- "description": "The owner source for the governance rule - e.g. Manually by user@contoso.com - see example",
- "$ref": "#/definitions/GovernanceRuleOwnerSource"
- },
- "governanceEmailNotification": {
- "description": "The email notifications settings for the governance rule, states whether to disable notifications for mangers and owners",
- "$ref": "#/definitions/GovernanceRuleEmailNotification"
- },
- "metadata": {
- "$ref": "#/definitions/GovernanceRuleMetadata"
- }
- },
- "required": [
- "displayName",
- "rulePriority",
- "ruleType",
- "sourceResourceType",
- "conditionSets",
- "ownerSource"
- ]
- },
- "GovernanceRuleOwnerSource": {
- "type": "object",
- "description": "Describe the owner source of governance rule",
- "properties": {
- "type": {
- "type": "string",
- "description": "The owner type for the governance rule owner source",
- "enum": [
- "ByTag",
- "Manually"
- ],
- "x-ms-enum": {
- "name": "GovernanceRuleOwnerSourceType",
- "modelAsString": true,
- "values": [
- {
- "value": "ByTag",
- "description": "The rule source type defined using resource tag"
- },
- {
- "value": "Manually",
- "description": "The rule source type defined manually"
- }
- ]
- }
- },
- "value": {
- "description": "The source value e.g. tag key like owner name or email address",
- "type": "string"
- }
- }
- },
- "GovernanceRuleConditionSets": {
- "type": "object",
- "description": "List of governance rule's condition sets - OR between ConditionSets, AND between conditions in a set",
- "items": {
- "$ref": "#/definitions/Conditions"
- }
- },
- "Conditions": {
- "type": "array",
- "description": "Governance rule's conditions",
- "items": {
- "$ref": "#/definitions/Condition"
- },
- "x-ms-identifiers": []
- },
- "Condition": {
- "type": "object",
- "description": "Governance rule's condition",
- "properties": {
- "property": {
- "description": "The governance rule Condition's Property, e.g. Severity or AssessmentKey, see examples",
- "type": "string"
- },
- "value": {
- "description": "The governance rule Condition's Value like severity Low, High or assessments keys, see examples",
- "type": "string"
- },
- "operator": {
- "type": "string",
- "description": "The governance rule Condition's Operator, for example Equals for severity or In for list of assessments, see examples",
- "enum": [
- "Equals",
- "In"
- ],
- "x-ms-enum": {
- "name": "GovernanceRuleConditionOperator",
- "modelAsString": true,
- "values": [
- {
- "value": "Equals",
- "description": "Checks that the string value of the data defined in Property equals the given value - exact fit"
- },
- {
- "value": "In",
- "description": "Checks that the string value of the data defined in Property equals any of the given values (exact fit)"
- }
- ]
- }
- }
- }
- },
- "ExecuteGovernanceRuleParams": {
- "type": "object",
- "description": "Governance rule execution parameters",
- "properties": {
- "override": {
- "description": "Describe if governance rule should be override",
- "type": "boolean"
- }
- }
- },
- "GovernanceRuleEmailNotification": {
- "type": "object",
- "description": "The governance email weekly notification configuration",
- "properties": {
- "disableManagerEmailNotification": {
- "description": "Defines whether manager email notifications are disabled",
- "type": "boolean"
- },
- "disableOwnerEmailNotification": {
- "description": "Defines whether owner email notifications are disabled",
- "type": "boolean"
- }
- }
- },
- "GovernanceRuleMetadata": {
- "type": "object",
- "description": "The governance rule metadata",
- "properties": {
- "createdBy": {
- "description": "Governance rule Created by object id (GUID)",
- "type": "string",
- "readOnly": true
- },
- "createdOn": {
- "description": "Governance rule creation date",
- "type": "string",
- "format": "date-time",
- "readOnly": true
- },
- "updatedBy": {
- "description": "Governance rule last updated by object id (GUID)",
- "type": "string",
- "readOnly": true
- },
- "updatedOn": {
- "description": "Governance rule last update date",
- "type": "string",
- "format": "date-time",
- "readOnly": true
- }
- }
- },
- "OperationResult": {
- "type": "object",
- "description": "Long run operation status of governance rule over a given scope",
- "properties": {
- "status": {
- "type": "string",
- "description": "The status of the long run operation result of governance rule",
- "readOnly": true,
- "enum": [
- "Succeeded",
- "Failed",
- "Canceled"
- ],
- "x-ms-enum": {
- "name": "OperationResult",
- "modelAsString": true,
- "values": [
- {
- "value": "Succeeded",
- "description": "The operation succeeded"
- },
- {
- "value": "Failed",
- "description": "The operation failed"
- },
- {
- "value": "Canceled",
- "description": "The operation canceled"
- }
- ]
- }
- }
- }
- }
- },
- "parameters": {
- "RuleId": {
- "name": "ruleId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The governance rule key - unique key for the standard governance rule (GUID)",
- "x-ms-parameter-location": "method"
- },
- "GovernanceRuleBody": {
- "name": "governanceRule",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/GovernanceRule"
- },
- "description": "Governance rule over a given scope",
- "x-ms-parameter-location": "method"
- },
- "ExecuteGovernanceRuleBody": {
- "name": "ExecuteGovernanceRuleParams",
- "in": "body",
- "schema": {
- "$ref": "#/definitions/ExecuteGovernanceRuleParams"
- },
- "description": "Execute governance rule over a given scope",
- "x-ms-parameter-location": "method"
- },
- "Scope": {
- "name": "scope",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The scope of the Governance rules. Valid scopes are: management group (format: 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'",
- "x-ms-parameter-location": "method"
- },
- "OperationId": {
- "name": "operationId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The governance rule long running operation unique key",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2022-07-01-preview/applications.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2022-07-01-preview/applications.json
deleted file mode 100644
index 5e34c8114..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2022-07-01-preview/applications.json
+++ /dev/null
@@ -1,542 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Security Center",
- "description": "API spec for Microsoft.Security (Azure Security Center) resource provider",
- "version": "2022-07-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/applications": {
- "get": {
- "x-ms-examples": {
- "List applications security by subscription level scope": {
- "$ref": "./examples/Applications/ListBySubscriptionApplications_example.json"
- }
- },
- "tags": [
- "Applications"
- ],
- "description": "Get a list of all relevant applications over a subscription level scope",
- "operationId": "Applications_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ApplicationsList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/applications/{applicationId}": {
- "get": {
- "x-ms-examples": {
- "Get security application by specific applicationId": {
- "$ref": "./examples/Applications/GetApplication_example.json"
- }
- },
- "tags": [
- "Applications"
- ],
- "description": "Get a specific application for the requested scope by applicationId",
- "operationId": "Application_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/ApplicationId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Application"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Create application": {
- "$ref": "./examples/Applications/PutApplication_example.json"
- }
- },
- "tags": [
- "Applications"
- ],
- "description": "Creates or update a security application on the given subscription.",
- "operationId": "Application_CreateOrUpdate",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/ApplicationId"
- },
- {
- "$ref": "#/parameters/ApplicationBody"
- }
- ],
- "responses": {
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/Application"
- }
- },
- "200": {
- "description": "OK - Updated",
- "schema": {
- "$ref": "#/definitions/Application"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "delete": {
- "x-ms-examples": {
- "Delete security Application": {
- "$ref": "./examples/Applications/DeleteApplication_example.json"
- }
- },
- "tags": [
- "Applications"
- ],
- "description": "Delete an Application over a given scope",
- "operationId": "Application_Delete",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/ApplicationId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK - Application was deleted"
- },
- "204": {
- "description": "No Content - Application does not exist"
- },
- "default": {
- "description": "Error response describing why the operation failed"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/providers/Microsoft.Security/applications": {
- "get": {
- "x-ms-examples": {
- "List security applications by security connector level scope": {
- "$ref": "./examples/Applications/ListBySecurityConnectorApplications_example.json"
- }
- },
- "tags": [
- "Applications"
- ],
- "description": "Get a list of all relevant applications over a security connector level scope",
- "operationId": "SecurityConnectorApplications_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ApplicationsList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/providers/Microsoft.Security/applications/{applicationId}": {
- "get": {
- "x-ms-examples": {
- "Get security applications by specific applicationId": {
- "$ref": "./examples/Applications/GetSecurityConnectorApplication_example.json"
- }
- },
- "tags": [
- "Applications"
- ],
- "description": "Get a specific application for the requested scope by applicationId",
- "operationId": "SecurityConnectorApplication_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "#/parameters/ApplicationId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Application"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Create Application": {
- "$ref": "./examples/Applications/PutSecurityConnectorApplication_example.json"
- }
- },
- "tags": [
- "Applications"
- ],
- "description": "Creates or update a security Application on the given security connector.",
- "operationId": "SecurityConnectorApplication_CreateOrUpdate",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "#/parameters/ApplicationId"
- },
- {
- "$ref": "#/parameters/ApplicationBody"
- }
- ],
- "responses": {
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/Application"
- }
- },
- "200": {
- "description": "OK - Updated",
- "schema": {
- "$ref": "#/definitions/Application"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "delete": {
- "x-ms-examples": {
- "Delete security Application": {
- "$ref": "./examples/Applications/DeleteSecurityConnectorApplication_example.json"
- }
- },
- "tags": [
- "Applications"
- ],
- "description": "Delete an Application over a given scope",
- "operationId": "SecurityConnectorApplication_Delete",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "#/parameters/ApplicationId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK - Application was deleted"
- },
- "204": {
- "description": "No Content - Application does not exist"
- },
- "default": {
- "description": "Error response describing why the operation failed"
- }
- }
- }
- }
- },
- "definitions": {
- "ApplicationsList": {
- "type": "object",
- "description": "Page of a security applications list",
- "properties": {
- "value": {
- "description": "Collection of applications in this page",
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/Application"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page"
- }
- }
- },
- "Application": {
- "type": "object",
- "description": "Security Application over a given scope",
- "properties": {
- "properties": {
- "description": "Properties of a security application",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ApplicationProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "ApplicationProperties": {
- "type": "object",
- "description": "Describes properties of an application",
- "properties": {
- "displayName": {
- "description": "display name of the application",
- "type": "string"
- },
- "description": {
- "description": "description of the application",
- "type": "string"
- },
- "sourceResourceType": {
- "type": "string",
- "description": "The application source, what it affects, e.g. Assessments",
- "enum": [
- "Assessments"
- ],
- "x-ms-enum": {
- "name": "ApplicationSourceResourceType",
- "modelAsString": true,
- "values": [
- {
- "value": "Assessments",
- "description": "The source of the application is assessments"
- }
- ]
- }
- },
- "conditionSets": {
- "type": "array",
- "description": "The application conditionSets - see examples",
- "items": {
- "$ref": "#/definitions/ApplicationConditionSets"
- },
- "x-ms-identifiers": []
- }
- },
- "required": [
- "sourceResourceType",
- "conditionSets"
- ]
- },
- "ApplicationConditionSets": {
- "type": "object",
- "description": "List of application's condition sets - OR between ConditionSets, AND between conditions in a set",
- "items": {
- "$ref": "#/definitions/ApplicationConditions"
- }
- },
- "ApplicationConditions": {
- "type": "array",
- "description": "Application's conditions",
- "items": {
- "$ref": "#/definitions/ApplicationCondition"
- },
- "x-ms-identifiers": []
- },
- "ApplicationCondition": {
- "type": "object",
- "description": "Application's condition",
- "properties": {
- "property": {
- "description": "The application Condition's Property, e.g. ID, see examples",
- "type": "string"
- },
- "value": {
- "description": "The application Condition's Value like IDs that contain some string, see examples",
- "type": "string"
- },
- "operator": {
- "type": "string",
- "description": "The application Condition's Operator, for example Contains for id or In for list of possible IDs, see examples",
- "enum": [
- "Contains",
- "Equals",
- "In"
- ],
- "x-ms-enum": {
- "name": "ApplicationConditionOperator",
- "modelAsString": true,
- "values": [
- {
- "value": "Contains",
- "description": "Checks that the string value of the data defined in Property contains the given value"
- },
- {
- "value": "Equals",
- "description": "Checks that the string value of the data defined in Property equals the given value"
- },
- {
- "value": "In",
- "description": "Checks that the string value of the data defined in Property equals any of the given values (exact fit)"
- }
- ]
- }
- }
- }
- }
- },
- "parameters": {
- "ApplicationId": {
- "name": "applicationId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The security Application key - unique key for the standard application",
- "x-ms-parameter-location": "method"
- },
- "ApplicationBody": {
- "name": "application",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/Application"
- },
- "description": "Application over a subscription scope",
- "x-ms-parameter-location": "method"
- },
- "SecurityConnectorName": {
- "name": "securityConnectorName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The security connector name.",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2022-12-01-preview/defenderForStorageSettings.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2022-12-01-preview/defenderForStorageSettings.json
deleted file mode 100644
index bb0268c2c..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2022-12-01-preview/defenderForStorageSettings.json
+++ /dev/null
@@ -1,257 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Security Center",
- "description": "API spec for Microsoft.Security (Azure Security Center) resource provider",
- "version": "2022-12-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/{resourceId}/providers/Microsoft.Security/defenderForStorageSettings/{settingName}": {
- "get": {
- "x-ms-examples": {
- "Gets the Defender for Storage settings for the specified resource.": {
- "$ref": "./examples/DefenderForStorage/GetDefenderForStorageSettings_example.json"
- }
- },
- "tags": [
- "DefenderForStorage"
- ],
- "description": "Gets the Defender for Storage settings for the specified storage account.",
- "operationId": "DefenderForStorage_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceId"
- },
- {
- "$ref": "#/parameters/DefenderForStorageSettingName"
- }
- ],
- "responses": {
- "200": {
- "description": "Successful request to get Defender for Storage settings.",
- "schema": {
- "$ref": "#/definitions/DefenderForStorageSetting"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Creates or updates the Defender for Storage settings on a specified resource.": {
- "$ref": "./examples/DefenderForStorage/PutDefenderForStorageSettings_example.json"
- }
- },
- "tags": [
- "DefenderForStorage"
- ],
- "description": "Creates or updates the Defender for Storage settings on a specified storage account.",
- "operationId": "DefenderForStorage_Create",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceId"
- },
- {
- "$ref": "#/parameters/DefenderForStorageSettingName"
- },
- {
- "$ref": "#/parameters/DefenderForStorageSetting"
- }
- ],
- "responses": {
- "200": {
- "description": "Successful request to create or update Defender for Storage settings.",
- "schema": {
- "$ref": "#/definitions/DefenderForStorageSetting"
- }
- },
- "201": {
- "description": "Request to create or update Defender for Storage settings partially succeeded.",
- "schema": {
- "$ref": "#/definitions/DefenderForStorageSetting"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "DefenderForStorageSetting": {
- "type": "object",
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ],
- "properties": {
- "properties": {
- "$ref": "#/definitions/DefenderForStorageSettingProperties"
- }
- },
- "description": "The Defender for Storage resource."
- },
- "DefenderForStorageSettingProperties": {
- "type": "object",
- "properties": {
- "isEnabled": {
- "type": "boolean",
- "description": "Indicates whether Defender for Storage is enabled on this storage account."
- },
- "malwareScanning": {
- "$ref": "#/definitions/MalwareScanningProperties"
- },
- "sensitiveDataDiscovery": {
- "$ref": "#/definitions/SensitiveDataDiscoveryProperties"
- },
- "overrideSubscriptionLevelSettings": {
- "type": "boolean",
- "description": "Indicates whether the settings defined for this storage account should override the settings defined for the subscription."
- }
- },
- "description": "Defender for Storage resource properties."
- },
- "MalwareScanningProperties": {
- "type": "object",
- "properties": {
- "onUpload": {
- "$ref": "#/definitions/OnUploadProperties"
- },
- "scanResultsEventGridTopicResourceId": {
- "type": "string",
- "description": "Optional. Resource id of an Event Grid Topic to send scan results to."
- },
- "operationStatus": {
- "type": "object",
- "$ref": "#/definitions/OperationStatus",
- "readOnly": true,
- "description": "Upon failure or partial success. Additional data describing Malware Scanning enable/disable operation."
- }
- },
- "description": "Properties of Malware Scanning."
- },
- "OnUploadProperties": {
- "type": "object",
- "properties": {
- "isEnabled": {
- "type": "boolean",
- "description": "Indicates whether On Upload malware scanning should be enabled."
- },
- "capGBPerMonth": {
- "type": "integer",
- "format": "int32",
- "description": "Defines the max GB to be scanned per Month. Set to -1 if no capping is needed."
- }
- },
- "description": "Properties of On Upload malware scanning."
- },
- "SensitiveDataDiscoveryProperties": {
- "type": "object",
- "properties": {
- "isEnabled": {
- "type": "boolean",
- "description": "Indicates whether Sensitive Data Discovery should be enabled."
- },
- "operationStatus": {
- "type": "object",
- "$ref": "#/definitions/OperationStatus",
- "readOnly": true,
- "description": "Upon failure or partial success. Additional data describing Sensitive Data Discovery enable/disable operation."
- }
- },
- "description": "Properties of Sensitive Data Discovery."
- },
- "OperationStatus": {
- "type": "object",
- "description": "A status describing the success/failure of the enablement/disablement operation.",
- "properties": {
- "code": {
- "type": "string",
- "description": "The operation status code."
- },
- "message": {
- "type": "string",
- "description": "Additional information regarding the success/failure of the operation."
- }
- }
- }
- },
- "parameters": {
- "DefenderForStorageSettingName": {
- "name": "settingName",
- "in": "path",
- "required": true,
- "type": "string",
- "pattern": "^[a-z][a-z0-9]*$",
- "enum": [
- "current"
- ],
- "x-ms-enum": {
- "name": "settingName",
- "modelAsString": true,
- "values": [
- {
- "value": "current",
- "description": "Name of the Defender for Storage Settings name."
- }
- ]
- },
- "description": "Defender for Storage setting name.",
- "x-ms-parameter-location": "method"
- },
- "DefenderForStorageSetting": {
- "name": "defenderForStorageSetting",
- "in": "body",
- "required": true,
- "description": "Defender for Storage Settings",
- "schema": {
- "$ref": "#/definitions/DefenderForStorageSetting"
- },
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2023-01-01-preview/securityOperators.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2023-01-01-preview/securityOperators.json
deleted file mode 100644
index 8c6addd33..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2023-01-01-preview/securityOperators.json
+++ /dev/null
@@ -1,265 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2023-01-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/pricings/{pricingName}/securityOperators": {
- "get": {
- "x-ms-examples": {
- "List SecurityOperators": {
- "$ref": "./examples/SecurityOperators/ListSecurityOperators_example.json"
- }
- },
- "tags": [
- "SecurityOperators"
- ],
- "description": "Lists Microsoft Defender for Cloud securityOperators in the subscription.",
- "operationId": "SecurityOperators_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/PricingName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityOperatorList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/pricings/{pricingName}/securityOperators/{securityOperatorName}": {
- "get": {
- "x-ms-examples": {
- "Get a specific security operator by scope and securityOperatorName": {
- "$ref": "./examples/SecurityOperators/GetSecurityOperatorByName_example.json"
- }
- },
- "tags": [
- "SecurityOperators"
- ],
- "description": "Get a specific security operator for the requested scope.",
- "operationId": "SecurityOperators_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/PricingName"
- },
- {
- "$ref": "#/parameters/SecurityOperatorName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityOperator"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Create a security operator on the given scope": {
- "$ref": "./examples/SecurityOperators/PutSecurityOperatorByName_example.json"
- }
- },
- "tags": [
- "SecurityOperators"
- ],
- "description": "Creates Microsoft Defender for Cloud security operator on the given scope.",
- "operationId": "SecurityOperators_CreateOrUpdate",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/PricingName"
- },
- {
- "$ref": "#/parameters/SecurityOperatorName"
- }
- ],
- "responses": {
- "200": {
- "description": "Successful request to put Security Operator.",
- "schema": {
- "$ref": "#/definitions/SecurityOperator"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "delete": {
- "x-ms-examples": {
- "Delete SecurityOperator on subscription": {
- "$ref": "./examples/SecurityOperators/DeleteSecurityOperatorByName_example.json"
- }
- },
- "tags": [
- "SecurityOperators"
- ],
- "description": "Delete Microsoft Defender for Cloud securityOperator in the subscription.",
- "operationId": "SecurityOperators_Delete",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/PricingName"
- },
- {
- "$ref": "#/parameters/SecurityOperatorName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK - Security Operator was deleted"
- },
- "204": {
- "description": "No Content - Security Operator does not exist"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "SecurityOperatorList": {
- "type": "object",
- "description": "List of SecurityOperator response.",
- "required": [
- "value"
- ],
- "properties": {
- "value": {
- "type": "array",
- "description": "List of SecurityOperator configurations",
- "items": {
- "$ref": "#/definitions/SecurityOperator"
- }
- }
- }
- },
- "SecurityOperator": {
- "type": "object",
- "description": "Security operator under a given subscription and pricing",
- "properties": {
- "identity": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Identity"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- }
- },
- "parameters": {
- "PricingName": {
- "name": "pricingName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "name of the pricing configuration",
- "pattern": "^[a-zA-Z][a-zA-Z0-9_]+$",
- "minLength": 3,
- "maxLength": 63,
- "x-ms-parameter-location": "method"
- },
- "SecurityOperatorName": {
- "name": "securityOperatorName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "name of the securityOperator",
- "pattern": "^[a-zA-Z][a-zA-Z0-9_]+$",
- "minLength": 3,
- "maxLength": 63,
- "x-ms-parameter-location": "method"
- },
- "SecurityOperator": {
- "name": "SecurityOperator",
- "in": "body",
- "required": true,
- "description": "SecurityOperator object",
- "schema": {
- "$ref": "#/definitions/SecurityOperator"
- },
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/healthReports.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/healthReports.json
deleted file mode 100644
index 15ab9ed73..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/healthReports.json
+++ /dev/null
@@ -1,356 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2023-02-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/{scope}/providers/Microsoft.Security/healthReports": {
- "get": {
- "x-ms-examples": {
- "List health reports": {
- "$ref": "./examples/HealthReports/ListHealthReports_example.json"
- }
- },
- "tags": [
- "HealthReports"
- ],
- "description": "Get a list of all health reports inside a scope. Valid scopes are: subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'",
- "operationId": "HealthReports_List",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ScopeParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/HealthReportsList"
- }
- },
- "default": {
- "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/{resourceId}/providers/Microsoft.Security/healthReports/{healthReportName}": {
- "get": {
- "x-ms-examples": {
- "Get health report of resource": {
- "$ref": "./examples/HealthReports/GetHealthReport_example.json"
- }
- },
- "tags": [
- "HealthReports"
- ],
- "description": "Get health report of resource",
- "operationId": "HealthReport_Get",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceId"
- },
- {
- "$ref": "#/parameters/HealthReportName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/HealthReport"
- }
- },
- "default": {
- "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "HealthReportsList": {
- "type": "object",
- "description": "Page of health reports list",
- "properties": {
- "value": {
- "description": "Collection of health reports in this page",
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/HealthReport"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page"
- }
- }
- },
- "HealthReport": {
- "type": "object",
- "description": "The health report resource",
- "properties": {
- "properties": {
- "description": "Properties of a health report",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/HealthReportProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "HealthReportProperties": {
- "type": "object",
- "description": "Describes properties of the health report",
- "properties": {
- "resourceDetails": {
- "$ref": "#/definitions/resourceDetails"
- },
- "environmentDetails": {
- "$ref": "#/definitions/environmentDetails"
- },
- "healthDataClassification": {
- "$ref": "#/definitions/healthDataClassification"
- },
- "status": {
- "$ref": "#/definitions/status"
- },
- "affectedDefendersPlans": {
- "type": "array",
- "description": "The affected defenders plans by unhealthy report",
- "items": {
- "type": "string",
- "description": "plan name"
- }
- },
- "issues": {
- "type": "array",
- "description": "A collection of the issues in the report",
- "items": {
- "$ref": "#/definitions/issue"
- },
- "x-ms-identifiers": []
- }
- }
- },
- "issue": {
- "type": "object",
- "description": "The issue that caused the resource to by unhealthy",
- "required": [
- "issueKey"
- ],
- "properties": {
- "issueKey": {
- "description": "The unique issue key",
- "type": "string"
- },
- "issueName": {
- "type": "string",
- "description": "The issue name"
- },
- "securityValues": {
- "type": "array",
- "description": "The affected security values that MDC offers that will be affected by the issue, for example: recommendations, alerts, etc",
- "items": {
- "type": "string",
- "description": "security values"
- }
- },
- "issueDescription": {
- "type": "string",
- "description": "The issue description"
- },
- "remediationSteps": {
- "type": "string",
- "description": "Human readable description of what you should do to mitigate this health issue"
- },
- "remediationScript": {
- "type": "string",
- "description": "The remediation script to solve this issue"
- },
- "issueAdditionalData": {
- "type": "object",
- "description": "Additional data for the given issue. The additional data depends on the issue type",
- "additionalProperties": {
- "type": "string"
- }
- }
- }
- },
- "environmentDetails": {
- "type": "object",
- "description": "The environment details of the resource",
- "properties": {
- "nativeResourceId": {
- "description": "The native resource id of the resource (in case of Azure - the resource Id, in case of MC - the native resource id)",
- "type": "string"
- },
- "environmentHierarchyId": {
- "description": "The hierarchy id of the connector (in case of Azure - the subscription Id, in case of MC - the hierarchyId id)",
- "type": "string"
- },
- "organizationalHierarchyId": {
- "description": "The organizational hierarchy id of the connector (in case of Azure - the subscription Id, in case of MC - the organizational hierarchyId id)",
- "type": "string"
- },
- "subscriptionId": {
- "description": "The subscription Id",
- "type": "string"
- },
- "tenantId": {
- "description": "The tenant Id",
- "type": "string"
- }
- }
- },
- "healthDataClassification": {
- "type": "object",
- "description": "The classification of the health report",
- "properties": {
- "component": {
- "type": "string",
- "description": "The component describes the name of the agent/service that scans the issue"
- },
- "scenario": {
- "type": "string",
- "description": "The scenario describes the health scenario issue of the component"
- },
- "scope": {
- "type": "string",
- "description": "The resource scope of the health report",
- "enum": [
- "Connectors",
- "Clusters",
- "VirtualMachines",
- "Unknown"
- ],
- "x-ms-enum": {
- "name": "scopeName",
- "modelAsString": true
- }
- }
- }
- },
- "status": {
- "type": "object",
- "description": "The status of the health report",
- "properties": {
- "code": {
- "type": "string",
- "description": "The status of the health report",
- "enum": [
- "Healthy",
- "NotHealthy",
- "NotApplicable"
- ],
- "x-ms-enum": {
- "name": "statusName",
- "modelAsString": true
- }
- },
- "statusChangeDate": {
- "type": "string",
- "format": "date-time",
- "readOnly": true,
- "description": "The date of when the status of the health report was changed in the last time"
- },
- "firstEvaluationDate": {
- "readOnly": true,
- "type": "string",
- "format": "date-time",
- "description": "The date of when the resource of the health report was scanned in the first time"
- }
- }
- },
- "resourceDetails": {
- "type": "object",
- "description": "The resource details of the health report",
- "properties": {
- "source": {
- "type": "string",
- "description": "The status of the health report",
- "enum": [
- "Aws",
- "Gcp",
- "Azure"
- ],
- "x-ms-enum": {
- "name": "source",
- "modelAsString": true
- }
- },
- "id": {
- "type": "string",
- "readOnly": true,
- "description": "The azure id of the resource"
- },
- "connectorId": {
- "readOnly": true,
- "type": "string",
- "description": "The id of the connector"
- }
- }
- }
- },
- "parameters": {
- "HealthReportName": {
- "name": "healthReportName",
- "in": "path",
- "required": true,
- "type": "string",
- "pattern": "[{]?[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}[}]?$",
- "description": "The health report Key - Unique key for the health report type",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/sqlVulnerabilityAssessmentsBaselineRuleOperations.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/sqlVulnerabilityAssessmentsBaselineRuleOperations.json
deleted file mode 100644
index 38966d492..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/sqlVulnerabilityAssessmentsBaselineRuleOperations.json
+++ /dev/null
@@ -1,412 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Security Center",
- "version": "2023-02-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "paths": {
- "/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules/{ruleId}": {
- "put": {
- "tags": [
- "Sql Vulnerability Assessment Baseline Rules"
- ],
- "summary": "Creates a Baseline for a rule in a database. Will overwrite any previously existing results.",
- "operationId": "SqlVulnerabilityAssessmentBaselineRules_CreateOrUpdate",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "in": "path",
- "name": "ruleId",
- "description": "The rule Id.",
- "required": true,
- "type": "string"
- },
- {
- "in": "query",
- "name": "workspaceId",
- "description": "The workspace Id.",
- "required": true,
- "type": "string"
- },
- {
- "in": "query",
- "name": "api-version",
- "description": "The api version.",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceId"
- },
- {
- "in": "body",
- "name": "body",
- "description": "The baseline results for this rule.",
- "schema": {
- "$ref": "#/definitions/RuleResultsInput"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully set the vulnerability assessment rule baseline.",
- "schema": {
- "$ref": "#/definitions/RuleResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-examples": {
- "Create a baseline": {
- "$ref": "./examples/sqlVulnerabilityAssessmentsBaselineRuleOperations/ArcMachineBaselineRules_Put.json"
- },
- "Create a baseline using the latest scan results": {
- "$ref": "./examples/sqlVulnerabilityAssessmentsBaselineRuleOperations/ArcMachineBaselineRules_PutLatest.json"
- }
- }
- },
- "get": {
- "tags": [
- "Sql Vulnerability Assessment Baseline Rules"
- ],
- "summary": "Gets the results for a given rule in the Baseline.",
- "operationId": "SqlVulnerabilityAssessmentBaselineRules_Get",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "in": "path",
- "name": "ruleId",
- "description": "The rule Id.",
- "required": true,
- "type": "string"
- },
- {
- "in": "query",
- "name": "workspaceId",
- "description": "The workspace Id.",
- "required": true,
- "type": "string"
- },
- {
- "in": "query",
- "name": "api-version",
- "description": "The api version.",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceId"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully got the vulnerability assessment rule baseline.",
- "schema": {
- "$ref": "#/definitions/RuleResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-examples": {
- "Get the baseline": {
- "$ref": "./examples/sqlVulnerabilityAssessmentsBaselineRuleOperations/ArcMachineBaselineRules_Get.json"
- }
- }
- },
- "delete": {
- "tags": [
- "Sql Vulnerability Assessment Baseline Rules"
- ],
- "summary": "Deletes a rule from the Baseline of a given database.",
- "operationId": "SqlVulnerabilityAssessmentBaselineRules_Delete",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "in": "path",
- "name": "ruleId",
- "description": "The rule Id.",
- "required": true,
- "type": "string"
- },
- {
- "in": "query",
- "name": "workspaceId",
- "description": "The workspace Id.",
- "required": true,
- "type": "string"
- },
- {
- "in": "query",
- "name": "api-version",
- "description": "The api version.",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceId"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully removed the database vulnerability assessment rule baseline."
- },
- "204": {
- "description": "Rule baseline doesn't exist."
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-examples": {
- "Delete the baseline": {
- "$ref": "./examples/sqlVulnerabilityAssessmentsBaselineRuleOperations/ArcMachineBaselineRules_Delete.json"
- }
- }
- }
- },
- "/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules": {
- "get": {
- "tags": [
- "Sql Vulnerability Assessment Baseline Rules"
- ],
- "summary": "Gets the results for all rules in the Baseline.",
- "operationId": "SqlVulnerabilityAssessmentBaselineRules_List",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "in": "query",
- "name": "workspaceId",
- "description": "The workspace Id.",
- "required": true,
- "type": "string"
- },
- {
- "in": "query",
- "name": "api-version",
- "description": "The api version.",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceId"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully removed the database vulnerability assessment rule baseline.",
- "schema": {
- "$ref": "#/definitions/RulesResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-examples": {
- "List baseline for all rules": {
- "$ref": "./examples/sqlVulnerabilityAssessmentsBaselineRuleOperations/ArcMachineBaselineRules_List.json"
- }
- }
- },
- "post": {
- "tags": [
- "Sql Vulnerability Assessment Baseline Rules"
- ],
- "summary": "Add a list of baseline rules. Will overwrite any previously existing results (for all rules).",
- "operationId": "SqlVulnerabilityAssessmentBaselineRules_Add",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "in": "query",
- "name": "workspaceId",
- "description": "The workspace Id.",
- "required": true,
- "type": "string"
- },
- {
- "in": "query",
- "name": "api-version",
- "description": "The api version.",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceId"
- },
- {
- "in": "body",
- "name": "body",
- "description": "The baseline rules.",
- "schema": {
- "$ref": "#/definitions/RulesResultsInput"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully removed the database vulnerability assessment rule baseline.",
- "schema": {
- "$ref": "#/definitions/RulesResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-examples": {
- "Create a baseline for all rules": {
- "$ref": "./examples/sqlVulnerabilityAssessmentsBaselineRuleOperations/ArcMachineBaselineRules_Add.json"
- },
- "Create a baseline for all rules using the latest scan results": {
- "$ref": "./examples/sqlVulnerabilityAssessmentsBaselineRuleOperations/ArcMachineBaselineRules_AddLatest.json"
- }
- }
- }
- }
- },
- "definitions": {
- "RuleResultsInput": {
- "description": "Rule results input.",
- "type": "object",
- "properties": {
- "latestScan": {
- "description": "Take results from latest scan.",
- "type": "boolean"
- },
- "results": {
- "description": "Expected results to be inserted into the baseline.\r\nLeave this field empty it LatestScan == true.",
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- }
- }
- },
- "RuleResultsProperties": {
- "description": "Rule results properties.",
- "type": "object",
- "properties": {
- "results": {
- "description": "Expected results in the baseline.",
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- }
- }
- },
- "RuleResults": {
- "description": "Rule results.",
- "type": "object",
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ],
- "properties": {
- "properties": {
- "$ref": "#/definitions/RuleResultsProperties"
- }
- }
- },
- "RulesResults": {
- "description": "A list of rules results.",
- "type": "object",
- "properties": {
- "value": {
- "description": "List of rule results.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/RuleResults"
- }
- }
- }
- },
- "RulesResultsInput": {
- "description": "Rules results input.",
- "type": "object",
- "properties": {
- "latestScan": {
- "description": "Take results from latest scan.",
- "type": "boolean"
- },
- "results": {
- "description": "Expected results to be inserted into the baseline.\r\nLeave this field empty it LatestScan == true.",
- "type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- }
- }
- }
- }
- },
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "flow": "implicit",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- },
- "description": "Azure Active Directory OAuth2 Flow"
- }
- },
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ]
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/sqlVulnerabilityAssessmentsScanOperations.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/sqlVulnerabilityAssessmentsScanOperations.json
deleted file mode 100644
index 2d87ac0ea..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/sqlVulnerabilityAssessmentsScanOperations.json
+++ /dev/null
@@ -1,297 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Security Center",
- "version": "2023-02-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "paths": {
- "/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/scans/{scanId}": {
- "get": {
- "tags": [
- "Sql Vulnerability Assessment Scans"
- ],
- "summary": "Gets the scan details of a single scan record.",
- "operationId": "SqlVulnerabilityAssessmentScans_Get",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "in": "path",
- "name": "scanId",
- "description": "The scan Id. Type 'latest' to get the scan record for the latest scan.",
- "required": true,
- "type": "string"
- },
- {
- "in": "query",
- "name": "workspaceId",
- "description": "The workspace Id.",
- "required": true,
- "type": "string"
- },
- {
- "in": "query",
- "name": "api-version",
- "description": "The api version.",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceId"
- }
- ],
- "responses": {
- "200": {
- "description": "Returns the scan record details.",
- "schema": {
- "$ref": "#/definitions/Scan"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-examples": {
- "Get scan details of a scan record": {
- "$ref": "./examples/sqlVulnerabilityAssessmentScanOperations/ArcMachineScans_Get.json"
- },
- "Get scan details of the latest scan record": {
- "$ref": "./examples/sqlVulnerabilityAssessmentScanOperations/ArcMachineScans_GetLatest.json"
- }
- }
- }
- },
- "/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/scans": {
- "get": {
- "tags": [
- "Sql Vulnerability Assessment Scans"
- ],
- "summary": "Gets a list of scan records.",
- "operationId": "SqlVulnerabilityAssessmentScans_List",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "in": "query",
- "name": "workspaceId",
- "description": "The workspace Id.",
- "required": true,
- "type": "string"
- },
- {
- "in": "query",
- "name": "api-version",
- "description": "The api version.",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceId"
- }
- ],
- "responses": {
- "200": {
- "description": "Returns the list of scan records.",
- "schema": {
- "$ref": "#/definitions/Scans"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-examples": {
- "List scan details": {
- "$ref": "./examples/sqlVulnerabilityAssessmentScanOperations/ArcMachineScans_List.json"
- }
- }
- }
- }
- },
- "definitions": {
- "ScanTriggerType": {
- "description": "The scan trigger type.",
- "enum": [
- "OnDemand",
- "Recurring"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "ScanTriggerType",
- "modelAsString": true,
- "values": [
- {
- "value": "OnDemand",
- "description": "OnDemand"
- },
- {
- "value": "Recurring",
- "description": "Recurring"
- }
- ]
- }
- },
- "ScanState": {
- "description": "The scan status.",
- "enum": [
- "Failed",
- "FailedToRun",
- "InProgress",
- "Passed"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "ScanState",
- "modelAsString": true,
- "values": [
- {
- "value": "Failed",
- "description": "Failed"
- },
- {
- "value": "FailedToRun",
- "description": "FailedToRun"
- },
- {
- "value": "InProgress",
- "description": "InProgress"
- },
- {
- "value": "Passed",
- "description": "Passed"
- }
- ]
- }
- },
- "ScanProperties": {
- "description": "A vulnerability assessment scan record properties.",
- "type": "object",
- "properties": {
- "triggerType": {
- "$ref": "#/definitions/ScanTriggerType"
- },
- "state": {
- "$ref": "#/definitions/ScanState"
- },
- "server": {
- "description": "The server name.",
- "type": "string"
- },
- "database": {
- "description": "The database name.",
- "type": "string"
- },
- "sqlVersion": {
- "description": "The SQL version.",
- "type": "string"
- },
- "startTime": {
- "format": "date-time",
- "description": "The scan start time (UTC).",
- "type": "string"
- },
- "endTime": {
- "format": "date-time",
- "description": "Scan results are valid until end time (UTC).",
- "type": "string"
- },
- "highSeverityFailedRulesCount": {
- "format": "int32",
- "description": "The number of failed rules with high severity.",
- "type": "integer"
- },
- "mediumSeverityFailedRulesCount": {
- "format": "int32",
- "description": "The number of failed rules with medium severity.",
- "type": "integer"
- },
- "lowSeverityFailedRulesCount": {
- "format": "int32",
- "description": "The number of failed rules with low severity.",
- "type": "integer"
- },
- "totalPassedRulesCount": {
- "format": "int32",
- "description": "The number of total passed rules.",
- "type": "integer"
- },
- "totalFailedRulesCount": {
- "format": "int32",
- "description": "The number of total failed rules.",
- "type": "integer"
- },
- "totalRulesCount": {
- "format": "int32",
- "description": "The number of total rules assessed.",
- "type": "integer"
- },
- "isBaselineApplied": {
- "description": "Baseline created for this database, and has one or more rules.",
- "type": "boolean"
- },
- "lastScanTime": {
- "format": "date-time",
- "description": "Last scan time.",
- "type": "string"
- }
- }
- },
- "Scan": {
- "description": "A vulnerability assessment scan record.",
- "type": "object",
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ],
- "properties": {
- "properties": {
- "$ref": "#/definitions/ScanProperties"
- }
- }
- },
- "Scans": {
- "description": "A list of vulnerability assessment scan records.",
- "type": "object",
- "properties": {
- "value": {
- "description": "List of vulnerability assessment scan records.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/Scan"
- }
- }
- }
- }
- },
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "flow": "implicit",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- },
- "description": "Azure Active Directory OAuth2 Flow"
- }
- },
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ]
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/sqlVulnerabilityAssessmentsScanResultsOperations.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/sqlVulnerabilityAssessmentsScanResultsOperations.json
deleted file mode 100644
index 2c5f94148..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/sqlVulnerabilityAssessmentsScanResultsOperations.json
+++ /dev/null
@@ -1,480 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Security Center",
- "version": "2023-02-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "paths": {
- "/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/scans/{scanId}/scanResults/{scanResultId}": {
- "get": {
- "tags": [
- "Sql Vulnerability Assessment Scan Results"
- ],
- "summary": "Gets the scan results of a single rule in a scan record.",
- "operationId": "SqlVulnerabilityAssessmentScanResults_Get",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "in": "path",
- "name": "scanId",
- "description": "The scan Id. Type 'latest' to get the scan results for the latest scan.",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "scanResultId",
- "description": "The rule Id of the results.",
- "required": true,
- "type": "string"
- },
- {
- "in": "query",
- "name": "workspaceId",
- "description": "The workspace Id.",
- "required": true,
- "type": "string"
- },
- {
- "in": "query",
- "name": "api-version",
- "description": "The api version.",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceId"
- }
- ],
- "responses": {
- "200": {
- "description": "Returns the scan results.",
- "schema": {
- "$ref": "#/definitions/ScanResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-examples": {
- "Get scan details of a scan record": {
- "$ref": "./examples/sqlVulnerabilityAssessmentsScanResultsOperations/ArcMachineScanResults_Get.json"
- },
- "Get scan details of the latest scan record": {
- "$ref": "./examples/sqlVulnerabilityAssessmentsScanResultsOperations/ArcMachineScanResults_GetLatest.json"
- }
- }
- }
- },
- "/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/scans/{scanId}/scanResults": {
- "get": {
- "tags": [
- "Sql Vulnerability Assessment Scan Results"
- ],
- "summary": "Gets a list of scan results for a single scan record.",
- "operationId": "SqlVulnerabilityAssessmentScanResults_List",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "in": "path",
- "name": "scanId",
- "description": "The scan Id. Type 'latest' to get the scan results for the latest scan.",
- "required": true,
- "type": "string"
- },
- {
- "in": "query",
- "name": "workspaceId",
- "description": "The workspace Id.",
- "required": true,
- "type": "string"
- },
- {
- "in": "query",
- "name": "api-version",
- "description": "The api version.",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceId"
- }
- ],
- "responses": {
- "200": {
- "description": "Returns the list of scan results.",
- "schema": {
- "$ref": "#/definitions/ScanResults"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-examples": {
- "List scan results": {
- "$ref": "./examples/sqlVulnerabilityAssessmentsScanResultsOperations/ArcMachineScanResults_List.json"
- },
- "List scan results of the latest scan": {
- "$ref": "./examples/sqlVulnerabilityAssessmentsScanResultsOperations/ArcMachineScanResults_ListLatest.json"
- }
- }
- }
- }
- },
- "definitions": {
- "RuleStatus": {
- "description": "The rule result status.",
- "enum": [
- "NonFinding",
- "Finding",
- "InternalError"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "RuleStatus",
- "modelAsString": true,
- "values": [
- {
- "value": "NonFinding",
- "description": "NonFinding"
- },
- {
- "value": "Finding",
- "description": "Finding"
- },
- {
- "value": "InternalError",
- "description": "InternalError"
- }
- ]
- }
- },
- "Remediation": {
- "description": "Remediation details.",
- "type": "object",
- "properties": {
- "description": {
- "description": "Remediation description.",
- "type": "string"
- },
- "scripts": {
- "description": "Remediation script.",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "automated": {
- "description": "Is remediation automated.",
- "type": "boolean"
- },
- "portalLink": {
- "description": "Optional link to remediate in Azure Portal.",
- "type": "string"
- }
- }
- },
- "Baseline": {
- "description": "Baseline details.",
- "type": "object",
- "properties": {
- "expectedResults": {
- "description": "Expected results.",
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "updatedTime": {
- "format": "date-time",
- "description": "Baseline update time (UTC).",
- "type": "string"
- }
- }
- },
- "BaselineAdjustedResult": {
- "description": "The rule result adjusted with baseline.",
- "type": "object",
- "properties": {
- "baseline": {
- "$ref": "#/definitions/Baseline"
- },
- "status": {
- "$ref": "#/definitions/RuleStatus"
- },
- "resultsNotInBaseline": {
- "description": "Results the are not in baseline.",
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "resultsOnlyInBaseline": {
- "description": "Results the are in baseline.",
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- }
- }
- },
- "RuleSeverity": {
- "description": "The rule severity.",
- "enum": [
- "High",
- "Medium",
- "Low",
- "Informational",
- "Obsolete"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "RuleSeverity",
- "modelAsString": true,
- "values": [
- {
- "value": "High",
- "description": "High"
- },
- {
- "value": "Medium",
- "description": "Medium"
- },
- {
- "value": "Low",
- "description": "Low"
- },
- {
- "value": "Informational",
- "description": "Informational"
- },
- {
- "value": "Obsolete",
- "description": "Obsolete"
- }
- ]
- }
- },
- "RuleType": {
- "description": "The rule type.",
- "enum": [
- "Binary",
- "BaselineExpected",
- "PositiveList",
- "NegativeList"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "RuleType",
- "modelAsString": true,
- "values": [
- {
- "value": "Binary",
- "description": "Binary"
- },
- {
- "value": "BaselineExpected",
- "description": "BaselineExpected"
- },
- {
- "value": "PositiveList",
- "description": "PositiveList"
- },
- {
- "value": "NegativeList",
- "description": "NegativeList"
- }
- ]
- }
- },
- "QueryCheck": {
- "description": "The rule query details.",
- "type": "object",
- "properties": {
- "query": {
- "description": "The rule query.",
- "type": "string"
- },
- "expectedResult": {
- "description": "Expected result.",
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "columnNames": {
- "description": "Column names of expected result.",
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- }
- },
- "BenchmarkReference": {
- "description": "The benchmark references.",
- "type": "object",
- "properties": {
- "benchmark": {
- "description": "The benchmark name.",
- "type": "string"
- },
- "reference": {
- "description": "The benchmark reference.",
- "type": "string"
- }
- }
- },
- "VaRule": {
- "description": "vulnerability assessment rule metadata details.",
- "type": "object",
- "properties": {
- "ruleId": {
- "description": "The rule Id.",
- "type": "string"
- },
- "severity": {
- "$ref": "#/definitions/RuleSeverity"
- },
- "category": {
- "description": "The rule category.",
- "type": "string"
- },
- "ruleType": {
- "$ref": "#/definitions/RuleType"
- },
- "title": {
- "description": "The rule title.",
- "type": "string"
- },
- "description": {
- "description": "The rule description.",
- "type": "string"
- },
- "rationale": {
- "description": "The rule rationale.",
- "type": "string"
- },
- "queryCheck": {
- "$ref": "#/definitions/QueryCheck"
- },
- "benchmarkReferences": {
- "description": "The benchmark references.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/BenchmarkReference"
- }
- }
- }
- },
- "ScanResultProperties": {
- "description": "A vulnerability assessment scan result properties for a single rule.",
- "type": "object",
- "properties": {
- "ruleId": {
- "description": "The rule Id.",
- "type": "string"
- },
- "status": {
- "$ref": "#/definitions/RuleStatus"
- },
- "isTrimmed": {
- "description": "Indicated whether the results specified here are trimmed.",
- "type": "boolean"
- },
- "queryResults": {
- "description": "The results of the query that was run.",
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "remediation": {
- "$ref": "#/definitions/Remediation"
- },
- "baselineAdjustedResult": {
- "$ref": "#/definitions/BaselineAdjustedResult"
- },
- "ruleMetadata": {
- "$ref": "#/definitions/VaRule"
- }
- }
- },
- "ScanResult": {
- "description": "A vulnerability assessment scan result for a single rule.",
- "type": "object",
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ],
- "properties": {
- "properties": {
- "$ref": "#/definitions/ScanResultProperties"
- }
- }
- },
- "ScanResults": {
- "description": "A list of vulnerability assessment scan results.",
- "type": "object",
- "properties": {
- "value": {
- "description": "List of vulnerability assessment scan results.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/ScanResult"
- }
- }
- }
- }
- },
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "flow": "implicit",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- },
- "description": "Azure Active Directory OAuth2 Flow"
- }
- },
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ]
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2023-02-15-preview/sensitivitySettings.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2023-02-15-preview/sensitivitySettings.json
deleted file mode 100644
index ef8c6ffee..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2023-02-15-preview/sensitivitySettings.json
+++ /dev/null
@@ -1,328 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Data Sensitivity Settings",
- "description": "API spec for Microsoft.Security Data Sensitivity Settings",
- "version": "2023-02-15-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/providers/Microsoft.Security/sensitivitySettings/current": {
- "put": {
- "tags": [
- "sensitivitySettings"
- ],
- "description": "Create or update data sensitivity settings for sensitive data discovery",
- "operationId": "SensitivitySettings_CreateOrUpdate",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "in": "body",
- "name": "sensitivitySettings",
- "description": "The data sensitivity settings to update",
- "required": true,
- "schema": {
- "$ref": "#/definitions/UpdateSensitivitySettingsRequest"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "Success of the sensitivity settings update",
- "schema": {
- "$ref": "#/definitions/GetSensitivitySettingsResponse"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-examples": {
- "Update sensitivity settings": {
- "$ref": "./examples/SensitivitySettings/PutSensitivitySettings_example.json"
- }
- }
- },
- "get": {
- "tags": [
- "sensitivitySettings"
- ],
- "description": "Gets data sensitivity settings for sensitive data discovery",
- "operationId": "SensitivitySettings_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "Success of the sensitivity settings get",
- "schema": {
- "$ref": "#/definitions/GetSensitivitySettingsResponse"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-examples": {
- "Get sensitivity settings": {
- "$ref": "./examples/SensitivitySettings/GetSensitivitySettings_example.json"
- }
- }
- }
- },
- "/providers/Microsoft.Security/sensitivitySettings": {
- "get": {
- "description": "Gets a list with a single sensitivity settings resource",
- "operationId": "SensitivitySettings_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "Success of the sensitivity settings list get",
- "schema": {
- "$ref": "#/definitions/GetSensitivitySettingsListResponse"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-examples": {
- "Get sensitivity settings list": {
- "$ref": "./examples/SensitivitySettings/GetSensitivitySettingsList_example.json"
- }
- }
- }
- }
- },
- "definitions": {
- "SensitiveInfoTypesIds": {
- "description": "List of selected sensitive info types' IDs.",
- "type": "array",
- "items": {
- "type": "string",
- "format": "uuid"
- }
- },
- "Label": {
- "description": "Microsoft information protection sensitivity label",
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "description": "The display name of the label"
- },
- "id": {
- "type": "string",
- "description": "The ID of the label",
- "format": "uuid"
- },
- "order": {
- "type": "number",
- "description": "Labels are ordered by sensitivity level. The higher the order of the label, the more sensitive it is."
- }
- }
- },
- "GetSensitivitySettingsResponse": {
- "x-ms-azure-resource": true,
- "type": "object",
- "description": "Data sensitivity settings for sensitive data discovery",
- "properties": {
- "id": {
- "type": "string",
- "description": "The ID of the sensitivity settings",
- "readOnly": true
- },
- "type": {
- "type": "string",
- "description": "The type of the sensitivity settings",
- "readOnly": true
- },
- "name": {
- "type": "string",
- "description": "The name of the sensitivity settings",
- "readOnly": true
- },
- "properties": {
- "type": "object",
- "description": "The sensitivity settings properties",
- "properties": {
- "sensitiveInfoTypesIds": {
- "$ref": "#/definitions/SensitiveInfoTypesIds"
- },
- "sensitivityThresholdLabelOrder": {
- "type": "number",
- "description": "The order of the sensitivity threshold label. Any label at or above this order will be considered sensitive. If set to -1, sensitivity by labels is turned off"
- },
- "sensitivityThresholdLabelId": {
- "type": "string",
- "description": "The id of the sensitivity threshold label. Any label at or above this rank will be considered sensitive.",
- "format": "uuid"
- },
- "mipInformation": {
- "description": "Microsoft information protection built-in and custom information types, labels, and integration status.",
- "type": "object",
- "properties": {
- "mipIntegrationStatus": {
- "$ref": "#/definitions/MipIntegrationStatus"
- },
- "labels": {
- "$ref": "#/definitions/Labels"
- },
- "customInfoTypes": {
- "description": "List of custom user-defined information types",
- "type": "array",
- "items": {
- "$ref": "#/definitions/InfoType"
- }
- },
- "builtInInfoTypes": {
- "description": "List of pre-configured sensitive information types",
- "type": "array",
- "items": {
- "$ref": "#/definitions/BuiltInInfoType"
- }
- }
- }
- }
- }
- }
- }
- },
- "GetSensitivitySettingsListResponse": {
- "type": "object",
- "description": "A list with a single sensitivity settings resource",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/GetSensitivitySettingsResponse"
- }
- }
- }
- },
- "UpdateSensitivitySettingsRequest": {
- "description": "Request to update data sensitivity settings for sensitive data discovery",
- "type": "object",
- "properties": {
- "sensitiveInfoTypesIds": {
- "$ref": "#/definitions/SensitiveInfoTypesIds"
- },
- "sensitivityThresholdLabelOrder": {
- "type": "number",
- "description": "The order of the sensitivity threshold label. Any label at or above this order will be considered sensitive. If set to -1, sensitivity by labels is turned off"
- },
- "sensitivityThresholdLabelId": {
- "type": "string",
- "description": "The id of the sensitivity threshold label. Any label at or above this rank will be considered sensitive.",
- "format": "uuid"
- }
- },
- "required": [
- "sensitiveInfoTypesIds"
- ]
- },
- "BuiltInInfoType": {
- "description": "Pre-configured sensitive information type",
- "type": "object",
- "properties": {
- "name": {
- "description": "Display name of the info type",
- "type": "string"
- },
- "id": {
- "description": "Id of the info type",
- "type": "string",
- "format": "uuid"
- },
- "type": {
- "description": "Category of the built-in info type",
- "type": "string"
- }
- }
- },
- "InfoType": {
- "type": "object",
- "description": "Custom user-defined information type",
- "properties": {
- "name": {
- "description": "Display name of the info type",
- "type": "string"
- },
- "id": {
- "description": "Id of the info type",
- "type": "string",
- "format": "uuid"
- },
- "description": {
- "description": "Description of the info type",
- "type": "string"
- }
- }
- },
- "MipIntegrationStatus": {
- "type": "string",
- "description": "Microsoft information protection integration status",
- "enum": [
- "Ok",
- "noConsent",
- "noAutoLabelingRules",
- "noMipLabels"
- ],
- "x-ms-enum": {
- "name": "MipIntegrationStatus",
- "modelAsString": true
- }
- },
- "Labels": {
- "description": "List of Microsoft information protection sensitivity labels",
- "type": "array",
- "items": {
- "$ref": "#/definitions/Label"
- }
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2023-05-01-preview/healthReports.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2023-05-01-preview/healthReports.json
deleted file mode 100644
index 225dcda16..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2023-05-01-preview/healthReports.json
+++ /dev/null
@@ -1,373 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2023-05-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/{scope}/providers/Microsoft.Security/healthReports": {
- "get": {
- "x-ms-examples": {
- "List health reports": {
- "$ref": "./examples/HealthReports/ListHealthReports_example.json"
- }
- },
- "tags": [
- "HealthReports"
- ],
- "description": "Get a list of all health reports inside a scope. Valid scopes are: subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'",
- "operationId": "HealthReports_List",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ScopeParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/HealthReportsList"
- }
- },
- "default": {
- "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/{resourceId}/providers/Microsoft.Security/healthReports/{healthReportName}": {
- "get": {
- "x-ms-examples": {
- "Get health report of resource": {
- "$ref": "./examples/HealthReports/GetHealthReports_example.json"
- }
- },
- "tags": [
- "HealthReports"
- ],
- "description": "Get health report of resource",
- "operationId": "HealthReports_Get",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceId"
- },
- {
- "$ref": "#/parameters/HealthReportName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/HealthReport"
- }
- },
- "default": {
- "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "HealthReportsList": {
- "type": "object",
- "description": "Page of health reports list",
- "properties": {
- "value": {
- "description": "Collection of health reports in this page",
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/HealthReport"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page"
- }
- }
- },
- "HealthReport": {
- "type": "object",
- "description": "The health report resource",
- "properties": {
- "properties": {
- "description": "Properties of a health report",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/HealthReportProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "HealthReportProperties": {
- "type": "object",
- "description": "Describes properties of the health report",
- "properties": {
- "resourceDetails": {
- "$ref": "#/definitions/resourceDetails"
- },
- "environmentDetails": {
- "$ref": "#/definitions/environmentDetails"
- },
- "healthDataClassification": {
- "$ref": "#/definitions/healthDataClassification"
- },
- "status": {
- "$ref": "#/definitions/status"
- },
- "affectedDefendersPlans": {
- "type": "array",
- "description": "The affected defenders plans by unhealthy report",
- "items": {
- "type": "string",
- "description": "plan name"
- }
- },
- "affectedDefendersSubPlans": {
- "type": "array",
- "description": "The affected defenders sub plans by unhealthy report",
- "items": {
- "type": "string",
- "description": "sub plan name"
- }
- },
- "reportAdditionalData": {
- "type": "object",
- "description": "Additional data for the given health report, this field can include more details on the resource and the health scenario.",
- "readOnly": true,
- "additionalProperties": {
- "type": "string"
- }
- },
- "issues": {
- "type": "array",
- "description": "A collection of the issues in the report",
- "items": {
- "$ref": "#/definitions/issue"
- },
- "x-ms-identifiers": []
- }
- }
- },
- "issue": {
- "type": "object",
- "description": "The issue that caused the resource to by unhealthy",
- "required": [
- "issueKey"
- ],
- "properties": {
- "issueKey": {
- "description": "The unique issue key",
- "type": "string"
- },
- "issueName": {
- "type": "string",
- "description": "The issue name"
- },
- "securityValues": {
- "type": "array",
- "description": "The affected security values that MDC offers that will be affected by the issue, for example: recommendations, alerts, etc",
- "items": {
- "type": "string",
- "description": "security values"
- }
- },
- "issueDescription": {
- "type": "string",
- "description": "The issue description"
- },
- "remediationSteps": {
- "type": "string",
- "description": "Human readable description of what you should do to mitigate this health issue"
- },
- "remediationScript": {
- "type": "string",
- "description": "The remediation script to solve this issue"
- },
- "issueAdditionalData": {
- "type": "object",
- "description": "Additional data for the given issue. The additional data depends on the issue type",
- "additionalProperties": {
- "type": "string"
- }
- }
- }
- },
- "environmentDetails": {
- "type": "object",
- "description": "The environment details of the resource",
- "properties": {
- "nativeResourceId": {
- "description": "The native resource id of the resource (in case of Azure - the resource Id, in case of MC - the native resource id)",
- "type": "string"
- },
- "environmentHierarchyId": {
- "description": "The hierarchy id of the connector (in case of Azure - the subscription Id, in case of MC - the hierarchyId id)",
- "type": "string"
- },
- "organizationalHierarchyId": {
- "description": "The organizational hierarchy id of the connector (in case of Azure - the subscription Id, in case of MC - the organizational hierarchyId id)",
- "type": "string"
- },
- "subscriptionId": {
- "description": "The subscription Id",
- "type": "string"
- },
- "tenantId": {
- "description": "The tenant Id",
- "type": "string"
- }
- }
- },
- "healthDataClassification": {
- "type": "object",
- "description": "The classification of the health report",
- "properties": {
- "component": {
- "type": "string",
- "description": "The component describes the name of the agent/service that scans the issue"
- },
- "scenario": {
- "type": "string",
- "description": "The scenario describes the health scenario issue of the component"
- },
- "scope": {
- "type": "string",
- "description": "The resource scope of the health report"
- }
- }
- },
- "status": {
- "type": "object",
- "description": "The status of the health report",
- "properties": {
- "code": {
- "type": "string",
- "description": "The status of the health report",
- "enum": [
- "Healthy",
- "NotHealthy",
- "NotApplicable"
- ],
- "x-ms-enum": {
- "name": "statusName",
- "modelAsString": true
- }
- },
- "reason": {
- "type": "string",
- "description": "The reason of the given status",
- "readOnly": true
- },
- "lastScannedDate": {
- "type": "string",
- "format": "date-time",
- "readOnly": true,
- "description": "The date of when the resource was scanned in the last time"
- },
- "statusChangeDate": {
- "type": "string",
- "format": "date-time",
- "readOnly": true,
- "description": "The date of when the status of the health report was changed in the last time"
- },
- "firstEvaluationDate": {
- "readOnly": true,
- "type": "string",
- "format": "date-time",
- "description": "The date of when the resource of the health report was scanned in the first time"
- }
- }
- },
- "resourceDetails": {
- "type": "object",
- "description": "The resource details of the health report",
- "properties": {
- "source": {
- "type": "string",
- "description": "The status of the health report",
- "enum": [
- "Aws",
- "Gcp",
- "Azure"
- ],
- "x-ms-enum": {
- "name": "source",
- "modelAsString": true
- }
- },
- "id": {
- "type": "string",
- "readOnly": true,
- "description": "The azure id of the resource"
- },
- "connectorId": {
- "readOnly": true,
- "type": "string",
- "description": "The id of the connector"
- }
- }
- }
- },
- "parameters": {
- "HealthReportName": {
- "name": "healthReportName",
- "in": "path",
- "required": true,
- "type": "string",
- "pattern": "[{]?[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}[}]?$",
- "description": "The health report Key - Unique key for the health report type",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2023-12-01-preview/automations.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2023-12-01-preview/automations.json
deleted file mode 100644
index 24ed13d90..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2023-12-01-preview/automations.json
+++ /dev/null
@@ -1,786 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2023-12-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/automations": {
- "get": {
- "x-ms-examples": {
- "List all security automations of a specified subscription": {
- "$ref": "./examples/Automations/GetAutomationsSubscription_example.json"
- }
- },
- "tags": [
- "Automations"
- ],
- "description": "Lists all the security automations in the specified subscription. Use the 'nextLink' property in the response to get the next page of security automations for the specified subscription.",
- "operationId": "Automations_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AutomationList"
- }
- },
- "default": {
- "description": "Error response that describes why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/automations": {
- "get": {
- "x-ms-examples": {
- "List all security automations of a specified resource group": {
- "$ref": "./examples/Automations/GetAutomationsResourceGroup_example.json"
- }
- },
- "tags": [
- "Automations"
- ],
- "description": "Lists all the security automations in the specified resource group. Use the 'nextLink' property in the response to get the next page of security automations for the specified resource group.",
- "operationId": "Automations_ListByResourceGroup",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AutomationList"
- }
- },
- "default": {
- "description": "Error response that describes why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/automations/{automationName}": {
- "get": {
- "x-ms-examples": {
- "Retrieve a security automation": {
- "$ref": "./examples/Automations/GetAutomationResourceGroup_example.json"
- }
- },
- "tags": [
- "Automations"
- ],
- "description": "Retrieves information about the model of a security automation.",
- "operationId": "Automations_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/AutomationName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Automation"
- }
- },
- "default": {
- "description": "Error response that describes why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Create or update a security automation for all assessments (including all severities)": {
- "$ref": "./examples/Automations/PutAutomationAllAssessments_example.json"
- },
- "Create or update a security automation for all high severity assessments": {
- "$ref": "./examples/Automations/PutAutomationHighSeverityAssessments_example.json"
- },
- "Disable or enable a security automation": {
- "$ref": "./examples/Automations/PutDisableAutomation_example.json"
- }
- },
- "tags": [
- "Automations"
- ],
- "description": "Creates or updates a security automation. If a security automation is already created and a subsequent request is issued for the same automation id, then it will be updated.",
- "operationId": "Automations_CreateOrUpdate",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/AutomationName"
- },
- {
- "$ref": "#/parameters/AutomationInBody"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Automation"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/Automation"
- }
- },
- "default": {
- "description": "Error response that describes why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "patch": {
- "x-ms-examples": {
- "Update a security automation": {
- "$ref": "./examples/Automations/PatchAutomation_example.json"
- }
- },
- "tags": [
- "Automations"
- ],
- "description": "Updates a security automation",
- "operationId": "Automations_Update",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/AutomationName"
- },
- {
- "$ref": "#/parameters/AutomationUpdateInBody"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Automation"
- }
- },
- "default": {
- "description": "Error response that describes why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "delete": {
- "x-ms-examples": {
- "Delete a security automation": {
- "$ref": "./examples/Automations/DeleteAutomation_example.json"
- }
- },
- "tags": [
- "Automations"
- ],
- "operationId": "Automations_Delete",
- "description": "Deletes a security automation.",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/AutomationName"
- }
- ],
- "responses": {
- "204": {
- "description": "NoContent"
- },
- "200": {
- "description": "Automation deleted"
- },
- "default": {
- "description": "Error response that describes why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/automations/{automationName}/validate": {
- "post": {
- "x-ms-examples": {
- "Validate the security automation model before create or update": {
- "$ref": "./examples/Automations/ValidateAutomation_example.json"
- }
- },
- "tags": [
- "Automations"
- ],
- "description": "Validates the security automation model before create or update. Any validation errors are returned to the client.",
- "operationId": "Automations_Validate",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/AutomationName"
- },
- {
- "$ref": "#/parameters/AutomationInBody"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AutomationValidationStatus"
- }
- },
- "default": {
- "description": "Error response that describes why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "AutomationList": {
- "type": "object",
- "description": "List of security automations response.",
- "required": [
- "value"
- ],
- "properties": {
- "value": {
- "type": "array",
- "description": "The list of security automations under the given scope.",
- "items": {
- "$ref": "#/definitions/Automation"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "Automation": {
- "type": "object",
- "description": "The security automation resource.",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "Security automation data",
- "$ref": "#/definitions/AutomationProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/TrackedResource"
- }
- ]
- },
- "AutomationUpdateModel": {
- "type": "object",
- "description": "The update model of security automation resource.",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "Security automation data",
- "$ref": "#/definitions/AutomationProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Tags"
- }
- ]
- },
- "AutomationProperties": {
- "type": "object",
- "description": "A set of properties that defines the behavior of the automation configuration. To learn more about the supported security events data models schemas - please visit https://aka.ms/ASCAutomationSchemas.",
- "properties": {
- "description": {
- "type": "string",
- "description": "The security automation description."
- },
- "isEnabled": {
- "type": "boolean",
- "description": "Indicates whether the security automation is enabled."
- },
- "scopes": {
- "type": "array",
- "description": "A collection of scopes on which the security automations logic is applied. Supported scopes are the subscription itself or a resource group under that subscription. The automation will only apply on defined scopes.",
- "items": {
- "$ref": "#/definitions/AutomationScope"
- },
- "x-ms-identifiers": []
- },
- "sources": {
- "type": "array",
- "description": "A collection of the source event types which evaluate the security automation set of rules.",
- "items": {
- "$ref": "#/definitions/AutomationSource"
- },
- "x-ms-identifiers": []
- },
- "actions": {
- "type": "array",
- "description": "A collection of the actions which are triggered if all the configured rules evaluations, within at least one rule set, are true.",
- "items": {
- "$ref": "#/definitions/AutomationAction"
- },
- "x-ms-identifiers": []
- }
- }
- },
- "AutomationSource": {
- "type": "object",
- "description": "The source event types which evaluate the security automation set of rules. For example - security alerts and security assessments. To learn more about the supported security events data models schemas - please visit https://aka.ms/ASCAutomationSchemas.",
- "properties": {
- "eventSource": {
- "type": "string",
- "description": "A valid event source type.",
- "enum": [
- "Assessments",
- "AssessmentsSnapshot",
- "SubAssessments",
- "SubAssessmentsSnapshot",
- "Alerts",
- "SecureScores",
- "SecureScoresSnapshot",
- "SecureScoreControls",
- "SecureScoreControlsSnapshot",
- "RegulatoryComplianceAssessment",
- "RegulatoryComplianceAssessmentSnapshot",
- "AttackPaths",
- "AttackPathsSnapshot"
- ],
- "x-ms-enum": {
- "name": "EventSource",
- "modelAsString": true,
- "values": [
- {
- "value": "Assessments"
- },
- {
- "value": "AssessmentsSnapshot"
- },
- {
- "value": "SubAssessments"
- },
- {
- "value": "SubAssessmentsSnapshot"
- },
- {
- "value": "Alerts"
- },
- {
- "value": "SecureScores"
- },
- {
- "value": "SecureScoresSnapshot"
- },
- {
- "value": "SecureScoreControls"
- },
- {
- "value": "SecureScoreControlsSnapshot"
- },
- {
- "value": "RegulatoryComplianceAssessment"
- },
- {
- "value": "RegulatoryComplianceAssessmentSnapshot"
- },
- {
- "value": "AttackPaths"
- },
- {
- "value": "AttackPathsSnapshot"
- }
- ]
- }
- },
- "ruleSets": {
- "type": "array",
- "description": "A set of rules which evaluate upon event interception. A logical disjunction is applied between defined rule sets (logical 'or').",
- "items": {
- "$ref": "#/definitions/AutomationRuleSet"
- },
- "x-ms-identifiers": []
- }
- }
- },
- "AutomationScope": {
- "type": "object",
- "description": "A single automation scope.",
- "properties": {
- "description": {
- "type": "string",
- "description": "The resources scope description."
- },
- "scopePath": {
- "type": "string",
- "description": "The resources scope path. Can be the subscription on which the automation is defined on or a resource group under that subscription (fully qualified Azure resource IDs)."
- }
- }
- },
- "AutomationAction": {
- "type": "object",
- "description": "The action that should be triggered.",
- "discriminator": "actionType",
- "required": [
- "actionType"
- ],
- "properties": {
- "actionType": {
- "type": "string",
- "description": "The type of the action that will be triggered by the Automation",
- "enum": [
- "LogicApp",
- "EventHub",
- "Workspace"
- ],
- "x-ms-enum": {
- "name": "ActionType",
- "modelAsString": true,
- "values": [
- {
- "value": "LogicApp"
- },
- {
- "value": "EventHub"
- },
- {
- "value": "Workspace"
- }
- ]
- }
- }
- }
- },
- "AutomationActionLogicApp": {
- "type": "object",
- "description": "The logic app action that should be triggered. To learn more about Microsoft Defender for Cloud's Workflow Automation capabilities, visit https://aka.ms/ASCWorkflowAutomationLearnMore",
- "x-ms-discriminator-value": "LogicApp",
- "allOf": [
- {
- "readOnly": true,
- "$ref": "#/definitions/AutomationAction"
- }
- ],
- "properties": {
- "logicAppResourceId": {
- "type": "string",
- "description": "The triggered Logic App Azure Resource ID. This can also reside on other subscriptions, given that you have permissions to trigger the Logic App"
- },
- "uri": {
- "type": "string",
- "description": "The Logic App trigger URI endpoint (it will not be included in any response).",
- "format": "uri"
- }
- }
- },
- "AutomationActionEventHub": {
- "type": "object",
- "description": "The target Event Hub to which event data will be exported. To learn more about Microsoft Defender for Cloud continuous export capabilities, visit https://aka.ms/ASCExportLearnMore",
- "x-ms-discriminator-value": "EventHub",
- "allOf": [
- {
- "$ref": "#/definitions/AutomationAction"
- }
- ],
- "properties": {
- "eventHubResourceId": {
- "type": "string",
- "description": "The target Event Hub Azure Resource ID."
- },
- "sasPolicyName": {
- "readOnly": true,
- "type": "string",
- "description": "The target Event Hub SAS policy name."
- },
- "connectionString": {
- "type": "string",
- "description": "The target Event Hub connection string (it will not be included in any response)."
- },
- "isTrustedServiceEnabled": {
- "type": "boolean",
- "description": "Indicates whether the trusted service is enabled or not."
- }
- }
- },
- "AutomationActionWorkspace": {
- "type": "object",
- "description": "The Log Analytics Workspace to which event data will be exported. Security alerts data will reside in the 'SecurityAlert' table and the assessments data will reside in the 'SecurityRecommendation' table (under the 'Security'/'SecurityCenterFree' solutions). Note that in order to view the data in the workspace, the Security Center Log Analytics free/standard solution needs to be enabled on that workspace. To learn more about Microsoft Defender for Cloud continuous export capabilities, visit https://aka.ms/ASCExportLearnMore",
- "x-ms-discriminator-value": "Workspace",
- "allOf": [
- {
- "$ref": "#/definitions/AutomationAction"
- }
- ],
- "properties": {
- "workspaceResourceId": {
- "type": "string",
- "description": "The fully qualified Log Analytics Workspace Azure Resource ID."
- }
- }
- },
- "AutomationRuleSet": {
- "type": "object",
- "description": "A rule set which evaluates all its rules upon an event interception. Only when all the included rules in the rule set will be evaluated as 'true', will the event trigger the defined actions. ",
- "properties": {
- "rules": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/AutomationTriggeringRule"
- },
- "x-ms-identifiers": []
- }
- }
- },
- "AutomationTriggeringRule": {
- "type": "object",
- "description": "A rule which is evaluated upon event interception. The rule is configured by comparing a specific value from the event model to an expected value. This comparison is done by using one of the supported operators set.",
- "properties": {
- "propertyJPath": {
- "type": "string",
- "description": "The JPath of the entity model property that should be checked."
- },
- "propertyType": {
- "type": "string",
- "description": "The data type of the compared operands (string, integer, floating point number or a boolean [true/false]]",
- "enum": [
- "String",
- "Integer",
- "Number",
- "Boolean"
- ],
- "x-ms-enum": {
- "name": "PropertyType",
- "modelAsString": true,
- "values": [
- {
- "value": "String"
- },
- {
- "value": "Integer"
- },
- {
- "value": "Number"
- },
- {
- "value": "Boolean"
- }
- ]
- }
- },
- "expectedValue": {
- "type": "string",
- "description": "The expected value."
- },
- "operator": {
- "type": "string",
- "description": "A valid comparer operator to use. A case-insensitive comparison will be applied for String PropertyType.",
- "enum": [
- "Equals",
- "GreaterThan",
- "GreaterThanOrEqualTo",
- "LesserThan",
- "LesserThanOrEqualTo",
- "NotEquals",
- "Contains",
- "StartsWith",
- "EndsWith"
- ],
- "x-ms-enum": {
- "name": "Operator",
- "modelAsString": true,
- "values": [
- {
- "value": "Equals",
- "description": "Applies for decimal and non-decimal operands"
- },
- {
- "value": "GreaterThan",
- "description": "Applies only for decimal operands"
- },
- {
- "value": "GreaterThanOrEqualTo",
- "description": "Applies only for decimal operands"
- },
- {
- "value": "LesserThan",
- "description": "Applies only for decimal operands"
- },
- {
- "value": "LesserThanOrEqualTo",
- "description": "Applies only for decimal operands"
- },
- {
- "value": "NotEquals",
- "description": "Applies for decimal and non-decimal operands"
- },
- {
- "value": "Contains",
- "description": "Applies only for non-decimal operands"
- },
- {
- "value": "StartsWith",
- "description": "Applies only for non-decimal operands"
- },
- {
- "value": "EndsWith",
- "description": "Applies only for non-decimal operands"
- }
- ]
- }
- }
- }
- },
- "AutomationValidationStatus": {
- "type": "object",
- "description": "The security automation model state property bag.",
- "properties": {
- "isValid": {
- "type": "boolean",
- "description": "Indicates whether the model is valid or not."
- },
- "message": {
- "type": "string",
- "description": "The validation message."
- }
- }
- }
- },
- "parameters": {
- "AutomationName": {
- "name": "automationName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The security automation name.",
- "x-ms-parameter-location": "method"
- },
- "AutomationInBody": {
- "name": "Automation",
- "in": "body",
- "required": true,
- "description": "The security automation resource",
- "schema": {
- "$ref": "#/definitions/Automation"
- },
- "x-ms-parameter-location": "method"
- },
- "AutomationUpdateInBody": {
- "name": "Automation",
- "in": "body",
- "required": true,
- "description": "The update model of security automation resource",
- "schema": {
- "$ref": "#/definitions/AutomationUpdateModel"
- },
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2023-12-01-preview/securityContacts.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2023-12-01-preview/securityContacts.json
deleted file mode 100644
index 4e06c8f23..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2023-12-01-preview/securityContacts.json
+++ /dev/null
@@ -1,504 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2023-12-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/securityContacts": {
- "get": {
- "x-ms-examples": {
- "List security contact data": {
- "$ref": "./examples/SecurityContacts/GetSecurityContactsSubscription_example.json"
- }
- },
- "tags": [
- "Security Contacts"
- ],
- "description": "List all security contact configurations for the subscription",
- "operationId": "SecurityContacts_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityContactList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/securityContacts/{securityContactName}": {
- "get": {
- "x-ms-examples": {
- "Get a security contact": {
- "$ref": "./examples/SecurityContacts/GetSecurityContact_example.json"
- }
- },
- "tags": [
- "Security Contacts"
- ],
- "description": "Get Default Security contact configurations for the subscription",
- "operationId": "SecurityContacts_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/SecurityContactName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityContact"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Create security contact data": {
- "$ref": "./examples/SecurityContacts/CreateSecurityContact_example.json"
- }
- },
- "tags": [
- "Security Contacts"
- ],
- "description": "Create security contact configurations for the subscription",
- "operationId": "SecurityContacts_Create",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/SecurityContactName"
- },
- {
- "$ref": "#/parameters/SecurityContact"
- }
- ],
- "responses": {
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/SecurityContact"
- }
- },
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityContact"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "delete": {
- "x-ms-examples": {
- "Deletes a security contact data": {
- "$ref": "./examples/SecurityContacts/DeleteSecurityContact_example.json"
- }
- },
- "tags": [
- "Security Contacts"
- ],
- "description": "Delete security contact configurations for the subscription",
- "operationId": "SecurityContacts_Delete",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/SecurityContactName"
- }
- ],
- "responses": {
- "200": {
- "description": "Security contact deleted"
- },
- "204": {
- "description": "Security contact was not found"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "SecurityContactList": {
- "type": "object",
- "description": "List of security contacts response",
- "required": [
- "value"
- ],
- "properties": {
- "value": {
- "description": "List of security contacts",
- "type": "array",
- "items": {
- "$ref": "#/definitions/SecurityContact"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "SecurityContact": {
- "type": "object",
- "description": "Contact details and configurations for notifications coming from Microsoft Defender for Cloud.",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "Security contact data",
- "$ref": "#/definitions/SecurityContactProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "SecurityContactProperties": {
- "type": "object",
- "description": "Describes security contact properties",
- "properties": {
- "emails": {
- "type": "string",
- "description": "List of email addresses which will get notifications from Microsoft Defender for Cloud by the configurations defined in this security contact."
- },
- "phone": {
- "type": "string",
- "description": "The security contact's phone number"
- },
- "isEnabled": {
- "type": "boolean",
- "description": "Indicates whether the security contact is enabled."
- },
- "notificationsSources": {
- "type": "array",
- "description": "A collection of sources types which evaluate the email notification.",
- "items": {
- "$ref": "#/definitions/NotificationsSource"
- },
- "x-ms-identifiers": []
- },
- "notificationsByRole": {
- "type": "object",
- "description": "Defines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on the subscription.",
- "properties": {
- "state": {
- "type": "string",
- "description": "Defines whether to send email notifications from AMicrosoft Defender for Cloud to persons with specific RBAC roles on the subscription.",
- "enum": [
- "On",
- "Off"
- ],
- "x-ms-enum": {
- "name": "state",
- "modelAsString": true,
- "values": [
- {
- "value": "On",
- "description": "Send notification on new alerts to the subscription's admins"
- },
- {
- "value": "Off",
- "description": "Don't send notification on new alerts to the subscription's admins"
- }
- ]
- }
- },
- "roles": {
- "type": "array",
- "description": "Defines which RBAC roles will get email notifications from Microsoft Defender for Cloud. List of allowed RBAC roles: ",
- "items": {
- "$ref": "#/definitions/SecurityContactRole"
- }
- }
- }
- }
- }
- },
- "NotificationsSource": {
- "type": "object",
- "description": "A valid notification source type",
- "discriminator": "sourceType",
- "required": [
- "sourceType"
- ],
- "properties": {
- "sourceType": {
- "type": "string",
- "description": "The source type that will trigger the notification",
- "enum": [
- "Alert",
- "AttackPath"
- ],
- "x-ms-enum": {
- "name": "sourceType",
- "modelAsString": true
- }
- }
- }
- },
- "NotificationsSourceAlert": {
- "type": "object",
- "description": "Alert notification source",
- "x-ms-discriminator-value": "Alert",
- "allOf": [
- {
- "$ref": "#/definitions/NotificationsSource"
- }
- ],
- "properties": {
- "minimalSeverity": {
- "type": "object",
- "$ref": "#/definitions/MinimalSeverity",
- "description": ""
- }
- }
- },
- "MinimalSeverity": {
- "type": "string",
- "description": "Defines the minimal alert severity which will be sent as email notifications",
- "enum": [
- "High",
- "Medium",
- "Low"
- ],
- "x-ms-enum": {
- "name": "minimalSeverity",
- "modelAsString": true,
- "values": [
- {
- "value": "High",
- "description": "Get notifications on new alerts with High severity"
- },
- {
- "value": "Medium",
- "description": "Get notifications on new alerts with Medium or High severity"
- },
- {
- "value": "Low",
- "description": "Get notifications on new alerts with Low, Medium or High severity"
- }
- ]
- }
- },
- "NotificationsSourceAttackPath": {
- "type": "object",
- "description": "Attack path notification source",
- "x-ms-discriminator-value": "AttackPath",
- "allOf": [
- {
- "$ref": "#/definitions/NotificationsSource"
- }
- ],
- "properties": {
- "minimalRiskLevel": {
- "type": "object",
- "$ref": "#/definitions/MinimalRiskLevel",
- "description": "Defines the minimal attach path risk level which will be sent as email notifications"
- }
- }
- },
- "MinimalRiskLevel": {
- "type": "string",
- "description": "Defines the minimal attack path risk level which will be sent as email notifications",
- "enum": [
- "Critical",
- "High",
- "Medium",
- "Low"
- ],
- "x-ms-enum": {
- "name": "minimalRiskLevel",
- "modelAsString": true,
- "values": [
- {
- "value": "Critical",
- "description": "Get notifications on new attack paths with Critical risk level"
- },
- {
- "value": "High",
- "description": "Get notifications on new attack paths with High or Critical risk level"
- },
- {
- "value": "Medium",
- "description": "Get notifications on new attach paths with Medium, High or Critical risk level"
- },
- {
- "value": "Low",
- "description": "Get notifications on new attach paths with Low, Medium, High or Critical risk level"
- }
- ]
- }
- },
- "State": {
- "type": "string",
- "description": "Defines if email notifications will be sent about new security events",
- "enum": [
- "On",
- "Off"
- ],
- "x-ms-enum": {
- "name": "state",
- "modelAsString": true,
- "values": [
- {
- "value": "On",
- "description": "Get notifications on new events"
- },
- {
- "value": "Off",
- "description": "Don't get notifications on new events"
- }
- ]
- }
- },
- "SecurityContactRole": {
- "type": "string",
- "description": "A possible role to configure sending security notification alerts to",
- "enum": [
- "AccountAdmin",
- "ServiceAdmin",
- "Owner",
- "Contributor"
- ],
- "x-ms-enum": {
- "name": "securityContactRole",
- "modelAsString": true,
- "values": [
- {
- "value": "AccountAdmin",
- "description": "If enabled, send notification on new alerts to the account admins"
- },
- {
- "value": "ServiceAdmin",
- "description": "If enabled, send notification on new alerts to the service admins"
- },
- {
- "value": "Owner",
- "description": "If enabled, send notification on new alerts to the subscription owners"
- },
- {
- "value": "Contributor",
- "description": "If enabled, send notification on new alerts to the subscription contributors"
- }
- ]
- }
- }
- },
- "parameters": {
- "SecurityContactName": {
- "name": "securityContactName",
- "type": "string",
- "enum": [
- "default"
- ],
- "x-ms-enum": {
- "name": "securityContactName",
- "modelAsString": true,
- "values": [
- {
- "value": "default",
- "description": "The single applicable name of the security contact object"
- }
- ]
- },
- "in": "path",
- "required": true,
- "pattern": "^(default)$",
- "minLength": 7,
- "maxLength": 7,
- "description": "Name of the security contact object",
- "x-ms-parameter-location": "method"
- },
- "SecurityContact": {
- "name": "securityContact",
- "in": "body",
- "required": true,
- "description": "Security contact object",
- "schema": {
- "$ref": "#/definitions/SecurityContact"
- },
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2024-03-01-preview/securityConnectors.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2024-03-01-preview/securityConnectors.json
deleted file mode 100644
index 680adddde..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2024-03-01-preview/securityConnectors.json
+++ /dev/null
@@ -1,1618 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Security Center",
- "description": "API spec for Microsoft.Security (Azure Security Center) resource provider",
- "version": "2024-03-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/securityConnectors": {
- "get": {
- "x-ms-examples": {
- "List all security connectors of a specified subscription": {
- "$ref": "./examples/SecurityConnectors/GetSecurityConnectorsSubscription_example.json"
- }
- },
- "tags": [
- "SecurityConnectors"
- ],
- "description": "Lists all the security connectors in the specified subscription. Use the 'nextLink' property in the response to get the next page of security connectors for the specified subscription.",
- "operationId": "SecurityConnectors_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityConnectorsList"
- }
- },
- "default": {
- "description": "Error response that describes why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors": {
- "get": {
- "x-ms-examples": {
- "List all security connectors of a specified resource group": {
- "$ref": "./examples/SecurityConnectors/GetSecurityConnectorsResourceGroup_example.json"
- }
- },
- "tags": [
- "SecurityConnectors"
- ],
- "description": "Lists all the security connectors in the specified resource group. Use the 'nextLink' property in the response to get the next page of security connectors for the specified resource group.",
- "operationId": "SecurityConnectors_ListByResourceGroup",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityConnectorsList"
- }
- },
- "default": {
- "description": "Error response that describes why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}": {
- "get": {
- "x-ms-examples": {
- "Retrieve a security connector": {
- "$ref": "./examples/SecurityConnectors/GetSecurityConnectorSingleResource_example.json"
- }
- },
- "tags": [
- "SecurityConnectors"
- ],
- "description": "Retrieves details of a specific security connector",
- "operationId": "SecurityConnectors_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/securityConnectorName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityConnector"
- }
- },
- "default": {
- "description": "Error response that describes why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Create or update a security connector": {
- "$ref": "./examples/SecurityConnectors/PutSecurityConnector_example.json"
- }
- },
- "tags": [
- "SecurityConnectors"
- ],
- "description": "Creates or updates a security connector. If a security connector is already created and a subsequent request is issued for the same security connector id, then it will be updated.",
- "operationId": "SecurityConnectors_CreateOrUpdate",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/securityConnectorName"
- },
- {
- "$ref": "#/parameters/securityConnectorInBody"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityConnector"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/SecurityConnector"
- }
- },
- "default": {
- "description": "Error response that describes why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "patch": {
- "x-ms-examples": {
- "Update a security connector": {
- "$ref": "./examples/SecurityConnectors/PatchSecurityConnector_example.json"
- }
- },
- "tags": [
- "SecurityConnectors"
- ],
- "description": "Updates a security connector",
- "operationId": "SecurityConnectors_Update",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/securityConnectorName"
- },
- {
- "$ref": "#/parameters/securityConnectorInBody"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityConnector"
- }
- },
- "default": {
- "description": "Error response that describes why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "delete": {
- "x-ms-examples": {
- "Delete a security connector": {
- "$ref": "./examples/SecurityConnectors/DeleteSecurityConnector_example.json"
- }
- },
- "tags": [
- "SecurityConnectors"
- ],
- "operationId": "SecurityConnectors_Delete",
- "description": "Deletes a security connector.",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/securityConnectorName"
- }
- ],
- "responses": {
- "200": {
- "description": "The resource was deleted successfully"
- },
- "204": {
- "description": "NoContent"
- },
- "default": {
- "description": "Error response that describes why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "SecurityConnectorsList": {
- "type": "object",
- "description": "List of security connectors response.",
- "required": [
- "value"
- ],
- "properties": {
- "value": {
- "type": "array",
- "description": "The list of security connectors under the given scope.",
- "items": {
- "$ref": "#/definitions/SecurityConnector"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "SecurityConnector": {
- "type": "object",
- "description": "The security connector resource.",
- "properties": {
- "systemData": {
- "readOnly": true,
- "type": "object",
- "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.",
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
- },
- "properties": {
- "x-ms-client-flatten": true,
- "description": "Security connector data",
- "$ref": "#/definitions/SecurityConnectorProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/TrackedResource"
- }
- ]
- },
- "SecurityConnectorProperties": {
- "type": "object",
- "description": "A set of properties that defines the security connector configuration.",
- "properties": {
- "hierarchyIdentifier": {
- "type": "string",
- "description": "The multi cloud resource identifier (account id in case of AWS connector, project number in case of GCP connector)."
- },
- "hierarchyIdentifierTrialEndDate": {
- "type": "string",
- "format": "date-time",
- "readOnly": true,
- "description": "The date on which the trial period will end, if applicable. Trial period exists for 30 days after upgrading to payed offerings."
- },
- "environmentName": {
- "type": "string",
- "description": "The multi cloud resource's cloud name.",
- "enum": [
- "Azure",
- "AWS",
- "GCP",
- "Github",
- "AzureDevOps",
- "GitLab"
- ],
- "x-ms-enum": {
- "name": "cloudName",
- "modelAsString": true
- }
- },
- "offerings": {
- "type": "array",
- "description": "A collection of offerings for the security connector.",
- "items": {
- "$ref": "#/definitions/cloudOffering"
- },
- "x-ms-identifiers": []
- },
- "environmentData": {
- "type": "object",
- "description": "The security connector environment data.",
- "$ref": "#/definitions/EnvironmentData"
- }
- }
- },
- "EnvironmentData": {
- "type": "object",
- "description": "The security connector environment data.",
- "discriminator": "environmentType",
- "required": [
- "environmentType"
- ],
- "properties": {
- "environmentType": {
- "type": "string",
- "description": "The type of the environment data.",
- "enum": [
- "AwsAccount",
- "GcpProject",
- "GithubScope",
- "AzureDevOpsScope",
- "GitlabScope"
- ],
- "x-ms-enum": {
- "name": "environmentType",
- "modelAsString": true
- }
- }
- }
- },
- "AwsEnvironmentData": {
- "type": "object",
- "description": "The AWS connector environment data",
- "x-ms-discriminator-value": "AwsAccount",
- "allOf": [
- {
- "$ref": "#/definitions/EnvironmentData"
- }
- ],
- "properties": {
- "organizationalData": {
- "type": "object",
- "description": "The AWS account's organizational data",
- "$ref": "#/definitions/AwsOrganizationalData"
- },
- "regions": {
- "type": "array",
- "description": "list of regions to scan",
- "items": {
- "type": "string",
- "description": "AWS regions names"
- }
- },
- "accountName": {
- "type": "string",
- "description": "The AWS account name",
- "readOnly": true
- },
- "scanInterval": {
- "type": "integer",
- "format": "int64",
- "description": "Scan interval in hours (value should be between 1-hour to 24-hours)"
- }
- }
- },
- "AwsOrganizationalData": {
- "type": "object",
- "description": "The AWS organization data",
- "discriminator": "organizationMembershipType",
- "required": [
- "organizationMembershipType"
- ],
- "properties": {
- "organizationMembershipType": {
- "type": "string",
- "description": "The multi cloud account's membership type in the organization",
- "enum": [
- "Member",
- "Organization"
- ],
- "x-ms-enum": {
- "name": "organizationMembershipType",
- "modelAsString": true
- }
- }
- }
- },
- "AwsOrganizationalDataMaster": {
- "type": "object",
- "description": "The AWS organization data for the master account",
- "x-ms-discriminator-value": "Organization",
- "allOf": [
- {
- "$ref": "#/definitions/AwsOrganizationalData"
- }
- ],
- "properties": {
- "stacksetName": {
- "type": "string",
- "description": "If the multi cloud account is of membership type organization, this will be the name of the onboarding stackset"
- },
- "excludedAccountIds": {
- "type": "array",
- "description": "If the multi cloud account is of membership type organization, list of accounts excluded from offering",
- "items": {
- "type": "string",
- "description": "account IDs"
- }
- }
- }
- },
- "AwsOrganizationalDataMember": {
- "type": "object",
- "description": "The AWS organization data for the member account",
- "x-ms-discriminator-value": "Member",
- "allOf": [
- {
- "$ref": "#/definitions/AwsOrganizationalData"
- }
- ],
- "properties": {
- "parentHierarchyId": {
- "type": "string",
- "description": "If the multi cloud account is not of membership type organization, this will be the ID of the account's parent"
- }
- }
- },
- "GcpProjectEnvironmentData": {
- "type": "object",
- "description": "The GCP project connector environment data",
- "x-ms-discriminator-value": "GcpProject",
- "allOf": [
- {
- "$ref": "#/definitions/EnvironmentData"
- }
- ],
- "properties": {
- "organizationalData": {
- "type": "object",
- "description": "The Gcp project's organizational data",
- "$ref": "#/definitions/GcpOrganizationalData"
- },
- "projectDetails": {
- "type": "object",
- "description": "The Gcp project's details",
- "$ref": "#/definitions/GcpProjectDetails"
- },
- "scanInterval": {
- "type": "integer",
- "format": "int64",
- "description": "Scan interval in hours (value should be between 1-hour to 24-hours)"
- }
- }
- },
- "GcpProjectDetails": {
- "type": "object",
- "description": "The details about the project represented by the security connector",
- "properties": {
- "projectNumber": {
- "type": "string",
- "description": "The unique GCP Project number"
- },
- "projectId": {
- "type": "string",
- "description": "The GCP Project id"
- },
- "workloadIdentityPoolId": {
- "readOnly": true,
- "type": "string",
- "description": "The GCP workload identity federation pool id"
- },
- "projectName": {
- "readOnly": true,
- "type": "string",
- "description": "GCP project name"
- }
- }
- },
- "GcpOrganizationalData": {
- "type": "object",
- "description": "The gcpOrganization data",
- "discriminator": "organizationMembershipType",
- "required": [
- "organizationMembershipType"
- ],
- "properties": {
- "organizationMembershipType": {
- "type": "string",
- "description": "The multi cloud account's membership type in the organization",
- "enum": [
- "Member",
- "Organization"
- ],
- "x-ms-enum": {
- "name": "organizationMembershipType",
- "modelAsString": true
- }
- }
- }
- },
- "GcpOrganizationalDataOrganization": {
- "type": "object",
- "description": "The gcpOrganization data for the parent account",
- "x-ms-discriminator-value": "Organization",
- "allOf": [
- {
- "$ref": "#/definitions/GcpOrganizationalData"
- }
- ],
- "properties": {
- "excludedProjectNumbers": {
- "type": "array",
- "description": "If the multi cloud account is of membership type organization, list of accounts excluded from offering",
- "items": {
- "type": "string",
- "description": "account IDs"
- }
- },
- "serviceAccountEmailAddress": {
- "type": "string",
- "description": "The service account email address which represents the organization level permissions container."
- },
- "workloadIdentityProviderId": {
- "type": "string",
- "description": "The GCP workload identity provider id which represents the permissions required to auto provision security connectors"
- },
- "organizationName": {
- "readOnly": true,
- "type": "string",
- "description": "GCP organization name"
- }
- }
- },
- "GcpOrganizationalDataMember": {
- "type": "object",
- "description": "The gcpOrganization data for the member account",
- "x-ms-discriminator-value": "Member",
- "allOf": [
- {
- "$ref": "#/definitions/GcpOrganizationalData"
- }
- ],
- "properties": {
- "parentHierarchyId": {
- "type": "string",
- "description": "If the multi cloud account is not of membership type organization, this will be the ID of the project's parent"
- },
- "managementProjectNumber": {
- "type": "string",
- "description": "The GCP management project number from organizational onboarding"
- }
- }
- },
- "GithubScopeEnvironmentData": {
- "type": "object",
- "description": "The github scope connector's environment data",
- "x-ms-discriminator-value": "GithubScope",
- "allOf": [
- {
- "$ref": "#/definitions/EnvironmentData"
- }
- ],
- "properties": {}
- },
- "AzureDevOpsScopeEnvironmentData": {
- "type": "object",
- "description": "The AzureDevOps scope connector's environment data",
- "x-ms-discriminator-value": "AzureDevOpsScope",
- "allOf": [
- {
- "$ref": "#/definitions/EnvironmentData"
- }
- ],
- "properties": {}
- },
- "GitlabScopeEnvironmentData": {
- "type": "object",
- "description": "The GitLab scope connector's environment data",
- "x-ms-discriminator-value": "GitlabScope",
- "allOf": [
- {
- "$ref": "#/definitions/EnvironmentData"
- }
- ],
- "properties": {}
- },
- "cloudOffering": {
- "type": "object",
- "description": "The security offering details",
- "discriminator": "offeringType",
- "required": [
- "offeringType"
- ],
- "properties": {
- "offeringType": {
- "type": "string",
- "description": "The type of the security offering.",
- "enum": [
- "CspmMonitorAws",
- "DefenderForContainersAws",
- "DefenderForServersAws",
- "DefenderForDatabasesAws",
- "CspmMonitorGcp",
- "CspmMonitorGithub",
- "CspmMonitorAzureDevOps",
- "DefenderForServersGcp",
- "DefenderForContainersGcp",
- "DefenderForDatabasesGcp",
- "DefenderCspmAws",
- "DefenderCspmGcp",
- "CspmMonitorGitLab"
- ],
- "x-ms-enum": {
- "name": "offeringType",
- "modelAsString": true
- }
- },
- "description": {
- "type": "string",
- "description": "The offering description.",
- "readOnly": true
- }
- }
- },
- "cspmMonitorAwsOffering": {
- "type": "object",
- "description": "The CSPM monitoring for AWS offering",
- "x-ms-discriminator-value": "CspmMonitorAws",
- "allOf": [
- {
- "$ref": "#/definitions/cloudOffering"
- }
- ],
- "properties": {
- "nativeCloudConnection": {
- "type": "object",
- "description": "The native cloud connection configuration",
- "properties": {
- "cloudRoleArn": {
- "type": "string",
- "description": "The cloud role ARN in AWS for this feature"
- }
- }
- }
- }
- },
- "defenderForContainersAwsOffering": {
- "type": "object",
- "description": "The Defender for Containers AWS offering",
- "x-ms-discriminator-value": "DefenderForContainersAws",
- "allOf": [
- {
- "$ref": "#/definitions/cloudOffering"
- }
- ],
- "properties": {
- "kubernetesService": {
- "type": "object",
- "description": "The kubernetes service connection configuration",
- "properties": {
- "cloudRoleArn": {
- "type": "string",
- "description": "The cloud role ARN in AWS for this feature used for provisioning resources"
- }
- }
- },
- "kubernetesDataCollection": {
- "type": "object",
- "description": "The kubernetes data collection connection configuration",
- "properties": {
- "cloudRoleArn": {
- "type": "string",
- "description": "The cloud role ARN in AWS for this feature used for reading data"
- }
- }
- },
- "cloudWatchToKinesis": {
- "type": "object",
- "description": "The cloudwatch to kinesis connection configuration",
- "properties": {
- "cloudRoleArn": {
- "type": "string",
- "description": "The cloud role ARN in AWS used by CloudWatch to transfer data into Kinesis"
- }
- }
- },
- "kinesisToS3": {
- "type": "object",
- "description": "The kinesis to s3 connection configuration",
- "properties": {
- "cloudRoleArn": {
- "type": "string",
- "description": "The cloud role ARN in AWS used by Kinesis to transfer data into S3"
- }
- }
- },
- "enableAuditLogsAutoProvisioning": {
- "type": "boolean",
- "description": "Is audit logs data collection enabled"
- },
- "enableDefenderAgentAutoProvisioning": {
- "type": "boolean",
- "description": "Is Microsoft Defender for Cloud Kubernetes agent auto provisioning enabled"
- },
- "enablePolicyAgentAutoProvisioning": {
- "type": "boolean",
- "description": "Is Policy Kubernetes agent auto provisioning enabled"
- },
- "kubeAuditRetentionTime": {
- "type": "integer",
- "format": "int64",
- "description": "The retention time in days of kube audit logs set on the CloudWatch log group"
- },
- "dataCollectionExternalId": {
- "type": "string",
- "description": "The externalId used by the data reader to prevent the confused deputy attack"
- },
- "mdcContainersImageAssessment": {
- "type": "object",
- "description": "The Microsoft Defender container image assessment configuration",
- "properties": {
- "enabled": {
- "type": "boolean",
- "description": "Is Microsoft Defender container image assessment enabled"
- },
- "cloudRoleArn": {
- "type": "string",
- "description": "The cloud role ARN in AWS for this feature"
- }
- }
- },
- "mdcContainersAgentlessDiscoveryK8s": {
- "type": "object",
- "description": "The Microsoft Defender container agentless discovery K8s configuration",
- "properties": {
- "enabled": {
- "type": "boolean",
- "description": "Is Microsoft Defender container agentless discovery K8s enabled"
- },
- "cloudRoleArn": {
- "type": "string",
- "description": "The cloud role ARN in AWS for this feature"
- }
- }
- },
- "vmScanners": {
- "type": "object",
- "description": "The Microsoft Defender for Container K8s VM host scanning configuration",
- "allOf": [
- {
- "$ref": "#/definitions/vmScannersAws"
- }
- ],
- "properties": {}
- }
- }
- },
- "defenderForServersAwsOffering": {
- "type": "object",
- "description": "The Defender for Servers AWS offering",
- "x-ms-discriminator-value": "DefenderForServersAws",
- "allOf": [
- {
- "$ref": "#/definitions/cloudOffering"
- }
- ],
- "properties": {
- "defenderForServers": {
- "type": "object",
- "description": "The Defender for servers connection configuration",
- "properties": {
- "cloudRoleArn": {
- "type": "string",
- "description": "The cloud role ARN in AWS for this feature"
- }
- }
- },
- "arcAutoProvisioning": {
- "type": "object",
- "description": "The ARC autoprovisioning configuration",
- "allOf": [
- {
- "$ref": "#/definitions/arcAutoProvisioningAws"
- }
- ],
- "properties": {}
- },
- "vaAutoProvisioning": {
- "type": "object",
- "description": "The Vulnerability Assessment autoprovisioning configuration",
- "properties": {
- "enabled": {
- "type": "boolean",
- "description": "Is Vulnerability Assessment auto provisioning enabled"
- },
- "configuration": {
- "type": "object",
- "description": "configuration for Vulnerability Assessment autoprovisioning",
- "properties": {
- "type": {
- "type": "string",
- "description": "The Vulnerability Assessment solution to be provisioned. Can be either 'TVM' or 'Qualys'",
- "enum": [
- "Qualys",
- "TVM"
- ],
- "x-ms-enum": {
- "name": "type",
- "modelAsString": true
- }
- }
- }
- }
- }
- },
- "mdeAutoProvisioning": {
- "type": "object",
- "description": "The Microsoft Defender for Endpoint autoprovisioning configuration",
- "properties": {
- "enabled": {
- "type": "boolean",
- "description": "Is Microsoft Defender for Endpoint auto provisioning enabled"
- },
- "configuration": {
- "type": "object",
- "description": "configuration for Microsoft Defender for Endpoint autoprovisioning",
- "properties": {}
- }
- }
- },
- "subPlan": {
- "type": "object",
- "description": "configuration for the servers offering subPlan",
- "properties": {
- "type": {
- "type": "string",
- "description": "The available sub plans",
- "enum": [
- "P1",
- "P2"
- ],
- "x-ms-enum": {
- "name": "subPlan",
- "modelAsString": true
- }
- }
- }
- },
- "vmScanners": {
- "type": "object",
- "description": "The Microsoft Defender for Server VM scanning configuration",
- "allOf": [
- {
- "$ref": "#/definitions/vmScannersAws"
- }
- ],
- "properties": {}
- }
- }
- },
- "defenderFoDatabasesAwsOffering": {
- "type": "object",
- "description": "The Defender for Databases AWS offering",
- "x-ms-discriminator-value": "DefenderForDatabasesAws",
- "allOf": [
- {
- "$ref": "#/definitions/cloudOffering"
- }
- ],
- "properties": {
- "arcAutoProvisioning": {
- "type": "object",
- "description": "The ARC autoprovisioning configuration",
- "allOf": [
- {
- "$ref": "#/definitions/arcAutoProvisioningAws"
- }
- ],
- "properties": {}
- },
- "rds": {
- "type": "object",
- "description": "The RDS configuration",
- "properties": {
- "enabled": {
- "type": "boolean",
- "description": "Is RDS protection enabled"
- },
- "cloudRoleArn": {
- "type": "string",
- "description": "The cloud role ARN in AWS for this feature"
- }
- }
- },
- "databasesDspm": {
- "type": "object",
- "description": "The databases data security posture management (DSPM) configuration",
- "properties": {
- "enabled": {
- "type": "boolean",
- "description": "Is databases data security posture management (DSPM) protection enabled"
- },
- "cloudRoleArn": {
- "type": "string",
- "description": "The cloud role ARN in AWS for this feature"
- }
- }
- }
- }
- },
- "cspmMonitorGcpOffering": {
- "type": "object",
- "description": "The CSPM monitoring for GCP offering",
- "x-ms-discriminator-value": "CspmMonitorGcp",
- "allOf": [
- {
- "$ref": "#/definitions/cloudOffering"
- }
- ],
- "properties": {
- "nativeCloudConnection": {
- "type": "object",
- "description": "The native cloud connection configuration",
- "properties": {
- "workloadIdentityProviderId": {
- "type": "string",
- "description": "The GCP workload identity provider id for the offering"
- },
- "serviceAccountEmailAddress": {
- "type": "string",
- "description": "The service account email address in GCP for this offering"
- }
- }
- }
- }
- },
- "defenderForServersGcpOffering": {
- "type": "object",
- "description": "The Defender for Servers GCP offering configurations",
- "x-ms-discriminator-value": "DefenderForServersGcp",
- "allOf": [
- {
- "$ref": "#/definitions/cloudOffering"
- }
- ],
- "properties": {
- "defenderForServers": {
- "type": "object",
- "description": "The Defender for servers connection configuration",
- "properties": {
- "workloadIdentityProviderId": {
- "type": "string",
- "description": "The workload identity provider id in GCP for this feature"
- },
- "serviceAccountEmailAddress": {
- "type": "string",
- "description": "The service account email address in GCP for this feature"
- }
- }
- },
- "arcAutoProvisioning": {
- "type": "object",
- "description": "The ARC autoprovisioning configuration",
- "allOf": [
- {
- "$ref": "#/definitions/arcAutoProvisioningGcp"
- }
- ],
- "properties": {}
- },
- "vaAutoProvisioning": {
- "type": "object",
- "description": "The Vulnerability Assessment autoprovisioning configuration",
- "properties": {
- "enabled": {
- "type": "boolean",
- "description": "Is Vulnerability Assessment auto provisioning enabled"
- },
- "configuration": {
- "type": "object",
- "description": "configuration for Vulnerability Assessment autoprovisioning",
- "properties": {
- "type": {
- "type": "string",
- "description": "The Vulnerability Assessment solution to be provisioned. Can be either 'TVM' or 'Qualys'",
- "enum": [
- "Qualys",
- "TVM"
- ],
- "x-ms-enum": {
- "name": "type",
- "modelAsString": true
- }
- }
- }
- }
- }
- },
- "mdeAutoProvisioning": {
- "type": "object",
- "description": "The Microsoft Defender for Endpoint autoprovisioning configuration",
- "properties": {
- "enabled": {
- "type": "boolean",
- "description": "Is Microsoft Defender for Endpoint auto provisioning enabled"
- },
- "configuration": {
- "type": "object",
- "description": "configuration for Microsoft Defender for Endpoint autoprovisioning",
- "properties": {}
- }
- }
- },
- "subPlan": {
- "type": "object",
- "description": "configuration for the servers offering subPlan",
- "properties": {
- "type": {
- "type": "string",
- "description": "The available sub plans",
- "enum": [
- "P1",
- "P2"
- ],
- "x-ms-enum": {
- "name": "subPlan",
- "modelAsString": true
- }
- }
- }
- },
- "vmScanners": {
- "type": "object",
- "description": "The Microsoft Defender for Server VM scanning configuration",
- "allOf": [
- {
- "$ref": "#/definitions/vmScannersGcp"
- }
- ],
- "properties": {}
- }
- }
- },
- "defenderForDatabasesGcpOffering": {
- "type": "object",
- "description": "The Defender for Databases GCP offering configurations",
- "x-ms-discriminator-value": "DefenderForDatabasesGcp",
- "allOf": [
- {
- "$ref": "#/definitions/cloudOffering"
- }
- ],
- "properties": {
- "arcAutoProvisioning": {
- "type": "object",
- "description": "The ARC autoprovisioning configuration",
- "allOf": [
- {
- "$ref": "#/definitions/arcAutoProvisioningGcp"
- }
- ],
- "properties": {}
- },
- "defenderForDatabasesArcAutoProvisioning": {
- "type": "object",
- "description": "The native cloud connection configuration",
- "properties": {
- "serviceAccountEmailAddress": {
- "type": "string",
- "description": "The service account email address in GCP for this offering"
- },
- "workloadIdentityProviderId": {
- "type": "string",
- "description": "The GCP workload identity provider id for this offering"
- }
- }
- }
- }
- },
- "defenderForContainersGcpOffering": {
- "type": "object",
- "description": "The containers GCP offering",
- "x-ms-discriminator-value": "DefenderForContainersGcp",
- "allOf": [
- {
- "$ref": "#/definitions/cloudOffering"
- }
- ],
- "properties": {
- "nativeCloudConnection": {
- "type": "object",
- "description": "The native cloud connection configuration",
- "properties": {
- "serviceAccountEmailAddress": {
- "type": "string",
- "description": "The service account email address in GCP for this offering"
- },
- "workloadIdentityProviderId": {
- "type": "string",
- "description": "The GCP workload identity provider id for this offering"
- }
- }
- },
- "dataPipelineNativeCloudConnection": {
- "type": "object",
- "description": "The native cloud connection configuration",
- "properties": {
- "serviceAccountEmailAddress": {
- "type": "string",
- "description": "The data collection service account email address in GCP for this offering"
- },
- "workloadIdentityProviderId": {
- "type": "string",
- "description": "The data collection GCP workload identity provider id for this offering"
- }
- }
- },
- "enableAuditLogsAutoProvisioning": {
- "type": "boolean",
- "description": "Is audit logs data collection enabled"
- },
- "enableDefenderAgentAutoProvisioning": {
- "type": "boolean",
- "description": "Is Microsoft Defender for Cloud Kubernetes agent auto provisioning enabled"
- },
- "enablePolicyAgentAutoProvisioning": {
- "type": "boolean",
- "description": "Is Policy Kubernetes agent auto provisioning enabled"
- },
- "mdcContainersImageAssessment": {
- "type": "object",
- "description": "The Microsoft Defender Container image assessment configuration",
- "properties": {
- "enabled": {
- "type": "boolean",
- "description": "Is Microsoft Defender container image assessment enabled"
- },
- "workloadIdentityProviderId": {
- "type": "string",
- "description": "The workload identity provider id in GCP for this feature"
- },
- "serviceAccountEmailAddress": {
- "type": "string",
- "description": "The service account email address in GCP for this feature"
- }
- }
- },
- "mdcContainersAgentlessDiscoveryK8s": {
- "type": "object",
- "description": "The Microsoft Defender Container agentless discovery configuration",
- "properties": {
- "enabled": {
- "type": "boolean",
- "description": "Is Microsoft Defender container agentless discovery enabled"
- },
- "workloadIdentityProviderId": {
- "type": "string",
- "description": "The workload identity provider id in GCP for this feature"
- },
- "serviceAccountEmailAddress": {
- "type": "string",
- "description": "The service account email address in GCP for this feature"
- }
- }
- },
- "vmScanners": {
- "type": "object",
- "description": "The Microsoft Defender for Container K8s VM host scanning configuration",
- "allOf": [
- {
- "$ref": "#/definitions/vmScannersGcp"
- }
- ],
- "properties": {}
- }
- }
- },
- "cspmMonitorGithubOffering": {
- "type": "object",
- "description": "The CSPM monitoring for github offering",
- "x-ms-discriminator-value": "CspmMonitorGithub",
- "allOf": [
- {
- "$ref": "#/definitions/cloudOffering"
- }
- ],
- "properties": {}
- },
- "cspmMonitorAzureDevOpsOffering": {
- "type": "object",
- "description": "The CSPM monitoring for AzureDevOps offering",
- "x-ms-discriminator-value": "CspmMonitorAzureDevOps",
- "allOf": [
- {
- "$ref": "#/definitions/cloudOffering"
- }
- ],
- "properties": {}
- },
- "defenderCspmAwsOffering": {
- "type": "object",
- "description": "The CSPM P1 for AWS offering",
- "x-ms-discriminator-value": "DefenderCspmAws",
- "allOf": [
- {
- "$ref": "#/definitions/cloudOffering"
- }
- ],
- "properties": {
- "vmScanners": {
- "type": "object",
- "description": "The Microsoft Defender for CSPM offering VM scanning configuration",
- "allOf": [
- {
- "$ref": "#/definitions/vmScannersAws"
- }
- ],
- "properties": {}
- },
- "dataSensitivityDiscovery": {
- "type": "object",
- "description": "The Microsoft Defender Data Sensitivity discovery configuration",
- "properties": {
- "enabled": {
- "type": "boolean",
- "description": "Is Microsoft Defender Data Sensitivity discovery enabled"
- },
- "cloudRoleArn": {
- "type": "string",
- "description": "The cloud role ARN in AWS for this feature"
- }
- }
- },
- "databasesDspm": {
- "type": "object",
- "description": "The databases DSPM configuration",
- "properties": {
- "enabled": {
- "type": "boolean",
- "description": "Is databases DSPM protection enabled"
- },
- "cloudRoleArn": {
- "type": "string",
- "description": "The cloud role ARN in AWS for this feature"
- }
- }
- },
- "ciem": {
- "type": "object",
- "description": "Defenders CSPM Permissions Management offering configurations",
- "properties": {
- "ciemDiscovery": {
- "type": "object",
- "description": "Defender CSPM Permissions Management discovery configuration",
- "properties": {
- "cloudRoleArn": {
- "type": "string",
- "description": "The cloud role ARN in AWS for Permissions Management discovery"
- }
- }
- },
- "ciemOidc": {
- "type": "object",
- "description": "AWS Defender CSPM Permissions Management OIDC (open id connect) connection configurations",
- "properties": {
- "cloudRoleArn": {
- "type": "string",
- "description": "The cloud role ARN in AWS for Permissions Management used for oidc connection"
- },
- "azureActiveDirectoryAppName": {
- "type": "string",
- "description": "the azure active directory app name used of authenticating against AWS"
- }
- }
- }
- }
- },
- "mdcContainersImageAssessment": {
- "type": "object",
- "description": "The Microsoft Defender container image assessment configuration",
- "properties": {
- "enabled": {
- "type": "boolean",
- "description": "Is Microsoft Defender container image assessment enabled"
- },
- "cloudRoleArn": {
- "type": "string",
- "description": "The cloud role ARN in AWS for this feature"
- }
- }
- },
- "mdcContainersAgentlessDiscoveryK8s": {
- "type": "object",
- "description": "The Microsoft Defender container agentless discovery K8s configuration",
- "properties": {
- "enabled": {
- "type": "boolean",
- "description": "Is Microsoft Defender container agentless discovery K8s enabled"
- },
- "cloudRoleArn": {
- "type": "string",
- "description": "The cloud role ARN in AWS for this feature"
- }
- }
- }
- }
- },
- "defenderCspmGcpOffering": {
- "type": "object",
- "description": "The CSPM P1 for GCP offering",
- "x-ms-discriminator-value": "DefenderCspmGcp",
- "allOf": [
- {
- "$ref": "#/definitions/cloudOffering"
- }
- ],
- "properties": {
- "ciemDiscovery": {
- "type": "object",
- "description": "GCP Defenders CSPM Permissions Management OIDC (Open ID connect) connection configurations",
- "properties": {
- "workloadIdentityProviderId": {
- "type": "string",
- "description": "The GCP workload identity provider id for Permissions Management offering"
- },
- "serviceAccountEmailAddress": {
- "type": "string",
- "description": "The service account email address in GCP for Permissions Management offering"
- },
- "azureActiveDirectoryAppName": {
- "type": "string",
- "description": "the azure active directory app name used of authenticating against GCP workload identity federation"
- }
- }
- },
- "vmScanners": {
- "type": "object",
- "description": "The Microsoft Defender for CSPM VM scanning configuration",
- "allOf": [
- {
- "$ref": "#/definitions/vmScannersGcp"
- }
- ],
- "properties": {}
- },
- "dataSensitivityDiscovery": {
- "type": "object",
- "description": "The Microsoft Defender Data Sensitivity discovery configuration",
- "properties": {
- "enabled": {
- "type": "boolean",
- "description": "Is Microsoft Defender Data Sensitivity discovery enabled"
- },
- "workloadIdentityProviderId": {
- "type": "string",
- "description": "The workload identity provider id in GCP for this feature"
- },
- "serviceAccountEmailAddress": {
- "type": "string",
- "description": "The service account email address in GCP for this feature"
- }
- }
- },
- "mdcContainersImageAssessment": {
- "type": "object",
- "description": "The Microsoft Defender Container image assessment configuration",
- "properties": {
- "enabled": {
- "type": "boolean",
- "description": "Is Microsoft Defender container image assessment enabled"
- },
- "workloadIdentityProviderId": {
- "type": "string",
- "description": "The workload identity provider id in GCP for this feature"
- },
- "serviceAccountEmailAddress": {
- "type": "string",
- "description": "The service account email address in GCP for this feature"
- }
- }
- },
- "mdcContainersAgentlessDiscoveryK8s": {
- "type": "object",
- "description": "The Microsoft Defender Container agentless discovery configuration",
- "properties": {
- "enabled": {
- "type": "boolean",
- "description": "Is Microsoft Defender container agentless discovery enabled"
- },
- "workloadIdentityProviderId": {
- "type": "string",
- "description": "The workload identity provider id in GCP for this feature"
- },
- "serviceAccountEmailAddress": {
- "type": "string",
- "description": "The service account email address in GCP for this feature"
- }
- }
- }
- }
- },
- "cspmMonitorGitLabOffering": {
- "type": "object",
- "description": "The CSPM (Cloud security posture management) monitoring for gitlab offering",
- "x-ms-discriminator-value": "CspmMonitorGitLab",
- "allOf": [
- {
- "$ref": "#/definitions/cloudOffering"
- }
- ],
- "properties": {}
- },
- "vmScannersBase": {
- "type": "object",
- "description": "A VM scanning configuration for a security offering of a given environment",
- "properties": {
- "enabled": {
- "type": "boolean",
- "description": "Is VM scanning enabled"
- },
- "configuration": {
- "type": "object",
- "description": "Configuration for VM scanning",
- "properties": {
- "scanningMode": {
- "type": "string",
- "description": "The scanning mode for the VM scan.",
- "enum": [
- "Default"
- ],
- "x-ms-enum": {
- "name": "scanningMode",
- "modelAsString": true
- }
- },
- "exclusionTags": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "description": "Tags that indicates that a resource should not be scanned"
- }
- }
- }
- }
- },
- "vmScannersGcp": {
- "type": "object",
- "description": "A VM scanning configuration for a security offering of a GCP environment",
- "properties": {},
- "allOf": [
- {
- "$ref": "#/definitions/vmScannersBase"
- }
- ]
- },
- "vmScannersAws": {
- "type": "object",
- "description": "A VM scanning configuration for a security offering of a Aws environment",
- "properties": {
- "cloudRoleArn": {
- "type": "string",
- "description": "The cloud role ARN in AWS for this feature"
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/vmScannersBase"
- }
- ]
- },
- "arcAutoProvisioning": {
- "type": "object",
- "description": "The ARC autoprovisioning configuration",
- "properties": {
- "enabled": {
- "type": "boolean",
- "description": "Is arc auto provisioning enabled"
- },
- "configuration": {
- "type": "object",
- "description": "Configuration for servers Arc auto provisioning for a given environment",
- "properties": {
- "proxy": {
- "type": "string",
- "description": "Optional HTTP proxy endpoint to use for the Arc agent"
- },
- "privateLinkScope": {
- "type": "string",
- "description": "Optional Arc private link scope resource id to link the Arc agent"
- }
- }
- }
- }
- },
- "arcAutoProvisioningGcp": {
- "type": "object",
- "description": "The ARC autoprovisioning configuration for an GCP environment",
- "properties": {},
- "allOf": [
- {
- "$ref": "#/definitions/arcAutoProvisioning"
- }
- ]
- },
- "arcAutoProvisioningAws": {
- "type": "object",
- "description": "The ARC autoprovisioning configuration for an AWS environment",
- "properties": {
- "cloudRoleArn": {
- "type": "string",
- "description": "The cloud role ARN in AWS for this feature"
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/arcAutoProvisioning"
- }
- ]
- }
- },
- "parameters": {
- "securityConnectorName": {
- "name": "securityConnectorName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The security connector name.",
- "x-ms-parameter-location": "method"
- },
- "securityConnectorInBody": {
- "name": "securityConnector",
- "in": "body",
- "required": true,
- "description": "The security connector resource",
- "schema": {
- "$ref": "#/definitions/SecurityConnector"
- },
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/securityConnectorsDevOps.json b/swagger-specs/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/securityConnectorsDevOps.json
deleted file mode 100644
index e2e0e66b1..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/preview/2024-05-15-preview/securityConnectorsDevOps.json
+++ /dev/null
@@ -1,3246 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft.Security",
- "description": "REST APIs for Defender for DevOps",
- "version": "2024-05-15-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/listAvailableAzureDevOpsOrgs": {
- "post": {
- "tags": [
- "DevOps"
- ],
- "summary": "Returns a list of all Azure DevOps organizations accessible by the user token consumed by the connector.",
- "operationId": "AzureDevOpsOrgs_ListAvailable",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Provides list of Azure DevOps organization details",
- "schema": {
- "$ref": "#/definitions/AzureDevOpsOrgListResponse"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "ListAvailable_AzureDevOpsOrgs": {
- "$ref": "./examples/SecurityConnectorsDevOps/ListAvailableAzureDevOpsOrgs_example.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/azureDevOpsOrgs": {
- "get": {
- "tags": [
- "DevOps"
- ],
- "summary": "Returns a list of Azure DevOps organizations onboarded to the connector.",
- "operationId": "AzureDevOpsOrgs_List",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Provides a list of Azure DevOps organization details",
- "schema": {
- "$ref": "#/definitions/AzureDevOpsOrgListResponse"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List_AzureDevOpsOrgs": {
- "$ref": "./examples/SecurityConnectorsDevOps/ListAzureDevOpsOrgs_example.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/azureDevOpsOrgs/{orgName}": {
- "get": {
- "tags": [
- "DevOps"
- ],
- "summary": "Returns a monitored Azure DevOps organization resource.",
- "operationId": "AzureDevOpsOrgs_Get",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "#/parameters/OrgName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Provides Azure DevOps organization details",
- "schema": {
- "$ref": "#/definitions/AzureDevOpsOrg"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get_AzureDevOpsOrgs": {
- "$ref": "./examples/SecurityConnectorsDevOps/GetAzureDevOpsOrgs_example.json"
- }
- }
- },
- "put": {
- "tags": [
- "DevOps"
- ],
- "summary": "Creates or updates monitored Azure DevOps organization details.",
- "operationId": "AzureDevOpsOrgs_CreateOrUpdate",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "#/parameters/OrgName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- },
- {
- "in": "body",
- "name": "azureDevOpsOrg",
- "description": "The Azure DevOps organization resource payload.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/AzureDevOpsOrg"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "Creates or updates monitored Azure DevOps organization details",
- "schema": {
- "$ref": "#/definitions/AzureDevOpsOrg"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/AzureDevOpsOrg"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "azure-async-operation"
- },
- "x-ms-examples": {
- "CreateOrUpdate_AzureDevOpsOrgs": {
- "$ref": "./examples/SecurityConnectorsDevOps/CreateOrUpdateAzureDevOpsOrgs_example.json"
- }
- }
- },
- "patch": {
- "tags": [
- "DevOps"
- ],
- "summary": "Updates monitored Azure DevOps organization details.",
- "operationId": "AzureDevOpsOrgs_Update",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "#/parameters/OrgName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- },
- {
- "in": "body",
- "name": "azureDevOpsOrg",
- "description": "The Azure DevOps organization resource payload.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/AzureDevOpsOrg"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AzureDevOpsOrg"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/AzureDevOpsOrg"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "azure-async-operation"
- },
- "x-ms-examples": {
- "Update_AzureDevOpsOrgs": {
- "$ref": "./examples/SecurityConnectorsDevOps/UpdateAzureDevOpsOrgs_example.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/azureDevOpsOrgs/{orgName}/projects": {
- "get": {
- "tags": [
- "DevOps"
- ],
- "summary": "Returns a list of Azure DevOps projects onboarded to the connector.",
- "operationId": "AzureDevOpsProjects_List",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "#/parameters/OrgName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Provides a list of Azure DevOps project details",
- "schema": {
- "$ref": "#/definitions/AzureDevOpsProjectListResponse"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List_AzureDevOpsProjects": {
- "$ref": "./examples/SecurityConnectorsDevOps/ListAzureDevOpsProjects_example.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/azureDevOpsOrgs/{orgName}/projects/{projectName}": {
- "get": {
- "tags": [
- "DevOps"
- ],
- "summary": "Returns a monitored Azure DevOps project resource.",
- "operationId": "AzureDevOpsProjects_Get",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "#/parameters/OrgName"
- },
- {
- "$ref": "#/parameters/ProjectName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Provides Azure DevOps project details",
- "schema": {
- "$ref": "#/definitions/AzureDevOpsProject"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get_AzureDevOpsProjects": {
- "$ref": "./examples/SecurityConnectorsDevOps/GetAzureDevOpsProjects_example.json"
- }
- }
- },
- "put": {
- "tags": [
- "DevOps"
- ],
- "summary": "Creates or updates a monitored Azure DevOps project resource.",
- "operationId": "AzureDevOpsProjects_CreateOrUpdate",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "#/parameters/OrgName"
- },
- {
- "$ref": "#/parameters/ProjectName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- },
- {
- "in": "body",
- "name": "azureDevOpsProject",
- "description": "The Azure DevOps project resource payload.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/AzureDevOpsProject"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "Creates or updates a monitored Azure DevOps project resource",
- "schema": {
- "$ref": "#/definitions/AzureDevOpsProject"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/AzureDevOpsProject"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "azure-async-operation"
- },
- "x-ms-examples": {
- "CreateOrUpdate_AzureDevOpsProjects": {
- "$ref": "./examples/SecurityConnectorsDevOps/CreateOrUpdateAzureDevOpsProjects_example.json"
- }
- }
- },
- "patch": {
- "tags": [
- "DevOps"
- ],
- "summary": "Updates a monitored Azure DevOps project resource.",
- "operationId": "AzureDevOpsProjects_Update",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "#/parameters/OrgName"
- },
- {
- "$ref": "#/parameters/ProjectName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- },
- {
- "in": "body",
- "name": "azureDevOpsProject",
- "description": "The Azure DevOps project resource payload.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/AzureDevOpsProject"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AzureDevOpsProject"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/AzureDevOpsProject"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "azure-async-operation"
- },
- "x-ms-examples": {
- "Update_AzureDevOpsProjects": {
- "$ref": "./examples/SecurityConnectorsDevOps/UpdateAzureDevOpsProjects_example.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/azureDevOpsOrgs/{orgName}/projects/{projectName}/repos": {
- "get": {
- "tags": [
- "DevOps"
- ],
- "summary": "Returns a list of Azure DevOps repositories onboarded to the connector.",
- "operationId": "AzureDevOpsRepos_List",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "#/parameters/OrgName"
- },
- {
- "$ref": "#/parameters/ProjectName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Provides a list of Azure DevOps repository details",
- "schema": {
- "$ref": "#/definitions/AzureDevOpsRepositoryListResponse"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List_AzureDevOpsRepos": {
- "$ref": "./examples/SecurityConnectorsDevOps/ListAzureDevOpsRepos_example.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/azureDevOpsOrgs/{orgName}/projects/{projectName}/repos/{repoName}": {
- "get": {
- "tags": [
- "DevOps"
- ],
- "summary": "Returns a monitored Azure DevOps repository resource.",
- "operationId": "AzureDevOpsRepos_Get",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "#/parameters/OrgName"
- },
- {
- "$ref": "#/parameters/ProjectName"
- },
- {
- "$ref": "#/parameters/RepoName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Provides Azure DevOps repository details",
- "schema": {
- "$ref": "#/definitions/AzureDevOpsRepository"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get_AzureDevOpsRepos": {
- "$ref": "./examples/SecurityConnectorsDevOps/GetAzureDevOpsRepos_example.json"
- }
- }
- },
- "put": {
- "tags": [
- "DevOps"
- ],
- "summary": "Creates or updates a monitored Azure DevOps repository resource.",
- "operationId": "AzureDevOpsRepos_CreateOrUpdate",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "#/parameters/OrgName"
- },
- {
- "$ref": "#/parameters/ProjectName"
- },
- {
- "$ref": "#/parameters/RepoName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- },
- {
- "in": "body",
- "name": "azureDevOpsRepository",
- "description": "The Azure DevOps repository resource payload.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/AzureDevOpsRepository"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "Creates or updates a monitored Azure DevOps repository resource",
- "schema": {
- "$ref": "#/definitions/AzureDevOpsRepository"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/AzureDevOpsRepository"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "azure-async-operation"
- },
- "x-ms-examples": {
- "CreateOrUpdate_AzureDevOpsRepos": {
- "$ref": "./examples/SecurityConnectorsDevOps/CreateOrUpdateAzureDevOpsRepos_example.json"
- }
- }
- },
- "patch": {
- "tags": [
- "DevOps"
- ],
- "summary": "Updates a monitored Azure DevOps repository resource.",
- "operationId": "AzureDevOpsRepos_Update",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "#/parameters/OrgName"
- },
- {
- "$ref": "#/parameters/ProjectName"
- },
- {
- "$ref": "#/parameters/RepoName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- },
- {
- "in": "body",
- "name": "azureDevOpsRepository",
- "description": "The Azure DevOps repository resource payload.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/AzureDevOpsRepository"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AzureDevOpsRepository"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/AzureDevOpsRepository"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "azure-async-operation"
- },
- "x-ms-examples": {
- "Update_AzureDevOpsRepos": {
- "$ref": "./examples/SecurityConnectorsDevOps/UpdateAzureDevOpsRepos_example.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops": {
- "get": {
- "tags": [
- "DevOps"
- ],
- "summary": "List DevOps Configurations.",
- "operationId": "DevOpsConfigurations_List",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/DevOpsConfigurationListResponse"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List_DevOpsConfigurations": {
- "$ref": "./examples/SecurityConnectorsDevOps/ListDevOpsConfigurations_example.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default": {
- "get": {
- "tags": [
- "DevOps"
- ],
- "summary": "Gets a DevOps Configuration.",
- "operationId": "DevOpsConfigurations_Get",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/DevOpsConfiguration"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get_DevOpsConfigurations": {
- "$ref": "./examples/SecurityConnectorsDevOps/GetDevOpsConfigurations_example.json"
- },
- "Get_DevOpsConfigurations_WithCapabilities": {
- "$ref": "./examples/SecurityConnectorsDevOps/GetDevOpsConfigurationsWithCapabilities_example.json"
- }
- }
- },
- "put": {
- "tags": [
- "DevOps"
- ],
- "summary": "Creates or updates a DevOps Configuration.",
- "operationId": "DevOpsConfigurations_CreateOrUpdate",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- },
- {
- "in": "body",
- "name": "devOpsConfiguration",
- "description": "The DevOps configuration resource payload.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/DevOpsConfiguration"
- }
- }
- ],
- "responses": {
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/DevOpsConfiguration"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/DevOpsConfiguration"
- }
- },
- "200": {
- "description": "Creates or updates a DevOps Configuration",
- "schema": {
- "$ref": "#/definitions/DevOpsConfiguration"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "azure-async-operation"
- },
- "x-ms-examples": {
- "CreateOrUpdate_DevOpsConfigurations_OnboardCurrentAndFuture": {
- "$ref": "./examples/SecurityConnectorsDevOps/CreateOrUpdateDevOpsConfigurationsOnboardCurrentAndFuture_example.json"
- },
- "CreateOrUpdate_DevOpsConfigurations_OnboardCurrentOnly": {
- "$ref": "./examples/SecurityConnectorsDevOps/CreateOrUpdateDevOpsConfigurationsOnboardCurrentOnly_example.json"
- },
- "CreateOrUpdate_DevOpsConfigurations_OnboardSelected": {
- "$ref": "./examples/SecurityConnectorsDevOps/CreateOrUpdateDevOpsConfigurationsOnboardSelected_example.json"
- }
- }
- },
- "patch": {
- "tags": [
- "DevOps"
- ],
- "summary": "Updates a DevOps Configuration.",
- "operationId": "DevOpsConfigurations_Update",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- },
- {
- "in": "body",
- "name": "devOpsConfiguration",
- "description": "The DevOps configuration resource payload.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/DevOpsConfiguration"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/DevOpsConfiguration"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/DevOpsConfiguration"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "azure-async-operation"
- },
- "x-ms-examples": {
- "Update_DevOpsConfigurations": {
- "$ref": "./examples/SecurityConnectorsDevOps/UpdateDevOpsConfigurations_example.json"
- }
- }
- },
- "delete": {
- "tags": [
- "DevOps"
- ],
- "summary": "Deletes a DevOps Connector.",
- "operationId": "DevOpsConfigurations_Delete",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "202": {
- "description": "Accepted"
- },
- "204": {
- "description": "NoContent"
- },
- "200": {
- "description": "OK"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-examples": {
- "Delete_DevOpsConfigurations": {
- "$ref": "./examples/SecurityConnectorsDevOps/DeleteDevOpsConfigurations_example.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/policies": {
- "get": {
- "tags": [
- "DevOps"
- ],
- "summary": "Returns a list of DevOps Policies.",
- "operationId": "DevOpsPolicies_List",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "#/parameters/DevOpsPolicyType"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Provides a list of DevOps Policies.",
- "schema": {
- "$ref": "#/definitions/DevOpsPolicyListResponse"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List_DevOpsPolicies": {
- "$ref": "./examples/SecurityConnectorsDevOps/ListDevOpsPolicies_example.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/policies/{policyName}": {
- "get": {
- "tags": [
- "DevOps"
- ],
- "summary": "Returns a DevOps Policy.",
- "operationId": "DevOpsPolicies_Get",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "#/parameters/PolicyName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Provides DevOps Policy details.",
- "schema": {
- "$ref": "#/definitions/DevOpsPolicy"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get_DevOpsPolicies": {
- "$ref": "./examples/SecurityConnectorsDevOps/GetDevOpsPolicies_example.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/policyAssignments": {
- "get": {
- "tags": [
- "DevOps"
- ],
- "summary": "Returns a list of DevOps Policy Assignments.",
- "operationId": "DevOpsPolicyAssignments_List",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "#/parameters/DevOpsPolicyType"
- },
- {
- "$ref": "#/parameters/ResourceId"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Provides a list of DevOps Policy Assignments.",
- "schema": {
- "$ref": "#/definitions/DevOpsPolicyAssignmentListResponse"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List_DevOpsPolicyAssignments": {
- "$ref": "./examples/SecurityConnectorsDevOps/ListDevOpsPolicyAssignments_example.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/policyAssignments/{policyAssignmentId}": {
- "get": {
- "tags": [
- "DevOps"
- ],
- "summary": "Returns a DevOps Policy Assignment Resource.",
- "operationId": "DevOpsPolicyAssignments_Get",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "#/parameters/PolicyAssignmentId"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Provides DevOps Policy Assignment details.",
- "schema": {
- "$ref": "#/definitions/DevOpsPolicyAssignment"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get_DevOpsPolicyAssignments": {
- "$ref": "./examples/SecurityConnectorsDevOps/GetDevOpsPolicyAssignments_example.json"
- }
- }
- },
- "put": {
- "tags": [
- "DevOps"
- ],
- "summary": "Creates or updates a DevOps Policy Assignment Resource.",
- "operationId": "DevOpsPolicyAssignments_CreateOrUpdate",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "#/parameters/PolicyAssignmentId"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- },
- {
- "in": "body",
- "name": "devOpsPolicyAssignment",
- "description": "The DevOps Policy Assignment.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/DevOpsPolicyAssignment"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "Creates or updates a DevOps Policy Assignment.",
- "schema": {
- "$ref": "#/definitions/DevOpsPolicyAssignment"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/DevOpsPolicyAssignment"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "azure-async-operation"
- },
- "x-ms-examples": {
- "CreateOrUpdate_DevOpsPolicyAssignments": {
- "$ref": "./examples/SecurityConnectorsDevOps/CreateOrUpdateDevOpsPolicyAssignments_example.json"
- }
- }
- },
- "patch": {
- "tags": [
- "DevOps"
- ],
- "summary": "Updates a DevOps Policy Assignment Resource.",
- "operationId": "DevOpsPolicyAssignments_Update",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "#/parameters/PolicyAssignmentId"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- },
- {
- "in": "body",
- "name": "devOpsPolicyAssignment",
- "description": "The DevOps Policy Assignment.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/DevOpsPolicyAssignment"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "Updates a DevOps Policy Assignment.",
- "schema": {
- "$ref": "#/definitions/DevOpsPolicyAssignment"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/DevOpsPolicyAssignment"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "azure-async-operation"
- },
- "x-ms-examples": {
- "Update_DevOpsPolicyAssignments": {
- "$ref": "./examples/SecurityConnectorsDevOps/UpdateDevOpsPolicyAssignments_example.json"
- }
- }
- },
- "delete": {
- "tags": [
- "DevOps"
- ],
- "summary": "Deletes a DevOps Policy Assignment Resource.",
- "operationId": "DevOpsPolicyAssignments_Delete",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "#/parameters/PolicyAssignmentId"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "202": {
- "description": "Accepted"
- },
- "204": {
- "description": "NoContent"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-examples": {
- "Delete_DevOpsPolicyAssignments": {
- "$ref": "./examples/SecurityConnectorsDevOps/DeleteDevOpsPolicyAssignments_example.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/listAvailableGitHubOwners": {
- "post": {
- "tags": [
- "DevOps"
- ],
- "summary": "Returns a list of all GitHub owners accessible by the user token consumed by the connector.",
- "operationId": "GitHubOwners_ListAvailable",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Provides list of GitHub owner resources",
- "schema": {
- "$ref": "#/definitions/GitHubOwnerListResponse"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "ListAvailable_GitHubOwners": {
- "$ref": "./examples/SecurityConnectorsDevOps/ListAvailableGitHubOwners_example.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/gitHubOwners": {
- "get": {
- "tags": [
- "DevOps"
- ],
- "summary": "Returns a list of GitHub owners onboarded to the connector.",
- "operationId": "GitHubOwners_List",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Provides list of GitHub owner resources",
- "schema": {
- "$ref": "#/definitions/GitHubOwnerListResponse"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List_GitHubOwners": {
- "$ref": "./examples/SecurityConnectorsDevOps/ListGitHubOwners_example.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/gitHubOwners/{ownerName}": {
- "get": {
- "tags": [
- "DevOps"
- ],
- "summary": "Returns a monitored GitHub owner.",
- "operationId": "GitHubOwners_Get",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "#/parameters/OwnerName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Provides GitHub owner details",
- "schema": {
- "$ref": "#/definitions/GitHubOwner"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get_GitHubOwners": {
- "$ref": "./examples/SecurityConnectorsDevOps/GetGitHubOwners_example.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/gitHubOwners/{ownerName}/repos": {
- "get": {
- "tags": [
- "DevOps"
- ],
- "summary": "Returns a list of GitHub repositories onboarded to the connector.",
- "operationId": "GitHubRepos_List",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "#/parameters/OwnerName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Provides list of GitHub repository resources",
- "schema": {
- "$ref": "#/definitions/GitHubRepositoryListResponse"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List_GitHubRepos": {
- "$ref": "./examples/SecurityConnectorsDevOps/ListGitHubRepos_example.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/gitHubOwners/{ownerName}/repos/{repoName}": {
- "get": {
- "tags": [
- "DevOps"
- ],
- "summary": "Returns a monitored GitHub repository.",
- "operationId": "GitHubRepos_Get",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "#/parameters/OwnerName"
- },
- {
- "$ref": "#/parameters/RepoName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Provides GitHub repository details",
- "schema": {
- "$ref": "#/definitions/GitHubRepository"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get_GitHubRepos": {
- "$ref": "./examples/SecurityConnectorsDevOps/GetGitHubRepos_example.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/listAvailableGitLabGroups": {
- "post": {
- "tags": [
- "DevOps"
- ],
- "summary": "Returns a list of all GitLab groups accessible by the user token consumed by the connector.",
- "operationId": "GitLabGroups_ListAvailable",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Provides a list of GitLab Group details",
- "schema": {
- "$ref": "#/definitions/GitLabGroupListResponse"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "ListAvailable_GitLabGroups": {
- "$ref": "./examples/SecurityConnectorsDevOps/ListAvailableGitLabGroups_example.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/gitLabGroups": {
- "get": {
- "tags": [
- "DevOps"
- ],
- "summary": "Returns a list of GitLab groups onboarded to the connector.",
- "operationId": "GitLabGroups_List",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Provides a list of GitLab Group details",
- "schema": {
- "$ref": "#/definitions/GitLabGroupListResponse"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List_GitLabGroups": {
- "$ref": "./examples/SecurityConnectorsDevOps/ListGitLabGroups_example.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/gitLabGroups/{groupFQName}": {
- "get": {
- "tags": [
- "DevOps"
- ],
- "summary": "Returns a monitored GitLab Group resource for a given fully-qualified name.",
- "operationId": "GitLabGroups_Get",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "#/parameters/GroupFQName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Provides GitLab Group details",
- "schema": {
- "$ref": "#/definitions/GitLabGroup"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get_GitLabGroups": {
- "$ref": "./examples/SecurityConnectorsDevOps/GetGitLabGroups_example.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/gitLabGroups/{groupFQName}/listSubgroups": {
- "post": {
- "tags": [
- "DevOps"
- ],
- "summary": "Gets nested subgroups of given GitLab Group which are onboarded to the connector.",
- "operationId": "GitLabSubgroups_List",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "#/parameters/GroupFQName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Provides a list of GitLab Group details for subgroups",
- "schema": {
- "$ref": "#/definitions/GitLabGroupListResponse"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "List_GitLabSubgroups": {
- "$ref": "./examples/SecurityConnectorsDevOps/ListGitLabSubgroups_example.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/gitLabGroups/{groupFQName}/projects": {
- "get": {
- "tags": [
- "DevOps"
- ],
- "summary": "Gets a list of GitLab projects that are directly owned by given group and onboarded to the connector.",
- "operationId": "GitLabProjects_List",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "#/parameters/GroupFQName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Provides a list of GitLab Project details",
- "schema": {
- "$ref": "#/definitions/GitLabProjectListResponse"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List_GitLabProjects": {
- "$ref": "./examples/SecurityConnectorsDevOps/ListGitLabProjects_example.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/gitLabGroups/{groupFQName}/projects/{projectName}": {
- "get": {
- "tags": [
- "DevOps"
- ],
- "summary": "Returns a monitored GitLab Project resource for a given fully-qualified group name and project name.",
- "operationId": "GitLabProjects_Get",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "#/parameters/GroupFQName"
- },
- {
- "$ref": "#/parameters/ProjectName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Provides GitLab Project details",
- "schema": {
- "$ref": "#/definitions/GitLabProject"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get_GitLabProjects": {
- "$ref": "./examples/SecurityConnectorsDevOps/GetGitLabProjects_example.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/operationResults/{operationResultId}": {
- "get": {
- "tags": [
- "DevOps"
- ],
- "summary": "Get devops long running operation result.",
- "operationId": "DevOpsOperationResults_Get",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SecurityConnectorName"
- },
- {
- "$ref": "#/parameters/OperationResultId"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/OperationStatusResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get_DevOpsOperationResults_Succeeded": {
- "$ref": "./examples/SecurityConnectorsDevOps/GetDevOpsOperationResultsSucceeded_example.json"
- },
- "Get_DevOpsOperationResults_Failed": {
- "$ref": "./examples/SecurityConnectorsDevOps/GetDevOpsOperationResultsFailed_example.json"
- }
- }
- }
- }
- },
- "definitions": {
- "ActionableRemediation": {
- "description": "Configuration payload for PR Annotations.",
- "type": "object",
- "properties": {
- "state": {
- "$ref": "#/definitions/ActionableRemediationState"
- },
- "categoryConfigurations": {
- "description": "Gets or sets list of categories and severity levels.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/CategoryConfiguration"
- },
- "x-ms-identifiers": []
- },
- "branchConfiguration": {
- "$ref": "#/definitions/TargetBranchConfiguration"
- },
- "inheritFromParentState": {
- "$ref": "#/definitions/InheritFromParentState"
- }
- }
- },
- "ActionableRemediationState": {
- "description": "ActionableRemediation Setting.\r\nNone - the setting was never set.\r\nEnabled - ActionableRemediation is enabled.\r\nDisabled - ActionableRemediation is disabled.",
- "enum": [
- "None",
- "Disabled",
- "Enabled"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "ActionableRemediationState",
- "modelAsString": true,
- "modelAsExtensible": true
- }
- },
- "AnnotateDefaultBranchState": {
- "description": "Configuration of PR Annotations on default branch.\r\n\r\nEnabled - PR Annotations are enabled on the resource's default branch.\r\nDisabled - PR Annotations are disabled on the resource's default branch.",
- "enum": [
- "Disabled",
- "Enabled"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "AnnotateDefaultBranchState",
- "modelAsString": true,
- "modelAsExtensible": true
- }
- },
- "Authorization": {
- "description": "Authorization payload.",
- "type": "object",
- "properties": {
- "code": {
- "description": "Gets or sets one-time OAuth code to exchange for refresh and access tokens.\r\n\r\nOnly used during PUT/PATCH operations. The secret is cleared during GET.",
- "type": "string",
- "example": "00000000000000000000.",
- "x-ms-secret": true
- }
- }
- },
- "AutoDiscovery": {
- "description": "AutoDiscovery states.",
- "enum": [
- "Disabled",
- "Enabled",
- "NotApplicable"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "AutoDiscovery",
- "modelAsString": true,
- "modelAsExtensible": true
- }
- },
- "AzureDevOpsOrg": {
- "description": "Azure DevOps Organization resource.",
- "type": "object",
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource"
- }
- ],
- "properties": {
- "systemData": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
- },
- "properties": {
- "$ref": "#/definitions/AzureDevOpsOrgProperties"
- }
- }
- },
- "AzureDevOpsOrgListResponse": {
- "description": "List of RP resources which supports pagination.",
- "type": "object",
- "properties": {
- "value": {
- "description": "Gets or sets list of resources.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/AzureDevOpsOrg"
- },
- "x-ms-identifiers": []
- },
- "nextLink": {
- "description": "Gets or sets next link to scroll over the results.",
- "type": "string"
- }
- }
- },
- "AzureDevOpsOrgProperties": {
- "description": "Azure DevOps Organization properties.",
- "type": "object",
- "properties": {
- "provisioningStatusMessage": {
- "description": "Gets the resource status message.",
- "type": "string",
- "example": "Resource onboarded successful.",
- "readOnly": true
- },
- "provisioningStatusUpdateTimeUtc": {
- "format": "date-time",
- "description": "Gets the time when resource was last checked.",
- "type": "string",
- "readOnly": true
- },
- "provisioningState": {
- "$ref": "#/definitions/DevOpsProvisioningState"
- },
- "onboardingState": {
- "$ref": "#/definitions/OnboardingState"
- },
- "actionableRemediation": {
- "$ref": "#/definitions/ActionableRemediation"
- }
- }
- },
- "AzureDevOpsOrganizationConfiguration": {
- "description": "AzureDevOps Org Inventory Configuration.",
- "type": "object",
- "properties": {
- "autoDiscovery": {
- "$ref": "#/definitions/AutoDiscovery"
- },
- "projectConfigs": {
- "description": "AzureDevOps Project Inventory Configuration.\r\nDictionary of AzureDevOps project name to desired project configuration.\r\nIf AutoDiscovery is Enabled, this field should be empty or null.",
- "type": "object",
- "additionalProperties": {
- "$ref": "#/definitions/AzureDevOpsProjectConfiguration"
- },
- "x-nullable": true
- }
- }
- },
- "AzureDevOpsProject": {
- "description": "Azure DevOps Project resource.",
- "type": "object",
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource"
- }
- ],
- "properties": {
- "systemData": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
- },
- "properties": {
- "$ref": "#/definitions/AzureDevOpsProjectProperties"
- }
- }
- },
- "AzureDevOpsProjectConfiguration": {
- "description": "AzureDevOps Project Inventory Configuration.",
- "type": "object",
- "properties": {
- "autoDiscovery": {
- "$ref": "#/definitions/AutoDiscovery"
- },
- "repositoryConfigs": {
- "description": "AzureDevOps Repository Inventory Configuration.\r\nDictionary of AzureDevOps repository name to desired repository configuration.\r\nIf AutoDiscovery is Enabled, this field should be null or empty.",
- "type": "object",
- "additionalProperties": {
- "$ref": "#/definitions/BaseResourceConfiguration"
- },
- "x-nullable": true
- }
- }
- },
- "AzureDevOpsProjectListResponse": {
- "description": "List of RP resources which supports pagination.",
- "type": "object",
- "properties": {
- "value": {
- "description": "Gets or sets list of resources.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/AzureDevOpsProject"
- },
- "x-ms-identifiers": []
- },
- "nextLink": {
- "description": "Gets or sets next link to scroll over the results.",
- "type": "string"
- }
- }
- },
- "AzureDevOpsProjectProperties": {
- "description": "Azure DevOps Project properties.",
- "type": "object",
- "properties": {
- "provisioningStatusMessage": {
- "description": "Gets the resource status message.",
- "type": "string",
- "example": "Resource onboarded successful.",
- "readOnly": true
- },
- "provisioningStatusUpdateTimeUtc": {
- "format": "date-time",
- "description": "Gets the time when resource was last checked.",
- "type": "string",
- "readOnly": true
- },
- "provisioningState": {
- "$ref": "#/definitions/DevOpsProvisioningState"
- },
- "parentOrgName": {
- "description": "Gets or sets parent Azure DevOps Organization name.",
- "type": "string"
- },
- "projectId": {
- "description": "Gets or sets Azure DevOps Project id.",
- "type": "string",
- "readOnly": true
- },
- "onboardingState": {
- "$ref": "#/definitions/OnboardingState"
- },
- "actionableRemediation": {
- "$ref": "#/definitions/ActionableRemediation"
- }
- }
- },
- "AzureDevOpsRepository": {
- "description": "Azure DevOps Repository resource.",
- "type": "object",
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource"
- }
- ],
- "properties": {
- "systemData": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
- },
- "properties": {
- "$ref": "#/definitions/AzureDevOpsRepositoryProperties"
- }
- }
- },
- "AzureDevOpsRepositoryListResponse": {
- "description": "List of RP resources which supports pagination.",
- "type": "object",
- "properties": {
- "value": {
- "description": "Gets or sets list of resources.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/AzureDevOpsRepository"
- },
- "x-ms-identifiers": []
- },
- "nextLink": {
- "description": "Gets or sets next link to scroll over the results.",
- "type": "string"
- }
- }
- },
- "AzureDevOpsRepositoryProperties": {
- "description": "Azure DevOps Repository properties.",
- "type": "object",
- "properties": {
- "provisioningStatusMessage": {
- "description": "Gets the resource status message.",
- "type": "string",
- "example": "Resource onboarded successful.",
- "readOnly": true
- },
- "provisioningStatusUpdateTimeUtc": {
- "format": "date-time",
- "description": "Gets the time when resource was last checked.",
- "type": "string",
- "readOnly": true
- },
- "provisioningState": {
- "$ref": "#/definitions/DevOpsProvisioningState"
- },
- "parentOrgName": {
- "description": "Gets or sets parent Azure DevOps Organization name.",
- "type": "string"
- },
- "parentProjectName": {
- "description": "Gets or sets parent Azure DevOps Project name.",
- "type": "string"
- },
- "repoId": {
- "description": "Gets or sets Azure DevOps Repository id.",
- "type": "string",
- "readOnly": true
- },
- "repoUrl": {
- "description": "Gets or sets Azure DevOps Repository url.",
- "type": "string",
- "readOnly": true
- },
- "visibility": {
- "description": "Gets or sets Azure DevOps repository visibility, whether it is public or private etc.",
- "type": "string",
- "readOnly": true
- },
- "onboardingState": {
- "$ref": "#/definitions/OnboardingState"
- },
- "actionableRemediation": {
- "$ref": "#/definitions/ActionableRemediation"
- }
- }
- },
- "BaseResourceConfiguration": {
- "description": "Base Resource Inventory configuration changes.",
- "type": "object",
- "properties": {
- "desiredOnboardingState": {
- "$ref": "#/definitions/DesiredOnboardingState"
- }
- }
- },
- "CategoryConfiguration": {
- "description": "Severity level per category configuration for PR Annotations.",
- "type": "object",
- "properties": {
- "minimumSeverityLevel": {
- "description": "Gets or sets minimum severity level for a given category.",
- "type": "string"
- },
- "category": {
- "$ref": "#/definitions/RuleCategory"
- }
- }
- },
- "DescendantBehavior": {
- "description": "The behavior of a policy on descendant resources.",
- "enum": [
- "Unknown",
- "Override",
- "FallBack"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "DescendantBehavior",
- "modelAsString": true,
- "modelAsExtensible": true
- }
- },
- "DesiredOnboardingState": {
- "description": "Onboarding states.",
- "enum": [
- "Disabled",
- "Enabled"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "DesiredOnboardingState",
- "modelAsString": true,
- "modelAsExtensible": true
- }
- },
- "DevOpsCapability": {
- "description": "Details about DevOps capability.",
- "type": "object",
- "properties": {
- "name": {
- "description": "Gets the name of the DevOps capability.",
- "type": "string",
- "readOnly": true
- },
- "value": {
- "description": "Gets the value of the DevOps capability.",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "DevOpsConfiguration": {
- "description": "DevOps Configuration resource.",
- "type": "object",
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource"
- }
- ],
- "properties": {
- "systemData": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
- },
- "properties": {
- "$ref": "#/definitions/DevOpsConfigurationProperties"
- }
- }
- },
- "DevOpsConfigurationListResponse": {
- "description": "List of RP resources which supports pagination.",
- "type": "object",
- "properties": {
- "value": {
- "description": "Gets or sets list of resources.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/DevOpsConfiguration"
- },
- "x-ms-identifiers": []
- },
- "nextLink": {
- "description": "Gets or sets next link to scroll over the results.",
- "type": "string"
- }
- }
- },
- "DevOpsConfigurationProperties": {
- "description": "DevOps Configuration properties.",
- "type": "object",
- "properties": {
- "provisioningStatusMessage": {
- "description": "Gets the resource status message.",
- "type": "string",
- "example": "Resource onboarded successful.",
- "readOnly": true
- },
- "provisioningStatusUpdateTimeUtc": {
- "format": "date-time",
- "description": "Gets the time when resource was last checked.",
- "type": "string",
- "readOnly": true
- },
- "provisioningState": {
- "$ref": "#/definitions/DevOpsProvisioningState"
- },
- "authorization": {
- "$ref": "#/definitions/Authorization"
- },
- "autoDiscovery": {
- "$ref": "#/definitions/AutoDiscovery"
- },
- "topLevelInventoryList": {
- "description": "List of top-level inventory to select when AutoDiscovery is disabled.\r\nThis field is ignored when AutoDiscovery is enabled.",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "capabilities": {
- "description": "List of capabilities assigned to the DevOps configuration during the discovery process.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/DevOpsCapability"
- },
- "x-ms-identifiers": [],
- "readOnly": true
- }
- }
- },
- "DevOpsPolicy": {
- "description": "DevOps Policy Resource.",
- "type": "object",
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource"
- }
- ],
- "properties": {
- "systemData": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
- },
- "properties": {
- "$ref": "#/definitions/DevOpsPolicyProperties"
- }
- }
- },
- "DevOpsPolicyAssignment": {
- "description": "DevOps Policy assignment resource.",
- "type": "object",
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource"
- }
- ],
- "properties": {
- "systemData": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
- },
- "properties": {
- "$ref": "#/definitions/DevOpsPolicyAssignmentProperties"
- }
- }
- },
- "DevOpsPolicyAssignmentListResponse": {
- "description": "List of RP resources which supports pagination.",
- "type": "object",
- "properties": {
- "value": {
- "description": "Gets or sets list of resources.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/DevOpsPolicyAssignment"
- },
- "x-ms-identifiers": []
- },
- "nextLink": {
- "description": "Gets or sets next link to scroll over the results.",
- "type": "string"
- }
- }
- },
- "DevOpsPolicyAssignmentProperties": {
- "description": "Properties of the DevOps policy assignment resource.",
- "type": "object",
- "properties": {
- "provisioningStatusMessage": {
- "description": "Gets the resource status message.",
- "type": "string",
- "example": "Resource onboarded successful.",
- "readOnly": true
- },
- "provisioningStatusUpdateTimeUtc": {
- "format": "date-time",
- "description": "Gets the time when resource was last checked.",
- "type": "string",
- "readOnly": true
- },
- "provisioningState": {
- "$ref": "#/definitions/DevOpsProvisioningState"
- },
- "resourceId": {
- "description": "Gets or sets the Azure resource id.",
- "type": "string",
- "format": "arm-id"
- },
- "descendantBehavior": {
- "$ref": "#/definitions/DescendantBehavior"
- },
- "policy": {
- "$ref": "#/definitions/DevOpsPolicyDescriptor"
- },
- "assignedAt": {
- "format": "date-time",
- "description": "Gets or sets time when the assignment was created in UTC.",
- "type": "string"
- }
- }
- },
- "DevOpsPolicyDescriptor": {
- "description": "Condensed information to identify a DevOps Policy resource.",
- "type": "object",
- "properties": {
- "policyName": {
- "description": "Gets or sets the policy name.",
- "type": "string"
- },
- "policyId": {
- "description": "Gets or sets the policy GUID.",
- "type": "string"
- },
- "policyVersion": {
- "description": "Gets or sets the version.",
- "type": "string"
- },
- "policyType": {
- "$ref": "#/definitions/DevOpsPolicyType"
- }
- }
- },
- "DevOpsPolicyListResponse": {
- "description": "List of RP resources which supports pagination.",
- "type": "object",
- "properties": {
- "value": {
- "description": "Gets or sets list of resources.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/DevOpsPolicy"
- },
- "x-ms-identifiers": []
- },
- "nextLink": {
- "description": "Gets or sets next link to scroll over the results.",
- "type": "string"
- }
- }
- },
- "DevOpsPolicyProperties": {
- "description": "Policy DevOps Resource properties that contain the full definition of a DevOps policy resource.",
- "type": "object",
- "properties": {
- "provisioningStatusMessage": {
- "description": "Gets the resource status message.",
- "type": "string",
- "example": "Resource onboarded successful.",
- "readOnly": true
- },
- "provisioningStatusUpdateTimeUtc": {
- "format": "date-time",
- "description": "Gets the time when resource was last checked.",
- "type": "string",
- "readOnly": true
- },
- "provisioningState": {
- "$ref": "#/definitions/DevOpsProvisioningState"
- },
- "source": {
- "$ref": "#/definitions/DevOpsPolicySource"
- },
- "policyId": {
- "description": "Gets the policy resource GUID.",
- "type": "string",
- "readOnly": true,
- "format": "uuid"
- },
- "webUrl": {
- "description": "Gets the web URL.",
- "type": "string",
- "readOnly": true,
- "format": "url"
- },
- "version": {
- "description": "Gets or sets the semantic version.",
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/DevOpsPolicyType"
- },
- "content": {
- "description": "Gets or sets the policy definition content JSON string.",
- "type": "string"
- }
- }
- },
- "DevOpsPolicySource": {
- "description": "DevOps Policy creation sources.",
- "enum": [
- "Unknown",
- "BuiltIn",
- "UserDefined"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "DevOpsPolicySource",
- "modelAsString": true,
- "modelAsExtensible": true
- }
- },
- "DevOpsPolicyType": {
- "description": "DevOps Policy resource types.",
- "enum": [
- "Unknown",
- "Pipeline"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "DevOpsPolicyType",
- "modelAsString": true,
- "modelAsExtensible": true
- }
- },
- "DevOpsProvisioningState": {
- "description": "The provisioning state of the resource.\r\n\r\nPending - Provisioning pending.\r\nFailed - Provisioning failed.\r\nSucceeded - Successful provisioning.\r\nCanceled - Provisioning canceled.\r\nPendingDeletion - Deletion pending.\r\nDeletionSuccess - Deletion successful.\r\nDeletionFailure - Deletion failure.",
- "enum": [
- "Succeeded",
- "Failed",
- "Canceled",
- "Pending",
- "PendingDeletion",
- "DeletionSuccess",
- "DeletionFailure"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "DevOpsProvisioningState",
- "modelAsString": true,
- "modelAsExtensible": true
- },
- "readOnly": true
- },
- "GitHubOwner": {
- "description": "GitHub Owner resource.",
- "type": "object",
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource"
- }
- ],
- "properties": {
- "systemData": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
- },
- "properties": {
- "$ref": "#/definitions/GitHubOwnerProperties"
- }
- }
- },
- "GitHubOwnerConfiguration": {
- "description": "GitHub Owner Inventory Configuration.",
- "type": "object",
- "properties": {
- "autoDiscovery": {
- "$ref": "#/definitions/AutoDiscovery"
- },
- "repositoryConfigs": {
- "description": "GitHub Repository Inventory Configuration.\r\nDictionary of GitHub repository name to desired repository configuration.\r\nIf AutoDiscovery is Enabled, this field should be null or empty.",
- "type": "object",
- "additionalProperties": {
- "$ref": "#/definitions/BaseResourceConfiguration"
- },
- "x-nullable": true
- }
- }
- },
- "GitHubOwnerListResponse": {
- "description": "List of RP resources which supports pagination.",
- "type": "object",
- "properties": {
- "value": {
- "description": "Gets or sets list of resources.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/GitHubOwner"
- },
- "x-ms-identifiers": []
- },
- "nextLink": {
- "description": "Gets or sets next link to scroll over the results.",
- "type": "string"
- }
- }
- },
- "GitHubOwnerProperties": {
- "description": "GitHub Owner properties.",
- "type": "object",
- "properties": {
- "provisioningStatusMessage": {
- "description": "Gets the resource status message.",
- "type": "string",
- "example": "Resource onboarded successful.",
- "readOnly": true
- },
- "provisioningStatusUpdateTimeUtc": {
- "format": "date-time",
- "description": "Gets the time when resource was last checked.",
- "type": "string",
- "readOnly": true
- },
- "provisioningState": {
- "$ref": "#/definitions/DevOpsProvisioningState"
- },
- "ownerUrl": {
- "description": "Gets or sets GitHub Owner url.",
- "type": "string",
- "readOnly": true
- },
- "gitHubInternalId": {
- "description": "Gets or sets internal GitHub id.",
- "type": "string",
- "readOnly": true
- },
- "onboardingState": {
- "$ref": "#/definitions/OnboardingState"
- }
- }
- },
- "GitHubRepository": {
- "description": "GitHub Repository resource.",
- "type": "object",
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource"
- }
- ],
- "properties": {
- "systemData": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
- },
- "properties": {
- "$ref": "#/definitions/GitHubRepositoryProperties"
- }
- }
- },
- "GitHubRepositoryListResponse": {
- "description": "List of RP resources which supports pagination.",
- "type": "object",
- "properties": {
- "value": {
- "description": "Gets or sets list of resources.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/GitHubRepository"
- },
- "x-ms-identifiers": []
- },
- "nextLink": {
- "description": "Gets or sets next link to scroll over the results.",
- "type": "string"
- }
- }
- },
- "GitHubRepositoryProperties": {
- "description": "GitHub Repository properties.",
- "type": "object",
- "properties": {
- "provisioningStatusMessage": {
- "description": "Gets the resource status message.",
- "type": "string",
- "example": "Resource onboarded successful.",
- "readOnly": true
- },
- "provisioningStatusUpdateTimeUtc": {
- "format": "date-time",
- "description": "Gets the time when resource was last checked.",
- "type": "string",
- "readOnly": true
- },
- "provisioningState": {
- "$ref": "#/definitions/DevOpsProvisioningState"
- },
- "repoId": {
- "description": "Gets or sets GitHub Repository id.\r\n\r\nThis is a numeric id defined by Github.\r\nEg: \"123456\".",
- "type": "string",
- "readOnly": true
- },
- "repoName": {
- "description": "Gets or sets GitHub Repository name.\r\nEg: \"new-repo-1\".",
- "type": "string",
- "readOnly": true
- },
- "repoFullName": {
- "description": "Gets or sets GitHub Full Name.\r\nRepository name, prefixed with Owner name.\r\nEg: \"my-org/new-repo-1\".",
- "type": "string",
- "readOnly": true
- },
- "onboardingState": {
- "$ref": "#/definitions/OnboardingState"
- },
- "repoUrl": {
- "description": "Gets or sets GitHub Repository url.",
- "type": "string",
- "readOnly": true
- },
- "parentOwnerName": {
- "description": "Gets or sets parent GitHub Owner name.",
- "type": "string"
- }
- }
- },
- "GitLabGroup": {
- "description": "GitLab Group resource.",
- "type": "object",
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource"
- }
- ],
- "properties": {
- "systemData": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
- },
- "properties": {
- "$ref": "#/definitions/GitLabGroupProperties"
- }
- }
- },
- "GitLabGroupConfiguration": {
- "description": "GitLab Group Inventory Configuration.",
- "type": "object",
- "properties": {
- "autoDiscovery": {
- "$ref": "#/definitions/AutoDiscovery"
- },
- "projectConfigs": {
- "description": "GitLab Project Inventory Configuration.\r\nDictionary of GitLab fully-qualified project name to desired project configuration.\r\nIf AutoDiscovery is Enabled, this field should be null or empty.",
- "type": "object",
- "additionalProperties": {
- "$ref": "#/definitions/BaseResourceConfiguration"
- },
- "x-nullable": true
- }
- }
- },
- "GitLabGroupListResponse": {
- "description": "List of RP resources which supports pagination.",
- "type": "object",
- "properties": {
- "value": {
- "description": "Gets or sets list of resources.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/GitLabGroup"
- },
- "x-ms-identifiers": []
- },
- "nextLink": {
- "description": "Gets or sets next link to scroll over the results.",
- "type": "string"
- }
- }
- },
- "GitLabGroupProperties": {
- "description": "GitLab Group properties.",
- "type": "object",
- "properties": {
- "provisioningStatusMessage": {
- "description": "Gets the resource status message.",
- "type": "string",
- "example": "Resource onboarded successful.",
- "readOnly": true
- },
- "provisioningStatusUpdateTimeUtc": {
- "format": "date-time",
- "description": "Gets the time when resource was last checked.",
- "type": "string",
- "readOnly": true
- },
- "provisioningState": {
- "$ref": "#/definitions/DevOpsProvisioningState"
- },
- "fullyQualifiedName": {
- "description": "Gets or sets the fully-qualified name of the Group object.\r\n\r\nThis contains the entire namespace hierarchy where namespaces are separated by the '$' character.",
- "type": "string",
- "readOnly": true
- },
- "fullyQualifiedFriendlyName": {
- "description": "Gets or sets the human readable fully-qualified name of the Group object.\r\n\r\nThis contains the entire namespace hierarchy as seen on GitLab UI where namespaces are separated by the '/' character.",
- "type": "string",
- "readOnly": true
- },
- "url": {
- "description": "Gets or sets the url of the GitLab Group.",
- "type": "string",
- "readOnly": true
- },
- "onboardingState": {
- "$ref": "#/definitions/OnboardingState"
- }
- }
- },
- "GitLabProject": {
- "description": "GitLab Project resource.",
- "type": "object",
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource"
- }
- ],
- "properties": {
- "systemData": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
- },
- "properties": {
- "$ref": "#/definitions/GitLabProjectProperties"
- }
- }
- },
- "GitLabProjectListResponse": {
- "description": "List of RP resources which supports pagination.",
- "type": "object",
- "properties": {
- "value": {
- "description": "Gets or sets list of resources.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/GitLabProject"
- },
- "x-ms-identifiers": []
- },
- "nextLink": {
- "description": "Gets or sets next link to scroll over the results.",
- "type": "string"
- }
- }
- },
- "GitLabProjectProperties": {
- "description": "GitLab Project properties.",
- "type": "object",
- "properties": {
- "provisioningStatusMessage": {
- "description": "Gets the resource status message.",
- "type": "string",
- "example": "Resource onboarded successful.",
- "readOnly": true
- },
- "provisioningStatusUpdateTimeUtc": {
- "format": "date-time",
- "description": "Gets the time when resource was last checked.",
- "type": "string",
- "readOnly": true
- },
- "provisioningState": {
- "$ref": "#/definitions/DevOpsProvisioningState"
- },
- "fullyQualifiedName": {
- "description": "Gets or sets the fully-qualified name of the project object.\r\n\r\nThis contains the entire hierarchy where entities are separated by the '$' character.",
- "type": "string",
- "readOnly": true
- },
- "fullyQualifiedFriendlyName": {
- "description": "Gets or sets the human readable fully-qualified name of the Project object.\r\n\r\nThis contains the entire namespace hierarchy as seen on GitLab UI where entities are separated by the '/' character.",
- "type": "string",
- "readOnly": true
- },
- "fullyQualifiedParentGroupName": {
- "description": "Gets or sets the fully-qualified name of the project's parent group object.\r\n\r\nThis contains the entire hierarchy where namespaces are separated by the '$' character.",
- "type": "string",
- "readOnly": true
- },
- "url": {
- "description": "Gets or sets the url of the GitLab Project.",
- "type": "string",
- "readOnly": true
- },
- "onboardingState": {
- "$ref": "#/definitions/OnboardingState"
- }
- }
- },
- "InheritFromParentState": {
- "description": "Update Settings.\r\n\r\nEnabled - Resource should inherit configurations from parent.\r\nDisabled - Resource should not inherit configurations from parent.",
- "enum": [
- "Disabled",
- "Enabled"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "InheritFromParentState",
- "modelAsString": true,
- "modelAsExtensible": true
- }
- },
- "OnboardingState": {
- "description": "Details about resource onboarding status across all connectors.\r\n\r\nOnboardedByOtherConnector - this resource has already been onboarded to another connector. This is only applicable to top-level resources.\r\nOnboarded - this resource has already been onboarded by the specified connector.\r\nNotOnboarded - this resource has not been onboarded to any connector.\r\nNotApplicable - the onboarding state is not applicable to the current endpoint.",
- "enum": [
- "NotApplicable",
- "OnboardedByOtherConnector",
- "Onboarded",
- "NotOnboarded"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "OnboardingState",
- "modelAsString": true,
- "modelAsExtensible": true
- }
- },
- "RuleCategory": {
- "description": "Rule categories.\r\nCode - code scanning results.\r\nArtifact scanning results.\r\nDependencies scanning results.\r\nIaC results.\r\nSecrets scanning results.\r\nContainer scanning results.",
- "enum": [
- "Code",
- "Artifacts",
- "Dependencies",
- "Secrets",
- "IaC",
- "Containers"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "RuleCategory",
- "modelAsString": true,
- "modelAsExtensible": true
- }
- },
- "TargetBranchConfiguration": {
- "description": "Repository branch configuration for PR Annotations.",
- "type": "object",
- "properties": {
- "branchNames": {
- "description": "Gets or sets branches that should have annotations.",
- "type": "array",
- "items": {
- "type": "string"
- },
- "x-ms-identifiers": []
- },
- "annotateDefaultBranch": {
- "$ref": "#/definitions/AnnotateDefaultBranchState"
- }
- }
- }
- },
- "parameters": {
- "SecurityConnectorName": {
- "in": "path",
- "name": "securityConnectorName",
- "description": "The security connector name.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "OrgName": {
- "in": "path",
- "name": "orgName",
- "description": "The Azure DevOps organization name.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "ProjectName": {
- "in": "path",
- "name": "projectName",
- "description": "The project name.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "RepoName": {
- "in": "path",
- "name": "repoName",
- "description": "The repository name.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "DevOpsPolicyType": {
- "in": "query",
- "name": "devOpsPolicyType",
- "description": "Optional filter for listing the policies.",
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "PolicyName": {
- "in": "path",
- "name": "policyName",
- "description": "The policy name.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "ResourceId": {
- "in": "query",
- "name": "resourceId",
- "description": "Optional filter for listing the assignments of a specific resource.",
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "PolicyAssignmentId": {
- "in": "path",
- "name": "policyAssignmentId",
- "description": "The policy assignment Id.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "OwnerName": {
- "in": "path",
- "name": "ownerName",
- "description": "The GitHub owner name.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "GroupFQName": {
- "in": "path",
- "name": "groupFQName",
- "description": "The GitLab group fully-qualified name.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "OperationResultId": {
- "in": "path",
- "name": "operationResultId",
- "description": "The operation result Id.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- }
- },
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "flow": "implicit",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- },
- "description": "Azure Active Directory OAuth2 Flow"
- }
- },
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ]
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2017-08-01/complianceResults.json b/swagger-specs/security/resource-manager/Microsoft.Security/stable/2017-08-01/complianceResults.json
deleted file mode 100644
index 2786ba3f8..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2017-08-01/complianceResults.json
+++ /dev/null
@@ -1,203 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2017-08-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/{scope}/providers/Microsoft.Security/complianceResults": {
- "get": {
- "x-ms-examples": {
- "Get compliance results on subscription": {
- "$ref": "./examples/ComplianceResults/ListComplianceResults_example.json"
- }
- },
- "tags": [
- "Compliance Results"
- ],
- "description": "Security compliance results in the subscription",
- "operationId": "ComplianceResults_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/Scope"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ComplianceResultList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/{resourceId}/providers/Microsoft.Security/complianceResults/{complianceResultName}": {
- "get": {
- "x-ms-examples": {
- "Get compliance results on subscription": {
- "$ref": "./examples/ComplianceResults/GetComplianceResults_example.json"
- }
- },
- "tags": [
- "Compliance Results"
- ],
- "description": "Security Compliance Result",
- "operationId": "ComplianceResults_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceId"
- },
- {
- "$ref": "#/parameters/ComplianceResultName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ComplianceResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "ComplianceResultList": {
- "description": "List of compliance results response",
- "required": [
- "value"
- ],
- "properties": {
- "value": {
- "type": "array",
- "description": "List of compliance results",
- "items": {
- "$ref": "#/definitions/ComplianceResult"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "ComplianceResult": {
- "type": "object",
- "description": "a compliance result",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "Compliance result data",
- "$ref": "#/definitions/ComplianceResultProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "ComplianceResultProperties": {
- "type": "object",
- "description": "Compliance result data",
- "properties": {
- "resourceStatus": {
- "type": "string",
- "readOnly": true,
- "description": "The status of the resource regarding a single assessment",
- "enum": [
- "Healthy",
- "NotApplicable",
- "OffByPolicy",
- "NotHealthy"
- ],
- "x-ms-enum": {
- "name": "resourceStatus",
- "modelAsString": true,
- "values": [
- {
- "value": "Healthy",
- "description": "This assessment on the resource is healthy"
- },
- {
- "value": "NotApplicable",
- "description": "This assessment is not applicable to this resource"
- },
- {
- "value": "OffByPolicy",
- "description": "This assessment is turned off by policy on this subscription"
- },
- {
- "value": "NotHealthy",
- "description": "This assessment on the resource is not healthy"
- }
- ]
- }
- }
- }
- }
- },
- "parameters": {
- "ComplianceResultName": {
- "name": "complianceResultName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "name of the desired assessment compliance result",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2019-01-01/advancedThreatProtectionSettings.json b/swagger-specs/security/resource-manager/Microsoft.Security/stable/2019-01-01/advancedThreatProtectionSettings.json
deleted file mode 100644
index 3b2a598e1..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2019-01-01/advancedThreatProtectionSettings.json
+++ /dev/null
@@ -1,170 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Security Center",
- "description": "API spec for Microsoft.Security (Azure Security Center) resource provider",
- "version": "2019-01-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/{resourceId}/providers/Microsoft.Security/advancedThreatProtectionSettings/{settingName}": {
- "get": {
- "x-ms-examples": {
- "Gets the Advanced Threat Protection settings for the specified resource.": {
- "$ref": "./examples/AdvancedThreatProtection/GetAdvancedThreatProtectionSettings_example.json"
- }
- },
- "tags": [
- "AdvancedThreatProtection"
- ],
- "description": "Gets the Advanced Threat Protection settings for the specified resource.",
- "operationId": "AdvancedThreatProtection_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceId"
- },
- {
- "$ref": "#/parameters/AdvancedThreatProtectionSettingName"
- }
- ],
- "responses": {
- "200": {
- "description": "Successful request to get Advanced Threat Protection settings.",
- "schema": {
- "$ref": "#/definitions/AdvancedThreatProtectionSetting"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Creates or updates the Advanced Threat Protection settings on a specified resource.": {
- "$ref": "./examples/AdvancedThreatProtection/PutAdvancedThreatProtectionSettings_example.json"
- }
- },
- "tags": [
- "AdvancedThreatProtection"
- ],
- "description": "Creates or updates the Advanced Threat Protection settings on a specified resource.",
- "operationId": "AdvancedThreatProtection_Create",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceId"
- },
- {
- "$ref": "#/parameters/AdvancedThreatProtectionSettingName"
- },
- {
- "$ref": "#/parameters/AdvancedThreatProtectionSetting"
- }
- ],
- "responses": {
- "200": {
- "description": "Successful request to put Advanced Threat Protection settings.",
- "schema": {
- "$ref": "#/definitions/AdvancedThreatProtectionSetting"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "AdvancedThreatProtectionProperties": {
- "properties": {
- "isEnabled": {
- "type": "boolean",
- "description": "Indicates whether Advanced Threat Protection is enabled."
- }
- },
- "description": "The Advanced Threat Protection settings."
- },
- "AdvancedThreatProtectionSetting": {
- "type": "object",
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ],
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/AdvancedThreatProtectionProperties"
- }
- },
- "description": "The Advanced Threat Protection resource."
- }
- },
- "parameters": {
- "AdvancedThreatProtectionSettingName": {
- "name": "settingName",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "current"
- ],
- "x-ms-enum": {
- "name": "AdvancedThreatProtectionSettingName",
- "modelAsString": false
- },
- "description": "Advanced Threat Protection setting name.",
- "x-ms-parameter-location": "method"
- },
- "AdvancedThreatProtectionSetting": {
- "name": "advancedThreatProtectionSetting",
- "in": "body",
- "required": true,
- "description": "Advanced Threat Protection Settings",
- "schema": {
- "$ref": "#/definitions/AdvancedThreatProtectionSetting"
- },
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2019-01-01/alerts.json b/swagger-specs/security/resource-manager/Microsoft.Security/stable/2019-01-01/alerts.json
deleted file mode 100644
index cc3894b37..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2019-01-01/alerts.json
+++ /dev/null
@@ -1,775 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Security Center",
- "description": "API spec for Microsoft.Security (Azure Security Center) resource provider",
- "version": "2019-01-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/alerts": {
- "get": {
- "x-ms-examples": {
- "Get security alerts on a subscription": {
- "$ref": "./examples/Alerts/GetAlertsSubscription_example.json"
- },
- "Get security alerts, that were affected by auto dismiss rule, on a subscription": {
- "$ref": "./examples/Alerts/GetAlertsSubscriptionWithAutoDismissRule_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "List all the alerts that are associated with the subscription",
- "operationId": "Alerts_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/ODataFilter"
- },
- {
- "$ref": "#/parameters/ODataSelect"
- },
- {
- "$ref": "#/parameters/ODataExpand"
- },
- {
- "$ref": "#/parameters/AutoDismissRuleName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AlertList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/alerts": {
- "get": {
- "x-ms-examples": {
- "Get security alerts on a resource group": {
- "$ref": "./examples/Alerts/GetAlertsResourceGroup_example.json"
- },
- "Get security alerts, that should be dismissed by auto dismiss rule, on a resource group": {
- "$ref": "./examples/Alerts/GetAlertsResourceGroupWithAutoDismissRule_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "List all the alerts that are associated with the resource group",
- "operationId": "Alerts_ListByResourceGroup",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/ODataFilter"
- },
- {
- "$ref": "#/parameters/ODataSelect"
- },
- {
- "$ref": "#/parameters/ODataExpand"
- },
- {
- "$ref": "#/parameters/AutoDismissRuleName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AlertList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts": {
- "get": {
- "x-ms-examples": {
- "Get security alerts on a subscription from a security data location": {
- "$ref": "./examples/Alerts/GetAlertsSubscriptionsLocation_example.json"
- },
- "Get security alerts, that should be dismissed by auto dismiss rule, on a subscription from a security data location": {
- "$ref": "./examples/Alerts/GetAlertsSubscriptionsLocationWithAutoDismissRule_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "List all the alerts that are associated with the subscription that are stored in a specific location",
- "operationId": "Alerts_ListSubscriptionLevelAlertsByRegion",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/ODataFilter"
- },
- {
- "$ref": "#/parameters/ODataSelect"
- },
- {
- "$ref": "#/parameters/ODataExpand"
- },
- {
- "$ref": "#/parameters/AutoDismissRuleName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AlertList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts": {
- "get": {
- "x-ms-examples": {
- "Get security alerts on a resource group from a security data location": {
- "$ref": "./examples/Alerts/GetAlertsResourceGroupLocation_example.json"
- },
- "Get security alerts, that should be dismissed by auto dismiss rule, on a resource group from a security data location": {
- "$ref": "./examples/Alerts/GetAlertsResourceGroupLocationWithAutoDismissRule_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "List all the alerts that are associated with the resource group that are stored in a specific location",
- "operationId": "Alerts_ListResourceGroupLevelAlertsByRegion",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/ODataFilter"
- },
- {
- "$ref": "#/parameters/ODataSelect"
- },
- {
- "$ref": "#/parameters/ODataExpand"
- },
- {
- "$ref": "#/parameters/AutoDismissRuleName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AlertList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}": {
- "get": {
- "x-ms-examples": {
- "Get security alert on a subscription from a security data location": {
- "$ref": "./examples/Alerts/GetAlertSubscriptionLocation_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "Get an alert that is associated with a subscription",
- "operationId": "Alerts_GetSubscriptionLevelAlert",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/AlertName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Alert"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}": {
- "get": {
- "x-ms-examples": {
- "Get security alert on a resource group from a security data location": {
- "$ref": "./examples/Alerts/GetAlertResourceGroupLocation_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "Get an alert that is associated a resource group or a resource in a resource group",
- "operationId": "Alerts_GetResourceGroupLevelAlerts",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/AlertName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Alert"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/dismiss": {
- "post": {
- "x-ms-examples": {
- "Update security alert state on a subscription from a security data location": {
- "$ref": "./examples/Alerts/UpdateAlertSubscriptionLocation_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "Update the alert's state",
- "operationId": "Alerts_UpdateSubscriptionLevelAlertStateToDismiss",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/AlertName"
- }
- ],
- "responses": {
- "204": {
- "description": "No Content"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/reactivate": {
- "post": {
- "x-ms-examples": {
- "Update security alert state on a subscription from a security data location": {
- "$ref": "./examples/Alerts/UpdateAlertSubscriptionLocation_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "Update the alert's state",
- "operationId": "Alerts_UpdateSubscriptionLevelAlertStateToReactivate",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/AlertName"
- }
- ],
- "responses": {
- "204": {
- "description": "No Content"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/dismiss": {
- "post": {
- "x-ms-examples": {
- "Update security alert state on a resource group from a security data location": {
- "$ref": "./examples/Alerts/UpdateAlertResourceGroupLocation_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "Update the alert's state",
- "operationId": "Alerts_UpdateResourceGroupLevelAlertStateToDismiss",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/AlertName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- }
- ],
- "responses": {
- "204": {
- "description": "No Content"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/reactivate": {
- "post": {
- "x-ms-examples": {
- "Update security alert state on a resource group from a security data location": {
- "$ref": "./examples/Alerts/UpdateAlertResourceGroupLocation_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "Update the alert's state",
- "operationId": "Alerts_UpdateResourceGroupLevelAlertStateToReactivate",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/AlertName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- }
- ],
- "responses": {
- "204": {
- "description": "No Content"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "AlertList": {
- "type": "object",
- "description": "List of security alerts",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Alert"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "Alert": {
- "type": "object",
- "description": "Security alert",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/AlertProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "AlertProperties": {
- "type": "object",
- "description": "describes security alert properties.",
- "properties": {
- "state": {
- "readOnly": true,
- "type": "string",
- "description": "State of the alert (Active, Dismissed etc.)"
- },
- "reportedTimeUtc": {
- "readOnly": true,
- "type": "string",
- "format": "date-time",
- "description": "The time the incident was reported to Microsoft.Security in UTC"
- },
- "vendorName": {
- "readOnly": true,
- "type": "string",
- "description": "Name of the vendor that discovered the incident"
- },
- "alertName": {
- "readOnly": true,
- "type": "string",
- "description": "Name of the alert type"
- },
- "alertDisplayName": {
- "readOnly": true,
- "type": "string",
- "description": "Display name of the alert type"
- },
- "detectedTimeUtc": {
- "readOnly": true,
- "type": "string",
- "format": "date-time",
- "description": "The time the incident was detected by the vendor"
- },
- "description": {
- "readOnly": true,
- "type": "string",
- "description": "Description of the incident and what it means"
- },
- "remediationSteps": {
- "readOnly": true,
- "type": "string",
- "description": "Recommended steps to reradiate the incident"
- },
- "actionTaken": {
- "readOnly": true,
- "type": "string",
- "description": "The action that was taken as a response to the alert (Active, Blocked etc.)"
- },
- "reportedSeverity": {
- "readOnly": true,
- "type": "string",
- "enum": [
- "Informational",
- "Low",
- "Medium",
- "High"
- ],
- "x-ms-enum": {
- "name": "reportedSeverity",
- "modelAsString": true,
- "values": [
- {
- "value": "Informational"
- },
- {
- "value": "Low"
- },
- {
- "value": "Medium"
- },
- {
- "value": "High"
- }
- ]
- },
- "description": "Estimated severity of this alert"
- },
- "compromisedEntity": {
- "readOnly": true,
- "type": "string",
- "description": "The entity that the incident happened on"
- },
- "associatedResource": {
- "readOnly": true,
- "type": "string",
- "description": "Azure resource ID of the associated resource"
- },
- "extendedProperties": {
- "$ref": "#/definitions/AlertExtendedProperties"
- },
- "systemSource": {
- "readOnly": true,
- "type": "string",
- "description": "The type of the alerted resource (Azure, Non-Azure)"
- },
- "canBeInvestigated": {
- "readOnly": true,
- "type": "boolean",
- "description": "Whether this alert can be investigated with Azure Security Center"
- },
- "isIncident": {
- "readOnly": true,
- "type": "boolean",
- "description": "Whether this alert is for incident type or not (otherwise - single alert)"
- },
- "entities": {
- "type": "array",
- "description": "objects that are related to this alerts",
- "items": {
- "$ref": "#/definitions/AlertEntity"
- }
- },
- "confidenceScore": {
- "readOnly": true,
- "type": "number",
- "format": "float",
- "minimum": 0,
- "maximum": 1,
- "description": "level of confidence we have on the alert"
- },
- "confidenceReasons": {
- "type": "array",
- "description": "reasons the alert got the confidenceScore value",
- "items": {
- "$ref": "#/definitions/AlertConfidenceReason"
- }
- },
- "subscriptionId": {
- "readOnly": true,
- "type": "string",
- "description": "Azure subscription ID of the resource that had the security alert or the subscription ID of the workspace that this resource reports to"
- },
- "instanceId": {
- "readOnly": true,
- "type": "string",
- "description": "Instance ID of the alert."
- },
- "workspaceArmId": {
- "readOnly": true,
- "type": "string",
- "description": "Azure resource ID of the workspace that the alert was reported to."
- },
- "correlationKey": {
- "readOnly": true,
- "type": "string",
- "description": "Alerts with the same CorrelationKey will be grouped together in Ibiza."
- }
- }
- },
- "AlertConfidenceReason": {
- "type": "object",
- "description": "Factors that increase our confidence that the alert is a true positive",
- "properties": {
- "type": {
- "readOnly": true,
- "type": "string",
- "description": "Type of confidence factor"
- },
- "reason": {
- "readOnly": true,
- "type": "string",
- "description": "description of the confidence reason"
- }
- }
- },
- "AlertEntity": {
- "type": "object",
- "additionalProperties": true,
- "description": "Changing set of properties depending on the entity type.",
- "properties": {
- "type": {
- "readOnly": true,
- "type": "string",
- "description": "Type of entity"
- }
- }
- },
- "AlertExtendedProperties": {
- "type": "object",
- "additionalProperties": true,
- "description": "Changing set of properties depending on the alert type."
- }
- },
- "parameters": {
- "ODataFilter": {
- "name": "$filter",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "OData filter. Optional.",
- "x-ms-parameter-location": "method"
- },
- "ODataSelect": {
- "name": "$select",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "OData select. Optional.",
- "x-ms-parameter-location": "method"
- },
- "ODataExpand": {
- "name": "$expand",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "OData expand. Optional.",
- "x-ms-parameter-location": "method"
- },
- "AlertName": {
- "name": "alertName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Name of the alert object",
- "x-ms-parameter-location": "method"
- },
- "AutoDismissRuleName": {
- "name": "autoDismissRuleName",
- "in": "query",
- "type": "string",
- "description": "The name of an existing auto dismiss rule. Use it to simulate the rule on existing alerts and get the alerts that would have been dismissed if the rule was enabled when the alert was created",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2019-01-01/settings.json b/swagger-specs/security/resource-manager/Microsoft.Security/stable/2019-01-01/settings.json
deleted file mode 100644
index 6e8bdee81..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2019-01-01/settings.json
+++ /dev/null
@@ -1,265 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2019-01-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/settings": {
- "get": {
- "x-ms-examples": {
- "Get settings of subscription": {
- "$ref": "./examples/Settings/GetSettings_example.json"
- }
- },
- "tags": [
- "Settings"
- ],
- "description": "Settings about different configurations in Microsoft Defender for Cloud",
- "operationId": "Settings_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SettingsList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/settings/{settingName}": {
- "get": {
- "x-ms-examples": {
- "Get a setting on subscription": {
- "$ref": "./examples/Settings/GetSetting_example.json"
- }
- },
- "tags": [
- "Settings"
- ],
- "description": "Settings of different configurations in Microsoft Defender for Cloud",
- "operationId": "Settings_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/SettingName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Setting"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Update a setting for subscription": {
- "$ref": "./examples/Settings/UpdateSetting_example.json"
- }
- },
- "tags": [
- "Settings"
- ],
- "description": "updating settings about different configurations in Microsoft Defender for Cloud",
- "operationId": "Settings_Update",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/SettingName"
- },
- {
- "$ref": "#/parameters/Setting"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Setting"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "SettingsList": {
- "type": "object",
- "description": "Subscription settings list.",
- "properties": {
- "value": {
- "type": "array",
- "description": "The settings list.",
- "items": {
- "$ref": "#/definitions/Setting"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "DataExportSettings": {
- "type": "object",
- "description": "Represents a data export setting",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "Data export setting data",
- "$ref": "#/definitions/DataExportSettingProperties"
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/Setting"
- }
- ],
- "x-ms-discriminator-value": "DataExportSettings"
- },
- "Setting": {
- "type": "object",
- "description": "The kind of the security setting",
- "properties": {
- "kind": {
- "type": "string",
- "description": "the kind of the settings string (DataExportSettings)",
- "enum": [
- "DataExportSettings",
- "AlertSuppressionSetting"
- ],
- "x-ms-enum": {
- "name": "SettingKind",
- "modelAsString": true,
- "values": [
- {
- "value": "DataExportSettings"
- },
- {
- "value": "AlertSuppressionSetting"
- }
- ]
- }
- }
- },
- "discriminator": "kind",
- "required": [
- "kind"
- ],
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "DataExportSettingProperties": {
- "type": "object",
- "description": "The data export setting properties",
- "properties": {
- "enabled": {
- "type": "boolean",
- "description": "Is the data export setting is enabled"
- }
- },
- "required": [
- "enabled"
- ]
- }
- },
- "parameters": {
- "SettingName": {
- "name": "settingName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Name of setting: (MCAS/WDATP)",
- "enum": [
- "MCAS",
- "WDATP"
- ],
- "x-ms-parameter-location": "method"
- },
- "Setting": {
- "name": "setting",
- "in": "body",
- "required": true,
- "description": "Setting object",
- "schema": {
- "$ref": "#/definitions/Setting"
- },
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2019-08-01/deviceSecurityGroups.json b/swagger-specs/security/resource-manager/Microsoft.Security/stable/2019-08-01/deviceSecurityGroups.json
deleted file mode 100644
index bec45112f..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2019-08-01/deviceSecurityGroups.json
+++ /dev/null
@@ -1,643 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Security Center",
- "description": "API spec for Microsoft.Security (Azure Security Center) resource provider",
- "version": "2019-08-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/{resourceId}/providers/Microsoft.Security/deviceSecurityGroups": {
- "get": {
- "x-ms-examples": {
- "List all device security groups for the specified IoT Hub resource": {
- "$ref": "./examples/DeviceSecurityGroups/ListDeviceSecurityGroups_example.json"
- }
- },
- "tags": [
- "DeviceSecurityGroups"
- ],
- "description": "Use this method get the list of device security groups for the specified IoT Hub resource.",
- "operationId": "DeviceSecurityGroups_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/DeviceSecurityGroupList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/{resourceId}/providers/Microsoft.Security/deviceSecurityGroups/{deviceSecurityGroupName}": {
- "get": {
- "x-ms-examples": {
- "Get a device security group for the specified IoT Hub resource": {
- "$ref": "./examples/DeviceSecurityGroups/GetDeviceSecurityGroups_example.json"
- }
- },
- "tags": [
- "DeviceSecurityGroups"
- ],
- "description": "Use this method to get the device security group for the specified IoT Hub resource.",
- "operationId": "DeviceSecurityGroups_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceId"
- },
- {
- "$ref": "#/parameters/DeviceSecurityGroupName"
- }
- ],
- "responses": {
- "200": {
- "description": "Successful request to get device security group.",
- "schema": {
- "$ref": "#/definitions/DeviceSecurityGroup"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Create or update a device security group for the specified IoT hub resource": {
- "$ref": "./examples/DeviceSecurityGroups/PutDeviceSecurityGroups_example.json"
- }
- },
- "tags": [
- "DeviceSecurityGroups"
- ],
- "description": "Use this method to creates or updates the device security group on a specified IoT Hub resource.",
- "operationId": "DeviceSecurityGroups_CreateOrUpdate",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceId"
- },
- {
- "$ref": "#/parameters/DeviceSecurityGroupName"
- },
- {
- "$ref": "#/parameters/DeviceSecurityGroup"
- }
- ],
- "responses": {
- "200": {
- "description": "Security group was updated.",
- "schema": {
- "$ref": "#/definitions/DeviceSecurityGroup"
- }
- },
- "201": {
- "description": "Security group was created.",
- "schema": {
- "$ref": "#/definitions/DeviceSecurityGroup"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "delete": {
- "x-ms-examples": {
- "Delete a device security group for the specified IoT Hub resource": {
- "$ref": "./examples/DeviceSecurityGroups/DeleteDeviceSecurityGroups_example.json"
- }
- },
- "tags": [
- "DeviceSecurityGroups"
- ],
- "description": "User this method to deletes the device security group.",
- "operationId": "DeviceSecurityGroups_Delete",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceId"
- },
- {
- "$ref": "#/parameters/DeviceSecurityGroupName"
- }
- ],
- "responses": {
- "200": {
- "description": "Device security group has been deleted."
- },
- "204": {
- "description": "Device security group does not exist."
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "DeviceSecurityGroupList": {
- "type": "object",
- "readOnly": true,
- "description": "List of device security groups",
- "properties": {
- "value": {
- "type": "array",
- "description": "List of device security group objects",
- "items": {
- "$ref": "#/definitions/DeviceSecurityGroup"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "DeviceSecurityGroup": {
- "type": "object",
- "description": "The device security group resource",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "Device Security group data",
- "$ref": "#/definitions/DeviceSecurityGroupProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "DeviceSecurityGroupProperties": {
- "type": "object",
- "description": "describes properties of a security group.",
- "properties": {
- "thresholdRules": {
- "type": "array",
- "description": "The list of custom alert threshold rules.",
- "items": {
- "type": "object",
- "$ref": "#/definitions/ThresholdCustomAlertRule"
- }
- },
- "timeWindowRules": {
- "type": "array",
- "description": "The list of custom alert time-window rules.",
- "items": {
- "type": "object",
- "$ref": "#/definitions/TimeWindowCustomAlertRule"
- }
- },
- "allowlistRules": {
- "type": "array",
- "description": "The allow-list custom alert rules.",
- "items": {
- "type": "object",
- "$ref": "#/definitions/AllowlistCustomAlertRule"
- }
- },
- "denylistRules": {
- "type": "array",
- "description": "The deny-list custom alert rules.",
- "items": {
- "type": "object",
- "$ref": "#/definitions/DenylistCustomAlertRule"
- }
- }
- }
- },
- "CustomAlertRule": {
- "type": "object",
- "description": "A custom alert rule.",
- "discriminator": "ruleType",
- "properties": {
- "displayName": {
- "type": "string",
- "readOnly": true,
- "description": "The display name of the custom alert."
- },
- "description": {
- "type": "string",
- "readOnly": true,
- "description": "The description of the custom alert."
- },
- "isEnabled": {
- "type": "boolean",
- "description": "Status of the custom alert."
- },
- "ruleType": {
- "type": "string",
- "description": "The type of the custom alert rule."
- }
- },
- "required": [
- "isEnabled",
- "ruleType"
- ]
- },
- "ListCustomAlertRule": {
- "type": "object",
- "description": "A List custom alert rule.",
- "allOf": [
- {
- "$ref": "#/definitions/CustomAlertRule"
- }
- ],
- "properties": {
- "valueType": {
- "type": "string",
- "description": "The value type of the items in the list.",
- "enum": [
- "IpCidr",
- "String"
- ],
- "readOnly": true,
- "x-ms-enum": {
- "name": "valueType",
- "modelAsString": true,
- "values": [
- {
- "value": "IpCidr",
- "description": "An IP range in CIDR format (e.g. '192.168.0.1/8')."
- },
- {
- "value": "String",
- "description": "Any string value."
- }
- ]
- }
- }
- }
- },
- "AllowlistCustomAlertRule": {
- "type": "object",
- "description": "A custom alert rule that checks if a value (depends on the custom alert type) is allowed.",
- "allOf": [
- {
- "$ref": "#/definitions/ListCustomAlertRule"
- }
- ],
- "properties": {
- "allowlistValues": {
- "type": "array",
- "description": "The values to allow. The format of the values depends on the rule type.",
- "items": {
- "type": "string"
- }
- }
- },
- "required": [
- "allowlistValues"
- ]
- },
- "ConnectionToIpNotAllowed": {
- "type": "object",
- "description": "Outbound connection to an ip that isn't allowed. Allow list consists of ipv4 or ipv6 range in CIDR notation.",
- "allOf": [
- {
- "$ref": "#/definitions/AllowlistCustomAlertRule"
- }
- ],
- "properties": {}
- },
- "ConnectionFromIpNotAllowed": {
- "type": "object",
- "description": "Inbound connection from an ip that isn't allowed. Allow list consists of ipv4 or ipv6 range in CIDR notation.",
- "allOf": [
- {
- "$ref": "#/definitions/AllowlistCustomAlertRule"
- }
- ],
- "properties": {}
- },
- "LocalUserNotAllowed": {
- "type": "object",
- "description": "Login by a local user that isn't allowed. Allow list consists of login names to allow.",
- "allOf": [
- {
- "$ref": "#/definitions/AllowlistCustomAlertRule"
- }
- ],
- "properties": {}
- },
- "ProcessNotAllowed": {
- "type": "object",
- "description": "Execution of a process that isn't allowed. Allow list consists of process names to allow.",
- "allOf": [
- {
- "$ref": "#/definitions/AllowlistCustomAlertRule"
- }
- ],
- "properties": {}
- },
- "DenylistCustomAlertRule": {
- "type": "object",
- "description": "A custom alert rule that checks if a value (depends on the custom alert type) is denied.",
- "allOf": [
- {
- "$ref": "#/definitions/ListCustomAlertRule"
- }
- ],
- "properties": {
- "denylistValues": {
- "type": "array",
- "description": "The values to deny. The format of the values depends on the rule type.",
- "items": {
- "type": "string"
- }
- }
- },
- "required": [
- "denylistValues"
- ]
- },
- "ThresholdCustomAlertRule": {
- "type": "object",
- "description": "A custom alert rule that checks if a value (depends on the custom alert type) is within the given range.",
- "allOf": [
- {
- "$ref": "#/definitions/CustomAlertRule"
- }
- ],
- "properties": {
- "minThreshold": {
- "type": "integer",
- "format": "int32",
- "description": "The minimum threshold."
- },
- "maxThreshold": {
- "type": "integer",
- "format": "int32",
- "description": "The maximum threshold."
- }
- },
- "required": [
- "minThreshold",
- "maxThreshold"
- ]
- },
- "TimeWindowCustomAlertRule": {
- "type": "object",
- "description": "A custom alert rule that checks if the number of activities (depends on the custom alert type) in a time window is within the given range.",
- "allOf": [
- {
- "$ref": "#/definitions/ThresholdCustomAlertRule"
- }
- ],
- "properties": {
- "timeWindowSize": {
- "type": "string",
- "description": "The time window size in iso8601 format.",
- "format": "duration"
- }
- },
- "required": [
- "timeWindowSize"
- ]
- },
- "ActiveConnectionsNotInAllowedRange": {
- "type": "object",
- "description": "Number of active connections is not in allowed range.",
- "allOf": [
- {
- "$ref": "#/definitions/TimeWindowCustomAlertRule"
- }
- ],
- "properties": {}
- },
- "AmqpC2DMessagesNotInAllowedRange": {
- "type": "object",
- "description": "Number of cloud to device messages (AMQP protocol) is not in allowed range.",
- "allOf": [
- {
- "$ref": "#/definitions/TimeWindowCustomAlertRule"
- }
- ],
- "properties": {}
- },
- "MqttC2DMessagesNotInAllowedRange": {
- "type": "object",
- "description": "Number of cloud to device messages (MQTT protocol) is not in allowed range.",
- "allOf": [
- {
- "$ref": "#/definitions/TimeWindowCustomAlertRule"
- }
- ],
- "properties": {}
- },
- "HttpC2DMessagesNotInAllowedRange": {
- "type": "object",
- "description": "Number of cloud to device messages (HTTP protocol) is not in allowed range.",
- "allOf": [
- {
- "$ref": "#/definitions/TimeWindowCustomAlertRule"
- }
- ],
- "properties": {}
- },
- "AmqpC2DRejectedMessagesNotInAllowedRange": {
- "type": "object",
- "description": "Number of rejected cloud to device messages (AMQP protocol) is not in allowed range.",
- "allOf": [
- {
- "$ref": "#/definitions/TimeWindowCustomAlertRule"
- }
- ],
- "properties": {}
- },
- "MqttC2DRejectedMessagesNotInAllowedRange": {
- "type": "object",
- "description": "Number of rejected cloud to device messages (MQTT protocol) is not in allowed range.",
- "allOf": [
- {
- "$ref": "#/definitions/TimeWindowCustomAlertRule"
- }
- ],
- "properties": {}
- },
- "HttpC2DRejectedMessagesNotInAllowedRange": {
- "type": "object",
- "description": "Number of rejected cloud to device messages (HTTP protocol) is not in allowed range.",
- "allOf": [
- {
- "$ref": "#/definitions/TimeWindowCustomAlertRule"
- }
- ],
- "properties": {}
- },
- "AmqpD2CMessagesNotInAllowedRange": {
- "type": "object",
- "description": "Number of device to cloud messages (AMQP protocol) is not in allowed range.",
- "allOf": [
- {
- "$ref": "#/definitions/TimeWindowCustomAlertRule"
- }
- ],
- "properties": {}
- },
- "MqttD2CMessagesNotInAllowedRange": {
- "type": "object",
- "description": "Number of device to cloud messages (MQTT protocol) is not in allowed range.",
- "allOf": [
- {
- "$ref": "#/definitions/TimeWindowCustomAlertRule"
- }
- ],
- "properties": {}
- },
- "HttpD2CMessagesNotInAllowedRange": {
- "type": "object",
- "description": "Number of device to cloud messages (HTTP protocol) is not in allowed range.",
- "allOf": [
- {
- "$ref": "#/definitions/TimeWindowCustomAlertRule"
- }
- ],
- "properties": {}
- },
- "DirectMethodInvokesNotInAllowedRange": {
- "type": "object",
- "description": "Number of direct method invokes is not in allowed range.",
- "allOf": [
- {
- "$ref": "#/definitions/TimeWindowCustomAlertRule"
- }
- ],
- "properties": {}
- },
- "FailedLocalLoginsNotInAllowedRange": {
- "type": "object",
- "description": "Number of failed local logins is not in allowed range.",
- "allOf": [
- {
- "$ref": "#/definitions/TimeWindowCustomAlertRule"
- }
- ],
- "properties": {}
- },
- "FileUploadsNotInAllowedRange": {
- "type": "object",
- "description": "Number of file uploads is not in allowed range.",
- "allOf": [
- {
- "$ref": "#/definitions/TimeWindowCustomAlertRule"
- }
- ],
- "properties": {}
- },
- "QueuePurgesNotInAllowedRange": {
- "type": "object",
- "description": "Number of device queue purges is not in allowed range.",
- "allOf": [
- {
- "$ref": "#/definitions/TimeWindowCustomAlertRule"
- }
- ],
- "properties": {}
- },
- "TwinUpdatesNotInAllowedRange": {
- "type": "object",
- "description": "Number of twin updates is not in allowed range.",
- "allOf": [
- {
- "$ref": "#/definitions/TimeWindowCustomAlertRule"
- }
- ],
- "properties": {}
- },
- "UnauthorizedOperationsNotInAllowedRange": {
- "type": "object",
- "description": "Number of unauthorized operations is not in allowed range.",
- "allOf": [
- {
- "$ref": "#/definitions/TimeWindowCustomAlertRule"
- }
- ],
- "properties": {}
- }
- },
- "parameters": {
- "DeviceSecurityGroupName": {
- "name": "deviceSecurityGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the device security group. Note that the name of the device security group is case insensitive.",
- "x-ms-parameter-location": "method"
- },
- "DeviceSecurityGroup": {
- "name": "deviceSecurityGroup",
- "in": "body",
- "required": true,
- "description": "Security group object.",
- "schema": {
- "$ref": "#/definitions/DeviceSecurityGroup"
- },
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotAlertTypes.json b/swagger-specs/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotAlertTypes.json
deleted file mode 100644
index 8dbda6e51..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotAlertTypes.json
+++ /dev/null
@@ -1,329 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Security Center",
- "description": "API spec for Microsoft.Security (Azure Security Center) resource provider",
- "version": "2019-08-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/iotAlertTypes": {
- "get": {
- "x-ms-examples": {
- "Get IoT Alert Types": {
- "$ref": "./examples/IotAlertTypes/GetIoTAlertTypeList.json"
- }
- },
- "tags": [
- "IoT Security Alert Types"
- ],
- "description": "List IoT alert types",
- "operationId": "IotAlertTypes_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/SolutionName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IotAlertTypeList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/iotAlertTypes/{iotAlertTypeName}": {
- "get": {
- "x-ms-examples": {
- "Get IoT Alert Type": {
- "$ref": "./examples/IotAlertTypes/GetIoTAlertType.json"
- }
- },
- "tags": [
- "IoT Security Alert Types"
- ],
- "operationId": "IotAlertTypes_Get",
- "description": "Get IoT alert type",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/SolutionName"
- },
- {
- "in": "path",
- "name": "iotAlertTypeName",
- "required": true,
- "type": "string",
- "description": "Name of the alert type"
- }
- ],
- "responses": {
- "200": {
- "description": "IoT alert type",
- "schema": {
- "$ref": "#/definitions/IotAlertType"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "IotAlertTypeList": {
- "type": "object",
- "description": "List of alert types",
- "properties": {
- "value": {
- "type": "array",
- "description": "List data",
- "items": {
- "$ref": "#/definitions/IotAlertType"
- }
- }
- }
- },
- "IotAlertType": {
- "type": "object",
- "description": "IoT alert type.",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "Alert type properties",
- "$ref": "#/definitions/IotAlertTypeProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "IotAlertTypeProperties": {
- "type": "object",
- "description": "IoT alert type information.",
- "properties": {
- "alertDisplayName": {
- "readOnly": true,
- "type": "string",
- "example": "Privileged container detected",
- "description": "The display name of the alert"
- },
- "severity": {
- "readOnly": true,
- "type": "string",
- "example": "Medium",
- "description": "The severity of the alert",
- "enum": [
- "Informational",
- "Low",
- "Medium",
- "High"
- ],
- "x-ms-enum": {
- "name": "alertSeverity",
- "modelAsString": true,
- "values": [
- {
- "value": "Informational"
- },
- {
- "value": "Low"
- },
- {
- "value": "Medium"
- },
- {
- "value": "High"
- }
- ]
- }
- },
- "description": {
- "readOnly": true,
- "type": "string",
- "description": "Description of the suspected vulnerability and meaning.",
- "example": "Machine logs indicate that a privileged Docker container is running. A privileged container has full access to host resources. If compromised, a malicious actor can use the privileged container to gain access to the host machine."
- },
- "providerName": {
- "readOnly": true,
- "type": "string",
- "example": "IoTSecurity",
- "description": "The name of the alert provider or internal partner"
- },
- "productName": {
- "readOnly": true,
- "type": "string",
- "example": "Azure Security Center for IoT",
- "description": "The name of the product which published this alert"
- },
- "productComponentName": {
- "readOnly": true,
- "type": "string",
- "example": "IoT Hub",
- "description": "The name of a component inside the product which generated the alert"
- },
- "vendorName": {
- "readOnly": true,
- "type": "string",
- "example": "Microsoft",
- "description": "The name of the vendor that raise the alert"
- },
- "intent": {
- "readOnly": true,
- "type": "string",
- "example": "Exploitation,Execution",
- "description": "Kill chain related intent behind the alert. Could contain multiple enum values (separated by commas)",
- "enum": [
- "Unknown",
- "PreAttack",
- "InitialAccess",
- "Persistence",
- "PrivilegeEscalation",
- "DefenseEvasion",
- "CredentialAccess",
- "Discovery",
- "LateralMovement",
- "Execution",
- "Collection",
- "Exfiltration",
- "CommandAndControl",
- "Impact",
- "Probing",
- "Exploitation"
- ],
- "x-ms-enum": {
- "name": "alertIntent",
- "modelAsString": true,
- "values": [
- {
- "value": "Unknown"
- },
- {
- "value": "PreAttack"
- },
- {
- "value": "InitialAccess"
- },
- {
- "value": "Persistence"
- },
- {
- "value": "PrivilegeEscalation"
- },
- {
- "value": "DefenseEvasion"
- },
- {
- "value": "CredentialAccess"
- },
- {
- "value": "Discovery"
- },
- {
- "value": "LateralMovement"
- },
- {
- "value": "Execution"
- },
- {
- "value": "Collection"
- },
- {
- "value": "Exfiltration"
- },
- {
- "value": "CommandAndControl"
- },
- {
- "value": "Impact"
- },
- {
- "value": "Probing"
- },
- {
- "value": "Exploitation"
- }
- ]
- }
- },
- "remediationSteps": {
- "readOnly": true,
- "description": "Manual action items to take to remediate the alert",
- "type": "array",
- "items": {
- "type": "string",
- "example": "If the container doesn't need to run in privileged mode, remove the privileges from the container."
- }
- }
- }
- }
- },
- "parameters": {
- "SolutionName": {
- "name": "solutionName",
- "in": "path",
- "required": true,
- "description": "The name of the IoT Security solution.",
- "type": "string",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotAlerts.json b/swagger-specs/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotAlerts.json
deleted file mode 100644
index 80edda405..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotAlerts.json
+++ /dev/null
@@ -1,291 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Security Center",
- "description": "API spec for Microsoft.Security (Azure Security Center) resource provider",
- "version": "2019-08-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/iotAlerts": {
- "get": {
- "x-ms-examples": {
- "Get IoT Alerts": {
- "$ref": "./examples/IotAlerts/GetIoTAlertList.json"
- }
- },
- "tags": [
- "IoT Security Alerts"
- ],
- "description": "List IoT alerts",
- "operationId": "IotAlerts_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/SolutionName"
- },
- {
- "in": "query",
- "name": "startTimeUtc>",
- "x-ms-client-name": "minStartTimeUtc",
- "required": false,
- "type": "string",
- "description": "Filter by minimum startTimeUtc (ISO 8601 format)"
- },
- {
- "in": "query",
- "name": "startTimeUtc<",
- "x-ms-client-name": "maxStartTimeUtc",
- "required": false,
- "type": "string",
- "description": "Filter by maximum startTimeUtc (ISO 8601 format)"
- },
- {
- "in": "query",
- "name": "alertType",
- "required": false,
- "type": "string",
- "description": "Filter by alert type"
- },
- {
- "in": "query",
- "name": "compromisedEntity",
- "required": false,
- "type": "string",
- "description": "Filter by compromised device"
- },
- {
- "in": "query",
- "name": "$limit",
- "required": false,
- "type": "integer",
- "format": "int32",
- "description": "Limit the number of items returned in a single page"
- },
- {
- "in": "query",
- "name": "$skipToken",
- "required": false,
- "type": "string",
- "description": "Skip token used for pagination"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IotAlertList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/iotAlerts/{iotAlertId}": {
- "get": {
- "x-ms-examples": {
- "Get IoT Alert": {
- "$ref": "./examples/IotAlerts/GetIoTAlert.json"
- }
- },
- "tags": [
- "IoT Security Alerts"
- ],
- "operationId": "IotAlerts_Get",
- "description": "Get IoT alert",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/SolutionName"
- },
- {
- "in": "path",
- "name": "iotAlertId",
- "required": true,
- "type": "string",
- "description": "Id of the alert"
- }
- ],
- "responses": {
- "200": {
- "description": "IoT alert",
- "schema": {
- "$ref": "#/definitions/IotAlert"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "IotAlertList": {
- "description": "List of IoT alerts",
- "type": "object",
- "properties": {
- "value": {
- "description": "List data",
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/IotAlert"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "When available, follow the URI to get the next page of data"
- },
- "totalCount": {
- "readOnly": true,
- "format": "int32",
- "type": "integer",
- "description": "Total count of alerts that conforms with the given filter options (not affected by page size)"
- }
- }
- },
- "IotAlert": {
- "type": "object",
- "description": "IoT alert",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "Alert properties",
- "$ref": "#/definitions/IotAlertProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "IotAlertProperties": {
- "type": "object",
- "description": "IoT alert properties",
- "properties": {
- "systemAlertId": {
- "description": "Holds the product canonical identifier of the alert within the scope of a product",
- "readOnly": true,
- "type": "string",
- "example": "903e76ff-17eb-4bac-ac8a-2bc31ab68fd8"
- },
- "compromisedEntity": {
- "description": "Display name of the main entity being reported on",
- "readOnly": true,
- "type": "string",
- "example": "device-1"
- },
- "alertType": {
- "description": "The type name of the alert",
- "readOnly": true,
- "type": "string",
- "example": "IoT_PrivilegedContainer"
- },
- "startTimeUtc": {
- "description": "The impact start time of the alert (the time of the first event or activity included in the alert)",
- "readOnly": true,
- "type": "string",
- "example": "2020-05-13T06:32:25Z"
- },
- "endTimeUtc": {
- "description": "The impact end time of the alert (the time of the last event or activity included in the alert)",
- "readOnly": true,
- "type": "string",
- "example": "2020-05-13T06:32:25Z"
- },
- "entities": {
- "description": "A list of entities related to the alert",
- "type": "array",
- "items": {
- "type": "object"
- },
- "example": [
- {
- "$id": "1",
- "CommandLine": "docker run --privileged",
- "Type": "process"
- }
- ]
- },
- "extendedProperties": {
- "type": "object",
- "description": "A bag of fields which extends the alert information",
- "example": {
- "CommandLine": "docker run --privileged",
- "User Name": "aUser",
- "UserId": "",
- "ParentProcessId": 1593,
- "DeviceId": "device-1"
- }
- }
- }
- }
- },
- "parameters": {
- "SolutionName": {
- "name": "solutionName",
- "in": "path",
- "required": true,
- "description": "The name of the IoT Security solution.",
- "type": "string",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotRecommendationTypes.json b/swagger-specs/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotRecommendationTypes.json
deleted file mode 100644
index e4d95b007..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotRecommendationTypes.json
+++ /dev/null
@@ -1,269 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Security Center",
- "description": "API spec for Microsoft.Security (Azure Security Center) resource provider",
- "version": "2019-08-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/iotRecommendationTypes": {
- "get": {
- "x-ms-examples": {
- "Get IoT Recommendation Types": {
- "$ref": "./examples/IotRecommendationTypes/GetIoTRecommendationTypeList.json"
- }
- },
- "tags": [
- "IoT Security Recommendation Types"
- ],
- "description": "List IoT recommendation types",
- "operationId": "IotRecommendationTypes_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/SolutionName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IotRecommendationTypeList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/iotRecommendationTypes/{iotRecommendationTypeName}": {
- "get": {
- "x-ms-examples": {
- "Get IoT Recommendation Type": {
- "$ref": "./examples/IotRecommendationTypes/GetIoTRecommendationType.json"
- }
- },
- "tags": [
- "IoT Security Recommendation Types"
- ],
- "operationId": "IotRecommendationTypes_Get",
- "description": "Get IoT recommendation type",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/SolutionName"
- },
- {
- "in": "path",
- "name": "iotRecommendationTypeName",
- "required": true,
- "type": "string",
- "description": "Name of the recommendation type"
- }
- ],
- "responses": {
- "200": {
- "description": "IoT recommendation type",
- "schema": {
- "$ref": "#/definitions/IotRecommendationType"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "IotRecommendationTypeList": {
- "type": "object",
- "description": "List of recommendation types",
- "properties": {
- "value": {
- "type": "array",
- "description": "List data",
- "items": {
- "$ref": "#/definitions/IotRecommendationType"
- }
- }
- }
- },
- "IotRecommendationType": {
- "type": "object",
- "description": "IoT recommendation type.",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "Recommendation type properties",
- "$ref": "#/definitions/IotRecommendationTypeProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "IotRecommendationTypeProperties": {
- "type": "object",
- "description": "IoT recommendation type information.",
- "properties": {
- "recommendationDisplayName": {
- "readOnly": true,
- "type": "string",
- "example": "TLS cipher suite upgrade needed",
- "description": "The display name of the recommendation"
- },
- "severity": {
- "readOnly": true,
- "type": "string",
- "example": "Medium",
- "description": "The severity of the recommendation",
- "enum": [
- "Unknown",
- "NotApplicable",
- "Healthy",
- "OffByPolicy",
- "Low",
- "Medium",
- "High"
- ],
- "x-ms-enum": {
- "name": "recommendationSeverity",
- "modelAsString": true,
- "values": [
- {
- "value": "Unknown"
- },
- {
- "value": "NotApplicable"
- },
- {
- "value": "Healthy"
- },
- {
- "value": "OffByPolicy"
- },
- {
- "value": "Low"
- },
- {
- "value": "Medium"
- },
- {
- "value": "High"
- }
- ]
- }
- },
- "description": {
- "readOnly": true,
- "type": "string",
- "description": "Description of the suspected vulnerability and meaning.",
- "example": "Insecure TLS configurations detected. Immediate TLS cipher suite upgrade recommended."
- },
- "productName": {
- "readOnly": true,
- "type": "string",
- "example": "Azure Security Center for IoT",
- "description": "The name of the product which published this recommendation"
- },
- "productComponentName": {
- "readOnly": true,
- "type": "string",
- "example": "IoT Hub",
- "description": "The name of a component inside the product which generated the recommendation"
- },
- "vendorName": {
- "readOnly": true,
- "type": "string",
- "example": "Microsoft",
- "description": "The name of the vendor that raised the recommendation"
- },
- "control": {
- "readOnly": true,
- "type": "string",
- "example": "Communication between device and IoT Hub is not optimized",
- "description": "The name of the recommendation's control category "
- },
- "remediationSteps": {
- "readOnly": true,
- "description": "Manual action items to take to resolve the recommendation",
- "type": "array",
- "items": {
- "type": "string",
- "example": "Upgrade your TLS cipher suite to a secure configuration. See the Guide to TLS Standards Compliance for more information."
- }
- },
- "dataSource": {
- "readOnly": true,
- "description": "The alert's data source",
- "type": "string",
- "example": "IoT Hub"
- }
- }
- }
- },
- "parameters": {
- "SolutionName": {
- "name": "solutionName",
- "in": "path",
- "required": true,
- "description": "The name of the IoT Security solution.",
- "type": "string",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotRecommendations.json b/swagger-specs/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotRecommendations.json
deleted file mode 100644
index 4b2400840..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotRecommendations.json
+++ /dev/null
@@ -1,250 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Security Center",
- "description": "API spec for Microsoft.Security (Azure Security Center) resource provider",
- "version": "2019-08-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/iotRecommendations": {
- "get": {
- "x-ms-examples": {
- "Get IoT Recommendations": {
- "$ref": "./examples/IotRecommendations/GetIoTRecommendationList.json"
- }
- },
- "tags": [
- "IoT Security Recommendations"
- ],
- "description": "List IoT recommendations",
- "operationId": "IotRecommendations_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/SolutionName"
- },
- {
- "in": "query",
- "name": "recommendationType",
- "required": false,
- "type": "string",
- "description": "Filter by recommendation type"
- },
- {
- "in": "query",
- "name": "deviceId",
- "required": false,
- "type": "string",
- "description": "Filter by device id"
- },
- {
- "in": "query",
- "name": "$limit",
- "required": false,
- "type": "integer",
- "format": "int32",
- "description": "Limit the number of items returned in a single page"
- },
- {
- "in": "query",
- "name": "$skipToken",
- "required": false,
- "type": "string",
- "description": "Skip token used for pagination"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IotRecommendationList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/iotRecommendations/{iotRecommendationId}": {
- "get": {
- "x-ms-examples": {
- "Get IoT Recommendation": {
- "$ref": "./examples/IotRecommendations/GetIoTRecommendation.json"
- }
- },
- "tags": [
- "IoT Security Recommendations"
- ],
- "operationId": "IotRecommendations_Get",
- "description": "Get IoT recommendation",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/SolutionName"
- },
- {
- "in": "path",
- "name": "iotRecommendationId",
- "required": true,
- "type": "string",
- "description": "Id of the recommendation"
- }
- ],
- "responses": {
- "200": {
- "description": "IoT recommendation",
- "schema": {
- "$ref": "#/definitions/IotRecommendation"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "IotRecommendationList": {
- "description": "List of IoT recommendations",
- "type": "object",
- "properties": {
- "value": {
- "description": "List data",
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/IotRecommendation"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "When available, follow the URI to get the next page of data"
- },
- "totalCount": {
- "readOnly": true,
- "format": "int32",
- "type": "integer",
- "description": "Total count of recommendations that conforms with the given filter options (not affected by page size)"
- }
- }
- },
- "IotRecommendation": {
- "type": "object",
- "description": "IoT recommendation",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "Recommendation properties",
- "$ref": "#/definitions/IotRecommendationProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "IotRecommendationProperties": {
- "type": "object",
- "description": "IoT recommendation properties",
- "properties": {
- "deviceId": {
- "description": "Identifier of the device being reported on",
- "readOnly": true,
- "type": "string",
- "example": "device-1"
- },
- "recommendationType": {
- "description": "The type name of the recommendation",
- "readOnly": true,
- "type": "string",
- "example": "IoT_PrivilegedContainer"
- },
- "discoveredTimeUtc": {
- "description": "The discovery time of the recommendation",
- "readOnly": true,
- "type": "string",
- "example": "2020-05-13T06:32:25Z"
- },
- "recommendationAdditionalData": {
- "type": "object",
- "description": "A bag of fields which extends the recommendation information",
- "example": {
- "SnapshotId": "48519d58-4e35-46cd-aed5-6251af95ed50",
- "TotalFailedRules": "7",
- "TotalRulesFailedDuoToError": "1",
- "TotalInformationalFailedRules": "2",
- "TotalCriticalFailedRules": "3",
- "TotalWarningFailedRules": "1"
- }
- }
- }
- }
- },
- "parameters": {
- "SolutionName": {
- "name": "solutionName",
- "in": "path",
- "required": true,
- "description": "The name of the IoT Security solution.",
- "type": "string",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotSecuritySolutionAnalytics.json b/swagger-specs/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotSecuritySolutionAnalytics.json
deleted file mode 100644
index f57eaa3a0..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotSecuritySolutionAnalytics.json
+++ /dev/null
@@ -1,914 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Security Center",
- "description": "API spec for Microsoft.Security (Azure Security Center) resource provider",
- "version": "2019-08-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels": {
- "get": {
- "x-ms-examples": {
- "Get Security Solution Analytics": {
- "$ref": "./examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAnalyticsList.json"
- }
- },
- "tags": [
- "IoT Security Solution Analytics"
- ],
- "description": "Use this method to get IoT security Analytics metrics in an array.",
- "operationId": "IotSecuritySolutionAnalytics_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/SolutionName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IoTSecuritySolutionAnalyticsModelList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default": {
- "get": {
- "x-ms-examples": {
- "Get Security Solution Analytics": {
- "$ref": "./examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAnalytics.json"
- }
- },
- "tags": [
- "IoT Security Solution Analytics"
- ],
- "description": "Use this method to get IoT Security Analytics metrics.",
- "operationId": "IotSecuritySolutionAnalytics_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/SolutionName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IoTSecuritySolutionAnalyticsModel"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedAlerts": {
- "get": {
- "x-ms-examples": {
- "Get the aggregated alert list of yours IoT Security solution": {
- "$ref": "./examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlertList.json"
- }
- },
- "tags": [
- "Aggregated Alert"
- ],
- "description": "Use this method to get the aggregated alert list of yours IoT Security solution.",
- "operationId": "IotSecuritySolutionsAnalyticsAggregatedAlert_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/SolutionName"
- },
- {
- "name": "$top",
- "in": "query",
- "description": "Number of results to retrieve.",
- "required": false,
- "type": "integer",
- "format": "int32"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IoTSecurityAggregatedAlertList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedAlerts/{aggregatedAlertName}": {
- "get": {
- "x-ms-examples": {
- "Get the aggregated security analytics alert of yours IoT Security solution. This aggregation is performed by alert name": {
- "$ref": "./examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlert.json"
- }
- },
- "tags": [
- "Aggregated Alert"
- ],
- "description": "Use this method to get a single the aggregated alert of yours IoT Security solution. This aggregation is performed by alert name.",
- "operationId": "IotSecuritySolutionsAnalyticsAggregatedAlert_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/SolutionName"
- },
- {
- "$ref": "#/parameters/AggregatedAlertName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IoTSecurityAggregatedAlert"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedAlerts/{aggregatedAlertName}/dismiss": {
- "post": {
- "x-ms-examples": {
- "Dismiss an aggregated IoT Security Solution Alert": {
- "$ref": "./examples/IoTSecuritySolutionsAnalytics/PostIoTSecuritySolutionsSecurityAggregatedAlertDismiss.json"
- }
- },
- "tags": [
- "Aggregated Alert"
- ],
- "description": "Use this method to dismiss an aggregated IoT Security Solution Alert.",
- "operationId": "IotSecuritySolutionsAnalyticsAggregatedAlert_Dismiss",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/SolutionName"
- },
- {
- "$ref": "#/parameters/AggregatedAlertName"
- }
- ],
- "responses": {
- "200": {
- "description": "This aggregate alert is permanently dismissed."
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedRecommendations/{aggregatedRecommendationName}": {
- "get": {
- "x-ms-examples": {
- "Get the aggregated security analytics recommendation of yours IoT Security solution": {
- "$ref": "./examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendation.json"
- }
- },
- "tags": [
- "Aggregated Recommendation"
- ],
- "description": "Use this method to get the aggregated security analytics recommendation of yours IoT Security solution. This aggregation is performed by recommendation name.",
- "operationId": "IotSecuritySolutionsAnalyticsRecommendation_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/SolutionName"
- },
- {
- "$ref": "#/parameters/AggregatedRecommendationName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IoTSecurityAggregatedRecommendation"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedRecommendations": {
- "get": {
- "x-ms-examples": {
- "Get the list of aggregated security analytics recommendations of yours IoT Security solution": {
- "$ref": "./examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendationList.json"
- }
- },
- "tags": [
- "Aggregated Recommendation"
- ],
- "description": "Use this method to get the list of aggregated security analytics recommendations of yours IoT Security solution.",
- "operationId": "IotSecuritySolutionsAnalyticsRecommendation_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/SolutionName"
- },
- {
- "name": "$top",
- "in": "query",
- "description": "Number of results to retrieve.",
- "required": false,
- "type": "integer",
- "format": "int32"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IoTSecurityAggregatedRecommendationList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- }
- },
- "definitions": {
- "IoTSeverityMetrics": {
- "type": "object",
- "description": "IoT Security solution analytics severity metrics.",
- "properties": {
- "high": {
- "type": "integer",
- "format": "int64",
- "description": "Count of high severity alerts/recommendations."
- },
- "medium": {
- "type": "integer",
- "format": "int64",
- "description": "Count of medium severity alerts/recommendations."
- },
- "low": {
- "type": "integer",
- "format": "int64",
- "description": "Count of low severity alerts/recommendations."
- }
- }
- },
- "IoTSecuritySolutionAnalyticsModel": {
- "type": "object",
- "description": "Security analytics of your IoT Security solution",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "Security Solution Aggregated Alert data",
- "$ref": "#/definitions/IoTSecuritySolutionAnalyticsModelProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "IoTSecuritySolutionAnalyticsModelProperties": {
- "description": "Security analytics properties of your IoT Security solution",
- "properties": {
- "metrics": {
- "type": "object",
- "$ref": "#/definitions/IoTSeverityMetrics",
- "description": "Security analytics of your IoT Security solution.",
- "readOnly": true
- },
- "unhealthyDeviceCount": {
- "type": "integer",
- "format": "int64",
- "readOnly": true,
- "description": "Number of unhealthy devices within your IoT Security solution."
- },
- "devicesMetrics": {
- "description": "List of device metrics by the aggregation date.",
- "type": "array",
- "readOnly": true,
- "items": {
- "properties": {
- "date": {
- "type": "string",
- "format": "date-time",
- "description": "Aggregation of IoT Security solution device alert metrics by date."
- },
- "devicesMetrics": {
- "type": "object",
- "$ref": "#/definitions/IoTSeverityMetrics",
- "description": "Device alert count by severity."
- }
- }
- }
- },
- "topAlertedDevices": {
- "description": "List of the 3 devices with the most alerts.",
- "type": "object",
- "$ref": "#/definitions/IoTSecurityAlertedDevicesList"
- },
- "mostPrevalentDeviceAlerts": {
- "description": "List of the 3 most prevalent device alerts.",
- "type": "object",
- "$ref": "#/definitions/IoTSecurityDeviceAlertsList"
- },
- "mostPrevalentDeviceRecommendations": {
- "description": "List of the 3 most prevalent device recommendations.",
- "type": "object",
- "$ref": "#/definitions/IoTSecurityDeviceRecommendationsList"
- }
- }
- },
- "IoTSecuritySolutionAnalyticsModelList": {
- "description": "List of Security analytics of your IoT Security solution",
- "required": [
- "value"
- ],
- "properties": {
- "value": {
- "type": "array",
- "description": "List of Security analytics of your IoT Security solution",
- "items": {
- "$ref": "#/definitions/IoTSecuritySolutionAnalyticsModel"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "When there is too much alert data for one page, use this URI to fetch the next page."
- }
- }
- },
- "IoTSecurityAggregatedAlertList": {
- "description": "List of IoT Security solution aggregated alert data.",
- "required": [
- "value"
- ],
- "properties": {
- "value": {
- "type": "array",
- "description": "List of aggregated alerts data.",
- "items": {
- "$ref": "#/definitions/IoTSecurityAggregatedAlert"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "When there is too much alert data for one page, use this URI to fetch the next page."
- }
- }
- },
- "IoTSecurityAggregatedRecommendationList": {
- "description": "List of IoT Security solution aggregated recommendations.",
- "required": [
- "value"
- ],
- "properties": {
- "value": {
- "type": "array",
- "description": "List of aggregated recommendations data.",
- "items": {
- "$ref": "#/definitions/IoTSecurityAggregatedRecommendation"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "When there is too much alert data for one page, use this URI to fetch the next page."
- }
- }
- },
- "IoTSecurityAlertedDevicesList": {
- "description": "List of devices with open alerts including the count of alerts per device.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/IoTSecurityAlertedDevice"
- }
- },
- "IoTSecurityDeviceAlertsList": {
- "description": "List of alerts with the count of raised alerts",
- "type": "array",
- "items": {
- "$ref": "#/definitions/IoTSecurityDeviceAlert"
- }
- },
- "IoTSecurityDeviceRecommendationsList": {
- "description": "List of aggregated recommendation data, per recommendation type, per device.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/IoTSecurityDeviceRecommendation"
- }
- },
- "IoTSecurityAggregatedAlert": {
- "type": "object",
- "description": "Security Solution Aggregated Alert information",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "IoT Security solution aggregated alert details.",
- "$ref": "#/definitions/IoTSecurityAggregatedAlertProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- },
- {
- "$ref": "#/definitions/TagsResource"
- }
- ]
- },
- "IoTSecurityAggregatedAlertProperties": {
- "type": "object",
- "description": "IoT Security solution aggregated alert details.",
- "properties": {
- "alertType": {
- "readOnly": true,
- "type": "string",
- "description": "Name of the alert type."
- },
- "alertDisplayName": {
- "readOnly": true,
- "type": "string",
- "description": "Display name of the alert type."
- },
- "aggregatedDateUtc": {
- "readOnly": true,
- "type": "string",
- "format": "date",
- "description": "Date of detection."
- },
- "vendorName": {
- "readOnly": true,
- "type": "string",
- "description": "Name of the organization that raised the alert."
- },
- "reportedSeverity": {
- "readOnly": true,
- "type": "string",
- "enum": [
- "Informational",
- "Low",
- "Medium",
- "High"
- ],
- "x-ms-enum": {
- "name": "reportedSeverity",
- "modelAsString": true,
- "values": [
- {
- "value": "Informational"
- },
- {
- "value": "Low"
- },
- {
- "value": "Medium"
- },
- {
- "value": "High"
- }
- ]
- },
- "description": "Assessed alert severity."
- },
- "remediationSteps": {
- "readOnly": true,
- "type": "string",
- "description": "Recommended steps for remediation."
- },
- "description": {
- "readOnly": true,
- "type": "string",
- "description": "Description of the suspected vulnerability and meaning."
- },
- "count": {
- "readOnly": true,
- "type": "integer",
- "format": "int64",
- "description": "Number of alerts occurrences within the aggregated time window."
- },
- "effectedResourceType": {
- "readOnly": true,
- "type": "string",
- "description": "Azure resource ID of the resource that received the alerts."
- },
- "systemSource": {
- "readOnly": true,
- "type": "string",
- "description": "The type of the alerted resource (Azure, Non-Azure)."
- },
- "actionTaken": {
- "readOnly": true,
- "type": "string",
- "description": "IoT Security solution alert response."
- },
- "logAnalyticsQuery": {
- "readOnly": true,
- "type": "string",
- "description": "Log analytics query for getting the list of affected devices/alerts."
- },
- "topDevicesList": {
- "description": "10 devices with the highest number of occurrences of this alert type, on this day.",
- "type": "array",
- "readOnly": true,
- "items": {
- "properties": {
- "deviceId": {
- "readOnly": true,
- "type": "string",
- "description": "Name of the device."
- },
- "alertsCount": {
- "readOnly": true,
- "type": "integer",
- "format": "int64",
- "description": "Number of alerts raised for this device."
- },
- "lastOccurrence": {
- "readOnly": true,
- "type": "string",
- "description": "Most recent time this alert was raised for this device, on this day."
- }
- }
- }
- }
- }
- },
- "IoTSecurityAggregatedRecommendation": {
- "type": "object",
- "description": "IoT Security solution recommendation information.",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "Security Solution data",
- "$ref": "#/definitions/IoTSecurityAggregatedRecommendationProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- },
- {
- "$ref": "#/definitions/TagsResource"
- }
- ]
- },
- "IoTSecurityAggregatedRecommendationProperties": {
- "type": "object",
- "description": "IoT Security solution aggregated recommendation information",
- "properties": {
- "recommendationName": {
- "type": "string",
- "description": "Name of the recommendation."
- },
- "recommendationDisplayName": {
- "readOnly": true,
- "type": "string",
- "description": "Display name of the recommendation type."
- },
- "description": {
- "readOnly": true,
- "type": "string",
- "description": "Description of the suspected vulnerability and meaning."
- },
- "recommendationTypeId": {
- "description": "Recommendation-type GUID.",
- "type": "string",
- "readOnly": true
- },
- "detectedBy": {
- "readOnly": true,
- "type": "string",
- "description": "Name of the organization that made the recommendation."
- },
- "remediationSteps": {
- "readOnly": true,
- "type": "string",
- "description": "Recommended steps for remediation"
- },
- "reportedSeverity": {
- "readOnly": true,
- "type": "string",
- "enum": [
- "Informational",
- "Low",
- "Medium",
- "High"
- ],
- "x-ms-enum": {
- "name": "reportedSeverity",
- "modelAsString": true,
- "values": [
- {
- "value": "Informational"
- },
- {
- "value": "Low"
- },
- {
- "value": "Medium"
- },
- {
- "value": "High"
- }
- ]
- },
- "description": "Assessed recommendation severity."
- },
- "healthyDevices": {
- "readOnly": true,
- "type": "integer",
- "format": "int64",
- "description": "Number of healthy devices within the IoT Security solution."
- },
- "unhealthyDeviceCount": {
- "readOnly": true,
- "type": "integer",
- "format": "int64",
- "description": "Number of unhealthy devices within the IoT Security solution."
- },
- "logAnalyticsQuery": {
- "readOnly": true,
- "type": "string",
- "description": "Log analytics query for getting the list of affected devices/alerts."
- }
- }
- },
- "IoTSecurityAlertedDevice": {
- "type": "object",
- "description": "Statistical information about the number of alerts per device during last set number of days.",
- "properties": {
- "deviceId": {
- "readOnly": true,
- "type": "string",
- "description": "Device identifier."
- },
- "alertsCount": {
- "readOnly": true,
- "type": "integer",
- "format": "int64",
- "description": "Number of alerts raised for this device."
- }
- }
- },
- "IoTSecurityDeviceAlert": {
- "type": "object",
- "description": "Statistical information about the number of alerts per alert type during last set number of days",
- "properties": {
- "alertDisplayName": {
- "readOnly": true,
- "type": "string",
- "description": "Display name of the alert"
- },
- "reportedSeverity": {
- "readOnly": true,
- "type": "string",
- "enum": [
- "Informational",
- "Low",
- "Medium",
- "High"
- ],
- "x-ms-enum": {
- "name": "reportedSeverity",
- "modelAsString": true,
- "values": [
- {
- "value": "Informational"
- },
- {
- "value": "Low"
- },
- {
- "value": "Medium"
- },
- {
- "value": "High"
- }
- ]
- },
- "description": "Assessed Alert severity."
- },
- "alertsCount": {
- "readOnly": true,
- "type": "integer",
- "format": "int64",
- "description": "Number of alerts raised for this alert type."
- }
- }
- },
- "IoTSecurityDeviceRecommendation": {
- "type": "object",
- "description": "Statistical information about the number of recommendations per device, per recommendation type.",
- "properties": {
- "recommendationDisplayName": {
- "readOnly": true,
- "type": "string",
- "description": "Display name of the recommendation."
- },
- "reportedSeverity": {
- "readOnly": true,
- "type": "string",
- "enum": [
- "Informational",
- "Low",
- "Medium",
- "High"
- ],
- "x-ms-enum": {
- "name": "reportedSeverity",
- "modelAsString": true,
- "values": [
- {
- "value": "Informational"
- },
- {
- "value": "Low"
- },
- {
- "value": "Medium"
- },
- {
- "value": "High"
- }
- ]
- },
- "description": "Assessed recommendation severity."
- },
- "devicesCount": {
- "readOnly": true,
- "type": "integer",
- "format": "int64",
- "description": "Number of devices with this recommendation."
- }
- }
- },
- "TagsResource": {
- "properties": {
- "tags": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags"
- }
- },
- "description": "A container holding only the Tags for a resource, allowing the user to update the tags."
- }
- },
- "parameters": {
- "SolutionName": {
- "name": "solutionName",
- "in": "path",
- "required": true,
- "description": "The name of the IoT Security solution.",
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "AggregatedAlertName": {
- "name": "aggregatedAlertName",
- "in": "path",
- "required": true,
- "description": "Identifier of the aggregated alert.",
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "AggregatedRecommendationName": {
- "name": "aggregatedRecommendationName",
- "in": "path",
- "required": true,
- "description": "Name of the recommendation aggregated for this query.",
- "type": "string",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotSecuritySolutions.json b/swagger-specs/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotSecuritySolutions.json
deleted file mode 100644
index da3ac55cc..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotSecuritySolutions.json
+++ /dev/null
@@ -1,743 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Security Center",
- "description": "API spec for Microsoft.Security (Azure Security Center) resource provider",
- "version": "2019-08-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/iotSecuritySolutions": {
- "get": {
- "x-ms-examples": {
- "List IoT Security solutions by subscription": {
- "$ref": "./examples/IoTSecuritySolutions/GetIoTSecuritySolutionsList.json"
- },
- "List IoT Security solutions by IoT Hub": {
- "$ref": "./examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHub.json"
- }
- },
- "tags": [
- "IoT Security Solution"
- ],
- "description": "Use this method to get the list of IoT Security solutions by subscription.",
- "operationId": "IotSecuritySolution_ListBySubscription",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/FilterParam"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IoTSecuritySolutionsList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions": {
- "get": {
- "x-ms-examples": {
- "List IoT Security solutions by resource group": {
- "$ref": "./examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByRg.json"
- },
- "List IoT Security solutions by resource group and IoT Hub": {
- "$ref": "./examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHubAndRg.json"
- }
- },
- "tags": [
- "IoT Security Solution"
- ],
- "description": "Use this method to get the list IoT Security solutions organized by resource group.",
- "operationId": "IotSecuritySolution_ListByResourceGroup",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/FilterParam"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IoTSecuritySolutionsList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}": {
- "get": {
- "x-ms-examples": {
- "Get a IoT security solution": {
- "$ref": "./examples/IoTSecuritySolutions/GetIoTSecuritySolution.json"
- }
- },
- "tags": [
- "IoT Security Solution"
- ],
- "description": "User this method to get details of a specific IoT Security solution based on solution name",
- "operationId": "IotSecuritySolution_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/SolutionName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IoTSecuritySolutionModel"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Create or update a IoT security solution": {
- "$ref": "./examples/IoTSecuritySolutions/CreateIoTSecuritySolution.json"
- }
- },
- "tags": [
- "IoT Security Solution"
- ],
- "description": "Use this method to create or update yours IoT Security solution",
- "operationId": "IotSecuritySolution_CreateOrUpdate",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/SolutionName"
- },
- {
- "$ref": "#/parameters/IotSecuritySolutionData"
- }
- ],
- "responses": {
- "200": {
- "description": "Updated",
- "schema": {
- "$ref": "#/definitions/IoTSecuritySolutionModel"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/IoTSecuritySolutionModel"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "patch": {
- "x-ms-examples": {
- "Use this method to update existing IoT Security solution": {
- "$ref": "./examples/IoTSecuritySolutions/UpdateIoTSecuritySolution.json"
- }
- },
- "tags": [
- "IoT Security Solution"
- ],
- "description": "Use this method to update existing IoT Security solution tags or user defined resources. To update other fields use the CreateOrUpdate method.",
- "operationId": "IotSecuritySolution_Update",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/SolutionName"
- },
- {
- "$ref": "#/parameters/UpdateIotSecuritySolution"
- }
- ],
- "responses": {
- "200": {
- "description": "Updated",
- "schema": {
- "$ref": "#/definitions/IoTSecuritySolutionModel"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "delete": {
- "x-ms-examples": {
- "Delete an IoT security solution": {
- "$ref": "./examples/IoTSecuritySolutions/DeleteIoTSecuritySolution.json"
- }
- },
- "tags": [
- "IoT Security Solution"
- ],
- "description": "Use this method to delete yours IoT Security solution",
- "operationId": "IotSecuritySolution_Delete",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/SolutionName"
- }
- ],
- "responses": {
- "200": {
- "description": "Security Solution deleted."
- },
- "204": {
- "description": "Security Solution does not exist."
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "TagsResource": {
- "properties": {
- "tags": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags"
- }
- },
- "description": "A container holding only the Tags for a resource, allowing the user to update the tags."
- },
- "IoTSecuritySolutionsList": {
- "description": "List of IoT Security solutions.",
- "required": [
- "value"
- ],
- "properties": {
- "value": {
- "type": "array",
- "description": "List of IoT Security solutions",
- "items": {
- "$ref": "#/definitions/IoTSecuritySolutionModel"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "IoTSecuritySolutionModel": {
- "type": "object",
- "description": "IoT Security solution configuration and resource information.",
- "properties": {
- "location": {
- "type": "string",
- "description": "The resource location."
- },
- "properties": {
- "x-ms-client-flatten": true,
- "description": "Security Solution data",
- "$ref": "#/definitions/IoTSecuritySolutionProperties"
- },
- "systemData": {
- "readOnly": true,
- "type": "object",
- "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.",
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- },
- {
- "$ref": "#/definitions/TagsResource"
- }
- ]
- },
- "UpdateIoTSecuritySolutionProperties": {
- "type": "object",
- "description": "Update Security Solution setting data",
- "properties": {
- "userDefinedResources": {
- "$ref": "#/definitions/UserDefinedResourcesProperties"
- },
- "recommendationsConfiguration": {
- "$ref": "#/definitions/RecommendationConfigurationList"
- }
- }
- },
- "IoTSecuritySolutionProperties": {
- "type": "object",
- "description": "Security Solution setting data",
- "properties": {
- "workspace": {
- "type": "string",
- "description": "Workspace resource ID"
- },
- "displayName": {
- "type": "string",
- "description": "Resource display name."
- },
- "status": {
- "type": "string",
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "default": "Enabled",
- "description": "Status of the IoT Security solution.",
- "x-ms-enum": {
- "name": "SecuritySolutionStatus",
- "modelAsString": true
- }
- },
- "export": {
- "type": "array",
- "items": {
- "enum": [
- "RawEvents"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "ExportData",
- "modelAsString": true,
- "values": [
- {
- "value": "RawEvents",
- "description": "Agent raw events"
- }
- ]
- }
- },
- "description": "List of additional options for exporting to workspace data."
- },
- "disabledDataSources": {
- "type": "array",
- "items": {
- "enum": [
- "TwinData"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "DataSource",
- "modelAsString": true,
- "values": [
- {
- "value": "TwinData",
- "description": "Devices twin data"
- }
- ]
- }
- },
- "description": "Disabled data sources. Disabling these data sources compromises the system."
- },
- "iotHubs": {
- "type": "array",
- "description": "IoT Hub resource IDs",
- "items": {
- "type": "string"
- }
- },
- "userDefinedResources": {
- "$ref": "#/definitions/UserDefinedResourcesProperties"
- },
- "autoDiscoveredResources": {
- "type": "array",
- "description": "List of resources that were automatically discovered as relevant to the security solution.",
- "items": {
- "type": "string"
- },
- "readOnly": true
- },
- "recommendationsConfiguration": {
- "$ref": "#/definitions/RecommendationConfigurationList"
- },
- "unmaskedIpLoggingStatus": {
- "description": "Unmasked IP address logging status",
- "type": "string",
- "enum": [
- "Disabled",
- "Enabled"
- ],
- "default": "Disabled",
- "x-ms-enum": {
- "name": "UnmaskedIpLoggingStatus",
- "modelAsString": true,
- "values": [
- {
- "value": "Disabled",
- "description": "Unmasked IP logging is disabled"
- },
- {
- "value": "Enabled",
- "description": "Unmasked IP logging is enabled"
- }
- ]
- }
- },
- "additionalWorkspaces": {
- "type": "array",
- "description": "List of additional workspaces",
- "items": {
- "$ref": "#/definitions/AdditionalWorkspacesProperties"
- }
- }
- },
- "required": [
- "iotHubs",
- "displayName"
- ]
- },
- "UserDefinedResourcesProperties": {
- "type": "object",
- "description": "Properties of the IoT Security solution's user defined resources.",
- "properties": {
- "query": {
- "type": "string",
- "x-nullable": true,
- "description": "Azure Resource Graph query which represents the security solution's user defined resources. Required to start with \"where type != \"Microsoft.Devices/IotHubs\"\""
- },
- "querySubscriptions": {
- "type": "array",
- "x-nullable": true,
- "description": "List of Azure subscription ids on which the user defined resources query should be executed.",
- "items": {
- "type": "string",
- "pattern": "^[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}$"
- }
- }
- },
- "required": [
- "query",
- "querySubscriptions"
- ]
- },
- "RecommendationConfigurationProperties": {
- "type": "object",
- "description": "The type of IoT Security recommendation.",
- "properties": {
- "recommendationType": {
- "type": "string",
- "description": "The type of IoT Security recommendation.",
- "enum": [
- "IoT_ACRAuthentication",
- "IoT_AgentSendsUnutilizedMessages",
- "IoT_Baseline",
- "IoT_EdgeHubMemOptimize",
- "IoT_EdgeLoggingOptions",
- "IoT_InconsistentModuleSettings",
- "IoT_InstallAgent",
- "IoT_IPFilter_DenyAll",
- "IoT_IPFilter_PermissiveRule",
- "IoT_OpenPorts",
- "IoT_PermissiveFirewallPolicy",
- "IoT_PermissiveInputFirewallRules",
- "IoT_PermissiveOutputFirewallRules",
- "IoT_PrivilegedDockerOptions",
- "IoT_SharedCredentials",
- "IoT_VulnerableTLSCipherSuite"
- ],
- "x-ms-enum": {
- "name": "RecommendationType",
- "modelAsString": true,
- "values": [
- {
- "value": "IoT_ACRAuthentication",
- "description": "Authentication schema used for pull an edge module from an ACR repository does not use Service Principal Authentication."
- },
- {
- "value": "IoT_AgentSendsUnutilizedMessages",
- "description": "IoT agent message size capacity is currently underutilized, causing an increase in the number of sent messages. Adjust message intervals for better utilization."
- },
- {
- "value": "IoT_Baseline",
- "description": "Identified security related system configuration issues."
- },
- {
- "value": "IoT_EdgeHubMemOptimize",
- "description": "You can optimize Edge Hub memory usage by turning off protocol heads for any protocols not used by Edge modules in your solution."
- },
- {
- "value": "IoT_EdgeLoggingOptions",
- "description": "Logging is disabled for this edge module."
- },
- {
- "value": "IoT_InconsistentModuleSettings",
- "description": "A minority within a device security group has inconsistent Edge Module settings with the rest of their group."
- },
- {
- "value": "IoT_InstallAgent",
- "description": "Install the Azure Security of Things Agent."
- },
- {
- "value": "IoT_IPFilter_DenyAll",
- "description": "IP Filter Configuration should have rules defined for allowed traffic and should deny all other traffic by default."
- },
- {
- "value": "IoT_IPFilter_PermissiveRule",
- "description": "An Allow IP Filter rules source IP range is too large. Overly permissive rules might expose your IoT hub to malicious intenders."
- },
- {
- "value": "IoT_OpenPorts",
- "description": "A listening endpoint was found on the device."
- },
- {
- "value": "IoT_PermissiveFirewallPolicy",
- "description": "An Allowed firewall policy was found (INPUT/OUTPUT). The policy should Deny all traffic by default and define rules to allow necessary communication to/from the device."
- },
- {
- "value": "IoT_PermissiveInputFirewallRules",
- "description": "A rule in the firewall has been found that contains a permissive pattern for a wide range of IP addresses or Ports."
- },
- {
- "value": "IoT_PermissiveOutputFirewallRules",
- "description": "A rule in the firewall has been found that contains a permissive pattern for a wide range of IP addresses or Ports."
- },
- {
- "value": "IoT_PrivilegedDockerOptions",
- "description": "Edge module is configured to run in privileged mode, with extensive Linux capabilities or with host-level network access (send/receive data to host machine)."
- },
- {
- "value": "IoT_SharedCredentials",
- "description": "Same authentication credentials to the IoT Hub used by multiple devices. This could indicate an illegitimate device impersonating a legitimate device. It also exposes the risk of device impersonation by an attacker."
- },
- {
- "value": "IoT_VulnerableTLSCipherSuite",
- "description": "Insecure TLS configurations detected. Immediate upgrade recommended."
- }
- ]
- }
- },
- "name": {
- "type": "string",
- "readOnly": true
- },
- "status": {
- "type": "string",
- "enum": [
- "Disabled",
- "Enabled"
- ],
- "default": "Enabled",
- "description": "Recommendation status. When the recommendation status is disabled recommendations are not generated.",
- "x-ms-enum": {
- "name": "RecommendationConfigStatus",
- "modelAsString": true
- }
- }
- },
- "required": [
- "recommendationType",
- "status"
- ]
- },
- "RecommendationConfigurationList": {
- "type": "array",
- "description": "List of the configuration status for each recommendation type.",
- "items": {
- "$ref": "#/definitions/RecommendationConfigurationProperties"
- }
- },
- "UpdateIotSecuritySolutionData": {
- "type": "object",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "Security Solution data",
- "$ref": "#/definitions/UpdateIoTSecuritySolutionProperties"
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/TagsResource"
- }
- ]
- },
- "AdditionalWorkspacesProperties": {
- "type": "object",
- "description": "Properties of the additional workspaces.",
- "properties": {
- "workspace": {
- "type": "string",
- "description": "Workspace resource id"
- },
- "type": {
- "type": "string",
- "enum": [
- "Sentinel"
- ],
- "default": "Sentinel",
- "description": "Workspace type.",
- "x-ms-enum": {
- "name": "AdditionalWorkspaceType",
- "modelAsString": true
- }
- },
- "dataTypes": {
- "type": "array",
- "description": "List of data types sent to workspace",
- "items": {
- "type": "string",
- "enum": [
- "Alerts",
- "RawEvents"
- ],
- "description": "Data types sent to workspace.",
- "x-ms-enum": {
- "name": "AdditionalWorkspaceDataType",
- "modelAsString": true
- }
- }
- }
- }
- }
- },
- "parameters": {
- "SolutionName": {
- "name": "solutionName",
- "in": "path",
- "required": true,
- "description": "The name of the IoT Security solution.",
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "IotSecuritySolutionData": {
- "name": "iotSecuritySolutionData",
- "in": "body",
- "required": true,
- "description": "The security solution data",
- "schema": {
- "$ref": "#/definitions/IoTSecuritySolutionModel"
- },
- "x-ms-parameter-location": "method"
- },
- "FilterParam": {
- "name": "$filter",
- "in": "query",
- "required": false,
- "description": "Filter the IoT Security solution with OData syntax. Supports filtering by iotHubs.",
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "UpdateIotSecuritySolution": {
- "name": "updateIotSecuritySolutionData",
- "in": "body",
- "required": true,
- "description": "The security solution data",
- "x-ms-parameter-location": "method",
- "schema": {
- "$ref": "#/definitions/UpdateIotSecuritySolutionData"
- }
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2020-01-01/SecuritySolutions.json b/swagger-specs/security/resource-manager/Microsoft.Security/stable/2020-01-01/SecuritySolutions.json
deleted file mode 100644
index 0c1bbb667..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2020-01-01/SecuritySolutions.json
+++ /dev/null
@@ -1,238 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Security Center",
- "description": "API spec for Microsoft.Security (Azure Security Center) resource provider",
- "version": "2020-01-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/securitySolutions": {
- "get": {
- "x-ms-examples": {
- "Get security solutions": {
- "$ref": "./examples/SecuritySolutions/GetSecuritySolutionsSubscription_example.json"
- }
- },
- "tags": [
- "SecuritySolutions"
- ],
- "description": "Gets a list of Security Solutions for the subscription.",
- "operationId": "SecuritySolutions_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecuritySolutionList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/securitySolutions/{securitySolutionName}": {
- "get": {
- "x-ms-examples": {
- "Get a security solution from a security data location": {
- "$ref": "./examples/SecuritySolutions/GetSecuritySolutionsResourceGroupLocation_example.json"
- }
- },
- "tags": [
- "SecuritySolutions"
- ],
- "description": "Gets a specific Security Solution.",
- "operationId": "SecuritySolutions_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/SecuritySolutionName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecuritySolution"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "SecuritySolutionList": {
- "type": "object",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SecuritySolution"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "SecuritySolution": {
- "type": "object",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/SecuritySolutionProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- },
- {
- "$ref": "../../../common/v1/types.json#/definitions/Location"
- }
- ]
- },
- "SecuritySolutionProperties": {
- "type": "object",
- "properties": {
- "securityFamily": {
- "type": "string",
- "description": "The security family of the security solution",
- "enum": [
- "Waf",
- "Ngfw",
- "SaasWaf",
- "Va"
- ],
- "x-ms-enum": {
- "name": "securityFamily",
- "modelAsString": true,
- "values": [
- {
- "value": "Waf"
- },
- {
- "value": "Ngfw"
- },
- {
- "value": "SaasWaf"
- },
- {
- "value": "Va"
- }
- ]
- }
- },
- "provisioningState": {
- "type": "string",
- "description": "The security family provisioning State",
- "enum": [
- "Succeeded",
- "Failed",
- "Updating"
- ],
- "x-ms-enum": {
- "name": "provisioningState",
- "modelAsString": true,
- "values": [
- {
- "value": "Succeeded"
- },
- {
- "value": "Failed"
- },
- {
- "value": "Updating"
- }
- ]
- }
- },
- "template": {
- "type": "string",
- "description": "The security solutions' template"
- },
- "protectionStatus": {
- "type": "string",
- "description": "The security solutions' status"
- }
- },
- "required": [
- "securityFamily",
- "provisioningState",
- "template",
- "protectionStatus"
- ]
- }
- },
- "parameters": {
- "SecuritySolutionName": {
- "name": "securitySolutionName",
- "type": "string",
- "in": "path",
- "required": true,
- "description": "Name of security solution.",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2020-01-01/alerts.json b/swagger-specs/security/resource-manager/Microsoft.Security/stable/2020-01-01/alerts.json
deleted file mode 100644
index 06a34779f..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2020-01-01/alerts.json
+++ /dev/null
@@ -1,966 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Security Center",
- "description": "API spec for Microsoft.Security (Azure Security Center) alerts resource provider",
- "version": "2020-01-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/alerts": {
- "get": {
- "x-ms-examples": {
- "Get security alerts on a subscription": {
- "$ref": "./examples/Alerts/GetAlertsSubscription_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "List all the alerts that are associated with the subscription",
- "operationId": "Alerts_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AlertList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/alerts": {
- "get": {
- "x-ms-examples": {
- "Get security alerts on a resource group": {
- "$ref": "./examples/Alerts/GetAlertsResourceGroup_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "List all the alerts that are associated with the resource group",
- "operationId": "Alerts_ListByResourceGroup",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AlertList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts": {
- "get": {
- "x-ms-examples": {
- "Get security alerts on a subscription from a security data location": {
- "$ref": "./examples/Alerts/GetAlertsSubscriptionsLocation_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "List all the alerts that are associated with the subscription that are stored in a specific location",
- "operationId": "Alerts_ListSubscriptionLevelAlertsByRegion",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AlertList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts": {
- "get": {
- "x-ms-examples": {
- "Get security alerts on a resource group from a security data location": {
- "$ref": "./examples/Alerts/GetAlertsResourceGroupLocation_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "List all the alerts that are associated with the resource group that are stored in a specific location",
- "operationId": "Alerts_ListResourceGroupLevelAlertsByRegion",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AlertList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}": {
- "get": {
- "x-ms-examples": {
- "Get security alert on a subscription from a security data location": {
- "$ref": "./examples/Alerts/GetAlertSubscriptionLocation_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "Get an alert that is associated with a subscription",
- "operationId": "Alerts_GetSubscriptionLevelAlert",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/AlertName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Alert"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}": {
- "get": {
- "x-ms-examples": {
- "Get security alert on a resource group from a security data location": {
- "$ref": "./examples/Alerts/GetAlertResourceGroupLocation_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "Get an alert that is associated a resource group or a resource in a resource group",
- "operationId": "Alerts_GetResourceGroupLevelAlerts",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/AlertName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Alert"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/dismiss": {
- "post": {
- "x-ms-examples": {
- "Update security alert state on a subscription from a security data location": {
- "$ref": "./examples/Alerts/UpdateAlertSubscriptionLocation_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "Update the alert's state",
- "operationId": "Alerts_UpdateSubscriptionLevelAlertStateToDismiss",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/AlertName"
- }
- ],
- "responses": {
- "204": {
- "description": "No Content"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/resolve": {
- "post": {
- "x-ms-examples": {
- "Update security alert state on a subscription from a security data location": {
- "$ref": "./examples/Alerts/UpdateAlertSubscriptionLocation_resolve_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "Update the alert's state",
- "operationId": "Alerts_UpdateSubscriptionLevelStateToResolve",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/AlertName"
- }
- ],
- "responses": {
- "204": {
- "description": "No Content"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/activate": {
- "post": {
- "x-ms-examples": {
- "Update security alert state on a subscription from a security data location": {
- "$ref": "./examples/Alerts/UpdateAlertSubscriptionLocation_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "Update the alert's state",
- "operationId": "Alerts_UpdateSubscriptionLevelAlertStateToReactivate",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/AlertName"
- }
- ],
- "responses": {
- "204": {
- "description": "No Content"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/resolve": {
- "post": {
- "x-ms-examples": {
- "Update security alert state on a resource group from a security data location": {
- "$ref": "./examples/Alerts/UpdateAlertResourceGroupLocation_resolve_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "Update the alert's state",
- "operationId": "Alerts_UpdateResourceGroupLevelStateToResolve",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/AlertName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- }
- ],
- "responses": {
- "204": {
- "description": "No Content"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/dismiss": {
- "post": {
- "x-ms-examples": {
- "Update security alert state on a resource group from a security data location": {
- "$ref": "./examples/Alerts/UpdateAlertResourceGroupLocation_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "Update the alert's state",
- "operationId": "Alerts_UpdateResourceGroupLevelAlertStateToDismiss",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/AlertName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- }
- ],
- "responses": {
- "204": {
- "description": "No Content"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/activate": {
- "post": {
- "x-ms-examples": {
- "Update security alert state on a resource group from a security data location": {
- "$ref": "./examples/Alerts/UpdateAlertResourceGroupLocation_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "Update the alert's state",
- "operationId": "Alerts_UpdateResourceGroupLevelAlertStateToReactivate",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/AlertName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- }
- ],
- "responses": {
- "204": {
- "description": "No Content"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "Alert": {
- "type": "object",
- "description": "Security alert",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "describes security alert properties.",
- "$ref": "#/definitions/AlertProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "AlertEntity": {
- "type": "object",
- "additionalProperties": {
- "type": "object"
- },
- "description": "Changing set of properties depending on the entity type.",
- "properties": {
- "type": {
- "readOnly": true,
- "type": "string",
- "description": "Type of entity"
- }
- }
- },
- "AlertExtendedLinks": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "description": "Links related to the alert"
- },
- "AlertExtendedProperties": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "description": "Custom properties for the alert."
- },
- "AlertList": {
- "type": "object",
- "description": "List of security alerts",
- "properties": {
- "value": {
- "type": "array",
- "description": "describes security alert properties.",
- "items": {
- "$ref": "#/definitions/Alert"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "AlertProperties": {
- "type": "object",
- "description": "describes security alert properties.",
- "properties": {
- "alertType": {
- "readOnly": true,
- "type": "string",
- "description": "Unique identifier for the detection logic (all alert instances from the same detection logic will have the same alertType)."
- },
- "systemAlertId": {
- "readOnly": true,
- "type": "string",
- "description": "Unique identifier for the alert."
- },
- "productComponentName": {
- "readOnly": true,
- "type": "string",
- "description": "The name of Azure Security Center pricing tier which powering this alert. Learn more: https://docs.microsoft.com/en-us/azure/security-center/security-center-pricing"
- },
- "alertDisplayName": {
- "readOnly": true,
- "type": "string",
- "description": "The display name of the alert."
- },
- "description": {
- "readOnly": true,
- "type": "string",
- "description": "Description of the suspicious activity that was detected."
- },
- "severity": {
- "readOnly": true,
- "type": "string",
- "enum": [
- "Informational",
- "Low",
- "Medium",
- "High"
- ],
- "x-ms-enum": {
- "name": "alertSeverity",
- "modelAsString": true,
- "values": [
- {
- "value": "Informational",
- "description": "Informational"
- },
- {
- "value": "Low",
- "description": "Low"
- },
- {
- "value": "Medium",
- "description": "Medium"
- },
- {
- "value": "High",
- "description": "High"
- }
- ]
- },
- "description": "The risk level of the threat that was detected. Learn more: https://docs.microsoft.com/en-us/azure/security-center/security-center-alerts-overview#how-are-alerts-classified."
- },
- "intent": {
- "readOnly": true,
- "type": "string",
- "enum": [
- "Unknown",
- "PreAttack",
- "InitialAccess",
- "Persistence",
- "PrivilegeEscalation",
- "DefenseEvasion",
- "CredentialAccess",
- "Discovery",
- "LateralMovement",
- "Execution",
- "Collection",
- "Exfiltration",
- "CommandAndControl",
- "Impact",
- "Probing",
- "Exploitation"
- ],
- "x-ms-enum": {
- "name": "intent",
- "modelAsString": true,
- "values": [
- {
- "value": "Unknown",
- "description": "Unknown"
- },
- {
- "value": "PreAttack",
- "description": "PreAttack could be either an attempt to access a certain resource regardless of a malicious intent, or a failed attempt to gain access to a target system to gather information prior to exploitation. This step is usually detected as an attempt, originating from outside the network, to scan the target system and find a way in. Further details on the PreAttack stage can be read in [MITRE Pre-Att&ck matrix](https://attack.mitre.org/matrices/pre/)."
- },
- {
- "value": "InitialAccess",
- "description": "InitialAccess is the stage where an attacker manages to get foothold on the attacked resource."
- },
- {
- "value": "Persistence",
- "description": "Persistence is any access, action, or configuration change to a system that gives a threat actor a persistent presence on that system."
- },
- {
- "value": "PrivilegeEscalation",
- "description": "Privilege escalation is the result of actions that allow an adversary to obtain a higher level of permissions on a system or network."
- },
- {
- "value": "DefenseEvasion",
- "description": "Defense evasion consists of techniques an adversary may use to evade detection or avoid other defenses."
- },
- {
- "value": "CredentialAccess",
- "description": "Credential access represents techniques resulting in access to or control over system, domain, or service credentials that are used within an enterprise environment."
- },
- {
- "value": "Discovery",
- "description": "Discovery consists of techniques that allow the adversary to gain knowledge about the system and internal network."
- },
- {
- "value": "LateralMovement",
- "description": "Lateral movement consists of techniques that enable an adversary to access and control remote systems on a network and could, but does not necessarily, include execution of tools on remote systems."
- },
- {
- "value": "Execution",
- "description": "The execution tactic represents techniques that result in execution of adversary-controlled code on a local or remote system."
- },
- {
- "value": "Collection",
- "description": "Collection consists of techniques used to identify and gather information, such as sensitive files, from a target network prior to exfiltration."
- },
- {
- "value": "Exfiltration",
- "description": "Exfiltration refers to techniques and attributes that result or aid in the adversary removing files and information from a target network."
- },
- {
- "value": "CommandAndControl",
- "description": "The command and control tactic represents how adversaries communicate with systems under their control within a target network."
- },
- {
- "value": "Impact",
- "description": "Impact events primarily try to directly reduce the availability or integrity of a system, service, or network; including manipulation of data to impact a business or operational process."
- },
- {
- "value": "Probing",
- "description": "Probing could be either an attempt to access a certain resource regardless of a malicious intent, or a failed attempt to gain access to a target system to gather information prior to exploitation."
- },
- {
- "value": "Exploitation",
- "description": "Exploitation is the stage where an attacker manages to get a foothold on the attacked resource. This stage is relevant for compute hosts and resources such as user accounts, certificates etc."
- }
- ]
- },
- "description": "The kill chain related intent behind the alert. For list of supported values, and explanations of Azure Security Center's supported kill chain intents."
- },
- "startTimeUtc": {
- "readOnly": true,
- "type": "string",
- "format": "date-time",
- "description": "The UTC time of the first event or activity included in the alert in ISO8601 format."
- },
- "endTimeUtc": {
- "readOnly": true,
- "type": "string",
- "format": "date-time",
- "description": "The UTC time of the last event or activity included in the alert in ISO8601 format."
- },
- "resourceIdentifiers": {
- "readOnly": true,
- "type": "array",
- "description": "The resource identifiers that can be used to direct the alert to the right product exposure group (tenant, workspace, subscription etc.). There can be multiple identifiers of different type per alert.",
- "items": {
- "$ref": "#/definitions/ResourceIdentifier"
- }
- },
- "remediationSteps": {
- "readOnly": true,
- "type": "array",
- "description": "Manual action items to take to remediate the alert.",
- "items": {
- "readOnly": true,
- "type": "string"
- }
- },
- "vendorName": {
- "readOnly": true,
- "type": "string",
- "description": "The name of the vendor that raises the alert."
- },
- "status": {
- "readOnly": true,
- "type": "string",
- "enum": [
- "Active",
- "Resolved",
- "Dismissed"
- ],
- "x-ms-enum": {
- "name": "alertStatus",
- "modelAsString": true,
- "values": [
- {
- "value": "Active",
- "description": "An alert which doesn't specify a value is assigned the status 'Active'"
- },
- {
- "value": "Resolved",
- "description": "Alert closed after handling"
- },
- {
- "value": "Dismissed",
- "description": "Alert dismissed as false positive"
- }
- ]
- },
- "description": "The life cycle status of the alert."
- },
- "extendedLinks": {
- "readOnly": true,
- "type": "array",
- "description": "Links related to the alert",
- "items": {
- "$ref": "#/definitions/AlertExtendedLinks"
- }
- },
- "alertUri": {
- "readOnly": true,
- "type": "string",
- "description": "A direct link to the alert page in Azure Portal."
- },
- "timeGeneratedUtc": {
- "readOnly": true,
- "type": "string",
- "format": "date-time",
- "description": "The UTC time the alert was generated in ISO8601 format."
- },
- "productName": {
- "readOnly": true,
- "type": "string",
- "description": "The name of the product which published this alert (Azure Security Center, Azure ATP, Microsoft Defender ATP, O365 ATP, and so on)."
- },
- "processingEndTimeUtc": {
- "readOnly": true,
- "type": "string",
- "format": "date-time",
- "description": "The UTC processing end time of the alert in ISO8601 format."
- },
- "entities": {
- "readOnly": true,
- "type": "array",
- "description": "A list of entities related to the alert.",
- "items": {
- "$ref": "#/definitions/AlertEntity"
- }
- },
- "isIncident": {
- "readOnly": true,
- "type": "boolean",
- "description": "This field determines whether the alert is an incident (a compound grouping of several alerts) or a single alert."
- },
- "correlationKey": {
- "readOnly": true,
- "type": "string",
- "description": "Key for corelating related alerts. Alerts with the same correlation key considered to be related."
- },
- "extendedProperties": {
- "$ref": "#/definitions/AlertExtendedProperties",
- "description": "Custom properties for the alert."
- },
- "compromisedEntity": {
- "readOnly": true,
- "type": "string",
- "description": "The display name of the resource most related to this alert."
- }
- }
- },
- "AzureResourceIdentifier": {
- "type": "object",
- "description": "Azure resource identifier.",
- "x-ms-discriminator-value": "AzureResource",
- "allOf": [
- {
- "$ref": "#/definitions/ResourceIdentifier"
- }
- ],
- "properties": {
- "azureResourceId": {
- "readOnly": true,
- "type": "string",
- "description": "ARM resource identifier for the cloud resource being alerted on"
- }
- }
- },
- "LogAnalyticsIdentifier": {
- "type": "object",
- "description": "Represents a Log Analytics workspace scope identifier.",
- "x-ms-discriminator-value": "LogAnalytics",
- "allOf": [
- {
- "$ref": "#/definitions/ResourceIdentifier"
- }
- ],
- "properties": {
- "workspaceId": {
- "readOnly": true,
- "type": "string",
- "description": "The LogAnalytics workspace id that stores this alert."
- },
- "workspaceSubscriptionId": {
- "readOnly": true,
- "type": "string",
- "description": "The azure subscription id for the LogAnalytics workspace storing this alert.",
- "pattern": "^[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}$"
- },
- "workspaceResourceGroup": {
- "readOnly": true,
- "type": "string",
- "description": "The azure resource group for the LogAnalytics workspace storing this alert"
- },
- "agentId": {
- "readOnly": true,
- "type": "string",
- "description": "(optional) The LogAnalytics agent id reporting the event that this alert is based on."
- }
- }
- },
- "ResourceIdentifier": {
- "type": "object",
- "description": "A resource identifier for an alert which can be used to direct the alert to the right product exposure group (tenant, workspace, subscription etc.).",
- "discriminator": "type",
- "required": [
- "type"
- ],
- "properties": {
- "type": {
- "type": "string",
- "description": "There can be multiple identifiers of different type per alert, this field specify the identifier type.",
- "enum": [
- "AzureResource",
- "LogAnalytics"
- ],
- "x-ms-enum": {
- "name": "ResourceIdentifierType",
- "modelAsString": true,
- "values": [
- {
- "value": "AzureResource"
- },
- {
- "value": "LogAnalytics"
- }
- ]
- }
- }
- }
- }
- },
- "parameters": {
- "AlertName": {
- "name": "alertName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Name of the alert object",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2020-01-01/allowedConnections.json b/swagger-specs/security/resource-manager/Microsoft.Security/stable/2020-01-01/allowedConnections.json
deleted file mode 100644
index 96e647301..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2020-01-01/allowedConnections.json
+++ /dev/null
@@ -1,297 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2020-01-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/allowedConnections": {
- "get": {
- "x-ms-examples": {
- "Get allowed connections on a subscription": {
- "$ref": "./examples/AllowedConnections/GetAllowedConnectionsSubscription_example.json"
- }
- },
- "tags": [
- "AllowedConnections"
- ],
- "description": "Gets the list of all possible traffic between resources for the subscription",
- "operationId": "AllowedConnections_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AllowedConnectionsList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/allowedConnections": {
- "get": {
- "x-ms-examples": {
- "Get allowed connections on a subscription from security data location": {
- "$ref": "./examples/AllowedConnections/GetAllowedConnectionsSubscriptionLocation_example.json"
- }
- },
- "tags": [
- "AllowedConnections"
- ],
- "description": "Gets the list of all possible traffic between resources for the subscription and location.",
- "operationId": "AllowedConnections_ListByHomeRegion",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AllowedConnectionsList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/allowedConnections/{connectionType}": {
- "get": {
- "x-ms-examples": {
- "Get allowed connections": {
- "$ref": "./examples/AllowedConnections/GetAllowedConnections_example.json"
- }
- },
- "tags": [
- "AllowedConnections"
- ],
- "description": "Gets the list of all possible traffic between resources for the subscription and location, based on connection type.",
- "operationId": "AllowedConnections_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/ConnectionType"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AllowedConnectionsResource"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "AllowedConnectionsList": {
- "type": "object",
- "description": "List of all possible traffic between Azure resources",
- "properties": {
- "value": {
- "type": "array",
- "readOnly": true,
- "items": {
- "$ref": "#/definitions/AllowedConnectionsResource"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "AllowedConnectionsResource": {
- "type": "object",
- "description": "The resource whose properties describes the allowed traffic between Azure resources",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "readOnly": true,
- "$ref": "#/definitions/AllowedConnectionsResourceProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- },
- {
- "$ref": "../../../common/v1/types.json#/definitions/Location"
- }
- ]
- },
- "AllowedConnectionsResourceProperties": {
- "type": "object",
- "description": "Describes the allowed traffic between Azure resources",
- "properties": {
- "calculatedDateTime": {
- "type": "string",
- "format": "date-time",
- "readOnly": true,
- "description": "The UTC time on which the allowed connections resource was calculated"
- },
- "connectableResources": {
- "type": "array",
- "readOnly": true,
- "description": "List of connectable resources",
- "items": {
- "$ref": "#/definitions/ConnectableResource"
- }
- }
- }
- },
- "ConnectableResource": {
- "type": "object",
- "description": "Describes the allowed inbound and outbound traffic of an Azure resource",
- "properties": {
- "id": {
- "type": "string",
- "readOnly": true,
- "description": "The Azure resource id"
- },
- "inboundConnectedResources": {
- "type": "array",
- "readOnly": true,
- "description": "The list of Azure resources that the resource has inbound allowed connection from",
- "items": {
- "$ref": "#/definitions/ConnectedResource"
- }
- },
- "outboundConnectedResources": {
- "type": "array",
- "readOnly": true,
- "description": "The list of Azure resources that the resource has outbound allowed connection to",
- "items": {
- "$ref": "#/definitions/ConnectedResource"
- }
- }
- }
- },
- "ConnectedResource": {
- "type": "object",
- "description": "Describes properties of a connected resource",
- "properties": {
- "connectedResourceId": {
- "type": "string",
- "readOnly": true,
- "description": "The Azure resource id of the connected resource"
- },
- "tcpPorts": {
- "type": "string",
- "readOnly": true,
- "description": "The allowed tcp ports"
- },
- "udpPorts": {
- "type": "string",
- "readOnly": true,
- "description": "The allowed udp ports"
- }
- }
- }
- },
- "parameters": {
- "ConnectionType": {
- "name": "connectionType",
- "type": "string",
- "in": "path",
- "description": "The type of allowed connections (Internal, External)",
- "required": true,
- "enum": [
- "Internal",
- "External"
- ],
- "x-ms-enum": {
- "name": "connectionType",
- "modelAsString": true,
- "values": [
- {
- "value": "Internal"
- },
- {
- "value": "External"
- }
- ]
- },
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2020-01-01/assessmentMetadata.json b/swagger-specs/security/resource-manager/Microsoft.Security/stable/2020-01-01/assessmentMetadata.json
deleted file mode 100644
index e07ded24c..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2020-01-01/assessmentMetadata.json
+++ /dev/null
@@ -1,561 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2020-01-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/providers/Microsoft.Security/assessmentMetadata": {
- "get": {
- "x-ms-examples": {
- "List security assessment metadata": {
- "$ref": "./examples/AssessmentsMetadata/ListAssessmentsMetadata_example.json"
- }
- },
- "tags": [
- "Assessments Metadata"
- ],
- "description": "Get metadata information on all assessment types",
- "operationId": "AssessmentsMetadata_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityAssessmentMetadataList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/providers/Microsoft.Security/assessmentMetadata/{assessmentMetadataName}": {
- "get": {
- "x-ms-examples": {
- "Get security assessment metadata": {
- "$ref": "./examples/AssessmentsMetadata/GetAssessmentsMetadata_example.json"
- }
- },
- "tags": [
- "Assessments Metadata"
- ],
- "description": "Get metadata information on an assessment type",
- "operationId": "AssessmentsMetadata_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "#/parameters/AssessmentsMetadataName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityAssessmentMetadata"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/assessmentMetadata": {
- "get": {
- "x-ms-examples": {
- "List security assessment metadata for subscription": {
- "$ref": "./examples/AssessmentsMetadata/ListAssessmentsMetadata_subscription_example.json"
- }
- },
- "tags": [
- "Assessments Metadata"
- ],
- "description": "Get metadata information on all assessment types in a specific subscription",
- "operationId": "AssessmentsMetadata_ListBySubscription",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityAssessmentMetadataList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/assessmentMetadata/{assessmentMetadataName}": {
- "get": {
- "x-ms-examples": {
- "Get security assessment metadata for subscription": {
- "$ref": "./examples/AssessmentsMetadata/GetAssessmentsMetadata_subscription_example.json"
- }
- },
- "tags": [
- "Assessments Metadata"
- ],
- "description": "Get metadata information on an assessment type in a specific subscription",
- "operationId": "AssessmentsMetadata_GetInSubscription",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "#/parameters/AssessmentsMetadataName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityAssessmentMetadata"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Create security assessment metadata for subscription": {
- "$ref": "./examples/AssessmentsMetadata/CreateAssessmentsMetadata_subscription_example.json"
- }
- },
- "tags": [
- "Assessments Metadata"
- ],
- "description": "Create metadata information on an assessment type in a specific subscription",
- "operationId": "AssessmentsMetadata_CreateInSubscription",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "#/parameters/AssessmentsMetadataName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/SecurityAssessmentMetadata"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityAssessmentMetadata"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "delete": {
- "x-ms-examples": {
- "Delete a security assessment metadata for subscription": {
- "$ref": "./examples/AssessmentsMetadata/DeleteAssessmentsMetadata_subscription_example.json"
- }
- },
- "tags": [
- "Assessments Metadata"
- ],
- "description": "Delete metadata information on an assessment type in a specific subscription, will cause the deletion of all the assessments of that type in that subscription",
- "operationId": "AssessmentsMetadata_DeleteInSubscription",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "#/parameters/AssessmentsMetadataName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "SecurityAssessmentMetadataList": {
- "type": "object",
- "description": "List of security assessment metadata",
- "properties": {
- "value": {
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/SecurityAssessmentMetadata"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "SecurityAssessmentMetadata": {
- "type": "object",
- "description": "Security assessment metadata",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/SecurityAssessmentMetadataProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "SecurityAssessmentMetadataProperties": {
- "type": "object",
- "description": "Describes properties of an assessment metadata.",
- "properties": {
- "displayName": {
- "type": "string",
- "description": "User friendly display name of the assessment"
- },
- "policyDefinitionId": {
- "readOnly": true,
- "type": "string",
- "description": "Azure resource ID of the policy definition that turns this assessment calculation on"
- },
- "description": {
- "type": "string",
- "description": "Human readable description of the assessment"
- },
- "remediationDescription": {
- "type": "string",
- "description": "Human readable description of what you should do to mitigate this security issue"
- },
- "categories": {
- "type": "array",
- "items": {
- "type": "string",
- "description": "The categories of resource that is at risk when the assessment is unhealthy",
- "enum": [
- "Compute",
- "Networking",
- "Data",
- "IdentityAndAccess",
- "IoT"
- ],
- "x-ms-enum": {
- "name": "categories",
- "modelAsString": true,
- "values": [
- {
- "value": "Compute"
- },
- {
- "value": "Networking"
- },
- {
- "value": "Data"
- },
- {
- "value": "IdentityAndAccess"
- },
- {
- "value": "IoT"
- }
- ]
- }
- }
- },
- "severity": {
- "type": "string",
- "description": "The severity level of the assessment",
- "enum": [
- "Low",
- "Medium",
- "High"
- ],
- "x-ms-enum": {
- "name": "severity",
- "modelAsString": true,
- "values": [
- {
- "value": "Low"
- },
- {
- "value": "Medium"
- },
- {
- "value": "High"
- }
- ]
- }
- },
- "userImpact": {
- "type": "string",
- "description": "The user impact of the assessment",
- "enum": [
- "Low",
- "Moderate",
- "High"
- ],
- "x-ms-enum": {
- "name": "userImpact",
- "modelAsString": true,
- "values": [
- {
- "value": "Low"
- },
- {
- "value": "Moderate"
- },
- {
- "value": "High"
- }
- ]
- }
- },
- "implementationEffort": {
- "type": "string",
- "description": "The implementation effort required to remediate this assessment",
- "enum": [
- "Low",
- "Moderate",
- "High"
- ],
- "x-ms-enum": {
- "name": "implementationEffort",
- "modelAsString": true,
- "values": [
- {
- "value": "Low"
- },
- {
- "value": "Moderate"
- },
- {
- "value": "High"
- }
- ]
- }
- },
- "threats": {
- "type": "array",
- "items": {
- "type": "string",
- "description": "Threats impact of the assessment",
- "enum": [
- "accountBreach",
- "dataExfiltration",
- "dataSpillage",
- "maliciousInsider",
- "elevationOfPrivilege",
- "threatResistance",
- "missingCoverage",
- "denialOfService"
- ],
- "x-ms-enum": {
- "name": "threats",
- "modelAsString": true,
- "values": [
- {
- "value": "accountBreach"
- },
- {
- "value": "dataExfiltration"
- },
- {
- "value": "dataSpillage"
- },
- {
- "value": "maliciousInsider"
- },
- {
- "value": "elevationOfPrivilege"
- },
- {
- "value": "threatResistance"
- },
- {
- "value": "missingCoverage"
- },
- {
- "value": "denialOfService"
- }
- ]
- }
- }
- },
- "preview": {
- "type": "boolean",
- "description": "True if this assessment is in preview release status"
- },
- "assessmentType": {
- "type": "string",
- "description": "BuiltIn if the assessment based on built-in Azure Policy definition, Custom if the assessment based on custom Azure Policy definition",
- "enum": [
- "BuiltIn",
- "CustomPolicy",
- "CustomerManaged",
- "VerifiedPartner"
- ],
- "x-ms-enum": {
- "name": "assessmentType",
- "modelAsString": true,
- "values": [
- {
- "value": "BuiltIn",
- "description": "Microsoft Defender for Cloud managed assessments"
- },
- {
- "value": "CustomPolicy",
- "description": "User defined policies that are automatically ingested from Azure Policy to Microsoft Defender for Cloud"
- },
- {
- "value": "CustomerManaged",
- "description": "User assessments pushed directly by the user or other third party to Microsoft Defender for Cloud"
- },
- {
- "value": "VerifiedPartner",
- "description": "An assessment that was created by a verified 3rd party if the user connected it to ASC"
- }
- ]
- }
- },
- "partnerData": {
- "$ref": "#/definitions/SecurityAssessmentMetadataPartnerData"
- }
- },
- "required": [
- "displayName",
- "severity",
- "assessmentType"
- ]
- },
- "SecurityAssessmentMetadataPartnerData": {
- "type": "object",
- "description": "Describes the partner that created the assessment",
- "properties": {
- "partnerName": {
- "type": "string",
- "description": "Name of the company of the partner"
- },
- "productName": {
- "type": "string",
- "description": "Name of the product of the partner that created the assessment"
- },
- "secret": {
- "type": "string",
- "description": "Secret to authenticate the partner and verify it created the assessment - write only",
- "x-ms-secret": true
- }
- },
- "required": [
- "partnerName",
- "secret"
- ]
- }
- },
- "parameters": {
- "AssessmentsMetadataName": {
- "name": "assessmentMetadataName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The Assessment Key - Unique key for the assessment type",
- "x-ms-parameter-location": "method"
- },
- "SecurityAssessmentMetadata": {
- "name": "assessmentMetadata",
- "in": "body",
- "required": true,
- "description": "AssessmentMetadata object",
- "schema": {
- "$ref": "#/definitions/SecurityAssessmentMetadata"
- },
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2020-01-01/assessments.json b/swagger-specs/security/resource-manager/Microsoft.Security/stable/2020-01-01/assessments.json
deleted file mode 100644
index bf567f20d..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2020-01-01/assessments.json
+++ /dev/null
@@ -1,399 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2020-01-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/{scope}/providers/Microsoft.Security/assessments": {
- "get": {
- "x-ms-examples": {
- "List security assessments": {
- "$ref": "./examples/Assessments/ListAssessments_example.json"
- }
- },
- "tags": [
- "Assessments"
- ],
- "description": "Get security assessments on all your scanned resources inside a scope",
- "operationId": "Assessments_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/Scope"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityAssessmentList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/{resourceId}/providers/Microsoft.Security/assessments/{assessmentName}": {
- "get": {
- "x-ms-examples": {
- "Get security recommendation task from security data location": {
- "$ref": "./examples/Assessments/GetAssessment_example.json"
- },
- "Get security recommendation task from security data location with expand parameter": {
- "$ref": "./examples/Assessments/GetAssessmentWithExpand_example.json"
- }
- },
- "tags": [
- "Assessments"
- ],
- "description": "Get a security assessment on your scanned resource",
- "operationId": "Assessments_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceId"
- },
- {
- "$ref": "#/parameters/AssessmentName"
- },
- {
- "$ref": "#/parameters/ExpandAssessments"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityAssessment"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Create security recommendation task on a resource": {
- "$ref": "./examples/Assessments/PutAssessment_example.json"
- }
- },
- "tags": [
- "Assessments"
- ],
- "description": "Create a security assessment on your resource. An assessment metadata that describes this assessment must be predefined with the same name before inserting the assessment result",
- "operationId": "Assessments_CreateOrUpdate",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceId"
- },
- {
- "$ref": "#/parameters/AssessmentName"
- },
- {
- "$ref": "#/parameters/AssessmentBody"
- }
- ],
- "responses": {
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/SecurityAssessment"
- }
- },
- "200": {
- "description": "OK - Updated",
- "schema": {
- "$ref": "#/definitions/SecurityAssessment"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "delete": {
- "x-ms-examples": {
- "Delete a security recommendation task on a resource": {
- "$ref": "./examples/Assessments/DeleteAssessment_example.json"
- }
- },
- "tags": [
- "Assessments"
- ],
- "description": "Delete a security assessment on your resource. An assessment metadata that describes this assessment must be predefined with the same name before inserting the assessment result",
- "operationId": "Assessments_Delete",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceId"
- },
- {
- "$ref": "#/parameters/AssessmentName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK - Assessment was deleted"
- },
- "204": {
- "description": "No Content - Assessment does not exist"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "SecurityAssessmentList": {
- "type": "object",
- "description": "Page of a security assessments list",
- "properties": {
- "value": {
- "description": "Collection of security assessments in this page",
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/SecurityAssessment"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "SecurityAssessment": {
- "type": "object",
- "description": "Security assessment on a resource",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/SecurityAssessmentProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "SecurityAssessmentProperties": {
- "type": "object",
- "description": "Describes properties of an assessment.",
- "properties": {
- "resourceDetails": {
- "$ref": "../../../common/v1/types.json#/definitions/ResourceDetails"
- },
- "displayName": {
- "readOnly": true,
- "type": "string",
- "description": "User friendly display name of the assessment"
- },
- "status": {
- "$ref": "#/definitions/AssessmentStatus"
- },
- "additionalData": {
- "type": "object",
- "description": "Additional data regarding the assessment",
- "additionalProperties": {
- "type": "string"
- }
- },
- "links": {
- "$ref": "#/definitions/AssessmentLinks"
- },
- "metadata": {
- "$ref": "./assessmentMetadata.json#/definitions/SecurityAssessmentMetadataProperties"
- },
- "partnersData": {
- "$ref": "#/definitions/SecurityAssessmentPartnerData"
- }
- },
- "required": [
- "resourceDetails",
- "status"
- ]
- },
- "SecurityAssessmentPartnerData": {
- "type": "object",
- "description": "Data regarding 3rd party partner integration",
- "properties": {
- "partnerName": {
- "type": "string",
- "description": "Name of the company of the partner"
- },
- "secret": {
- "type": "string",
- "description": "secret to authenticate the partner - write only",
- "x-ms-secret": true
- }
- },
- "required": [
- "partnerName",
- "secret"
- ]
- },
- "AssessmentLinks": {
- "type": "object",
- "description": "Links relevant to the assessment",
- "readOnly": true,
- "properties": {
- "azurePortalUri": {
- "type": "string",
- "description": "Link to assessment in Azure Portal",
- "readOnly": true
- }
- }
- },
- "AssessmentStatus": {
- "type": "object",
- "description": "The result of the assessment",
- "properties": {
- "code": {
- "type": "string",
- "description": "Programmatic code for the status of the assessment",
- "enum": [
- "Healthy",
- "Unhealthy",
- "NotApplicable"
- ],
- "x-ms-enum": {
- "name": "AssessmentStatusCode",
- "modelAsString": true,
- "values": [
- {
- "value": "Healthy",
- "description": "The resource is healthy"
- },
- {
- "value": "Unhealthy",
- "description": "The resource has a security issue that needs to be addressed"
- },
- {
- "value": "NotApplicable",
- "description": "Assessment for this resource did not happen"
- }
- ]
- }
- },
- "cause": {
- "type": "string",
- "description": "Programmatic code for the cause of the assessment status"
- },
- "description": {
- "type": "string",
- "description": "Human readable description of the assessment status"
- }
- },
- "required": [
- "code"
- ]
- }
- },
- "parameters": {
- "ExpandAssessments": {
- "name": "$expand",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "OData expand. Optional.",
- "x-ms-parameter-location": "method",
- "enum": [
- "links",
- "metadata"
- ],
- "x-ms-enum": {
- "name": "ExpandEnum",
- "modelAsString": true,
- "values": [
- {
- "value": "links",
- "description": "All links associated with an assessment"
- },
- {
- "value": "metadata",
- "description": "Assessment metadata"
- }
- ]
- }
- },
- "AssessmentName": {
- "name": "assessmentName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The Assessment Key - Unique key for the assessment type",
- "x-ms-parameter-location": "method"
- },
- "AssessmentBody": {
- "name": "assessment",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/SecurityAssessment"
- },
- "description": "Calculated assessment on a pre-defined assessment metadata",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2020-01-01/discoveredSecuritySolutions.json b/swagger-specs/security/resource-manager/Microsoft.Security/stable/2020-01-01/discoveredSecuritySolutions.json
deleted file mode 100644
index 95ad090b1..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2020-01-01/discoveredSecuritySolutions.json
+++ /dev/null
@@ -1,263 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2020-01-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/discoveredSecuritySolutions": {
- "get": {
- "x-ms-examples": {
- "Get discovered security solutions": {
- "$ref": "./examples/DiscoveredSecuritySolutions/GetDiscoveredSecuritySolutionsSubscription_example.json"
- }
- },
- "tags": [
- "DiscoveredSecuritySolutions"
- ],
- "description": "Gets a list of discovered Security Solutions for the subscription.",
- "operationId": "DiscoveredSecuritySolutions_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/DiscoveredSecuritySolutionList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/discoveredSecuritySolutions": {
- "get": {
- "x-ms-examples": {
- "Get discovered security solutions from a security data location": {
- "$ref": "./examples/DiscoveredSecuritySolutions/GetDiscoveredSecuritySolutionsSubscriptionLocation_example.json"
- }
- },
- "tags": [
- "DiscoveredSecuritySolutions"
- ],
- "description": "Gets a list of discovered Security Solutions for the subscription and location.",
- "operationId": "DiscoveredSecuritySolutions_ListByHomeRegion",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/DiscoveredSecuritySolutionList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/discoveredSecuritySolutions/{discoveredSecuritySolutionName}": {
- "get": {
- "x-ms-examples": {
- "Get discovered security solution from a security data location": {
- "$ref": "./examples/DiscoveredSecuritySolutions/GetDiscoveredSecuritySolutionResourceGroupLocation_example.json"
- }
- },
- "tags": [
- "DiscoveredSecuritySolutions"
- ],
- "description": "Gets a specific discovered Security Solution.",
- "operationId": "DiscoveredSecuritySolutions_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/DiscoveredSecuritySolutionName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/DiscoveredSecuritySolution"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "DiscoveredSecuritySolutionList": {
- "type": "object",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/DiscoveredSecuritySolution"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "DiscoveredSecuritySolution": {
- "type": "object",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/DiscoveredSecuritySolutionProperties"
- }
- },
- "required": [
- "properties"
- ],
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- },
- {
- "$ref": "../../../common/v1/types.json#/definitions/Location"
- }
- ]
- },
- "DiscoveredSecuritySolutionProperties": {
- "type": "object",
- "properties": {
- "securityFamily": {
- "type": "string",
- "description": "The security family of the discovered solution",
- "enum": [
- "Waf",
- "Ngfw",
- "SaasWaf",
- "Va"
- ],
- "x-ms-enum": {
- "name": "securityFamily",
- "modelAsString": true,
- "values": [
- {
- "value": "Waf"
- },
- {
- "value": "Ngfw"
- },
- {
- "value": "SaasWaf"
- },
- {
- "value": "Va"
- }
- ]
- }
- },
- "offer": {
- "type": "string",
- "description": "The security solutions' image offer"
- },
- "publisher": {
- "type": "string",
- "description": "The security solutions' image publisher"
- },
- "sku": {
- "type": "string",
- "description": "The security solutions' image sku"
- }
- },
- "required": [
- "securityFamily",
- "offer",
- "publisher",
- "sku"
- ]
- }
- },
- "parameters": {
- "DiscoveredSecuritySolutionName": {
- "name": "discoveredSecuritySolutionName",
- "type": "string",
- "in": "path",
- "required": true,
- "description": "Name of a discovered security solution.",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2020-01-01/externalSecuritySolutions.json b/swagger-specs/security/resource-manager/Microsoft.Security/stable/2020-01-01/externalSecuritySolutions.json
deleted file mode 100644
index 2c393277d..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2020-01-01/externalSecuritySolutions.json
+++ /dev/null
@@ -1,388 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2020-01-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/externalSecuritySolutions": {
- "get": {
- "x-ms-examples": {
- "Get external security solutions on a subscription": {
- "$ref": "./examples/ExternalSecuritySolutions/GetExternalSecuritySolutionsSubscription_example.json"
- }
- },
- "description": "Gets a list of external security solutions for the subscription.",
- "tags": [
- "ExternalSecuritySolutions"
- ],
- "operationId": "ExternalSecuritySolutions_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ExternalSecuritySolutionList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/ExternalSecuritySolutions": {
- "get": {
- "x-ms-examples": {
- "Get external security solutions on a subscription from security data location": {
- "$ref": "./examples/ExternalSecuritySolutions/GetExternalSecuritySolutionsSubscriptionLocation_example.json"
- }
- },
- "description": "Gets a list of external Security Solutions for the subscription and location.",
- "tags": [
- "ExternalSecuritySolutions"
- ],
- "operationId": "ExternalSecuritySolutions_ListByHomeRegion",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ExternalSecuritySolutionList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/ExternalSecuritySolutions/{externalSecuritySolutionsName}": {
- "get": {
- "x-ms-examples": {
- "Get external security solution": {
- "$ref": "./examples/ExternalSecuritySolutions/GetExternalSecuritySolution_example.json"
- }
- },
- "description": "Gets a specific external Security Solution.",
- "tags": [
- "ExternalSecuritySolutions"
- ],
- "operationId": "ExternalSecuritySolutions_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/ExternalSecuritySolutionsName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ExternalSecuritySolution"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "ExternalSecuritySolutionList": {
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ExternalSecuritySolution"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "ExternalSecuritySolution": {
- "type": "object",
- "description": "Represents a security solution external to Microsoft Defender for Cloud which sends information to an OMS workspace and whose data is displayed by Microsoft Defender for Cloud.",
- "required": [
- "kind"
- ],
- "discriminator": "kind",
- "properties": {},
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- },
- {
- "$ref": "#/definitions/ExternalSecuritySolutionKind"
- },
- {
- "$ref": "../../../common/v1/types.json#/definitions/Location"
- }
- ]
- },
- "CefExternalSecuritySolution": {
- "x-ms-discriminator-value": "CEF",
- "type": "object",
- "description": "Represents a security solution which sends CEF logs to an OMS workspace",
- "allOf": [
- {
- "$ref": "#/definitions/ExternalSecuritySolution"
- }
- ],
- "properties": {
- "properties": {
- "$ref": "#/definitions/CefSolutionProperties"
- }
- }
- },
- "AtaExternalSecuritySolution": {
- "x-ms-discriminator-value": "ATA",
- "type": "object",
- "description": "Represents an ATA security solution which sends logs to an OMS workspace",
- "allOf": [
- {
- "$ref": "#/definitions/ExternalSecuritySolution"
- }
- ],
- "properties": {
- "properties": {
- "$ref": "#/definitions/AtaSolutionProperties"
- }
- }
- },
- "AadExternalSecuritySolution": {
- "x-ms-discriminator-value": "AAD",
- "type": "object",
- "description": "Represents an AAD identity protection solution which sends logs to an OMS workspace.",
- "allOf": [
- {
- "$ref": "#/definitions/ExternalSecuritySolution"
- }
- ],
- "properties": {
- "properties": {
- "$ref": "#/definitions/AadSolutionProperties"
- }
- }
- },
- "ExternalSecuritySolutionKind": {
- "type": "object",
- "description": "Describes an Azure resource with kind",
- "properties": {
- "kind": {
- "type": "string",
- "description": "The kind of the external solution",
- "enum": [
- "CEF",
- "ATA",
- "AAD"
- ],
- "x-ms-enum": {
- "name": "ExternalSecuritySolutionKind",
- "modelAsString": true,
- "values": [
- {
- "value": "CEF"
- },
- {
- "value": "ATA"
- },
- {
- "value": "AAD"
- }
- ]
- }
- }
- }
- },
- "ExternalSecuritySolutionProperties": {
- "type": "object",
- "description": "The solution properties (correspond to the solution kind)",
- "additionalProperties": true,
- "properties": {
- "deviceVendor": {
- "type": "string"
- },
- "deviceType": {
- "type": "string"
- },
- "workspace": {
- "$ref": "#/definitions/ConnectedWorkspace"
- }
- }
- },
- "ConnectedWorkspace": {
- "type": "object",
- "title": "Represents an OMS workspace to which the solution is connected",
- "properties": {
- "id": {
- "type": "string",
- "description": "Azure resource ID of the connected OMS workspace"
- }
- }
- },
- "AadConnectivityState": {
- "type": "object",
- "description": "Describes an Azure resource with kind",
- "properties": {
- "connectivityState": {
- "type": "string",
- "title": "The connectivity state of the external AAD solution ",
- "enum": [
- "Discovered",
- "NotLicensed",
- "Connected"
- ],
- "x-ms-enum": {
- "name": "AadConnectivityState",
- "modelAsString": true,
- "values": [
- {
- "value": "Discovered"
- },
- {
- "value": "NotLicensed"
- },
- {
- "value": "Connected"
- }
- ]
- }
- }
- }
- },
- "AadSolutionProperties": {
- "type": "object",
- "title": "The external security solution properties for AAD solutions",
- "allOf": [
- {
- "$ref": "#/definitions/ExternalSecuritySolutionProperties"
- },
- {
- "$ref": "#/definitions/AadConnectivityState"
- }
- ]
- },
- "CefSolutionProperties": {
- "type": "object",
- "title": "The external security solution properties for CEF solutions",
- "properties": {
- "hostname": {
- "type": "string"
- },
- "agent": {
- "type": "string"
- },
- "lastEventReceived": {
- "type": "string"
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/ExternalSecuritySolutionProperties"
- }
- ]
- },
- "AtaSolutionProperties": {
- "type": "object",
- "title": "The external security solution properties for ATA solutions",
- "properties": {
- "lastEventReceived": {
- "type": "string"
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/ExternalSecuritySolutionProperties"
- }
- ]
- }
- },
- "parameters": {
- "ExternalSecuritySolutionsName": {
- "name": "externalSecuritySolutionsName",
- "in": "path",
- "description": "Name of an external security solution.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2020-01-01/jitNetworkAccessPolicies.json b/swagger-specs/security/resource-manager/Microsoft.Security/stable/2020-01-01/jitNetworkAccessPolicies.json
deleted file mode 100644
index 6c90a7960..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2020-01-01/jitNetworkAccessPolicies.json
+++ /dev/null
@@ -1,774 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2020-01-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/jitNetworkAccessPolicies": {
- "get": {
- "x-ms-examples": {
- "Get JIT network access policies on a subscription": {
- "$ref": "./examples/JitNetworkAccessPolicies/GetJitNetworkAccessPoliciesSubscription_example.json"
- }
- },
- "tags": [
- "JitNetworkAccessPolicies"
- ],
- "description": "Policies for protecting resources using Just-in-Time access control.",
- "operationId": "JitNetworkAccessPolicies_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/JitNetworkAccessPoliciesList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/jitNetworkAccessPolicies": {
- "get": {
- "x-ms-examples": {
- "Get JIT network access policies on a subscription from a security data location": {
- "$ref": "./examples/JitNetworkAccessPolicies/GetJitNetworkAccessPoliciesSubscriptionLocation_example.json"
- }
- },
- "tags": [
- "JitNetworkAccessPolicies"
- ],
- "description": "Policies for protecting resources using Just-in-Time access control for the subscription, location",
- "operationId": "JitNetworkAccessPolicies_ListByRegion",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/JitNetworkAccessPoliciesList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/jitNetworkAccessPolicies": {
- "get": {
- "x-ms-examples": {
- "Get JIT network access policies on a resource group": {
- "$ref": "./examples/JitNetworkAccessPolicies/GetJitNetworkAccessPoliciesResourceGroup_example.json"
- }
- },
- "tags": [
- "JitNetworkAccessPolicies"
- ],
- "description": "Policies for protecting resources using Just-in-Time access control for the subscription, location",
- "operationId": "JitNetworkAccessPolicies_ListByResourceGroup",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/JitNetworkAccessPoliciesList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/jitNetworkAccessPolicies": {
- "get": {
- "x-ms-examples": {
- "Get JIT network access policies on a resource group from a security data location": {
- "$ref": "./examples/JitNetworkAccessPolicies/GetJitNetworkAccessPoliciesResourceGroupLocation_example.json"
- }
- },
- "tags": [
- "JitNetworkAccessPolicies"
- ],
- "description": "Policies for protecting resources using Just-in-Time access control for the subscription, location",
- "operationId": "JitNetworkAccessPolicies_ListByResourceGroupAndRegion",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/JitNetworkAccessPoliciesList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/jitNetworkAccessPolicies/{jitNetworkAccessPolicyName}": {
- "get": {
- "x-ms-examples": {
- "Get JIT network access policy": {
- "$ref": "./examples/JitNetworkAccessPolicies/GetJitNetworkAccessPolicy_example.json"
- }
- },
- "tags": [
- "JitNetworkAccessPolicies"
- ],
- "description": "Policies for protecting resources using Just-in-Time access control for the subscription, location",
- "operationId": "JitNetworkAccessPolicies_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/JitNetworkAccessPolicyName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/JitNetworkAccessPolicy"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Create JIT network access policy": {
- "$ref": "./examples/JitNetworkAccessPolicies/CreateJitNetworkAccessPolicy_example.json"
- }
- },
- "tags": [
- "JitNetworkAccessPolicies"
- ],
- "description": "Create a policy for protecting resources using Just-in-Time access control",
- "operationId": "JitNetworkAccessPolicies_CreateOrUpdate",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/JitNetworkAccessPolicyName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "#/parameters/JitNetworkAccessPolicy"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/JitNetworkAccessPolicy"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "delete": {
- "x-ms-examples": {
- "Delete a JIT network access policy": {
- "$ref": "./examples/JitNetworkAccessPolicies/DeleteJitNetworkAccessPolicy_example.json"
- }
- },
- "tags": [
- "JitNetworkAccessPolicies"
- ],
- "description": "Delete a Just-in-Time access control policy.",
- "operationId": "JitNetworkAccessPolicies_Delete",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/JitNetworkAccessPolicyName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK - Resource was deleted"
- },
- "204": {
- "description": "No Content - Resource does not exist"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/jitNetworkAccessPolicies/{jitNetworkAccessPolicyName}/{jitNetworkAccessPolicyInitiateType}": {
- "post": {
- "x-ms-examples": {
- "Initiate an action on a JIT network access policy": {
- "$ref": "./examples/JitNetworkAccessPolicies/InitiateJitNetworkAccessPolicy_example.json"
- }
- },
- "tags": [
- "JitNetworkAccessPolicies"
- ],
- "description": "Initiate a JIT access from a specific Just-in-Time policy configuration.",
- "operationId": "JitNetworkAccessPolicies_Initiate",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/JitNetworkAccessPolicyName"
- },
- {
- "$ref": "#/parameters/JitNetworkAccessPolicyInitiateType"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "#/parameters/JitNetworkAccessPolicyInitiateRequest"
- }
- ],
- "responses": {
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/JitNetworkAccessRequest"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "JitNetworkAccessPoliciesList": {
- "type": "object",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/JitNetworkAccessPolicy"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "JitNetworkAccessPolicy": {
- "type": "object",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/JitNetworkAccessPolicyProperties"
- }
- },
- "required": [
- "properties"
- ],
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- },
- {
- "$ref": "../../../common/v1/types.json#/definitions/Kind"
- },
- {
- "$ref": "../../../common/v1/types.json#/definitions/Location"
- }
- ]
- },
- "JitNetworkAccessPolicyProperties": {
- "type": "object",
- "properties": {
- "virtualMachines": {
- "type": "array",
- "description": "Configurations for Microsoft.Compute/virtualMachines resource type.",
- "items": {
- "$ref": "#/definitions/JitNetworkAccessPolicyVirtualMachine"
- }
- },
- "requests": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/JitNetworkAccessRequest"
- }
- },
- "provisioningState": {
- "type": "string",
- "readOnly": true,
- "description": "Gets the provisioning state of the Just-in-Time policy."
- }
- },
- "required": [
- "virtualMachines"
- ]
- },
- "JitNetworkAccessPolicyVirtualMachine": {
- "type": "object",
- "required": [
- "id",
- "ports"
- ],
- "properties": {
- "id": {
- "type": "string",
- "description": "Resource ID of the virtual machine that is linked to this policy"
- },
- "ports": {
- "type": "array",
- "description": "Port configurations for the virtual machine",
- "items": {
- "$ref": "#/definitions/JitNetworkAccessPortRule"
- }
- },
- "publicIpAddress": {
- "type": "string",
- "description": "Public IP address of the Azure Firewall that is linked to this policy, if applicable"
- }
- }
- },
- "JitNetworkAccessPortRule": {
- "type": "object",
- "properties": {
- "number": {
- "$ref": "#/definitions/PortNumber"
- },
- "protocol": {
- "type": "string",
- "enum": [
- "TCP",
- "UDP",
- "*"
- ],
- "x-ms-enum": {
- "name": "protocol",
- "modelAsString": true,
- "values": [
- {
- "value": "TCP"
- },
- {
- "value": "UDP"
- },
- {
- "value": "*",
- "name": "All"
- }
- ]
- }
- },
- "allowedSourceAddressPrefix": {
- "type": "string",
- "description": "Mutually exclusive with the \"allowedSourceAddressPrefixes\" parameter. Should be an IP address or CIDR, for example \"192.168.0.3\" or \"192.168.0.0/16\"."
- },
- "allowedSourceAddressPrefixes": {
- "type": "array",
- "description": "Mutually exclusive with the \"allowedSourceAddressPrefix\" parameter.",
- "items": {
- "type": "string",
- "description": "IP address or CIDR, for example \"192.168.0.3\" or \"192.168.0.0/16\"."
- }
- },
- "maxRequestAccessDuration": {
- "type": "string",
- "description": "Maximum duration requests can be made for. In ISO 8601 duration format. Minimum 5 minutes, maximum 1 day"
- }
- },
- "required": [
- "maxRequestAccessDuration",
- "number",
- "protocol"
- ]
- },
- "JitNetworkAccessRequest": {
- "type": "object",
- "properties": {
- "virtualMachines": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/JitNetworkAccessRequestVirtualMachine"
- }
- },
- "startTimeUtc": {
- "type": "string",
- "format": "date-time",
- "description": "The start time of the request in UTC"
- },
- "requestor": {
- "type": "string",
- "description": "The identity of the person who made the request"
- },
- "justification": {
- "type": "string",
- "description": "The justification for making the initiate request"
- }
- },
- "required": [
- "requestor",
- "startTimeUtc",
- "virtualMachines"
- ]
- },
- "JitNetworkAccessRequestVirtualMachine": {
- "type": "object",
- "required": [
- "id",
- "ports"
- ],
- "properties": {
- "id": {
- "type": "string",
- "description": "Resource ID of the virtual machine that is linked to this policy"
- },
- "ports": {
- "type": "array",
- "description": "The ports that were opened for the virtual machine",
- "items": {
- "$ref": "#/definitions/JitNetworkAccessRequestPort"
- }
- }
- }
- },
- "JitNetworkAccessRequestPort": {
- "type": "object",
- "properties": {
- "number": {
- "$ref": "#/definitions/PortNumber"
- },
- "allowedSourceAddressPrefix": {
- "type": "string",
- "description": "Mutually exclusive with the \"allowedSourceAddressPrefixes\" parameter. Should be an IP address or CIDR, for example \"192.168.0.3\" or \"192.168.0.0/16\"."
- },
- "allowedSourceAddressPrefixes": {
- "type": "array",
- "description": "Mutually exclusive with the \"allowedSourceAddressPrefix\" parameter.",
- "items": {
- "description": "IP address or CIDR, for example \"192.168.0.3\" or \"192.168.0.0/16\".",
- "type": "string"
- }
- },
- "endTimeUtc": {
- "type": "string",
- "format": "date-time",
- "description": "The date & time at which the request ends in UTC"
- },
- "status": {
- "type": "string",
- "description": "The status of the port",
- "enum": [
- "Revoked",
- "Initiated"
- ],
- "x-ms-enum": {
- "name": "status",
- "modelAsString": true,
- "values": [
- {
- "value": "Revoked"
- },
- {
- "value": "Initiated"
- }
- ]
- }
- },
- "statusReason": {
- "type": "string",
- "description": "A description of why the `status` has its value",
- "enum": [
- "Expired",
- "UserRequested",
- "NewerRequestInitiated"
- ],
- "x-ms-enum": {
- "name": "statusReason",
- "modelAsString": true,
- "values": [
- {
- "value": "Expired"
- },
- {
- "value": "UserRequested"
- },
- {
- "value": "NewerRequestInitiated"
- }
- ]
- }
- },
- "mappedPort": {
- "type": "integer",
- "description": "The port which is mapped to this port's `number` in the Azure Firewall, if applicable"
- }
- },
- "required": [
- "endTimeUtc",
- "number",
- "status",
- "statusReason"
- ]
- },
- "JitNetworkAccessPolicyInitiateRequest": {
- "type": "object",
- "properties": {
- "virtualMachines": {
- "type": "array",
- "description": "A list of virtual machines & ports to open access for",
- "items": {
- "$ref": "#/definitions/JitNetworkAccessPolicyInitiateVirtualMachine"
- }
- },
- "justification": {
- "type": "string",
- "description": "The justification for making the initiate request"
- }
- },
- "required": [
- "virtualMachines"
- ]
- },
- "JitNetworkAccessPolicyInitiateVirtualMachine": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "Resource ID of the virtual machine that is linked to this policy"
- },
- "ports": {
- "type": "array",
- "description": "The ports to open for the resource with the `id`",
- "items": {
- "$ref": "#/definitions/JitNetworkAccessPolicyInitiatePort"
- }
- }
- },
- "required": [
- "id",
- "ports"
- ]
- },
- "JitNetworkAccessPolicyInitiatePort": {
- "type": "object",
- "properties": {
- "number": {
- "$ref": "#/definitions/PortNumber"
- },
- "allowedSourceAddressPrefix": {
- "type": "string",
- "description": "Source of the allowed traffic. If omitted, the request will be for the source IP address of the initiate request."
- },
- "endTimeUtc": {
- "type": "string",
- "format": "date-time",
- "description": "The time to close the request in UTC"
- }
- },
- "required": [
- "endTimeUtc",
- "number"
- ]
- },
- "PortNumber": {
- "type": "integer",
- "minimum": 0,
- "maximum": 65535
- }
- },
- "parameters": {
- "JitNetworkAccessPolicyName": {
- "name": "jitNetworkAccessPolicyName",
- "type": "string",
- "in": "path",
- "required": true,
- "description": "Name of a Just-in-Time access configuration policy.",
- "x-ms-parameter-location": "method"
- },
- "JitNetworkAccessPolicyInitiateType": {
- "name": "jitNetworkAccessPolicyInitiateType",
- "type": "string",
- "in": "path",
- "required": true,
- "description": "Type of the action to do on the Just-in-Time access policy.",
- "enum": [
- "initiate"
- ],
- "x-ms-enum": {
- "name": "JitNetworkAccessPolicyInitiateType",
- "modelAsString": false
- },
- "x-ms-parameter-location": "method"
- },
- "JitNetworkAccessPolicyInitiateRequest": {
- "name": "body",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/JitNetworkAccessPolicyInitiateRequest"
- },
- "x-ms-parameter-location": "method"
- },
- "JitNetworkAccessPolicy": {
- "name": "body",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/JitNetworkAccessPolicy"
- },
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2020-01-01/secureScore.json b/swagger-specs/security/resource-manager/Microsoft.Security/stable/2020-01-01/secureScore.json
deleted file mode 100644
index 7617deb83..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2020-01-01/secureScore.json
+++ /dev/null
@@ -1,622 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2020-01-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/secureScores": {
- "get": {
- "x-ms-examples": {
- "List secure scores": {
- "$ref": "./examples/secureScores/ListSecureScores_example.json"
- }
- },
- "tags": [
- "Secure Score"
- ],
- "description": "List secure scores for all your Microsoft Defender for Cloud initiatives within your current scope.",
- "operationId": "SecureScores_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecureScoresList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/secureScores/{secureScoreName}": {
- "get": {
- "x-ms-examples": {
- "Get single secure score": {
- "$ref": "./examples/secureScores/GetSecureScoresSingle_example.json"
- }
- },
- "tags": [
- "Secure Score"
- ],
- "description": "Get secure score for a specific Microsoft Defender for Cloud initiative within your current scope. For the ASC Default initiative, use 'ascScore'.",
- "operationId": "SecureScores_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/secureScoreName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecureScoreItem"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/secureScores/{secureScoreName}/secureScoreControls": {
- "get": {
- "x-ms-examples": {
- "Get security controls and their current score for the specified initiative": {
- "$ref": "./examples/secureScores/ListSecureScoreControlsForName_builtin_example.json"
- },
- "Get security controls and their current score for the specified initiative with the expand parameter": {
- "$ref": "./examples/secureScores/ListSecureScoreControlsForNameWithExpand_builtin_example.json"
- }
- },
- "tags": [
- "Secure Score"
- ],
- "description": "Get all security controls for a specific initiative within a scope",
- "operationId": "SecureScoreControls_ListBySecureScore",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/secureScoreName"
- },
- {
- "$ref": "#/parameters/ExpandControlsDefinition"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecureScoreControlList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/secureScoreControls": {
- "get": {
- "x-ms-examples": {
- "List all secure scores controls": {
- "$ref": "./examples/secureScores/ListSecureScoreControls_example.json"
- }
- },
- "tags": [
- "Secure Score Controls"
- ],
- "description": "Get all security controls within a scope",
- "operationId": "SecureScoreControls_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/ExpandControlsDefinition"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecureScoreControlList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/providers/Microsoft.Security/secureScoreControlDefinitions": {
- "get": {
- "x-ms-examples": {
- "List security controls definition": {
- "$ref": "./examples/secureScoreControlDefinitions/ListSecureScoreControlDefinitions_example.json"
- }
- },
- "tags": [
- "Secure Score Control Definitions"
- ],
- "description": "List the available security controls, their assessments, and the max score",
- "operationId": "SecureScoreControlDefinitions_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/secureScoreControlDefinitionList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/secureScoreControlDefinitions": {
- "get": {
- "x-ms-examples": {
- "List security controls definition by subscription": {
- "$ref": "./examples/secureScoreControlDefinitions/ListSecureScoreControlDefinitions_subscription_example.json"
- }
- },
- "tags": [
- "Secure Score Control Definitions"
- ],
- "description": "For a specified subscription, list the available security controls, their assessments, and the max score",
- "operationId": "SecureScoreControlDefinitions_ListBySubscription",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/secureScoreControlDefinitionList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- }
- },
- "definitions": {
- "SecureScoresList": {
- "type": "object",
- "description": "List of secure scores",
- "properties": {
- "value": {
- "description": "Collection of secure scores in this page",
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/SecureScoreItem"
- }
- },
- "nextLink": {
- "description": "The URI to fetch the next page.",
- "readOnly": true,
- "type": "string"
- }
- }
- },
- "SecureScoreItem": {
- "description": "Secure score item data model",
- "readOnly": true,
- "type": "object",
- "properties": {
- "properties": {
- "description": "Secure score item",
- "readOnly": true,
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/SecureScoreItemProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "SecureScoreItemProperties": {
- "description": "Describes properties of a calculated secure score.",
- "readOnly": true,
- "type": "object",
- "properties": {
- "displayName": {
- "description": "The initiative’s name",
- "readOnly": true,
- "type": "string"
- },
- "score": {
- "description": "score object",
- "readOnly": true,
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ScoreDetails"
- },
- "weight": {
- "description": "The relative weight for each subscription. Used when calculating an aggregated secure score for multiple subscriptions.",
- "readOnly": true,
- "type": "integer",
- "format": "int64",
- "minimum": 0,
- "exclusiveMinimum": false
- }
- }
- },
- "ScoreDetails": {
- "description": "Calculation result data",
- "readOnly": true,
- "type": "object",
- "properties": {
- "max": {
- "description": "Maximum score available",
- "readOnly": true,
- "type": "integer",
- "format": "int32",
- "minimum": 0,
- "exclusiveMinimum": false
- },
- "current": {
- "description": "Current score",
- "readOnly": true,
- "type": "number",
- "format": "double",
- "minimum": 0.00,
- "exclusiveMinimum": false
- },
- "percentage": {
- "description": "Ratio of the current score divided by the maximum. Rounded to 4 digits after the decimal point",
- "readOnly": true,
- "type": "number",
- "format": "double",
- "minimum": 0.00,
- "maximum": 1.00,
- "exclusiveMinimum": false,
- "exclusiveMaximum": false
- }
- }
- },
- "SecureScoreControlScore": {
- "description": "Calculation result data",
- "type": "object",
- "properties": {
- "max": {
- "description": "Maximum control score (0..10)",
- "readOnly": true,
- "type": "integer",
- "format": "int32",
- "minimum": 0,
- "maximum": 10,
- "exclusiveMinimum": false
- },
- "current": {
- "description": "Actual score for the control = (achieved points / total points) * max score. if total points is zeroed, the return number is 0.00",
- "readOnly": true,
- "type": "number",
- "format": "double",
- "minimum": 0.00,
- "maximum": 10.00,
- "exclusiveMinimum": false
- },
- "percentage": {
- "description": "Ratio of the current score divided by the maximum. Rounded to 4 digits after the decimal point",
- "readOnly": true,
- "type": "number",
- "format": "double",
- "minimum": 0.00,
- "maximum": 1.00,
- "exclusiveMinimum": false,
- "exclusiveMaximum": false
- }
- }
- },
- "SecureScoreControlList": {
- "description": "List of security controls",
- "type": "object",
- "properties": {
- "value": {
- "description": "Collection of security controls in this page",
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/SecureScoreControlDetails"
- }
- },
- "nextLink": {
- "description": "The URI to fetch the next page.",
- "readOnly": true,
- "type": "string"
- }
- }
- },
- "SecureScoreControlDetails": {
- "description": "Details of the security control, its score, and the health status of the relevant resources.",
- "type": "object",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/SecureScoreControlScoreDetails"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "SecureScoreControlScoreDetails": {
- "description": "Calculation result data in control level",
- "type": "object",
- "properties": {
- "displayName": {
- "description": "User friendly display name of the control",
- "readOnly": true,
- "type": "string"
- },
- "score": {
- "description": "Actual score object for the control",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ScoreDetails"
- },
- "healthyResourceCount": {
- "description": "Number of healthy resources in the control",
- "readOnly": true,
- "type": "integer",
- "format": "int32"
- },
- "unhealthyResourceCount": {
- "description": "Number of unhealthy resources in the control",
- "readOnly": true,
- "type": "integer",
- "format": "int32"
- },
- "notApplicableResourceCount": {
- "description": "Number of not applicable resources in the control",
- "readOnly": true,
- "type": "integer",
- "format": "int32"
- },
- "weight": {
- "description": "The relative weight for this specific control in each of your subscriptions. Used when calculating an aggregated score for this control across all of your subscriptions.",
- "readOnly": true,
- "type": "integer",
- "format": "int64",
- "minimum": 0,
- "exclusiveMinimum": false
- },
- "definition": {
- "$ref": "#/definitions/SecureScoreControlDefinitionItem"
- }
- }
- },
- "secureScoreControlDefinitionList": {
- "description": "List of security controls definition",
- "type": "object",
- "properties": {
- "value": {
- "description": "Collection of security controls definition in this page",
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/SecureScoreControlDefinitionItem"
- }
- },
- "nextLink": {
- "description": "The URI to fetch the next page.",
- "readOnly": true,
- "type": "string"
- }
- }
- },
- "SecureScoreControlDefinitionItem": {
- "description": "Information about the security control.",
- "type": "object",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/SecureScoreControlDefinitionItemProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "SecureScoreControlDefinitionItemProperties": {
- "description": "Security Control Definition Properties.",
- "type": "object",
- "properties": {
- "displayName": {
- "description": "User friendly display name of the control",
- "readOnly": true,
- "type": "string"
- },
- "description": {
- "description": "User friendly description of the control",
- "readOnly": true,
- "type": "string",
- "maxLength": 256
- },
- "maxScore": {
- "description": "Maximum control score (0..10)",
- "readOnly": true,
- "type": "integer",
- "format": "int32",
- "minimum": 0,
- "maximum": 10,
- "exclusiveMinimum": false
- },
- "source": {
- "description": "Source object from which the control was created",
- "readOnly": true,
- "$ref": "#/definitions/SecureScoreControlDefinitionSource"
- },
- "assessmentDefinitions": {
- "description": "Array of assessments metadata IDs that are included in this security control",
- "readOnly": true,
- "$ref": "../../../common/v1/types.json#/definitions/AzureResourceLinks"
- }
- }
- },
- "SecureScoreControlDefinitionSource": {
- "description": "The type of the security control (For example, BuiltIn)",
- "readOnly": true,
- "type": "object",
- "properties": {
- "sourceType": {
- "description": "The type of security control (for example, BuiltIn)",
- "type": "string",
- "enum": [
- "BuiltIn",
- "Custom"
- ],
- "x-ms-enum": {
- "name": "controlType",
- "modelAsString": true,
- "values": [
- {
- "value": "BuiltIn",
- "description": "Microsoft Defender for Cloud managed assessments"
- },
- {
- "value": "Custom",
- "description": "Non Microsoft Defender for Cloud managed assessments"
- }
- ]
- }
- }
- }
- }
- },
- "parameters": {
- "ExpandControlsDefinition": {
- "name": "$expand",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "OData expand. Optional.",
- "x-ms-parameter-location": "method",
- "enum": [
- "definition"
- ],
- "x-ms-enum": {
- "name": "ExpandControlsEnum",
- "modelAsString": true,
- "values": [
- {
- "value": "definition",
- "description": "Add definition object for each control"
- }
- ]
- }
- },
- "secureScoreName": {
- "name": "secureScoreName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The initiative name. For the ASC Default initiative, use 'ascScore' as in the sample request below.",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2020-01-01/securitySolutionsReferenceData.json b/swagger-specs/security/resource-manager/Microsoft.Security/stable/2020-01-01/securitySolutionsReferenceData.json
deleted file mode 100644
index dd7c61741..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2020-01-01/securitySolutionsReferenceData.json
+++ /dev/null
@@ -1,212 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2020-01-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/securitySolutionsReferenceData": {
- "get": {
- "x-ms-examples": {
- "Get security solutions": {
- "$ref": "./examples/SecuritySolutionsReferenceData/GetSecuritySolutionsReferenceDataSubscription_example.json"
- }
- },
- "tags": [
- "securitySolutionsReferenceData"
- ],
- "description": "Gets a list of all supported Security Solutions for the subscription.",
- "operationId": "securitySolutionsReferenceData_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/securitySolutionsReferenceDataList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/securitySolutionsReferenceData": {
- "get": {
- "x-ms-examples": {
- "Get security solutions from a security data location": {
- "$ref": "./examples/SecuritySolutionsReferenceData/GetSecuritySolutionsReferenceDataSubscriptionLocation_example.json"
- }
- },
- "tags": [
- "SecuritySolutionsReferenceData"
- ],
- "description": "Gets list of all supported Security Solutions for subscription and location.",
- "operationId": "SecuritySolutionsReferenceData_ListByHomeRegion",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/securitySolutionsReferenceDataList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "securitySolutionsReferenceDataList": {
- "type": "object",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/securitySolutionsReferenceData"
- }
- }
- }
- },
- "securitySolutionsReferenceData": {
- "type": "object",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/securitySolutionsReferenceDataProperties"
- }
- },
- "required": [
- "properties"
- ],
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- },
- {
- "$ref": "../../../common/v1/types.json#/definitions/Location"
- }
- ]
- },
- "securitySolutionsReferenceDataProperties": {
- "type": "object",
- "properties": {
- "securityFamily": {
- "type": "string",
- "description": "The security family of the security solution",
- "enum": [
- "Waf",
- "Ngfw",
- "SaasWaf",
- "Va"
- ],
- "x-ms-enum": {
- "name": "securityFamily",
- "modelAsString": true,
- "values": [
- {
- "value": "Waf"
- },
- {
- "value": "Ngfw"
- },
- {
- "value": "SaasWaf"
- },
- {
- "value": "Va"
- }
- ]
- }
- },
- "alertVendorName": {
- "type": "string",
- "description": "The security solutions' vendor name"
- },
- "packageInfoUrl": {
- "type": "string",
- "description": "The security solutions' package info url"
- },
- "productName": {
- "type": "string",
- "description": "The security solutions' product name"
- },
- "publisher": {
- "type": "string",
- "description": "The security solutions' publisher"
- },
- "publisherDisplayName": {
- "type": "string",
- "description": "The security solutions' publisher display name"
- },
- "template": {
- "type": "string",
- "description": "The security solutions' template"
- }
- },
- "required": [
- "securityFamily",
- "alertVendorName",
- "packageInfoUrl",
- "productName",
- "publisher",
- "publisherDisplayName",
- "template"
- ]
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2020-01-01/serverVulnerabilityAssessments.json b/swagger-specs/security/resource-manager/Microsoft.Security/stable/2020-01-01/serverVulnerabilityAssessments.json
deleted file mode 100644
index 4c5f76ebc..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2020-01-01/serverVulnerabilityAssessments.json
+++ /dev/null
@@ -1,370 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2020-01-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Security/serverVulnerabilityAssessments": {
- "get": {
- "x-ms-examples": {
- "Get a list of server vulnerability assessments on a resource. Though this API returns a list, Currently Microsoft.Security only supports a single default type of server vulnerability assessment": {
- "$ref": "./examples/ServerVulnerabilityAssessments/ListByExtendedResourceServerVulnerabilityAssessments_example.json"
- }
- },
- "description": "Gets a list of server vulnerability assessment onboarding statuses on a given resource.",
- "tags": [
- "ServerVulnerabilityAssessments"
- ],
- "operationId": "ServerVulnerabilityAssessment_ListByExtendedResource",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "name": "resourceNamespace",
- "in": "path",
- "description": "The Namespace of the resource.",
- "required": true,
- "type": "string"
- },
- {
- "name": "resourceType",
- "in": "path",
- "description": "The type of the resource.",
- "required": true,
- "type": "string"
- },
- {
- "name": "resourceName",
- "in": "path",
- "description": "Name of the resource.",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ServerVulnerabilityAssessmentsList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Security/serverVulnerabilityAssessments/{serverVulnerabilityAssessment}": {
- "get": {
- "x-ms-examples": {
- "Get a server vulnerability assessments onboarding status on a resource. Currently Microsoft.Security only supports the single 'default' resource": {
- "$ref": "./examples/ServerVulnerabilityAssessments/GetServerVulnerabilityAssessments_example.json"
- }
- },
- "description": "Gets a server vulnerability assessment onboarding statuses on a given resource.",
- "tags": [
- "ServerVulnerabilityAssessments"
- ],
- "operationId": "ServerVulnerabilityAssessment_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "name": "resourceNamespace",
- "in": "path",
- "description": "The Namespace of the resource.",
- "required": true,
- "type": "string"
- },
- {
- "name": "resourceType",
- "in": "path",
- "description": "The type of the resource.",
- "required": true,
- "type": "string"
- },
- {
- "name": "resourceName",
- "in": "path",
- "description": "Name of the resource.",
- "required": true,
- "type": "string"
- },
- {
- "name": "serverVulnerabilityAssessment",
- "in": "path",
- "description": "ServerVulnerabilityAssessment status. only a 'default' value is supported.",
- "required": true,
- "type": "string",
- "enum": [
- "default"
- ],
- "x-ms-enum": {
- "name": "ServerVulnerabilityAssessmentName",
- "modelAsString": false
- }
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ServerVulnerabilityAssessment"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Create a server vulnerability assessments on a resource. Only 'default' resource is supported. Once creating the resource, the server will be onboarded to vulnerability assessment by Microsoft.Security": {
- "$ref": "./examples/ServerVulnerabilityAssessments/CreateServerVulnerabilityAssessments_example.json"
- }
- },
- "description": "Creating a server vulnerability assessment on a resource, which will onboard a resource for having a vulnerability assessment on it",
- "tags": [
- "ServerVulnerabilityAssessment"
- ],
- "operationId": "ServerVulnerabilityAssessment_CreateOrUpdate",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "name": "resourceNamespace",
- "in": "path",
- "description": "The Namespace of the resource.",
- "required": true,
- "type": "string"
- },
- {
- "name": "resourceType",
- "in": "path",
- "description": "The type of the resource.",
- "required": true,
- "type": "string"
- },
- {
- "name": "resourceName",
- "in": "path",
- "description": "Name of the resource.",
- "required": true,
- "type": "string"
- },
- {
- "name": "serverVulnerabilityAssessment",
- "in": "path",
- "description": "ServerVulnerabilityAssessment status. only a 'default' value is supported.",
- "required": true,
- "type": "string",
- "enum": [
- "default"
- ],
- "x-ms-enum": {
- "name": "ServerVulnerabilityAssessmentName",
- "modelAsString": false
- }
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/ServerVulnerabilityAssessment"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "delete": {
- "x-ms-examples": {
- "Delete a server vulnerability assessments on a resource. Only 'default' resource is supported. Once deleting, Microsoft.Security will not provide vulnerability assessment findings on the resource.": {
- "$ref": "./examples/ServerVulnerabilityAssessments/DeleteServerVulnerabilityAssessments_example.json"
- }
- },
- "description": "Removing server vulnerability assessment from a resource.",
- "tags": [
- "ServerVulnerabilityAssessment"
- ],
- "operationId": "ServerVulnerabilityAssessment_Delete",
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "location"
- },
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "name": "resourceNamespace",
- "in": "path",
- "description": "The Namespace of the resource.",
- "required": true,
- "type": "string"
- },
- {
- "name": "resourceType",
- "in": "path",
- "description": "The type of the resource.",
- "required": true,
- "type": "string"
- },
- {
- "name": "resourceName",
- "in": "path",
- "description": "Name of the resource.",
- "required": true,
- "type": "string"
- },
- {
- "name": "serverVulnerabilityAssessment",
- "in": "path",
- "description": "ServerVulnerabilityAssessment status. only a 'default' value is supported.",
- "required": true,
- "type": "string",
- "enum": [
- "default"
- ],
- "x-ms-enum": {
- "name": "ServerVulnerabilityAssessmentName",
- "modelAsString": false
- }
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "202": {
- "description": "Accepted - the asynchronous delete operation has started."
- },
- "200": {
- "description": "OK - deleted successfully."
- },
- "204": {
- "description": "No Content - the resource did not exist in the first place."
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "ServerVulnerabilityAssessmentsList": {
- "type": "object",
- "description": "List of server vulnerability assessments",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ServerVulnerabilityAssessment"
- }
- }
- }
- },
- "ServerVulnerabilityAssessment": {
- "type": "object",
- "description": "Describes the server vulnerability assessment details on a resource",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ServerVulnerabilityAssessmentProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "ServerVulnerabilityAssessmentProperties": {
- "type": "object",
- "description": "describes ServerVulnerabilityAssessment properties.",
- "properties": {
- "provisioningState": {
- "readOnly": true,
- "type": "string",
- "description": "The provisioningState of the vulnerability assessment capability on the VM",
- "enum": [
- "Succeeded",
- "Failed",
- "Canceled",
- "Provisioning",
- "Deprovisioning"
- ]
- }
- }
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2020-01-01/topologies.json b/swagger-specs/security/resource-manager/Microsoft.Security/stable/2020-01-01/topologies.json
deleted file mode 100644
index 67ca80831..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2020-01-01/topologies.json
+++ /dev/null
@@ -1,301 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2020-01-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/topologies": {
- "get": {
- "x-ms-examples": {
- "Get topology on a subscription": {
- "$ref": "./examples/Topology/GetTopologySubscription_example.json"
- }
- },
- "tags": [
- "Topology"
- ],
- "description": "Gets a list that allows to build a topology view of a subscription.",
- "operationId": "Topology_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/TopologyList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/topologies": {
- "get": {
- "x-ms-examples": {
- "Get topology on a subscription from security data location": {
- "$ref": "./examples/Topology/GetTopologySubscriptionLocation_example.json"
- }
- },
- "tags": [
- "Topology"
- ],
- "description": "Gets a list that allows to build a topology view of a subscription and location.",
- "operationId": "Topology_ListByHomeRegion",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/TopologyList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/topologies/{topologyResourceName}": {
- "get": {
- "x-ms-examples": {
- "Get topology": {
- "$ref": "./examples/Topology/GetTopology_example.json"
- }
- },
- "tags": [
- "Topology"
- ],
- "description": "Gets a specific topology component.",
- "operationId": "Topology_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/TopologyResourceName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/TopologyResource"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "TopologyList": {
- "type": "object",
- "properties": {
- "value": {
- "type": "array",
- "readOnly": true,
- "items": {
- "$ref": "#/definitions/TopologyResource"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "TopologyResource": {
- "type": "object",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "readOnly": true,
- "$ref": "#/definitions/TopologyResourceProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- },
- {
- "$ref": "../../../common/v1/types.json#/definitions/Location"
- }
- ]
- },
- "TopologyResourceProperties": {
- "type": "object",
- "properties": {
- "calculatedDateTime": {
- "type": "string",
- "format": "date-time",
- "readOnly": true,
- "description": "The UTC time on which the topology was calculated"
- },
- "topologyResources": {
- "type": "array",
- "readOnly": true,
- "description": "Azure resources which are part of this topology resource",
- "items": {
- "$ref": "#/definitions/TopologySingleResource"
- }
- }
- }
- },
- "TopologySingleResource": {
- "type": "object",
- "properties": {
- "resourceId": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource id"
- },
- "severity": {
- "type": "string",
- "readOnly": true,
- "description": "The security severity of the resource"
- },
- "recommendationsExist": {
- "type": "boolean",
- "readOnly": true,
- "description": "Indicates if the resource has security recommendations"
- },
- "networkZones": {
- "type": "string",
- "readOnly": true,
- "description": "Indicates the resource connectivity level to the Internet (InternetFacing, Internal ,etc.)"
- },
- "topologyScore": {
- "type": "integer",
- "readOnly": true,
- "description": "Score of the resource based on its security severity"
- },
- "location": {
- "type": "string",
- "readOnly": true,
- "description": "The location of this resource"
- },
- "parents": {
- "type": "array",
- "readOnly": true,
- "description": "Azure resources connected to this resource which are in higher level in the topology view",
- "items": {
- "$ref": "#/definitions/TopologySingleResourceParent"
- }
- },
- "children": {
- "type": "array",
- "readOnly": true,
- "description": "Azure resources connected to this resource which are in lower level in the topology view",
- "items": {
- "$ref": "#/definitions/TopologySingleResourceChild"
- }
- }
- }
- },
- "TopologySingleResourceParent": {
- "type": "object",
- "properties": {
- "resourceId": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource id which serves as parent resource in topology view"
- }
- }
- },
- "TopologySingleResourceChild": {
- "type": "object",
- "properties": {
- "resourceId": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource id which serves as child resource in topology view"
- }
- }
- }
- },
- "parameters": {
- "TopologyResourceName": {
- "name": "topologyResourceName",
- "in": "path",
- "description": "Name of a topology resources collection.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2021-06-01/assessmentMetadata.json b/swagger-specs/security/resource-manager/Microsoft.Security/stable/2021-06-01/assessmentMetadata.json
deleted file mode 100644
index 51c9ff8f8..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2021-06-01/assessmentMetadata.json
+++ /dev/null
@@ -1,1109 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2021-06-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/providers/Microsoft.Security/assessmentMetadata": {
- "get": {
- "x-ms-examples": {
- "List security assessment metadata": {
- "$ref": "./examples/AssessmentsMetadata/ListAssessmentsMetadata_example.json"
- }
- },
- "tags": [
- "Assessments Metadata"
- ],
- "description": "Get metadata information on all assessment types",
- "operationId": "AssessmentsMetadata_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityAssessmentMetadataResponseList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/providers/Microsoft.Security/assessmentMetadata/{assessmentMetadataName}": {
- "get": {
- "x-ms-examples": {
- "Get security assessment metadata": {
- "$ref": "./examples/AssessmentsMetadata/GetAssessmentsMetadata_example.json"
- }
- },
- "tags": [
- "Assessments Metadata"
- ],
- "description": "Get metadata information on an assessment type",
- "operationId": "AssessmentsMetadata_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "#/parameters/AssessmentsMetadataName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityAssessmentMetadataResponse"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/assessmentMetadata": {
- "get": {
- "x-ms-examples": {
- "List security assessment metadata for subscription": {
- "$ref": "./examples/AssessmentsMetadata/ListAssessmentsMetadata_subscription_example.json"
- }
- },
- "tags": [
- "Assessments Metadata"
- ],
- "description": "Get metadata information on all assessment types in a specific subscription",
- "operationId": "AssessmentsMetadata_ListBySubscription",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityAssessmentMetadataResponseList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/assessmentMetadata/{assessmentMetadataName}": {
- "get": {
- "x-ms-examples": {
- "Get security assessment metadata for subscription": {
- "$ref": "./examples/AssessmentsMetadata/GetAssessmentsMetadata_subscription_example.json"
- }
- },
- "tags": [
- "Assessments Metadata"
- ],
- "description": "Get metadata information on an assessment type in a specific subscription",
- "operationId": "AssessmentsMetadata_GetInSubscription",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "#/parameters/AssessmentsMetadataName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityAssessmentMetadataResponse"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Create security assessment metadata for subscription": {
- "$ref": "./examples/AssessmentsMetadata/CreateAssessmentsMetadata_subscription_example.json"
- }
- },
- "tags": [
- "Assessments Metadata"
- ],
- "description": "Create metadata information on an assessment type in a specific subscription",
- "operationId": "AssessmentsMetadata_CreateInSubscription",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "#/parameters/AssessmentsMetadataName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/SecurityAssessmentMetadataResponse"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityAssessmentMetadataResponse"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "delete": {
- "x-ms-examples": {
- "Delete a security assessment metadata for subscription": {
- "$ref": "./examples/AssessmentsMetadata/DeleteAssessmentsMetadata_subscription_example.json"
- }
- },
- "tags": [
- "Assessments Metadata"
- ],
- "description": "Delete metadata information on an assessment type in a specific subscription, will cause the deletion of all the assessments of that type in that subscription",
- "operationId": "AssessmentsMetadata_DeleteInSubscription",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "#/parameters/AssessmentsMetadataName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "SecurityAssessmentMetadataResponseList": {
- "type": "object",
- "description": "List of security assessment metadata",
- "properties": {
- "value": {
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/SecurityAssessmentMetadataResponse"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "SecurityAssessmentMetadata": {
- "type": "object",
- "description": "Security assessment metadata",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/SecurityAssessmentMetadataProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "SecurityAssessmentMetadataResponse": {
- "type": "object",
- "description": "Security assessment metadata response",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/SecurityAssessmentMetadataPropertiesResponse"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "SecurityAssessmentMetadataProperties": {
- "type": "object",
- "description": "Describes properties of an assessment metadata.",
- "properties": {
- "displayName": {
- "type": "string",
- "description": "User friendly display name of the assessment"
- },
- "policyDefinitionId": {
- "readOnly": true,
- "type": "string",
- "description": "Azure resource ID of the policy definition that turns this assessment calculation on"
- },
- "description": {
- "type": "string",
- "description": "Human readable description of the assessment"
- },
- "remediationDescription": {
- "type": "string",
- "description": "Human readable description of what you should do to mitigate this security issue"
- },
- "categories": {
- "type": "array",
- "items": {
- "type": "string",
- "description": "The categories of resource that is at risk when the assessment is unhealthy",
- "enum": [
- "Compute",
- "Networking",
- "Data",
- "IdentityAndAccess",
- "IoT"
- ],
- "x-ms-enum": {
- "name": "categories",
- "modelAsString": true,
- "values": [
- {
- "value": "Compute"
- },
- {
- "value": "Networking"
- },
- {
- "value": "Data"
- },
- {
- "value": "IdentityAndAccess"
- },
- {
- "value": "IoT"
- }
- ]
- }
- }
- },
- "severity": {
- "type": "string",
- "description": "The severity level of the assessment",
- "enum": [
- "Low",
- "Medium",
- "High"
- ],
- "x-ms-enum": {
- "name": "severity",
- "modelAsString": true,
- "values": [
- {
- "value": "Low"
- },
- {
- "value": "Medium"
- },
- {
- "value": "High"
- }
- ]
- }
- },
- "userImpact": {
- "type": "string",
- "description": "The user impact of the assessment",
- "enum": [
- "Low",
- "Moderate",
- "High"
- ],
- "x-ms-enum": {
- "name": "userImpact",
- "modelAsString": true,
- "values": [
- {
- "value": "Low"
- },
- {
- "value": "Moderate"
- },
- {
- "value": "High"
- }
- ]
- }
- },
- "implementationEffort": {
- "type": "string",
- "description": "The implementation effort required to remediate this assessment",
- "enum": [
- "Low",
- "Moderate",
- "High"
- ],
- "x-ms-enum": {
- "name": "implementationEffort",
- "modelAsString": true,
- "values": [
- {
- "value": "Low"
- },
- {
- "value": "Moderate"
- },
- {
- "value": "High"
- }
- ]
- }
- },
- "threats": {
- "type": "array",
- "items": {
- "type": "string",
- "description": "Threats impact of the assessment",
- "enum": [
- "accountBreach",
- "dataExfiltration",
- "dataSpillage",
- "maliciousInsider",
- "elevationOfPrivilege",
- "threatResistance",
- "missingCoverage",
- "denialOfService"
- ],
- "x-ms-enum": {
- "name": "threats",
- "modelAsString": true,
- "values": [
- {
- "value": "accountBreach"
- },
- {
- "value": "dataExfiltration"
- },
- {
- "value": "dataSpillage"
- },
- {
- "value": "maliciousInsider"
- },
- {
- "value": "elevationOfPrivilege"
- },
- {
- "value": "threatResistance"
- },
- {
- "value": "missingCoverage"
- },
- {
- "value": "denialOfService"
- }
- ]
- }
- }
- },
- "preview": {
- "type": "boolean",
- "description": "True if this assessment is in preview release status"
- },
- "assessmentType": {
- "type": "string",
- "description": "BuiltIn if the assessment based on built-in Azure Policy definition, Custom if the assessment based on custom Azure Policy definition",
- "enum": [
- "BuiltIn",
- "CustomPolicy",
- "CustomerManaged",
- "VerifiedPartner"
- ],
- "x-ms-enum": {
- "name": "assessmentType",
- "modelAsString": true,
- "values": [
- {
- "value": "BuiltIn",
- "description": "Microsoft Defender for Cloud managed assessments"
- },
- {
- "value": "CustomPolicy",
- "description": "User defined policies that are automatically ingested from Azure Policy to Microsoft Defender for Cloud"
- },
- {
- "value": "CustomerManaged",
- "description": "User assessments pushed directly by the user or other third party to Microsoft Defender for Cloud"
- },
- {
- "value": "VerifiedPartner",
- "description": "An assessment that was created by a verified 3rd party if the user connected it to ASC"
- }
- ]
- }
- },
- "partnerData": {
- "$ref": "#/definitions/SecurityAssessmentMetadataPartnerData"
- }
- },
- "required": [
- "displayName",
- "severity",
- "assessmentType"
- ]
- },
- "SecurityAssessmentMetadataPartnerData": {
- "type": "object",
- "description": "Describes the partner that created the assessment",
- "properties": {
- "partnerName": {
- "type": "string",
- "description": "Name of the company of the partner"
- },
- "productName": {
- "type": "string",
- "description": "Name of the product of the partner that created the assessment"
- },
- "secret": {
- "type": "string",
- "description": "Secret to authenticate the partner and verify it created the assessment - write only",
- "x-ms-secret": true
- }
- },
- "required": [
- "partnerName",
- "secret"
- ]
- },
- "SecurityAssessmentMetadataPropertiesResponse": {
- "type": "object",
- "description": "Describes properties of an assessment metadata response.",
- "properties": {
- "publishDates": {
- "type": "object",
- "properties": {
- "GA": {
- "type": "string",
- "pattern": "^([0-9]{2}/){2}[0-9]{4}$"
- },
- "public": {
- "type": "string",
- "pattern": "^([0-9]{2}/){2}[0-9]{4}$"
- }
- },
- "required": [
- "public"
- ]
- },
- "plannedDeprecationDate": {
- "type": "string",
- "pattern": "^[0-9]{2}/[0-9]{4}$"
- },
- "tactics": {
- "type": "array",
- "items": {
- "type": "string",
- "description": "Tactic of the assessment",
- "enum": [
- "Reconnaissance",
- "Resource Development",
- "Initial Access",
- "Execution",
- "Persistence",
- "Privilege Escalation",
- "Defense Evasion",
- "Credential Access",
- "Discovery",
- "Lateral Movement",
- "Collection",
- "Command and Control",
- "Exfiltration",
- "Impact"
- ],
- "x-ms-enum": {
- "name": "tactics",
- "modelAsString": true,
- "values": [
- {
- "value": "Reconnaissance"
- },
- {
- "value": "Resource Development"
- },
- {
- "value": "Initial Access"
- },
- {
- "value": "Execution"
- },
- {
- "value": "Persistence"
- },
- {
- "value": "Privilege Escalation"
- },
- {
- "value": "Defense Evasion"
- },
- {
- "value": "Credential Access"
- },
- {
- "value": "Discovery"
- },
- {
- "value": "Lateral Movement"
- },
- {
- "value": "Collection"
- },
- {
- "value": "Command and Control"
- },
- {
- "value": "Exfiltration"
- },
- {
- "value": "Impact"
- }
- ]
- }
- }
- },
- "techniques": {
- "type": "array",
- "items": {
- "type": "string",
- "description": "Techniques of the assessment",
- "enum": [
- "Abuse Elevation Control Mechanism",
- "Access Token Manipulation",
- "Account Discovery",
- "Account Manipulation",
- "Active Scanning",
- "Application Layer Protocol",
- "Audio Capture",
- "Boot or Logon Autostart Execution",
- "Boot or Logon Initialization Scripts",
- "Brute Force",
- "Cloud Infrastructure Discovery",
- "Cloud Service Dashboard",
- "Cloud Service Discovery",
- "Command and Scripting Interpreter",
- "Compromise Client Software Binary",
- "Compromise Infrastructure",
- "Container and Resource Discovery",
- "Create Account",
- "Create or Modify System Process",
- "Credentials from Password Stores",
- "Data Destruction",
- "Data Encrypted for Impact",
- "Data from Cloud Storage Object",
- "Data from Configuration Repository",
- "Data from Information Repositories",
- "Data from Local System",
- "Data Manipulation",
- "Data Staged",
- "Defacement",
- "Deobfuscate/Decode Files or Information",
- "Disk Wipe",
- "Domain Trust Discovery",
- "Drive-by Compromise",
- "Dynamic Resolution",
- "Endpoint Denial of Service",
- "Event Triggered Execution",
- "Exfiltration Over Alternative Protocol",
- "Exploit Public-Facing Application",
- "Exploitation for Client Execution",
- "Exploitation for Credential Access",
- "Exploitation for Defense Evasion",
- "Exploitation for Privilege Escalation",
- "Exploitation of Remote Services",
- "External Remote Services",
- "Fallback Channels",
- "File and Directory Discovery",
- "Gather Victim Network Information",
- "Hide Artifacts",
- "Hijack Execution Flow",
- "Impair Defenses",
- "Implant Container Image",
- "Indicator Removal on Host",
- "Indirect Command Execution",
- "Ingress Tool Transfer",
- "Input Capture",
- "Inter-Process Communication",
- "Lateral Tool Transfer",
- "Man-in-the-Middle",
- "Masquerading",
- "Modify Authentication Process",
- "Modify Registry",
- "Network Denial of Service",
- "Network Service Scanning",
- "Network Sniffing",
- "Non-Application Layer Protocol",
- "Non-Standard Port",
- "Obtain Capabilities",
- "Obfuscated Files or Information",
- "Office Application Startup",
- "OS Credential Dumping",
- "Permission Groups Discovery",
- "Phishing",
- "Pre-OS Boot",
- "Process Discovery",
- "Process Injection",
- "Protocol Tunneling",
- "Proxy",
- "Query Registry",
- "Remote Access Software",
- "Remote Service Session Hijacking",
- "Remote Services",
- "Remote System Discovery",
- "Resource Hijacking",
- "Scheduled Task/Job",
- "Screen Capture",
- "Search Victim-Owned Websites",
- "Server Software Component",
- "Service Stop",
- "Signed Binary Proxy Execution",
- "Software Deployment Tools",
- "SQL Stored Procedures",
- "Steal or Forge Kerberos Tickets",
- "Subvert Trust Controls",
- "Supply Chain Compromise",
- "System Information Discovery",
- "Taint Shared Content",
- "Traffic Signaling",
- "Transfer Data to Cloud Account",
- "Trusted Relationship",
- "Unsecured Credentials",
- "User Execution",
- "Valid Accounts",
- "Windows Management Instrumentation",
- "File and Directory Permissions Modification"
- ],
- "x-ms-enum": {
- "name": "techniques",
- "modelAsString": true,
- "values": [
- {
- "value": "Abuse Elevation Control Mechanism"
- },
- {
- "value": "Access Token Manipulation"
- },
- {
- "value": "Account Discovery"
- },
- {
- "value": "Account Manipulation"
- },
- {
- "value": "Active Scanning"
- },
- {
- "value": "Application Layer Protocol"
- },
- {
- "value": "Audio Capture"
- },
- {
- "value": "Boot or Logon Autostart Execution"
- },
- {
- "value": "Boot or Logon Initialization Scripts"
- },
- {
- "value": "Brute Force"
- },
- {
- "value": "Cloud Infrastructure Discovery"
- },
- {
- "value": "Cloud Service Dashboard"
- },
- {
- "value": "Cloud Service Discovery"
- },
- {
- "value": "Command and Scripting Interpreter"
- },
- {
- "value": "Compromise Client Software Binary"
- },
- {
- "value": "Compromise Infrastructure"
- },
- {
- "value": "Container and Resource Discovery"
- },
- {
- "value": "Create Account"
- },
- {
- "value": "Create or Modify System Process"
- },
- {
- "value": "Credentials from Password Stores"
- },
- {
- "value": "Data Destruction"
- },
- {
- "value": "Data Encrypted for Impact"
- },
- {
- "value": "Data from Cloud Storage Object"
- },
- {
- "value": "Data from Configuration Repository"
- },
- {
- "value": "Data from Information Repositories"
- },
- {
- "value": "Data from Local System"
- },
- {
- "value": "Data Manipulation"
- },
- {
- "value": "Data Staged"
- },
- {
- "value": "Defacement"
- },
- {
- "value": "Deobfuscate/Decode Files or Information"
- },
- {
- "value": "Disk Wipe"
- },
- {
- "value": "Domain Trust Discovery"
- },
- {
- "value": "Drive-by Compromise"
- },
- {
- "value": "Dynamic Resolution"
- },
- {
- "value": "Endpoint Denial of Service"
- },
- {
- "value": "Event Triggered Execution"
- },
- {
- "value": "Exfiltration Over Alternative Protocol"
- },
- {
- "value": "Exploit Public-Facing Application"
- },
- {
- "value": "Exploitation for Client Execution"
- },
- {
- "value": "Exploitation for Credential Access"
- },
- {
- "value": "Exploitation for Defense Evasion"
- },
- {
- "value": "Exploitation for Privilege Escalation"
- },
- {
- "value": "Exploitation of Remote Services"
- },
- {
- "value": "External Remote Services"
- },
- {
- "value": "Fallback Channels"
- },
- {
- "value": "File and Directory Discovery"
- },
- {
- "value": "Gather Victim Network Information"
- },
- {
- "value": "Hide Artifacts"
- },
- {
- "value": "Hijack Execution Flow"
- },
- {
- "value": "Impair Defenses"
- },
- {
- "value": "Implant Container Image"
- },
- {
- "value": "Indicator Removal on Host"
- },
- {
- "value": "Indirect Command Execution"
- },
- {
- "value": "Ingress Tool Transfer"
- },
- {
- "value": "Input Capture"
- },
- {
- "value": "Inter-Process Communication"
- },
- {
- "value": "Lateral Tool Transfer"
- },
- {
- "value": "Man-in-the-Middle"
- },
- {
- "value": "Masquerading"
- },
- {
- "value": "Modify Authentication Process"
- },
- {
- "value": "Modify Registry"
- },
- {
- "value": "Network Denial of Service"
- },
- {
- "value": "Network Service Scanning"
- },
- {
- "value": "Network Sniffing"
- },
- {
- "value": "Non-Application Layer Protocol"
- },
- {
- "value": "Non-Standard Port"
- },
- {
- "value": "Obtain Capabilities"
- },
- {
- "value": "Obfuscated Files or Information"
- },
- {
- "value": "Office Application Startup"
- },
- {
- "value": "OS Credential Dumping"
- },
- {
- "value": "Permission Groups Discovery"
- },
- {
- "value": "Phishing"
- },
- {
- "value": "Pre-OS Boot"
- },
- {
- "value": "Process Discovery"
- },
- {
- "value": "Process Injection"
- },
- {
- "value": "Protocol Tunneling"
- },
- {
- "value": "Proxy"
- },
- {
- "value": "Query Registry"
- },
- {
- "value": "Remote Access Software"
- },
- {
- "value": "Remote Service Session Hijacking"
- },
- {
- "value": "Remote Services"
- },
- {
- "value": "Remote System Discovery"
- },
- {
- "value": "Resource Hijacking"
- },
- {
- "value": "Scheduled Task/Job"
- },
- {
- "value": "Screen Capture"
- },
- {
- "value": "Search Victim-Owned Websites"
- },
- {
- "value": "Server Software Component"
- },
- {
- "value": "Service Stop"
- },
- {
- "value": "Signed Binary Proxy Execution"
- },
- {
- "value": "Software Deployment Tools"
- },
- {
- "value": "SQL Stored Procedures"
- },
- {
- "value": "Steal or Forge Kerberos Tickets"
- },
- {
- "value": "Subvert Trust Controls"
- },
- {
- "value": "Supply Chain Compromise"
- },
- {
- "value": "System Information Discovery"
- },
- {
- "value": "Taint Shared Content"
- },
- {
- "value": "Traffic Signaling"
- },
- {
- "value": "Transfer Data to Cloud Account"
- },
- {
- "value": "Trusted Relationship"
- },
- {
- "value": "Unsecured Credentials"
- },
- {
- "value": "User Execution"
- },
- {
- "value": "Valid Accounts"
- },
- {
- "value": "Windows Management Instrumentation"
- },
- {
- "value": "File and Directory Permissions Modification"
- }
- ]
- }
- }
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/SecurityAssessmentMetadataProperties"
- }
- ]
- }
- },
- "parameters": {
- "AssessmentsMetadataName": {
- "name": "assessmentMetadataName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The Assessment Key - Unique key for the assessment type",
- "x-ms-parameter-location": "method"
- },
- "SecurityAssessmentMetadataResponse": {
- "name": "assessmentMetadata",
- "in": "body",
- "required": true,
- "description": "AssessmentMetadata object",
- "schema": {
- "$ref": "#/definitions/SecurityAssessmentMetadataResponse"
- },
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2021-06-01/assessments.json b/swagger-specs/security/resource-manager/Microsoft.Security/stable/2021-06-01/assessments.json
deleted file mode 100644
index 58a60667e..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2021-06-01/assessments.json
+++ /dev/null
@@ -1,467 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2021-06-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/{scope}/providers/Microsoft.Security/assessments": {
- "get": {
- "x-ms-examples": {
- "List security assessments": {
- "$ref": "./examples/Assessments/ListAssessments_example.json"
- }
- },
- "tags": [
- "Assessments"
- ],
- "description": "Get security assessments on all your scanned resources inside a scope",
- "operationId": "Assessments_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/Scope"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityAssessmentList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/{resourceId}/providers/Microsoft.Security/assessments/{assessmentName}": {
- "get": {
- "x-ms-examples": {
- "Get security recommendation task from security data location": {
- "$ref": "./examples/Assessments/GetAssessment_example.json"
- },
- "Get security recommendation task from security data location with expand parameter": {
- "$ref": "./examples/Assessments/GetAssessmentWithExpand_example.json"
- }
- },
- "tags": [
- "Assessments"
- ],
- "description": "Get a security assessment on your scanned resource",
- "operationId": "Assessments_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceId"
- },
- {
- "$ref": "#/parameters/AssessmentName"
- },
- {
- "$ref": "#/parameters/ExpandAssessments"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SecurityAssessmentResponse"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Create security recommendation task on a resource": {
- "$ref": "./examples/Assessments/PutAssessment_example.json"
- }
- },
- "tags": [
- "Assessments"
- ],
- "description": "Create a security assessment on your resource. An assessment metadata that describes this assessment must be predefined with the same name before inserting the assessment result",
- "operationId": "Assessments_CreateOrUpdate",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceId"
- },
- {
- "$ref": "#/parameters/AssessmentName"
- },
- {
- "$ref": "#/parameters/AssessmentBody"
- }
- ],
- "responses": {
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/SecurityAssessmentResponse"
- }
- },
- "200": {
- "description": "OK - Updated",
- "schema": {
- "$ref": "#/definitions/SecurityAssessmentResponse"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "delete": {
- "x-ms-examples": {
- "Delete a security recommendation task on a resource": {
- "$ref": "./examples/Assessments/DeleteAssessment_example.json"
- }
- },
- "tags": [
- "Assessments"
- ],
- "description": "Delete a security assessment on your resource. An assessment metadata that describes this assessment must be predefined with the same name before inserting the assessment result",
- "operationId": "Assessments_Delete",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceId"
- },
- {
- "$ref": "#/parameters/AssessmentName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK - Assessment was deleted"
- },
- "204": {
- "description": "No Content - Assessment does not exist"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "SecurityAssessmentList": {
- "type": "object",
- "description": "Page of a security assessments list",
- "properties": {
- "value": {
- "description": "Collection of security assessments in this page",
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/SecurityAssessmentResponse"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "SecurityAssessment": {
- "type": "object",
- "description": "Security assessment on a resource",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/SecurityAssessmentProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "SecurityAssessmentResponse": {
- "type": "object",
- "description": "Security assessment on a resource - response format",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/SecurityAssessmentPropertiesResponse"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "SecurityAssessmentProperties": {
- "type": "object",
- "description": "Describes properties of an assessment.",
- "properties": {
- "status": {
- "$ref": "#/definitions/AssessmentStatus"
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/SecurityAssessmentPropertiesBase"
- }
- ],
- "required": [
- "status"
- ]
- },
- "SecurityAssessmentPropertiesResponse": {
- "type": "object",
- "description": "Describes properties of an assessment.",
- "properties": {
- "status": {
- "$ref": "#/definitions/AssessmentStatusResponse"
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/SecurityAssessmentPropertiesBase"
- }
- ],
- "required": [
- "status"
- ]
- },
- "SecurityAssessmentPropertiesBase": {
- "type": "object",
- "description": "Describes properties of an assessment.",
- "properties": {
- "resourceDetails": {
- "$ref": "../../../common/v1/types.json#/definitions/ResourceDetails"
- },
- "displayName": {
- "readOnly": true,
- "type": "string",
- "description": "User friendly display name of the assessment"
- },
- "additionalData": {
- "type": "object",
- "description": "Additional data regarding the assessment",
- "additionalProperties": {
- "type": "string"
- }
- },
- "links": {
- "$ref": "#/definitions/AssessmentLinks"
- },
- "metadata": {
- "$ref": "./assessmentMetadata.json#/definitions/SecurityAssessmentMetadataProperties"
- },
- "partnersData": {
- "$ref": "#/definitions/SecurityAssessmentPartnerData"
- }
- },
- "required": [
- "resourceDetails"
- ]
- },
- "SecurityAssessmentPartnerData": {
- "type": "object",
- "description": "Data regarding 3rd party partner integration",
- "properties": {
- "partnerName": {
- "type": "string",
- "description": "Name of the company of the partner"
- },
- "secret": {
- "type": "string",
- "description": "secret to authenticate the partner - write only",
- "x-ms-secret": true
- }
- },
- "required": [
- "partnerName",
- "secret"
- ]
- },
- "AssessmentLinks": {
- "type": "object",
- "description": "Links relevant to the assessment",
- "readOnly": true,
- "properties": {
- "azurePortalUri": {
- "type": "string",
- "description": "Link to assessment in Azure Portal",
- "readOnly": true
- }
- }
- },
- "AssessmentStatusResponse": {
- "type": "object",
- "description": "The result of the assessment",
- "properties": {
- "firstEvaluationDate": {
- "readOnly": true,
- "type": "string",
- "format": "date-time",
- "description": "The time that the assessment was created and first evaluated. Returned as UTC time in ISO 8601 format"
- },
- "statusChangeDate": {
- "readOnly": true,
- "type": "string",
- "format": "date-time",
- "description": "The time that the status of the assessment last changed. Returned as UTC time in ISO 8601 format"
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/AssessmentStatus"
- }
- ]
- },
- "AssessmentStatus": {
- "type": "object",
- "description": "The result of the assessment",
- "properties": {
- "code": {
- "type": "string",
- "description": "Programmatic code for the status of the assessment",
- "enum": [
- "Healthy",
- "Unhealthy",
- "NotApplicable"
- ],
- "x-ms-enum": {
- "name": "AssessmentStatusCode",
- "modelAsString": true,
- "values": [
- {
- "value": "Healthy",
- "description": "The resource is healthy"
- },
- {
- "value": "Unhealthy",
- "description": "The resource has a security issue that needs to be addressed"
- },
- {
- "value": "NotApplicable",
- "description": "Assessment for this resource did not happen"
- }
- ]
- }
- },
- "cause": {
- "type": "string",
- "description": "Programmatic code for the cause of the assessment status"
- },
- "description": {
- "type": "string",
- "description": "Human readable description of the assessment status"
- }
- },
- "required": [
- "code"
- ]
- }
- },
- "parameters": {
- "ExpandAssessments": {
- "name": "$expand",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "OData expand. Optional.",
- "x-ms-parameter-location": "method",
- "enum": [
- "links",
- "metadata"
- ],
- "x-ms-enum": {
- "name": "ExpandEnum",
- "modelAsString": true,
- "values": [
- {
- "value": "links",
- "description": "All links associated with an assessment"
- },
- {
- "value": "metadata",
- "description": "Assessment metadata"
- }
- ]
- }
- },
- "AssessmentName": {
- "name": "assessmentName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The Assessment Key - Unique key for the assessment type",
- "x-ms-parameter-location": "method"
- },
- "AssessmentBody": {
- "name": "assessment",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/SecurityAssessment"
- },
- "description": "Calculated assessment on a pre-defined assessment metadata",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2021-06-01/settings.json b/swagger-specs/security/resource-manager/Microsoft.Security/stable/2021-06-01/settings.json
deleted file mode 100644
index 512722183..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2021-06-01/settings.json
+++ /dev/null
@@ -1,300 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2021-06-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/settings": {
- "get": {
- "x-ms-examples": {
- "Get settings of subscription": {
- "$ref": "./examples/Settings/GetSettings_example.json"
- }
- },
- "tags": [
- "Settings"
- ],
- "description": "Settings about different configurations in Microsoft Defender for Cloud",
- "operationId": "Settings_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SettingsList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/settings/{settingName}": {
- "get": {
- "x-ms-examples": {
- "Get a setting on subscription": {
- "$ref": "./examples/Settings/GetSetting_example.json"
- }
- },
- "tags": [
- "Settings"
- ],
- "description": "Settings of different configurations in Microsoft Defender for Cloud",
- "operationId": "Settings_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/SettingName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Setting"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Update a setting for subscription": {
- "$ref": "./examples/Settings/UpdateSetting_example.json"
- }
- },
- "tags": [
- "Settings"
- ],
- "description": "updating settings about different configurations in Microsoft Defender for Cloud",
- "operationId": "Settings_Update",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/SettingName"
- },
- {
- "$ref": "#/parameters/Setting"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Setting"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "SettingsList": {
- "type": "object",
- "description": "Subscription settings list.",
- "properties": {
- "value": {
- "type": "array",
- "description": "The settings list.",
- "items": {
- "$ref": "#/definitions/Setting"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "DataExportSettings": {
- "type": "object",
- "description": "Represents a data export setting",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "Data export setting data",
- "$ref": "#/definitions/DataExportSettingProperties"
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/Setting"
- }
- ],
- "x-ms-discriminator-value": "DataExportSettings"
- },
- "AlertSyncSettings": {
- "type": "object",
- "description": "Represents an alert sync setting",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "Alert sync setting data",
- "$ref": "#/definitions/AlertSyncSettingProperties"
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/Setting"
- }
- ],
- "x-ms-discriminator-value": "AlertSyncSettings"
- },
- "Setting": {
- "type": "object",
- "description": "The kind of the security setting",
- "properties": {
- "kind": {
- "type": "string",
- "description": "the kind of the settings string",
- "enum": [
- "DataExportSettings",
- "AlertSuppressionSetting",
- "AlertSyncSettings"
- ],
- "x-ms-enum": {
- "name": "SettingKind",
- "modelAsString": true,
- "values": [
- {
- "value": "DataExportSettings"
- },
- {
- "value": "AlertSuppressionSetting"
- },
- {
- "value": "AlertSyncSettings"
- }
- ]
- }
- }
- },
- "discriminator": "kind",
- "required": [
- "kind"
- ],
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "DataExportSettingProperties": {
- "type": "object",
- "description": "The data export setting properties",
- "properties": {
- "enabled": {
- "type": "boolean",
- "description": "Is the data export setting enabled"
- }
- },
- "required": [
- "enabled"
- ]
- },
- "AlertSyncSettingProperties": {
- "type": "object",
- "description": "The alert sync setting properties",
- "properties": {
- "enabled": {
- "type": "boolean",
- "description": "Is the alert sync setting enabled"
- }
- },
- "required": [
- "enabled"
- ]
- }
- },
- "parameters": {
- "SettingName": {
- "name": "settingName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the setting",
- "enum": [
- "MCAS",
- "WDATP",
- "Sentinel"
- ],
- "x-ms-parameter-location": "method"
- },
- "Setting": {
- "name": "setting",
- "in": "body",
- "required": true,
- "description": "Setting object",
- "schema": {
- "$ref": "#/definitions/Setting"
- },
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2022-01-01/alerts.json b/swagger-specs/security/resource-manager/Microsoft.Security/stable/2022-01-01/alerts.json
deleted file mode 100644
index a48b60130..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2022-01-01/alerts.json
+++ /dev/null
@@ -1,1250 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Security Center",
- "description": "API spec for Microsoft.Security (Azure Security Center) alerts resource provider",
- "version": "2022-01-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/alerts": {
- "get": {
- "x-ms-examples": {
- "Get security alerts on a subscription": {
- "$ref": "./examples/Alerts/GetAlertsSubscription_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "List all the alerts that are associated with the subscription",
- "operationId": "Alerts_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AlertList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/alerts": {
- "get": {
- "x-ms-examples": {
- "Get security alerts on a resource group": {
- "$ref": "./examples/Alerts/GetAlertsResourceGroup_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "List all the alerts that are associated with the resource group",
- "operationId": "Alerts_ListByResourceGroup",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AlertList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts": {
- "get": {
- "x-ms-examples": {
- "Get security alerts on a subscription from a security data location": {
- "$ref": "./examples/Alerts/GetAlertsSubscriptionsLocation_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "List all the alerts that are associated with the subscription that are stored in a specific location",
- "operationId": "Alerts_ListSubscriptionLevelByRegion",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AlertList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts": {
- "get": {
- "x-ms-examples": {
- "Get security alerts on a resource group from a security data location": {
- "$ref": "./examples/Alerts/GetAlertsResourceGroupLocation_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "List all the alerts that are associated with the resource group that are stored in a specific location",
- "operationId": "Alerts_ListResourceGroupLevelByRegion",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AlertList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}": {
- "get": {
- "x-ms-examples": {
- "Get security alert on a subscription from a security data location": {
- "$ref": "./examples/Alerts/GetAlertSubscriptionLocation_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "Get an alert that is associated with a subscription",
- "operationId": "Alerts_GetSubscriptionLevel",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/AlertName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Alert"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}": {
- "get": {
- "x-ms-examples": {
- "Get security alert on a resource group from a security data location": {
- "$ref": "./examples/Alerts/GetAlertResourceGroupLocation_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "Get an alert that is associated a resource group or a resource in a resource group",
- "operationId": "Alerts_GetResourceGroupLevel",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/AlertName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Alert"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/dismiss": {
- "post": {
- "x-ms-examples": {
- "Update security alert state on a subscription from a security data location": {
- "$ref": "./examples/Alerts/UpdateAlertSubscriptionLocation_dismiss_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "Update the alert's state",
- "operationId": "Alerts_UpdateSubscriptionLevelStateToDismiss",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/AlertName"
- }
- ],
- "responses": {
- "204": {
- "description": "No Content"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/resolve": {
- "post": {
- "x-ms-examples": {
- "Update security alert state on a subscription from a security data location": {
- "$ref": "./examples/Alerts/UpdateAlertSubscriptionLocation_resolve_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "Update the alert's state",
- "operationId": "Alerts_UpdateSubscriptionLevelStateToResolve",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/AlertName"
- }
- ],
- "responses": {
- "204": {
- "description": "No Content"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/activate": {
- "post": {
- "x-ms-examples": {
- "Update security alert state on a subscription from a security data location": {
- "$ref": "./examples/Alerts/UpdateAlertSubscriptionLocation_activate_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "Update the alert's state",
- "operationId": "Alerts_UpdateSubscriptionLevelStateToActivate",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/AlertName"
- }
- ],
- "responses": {
- "204": {
- "description": "No Content"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/inProgress": {
- "post": {
- "x-ms-examples": {
- "Update security alert state on a subscription from a security data location": {
- "$ref": "./examples/Alerts/UpdateAlertSubscriptionLocation_inProgress_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "Update the alert's state",
- "operationId": "Alerts_UpdateSubscriptionLevelStateToInProgress",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/AlertName"
- }
- ],
- "responses": {
- "204": {
- "description": "No Content"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/resolve": {
- "post": {
- "x-ms-examples": {
- "Update security alert state on a resource group from a security data location": {
- "$ref": "./examples/Alerts/UpdateAlertResourceGroupLocation_resolve_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "Update the alert's state",
- "operationId": "Alerts_UpdateResourceGroupLevelStateToResolve",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/AlertName"
- }
- ],
- "responses": {
- "204": {
- "description": "No Content"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/dismiss": {
- "post": {
- "x-ms-examples": {
- "Update security alert state on a resource group from a security data location": {
- "$ref": "./examples/Alerts/UpdateAlertResourceGroupLocation_dismiss_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "Update the alert's state",
- "operationId": "Alerts_UpdateResourceGroupLevelStateToDismiss",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/AlertName"
- }
- ],
- "responses": {
- "204": {
- "description": "No Content"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/activate": {
- "post": {
- "x-ms-examples": {
- "Update security alert state on a resource group from a security data location": {
- "$ref": "./examples/Alerts/UpdateAlertResourceGroupLocation_activate_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "Update the alert's state",
- "operationId": "Alerts_UpdateResourceGroupLevelStateToActivate",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/AlertName"
- }
- ],
- "responses": {
- "204": {
- "description": "No Content"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/inProgress": {
- "post": {
- "x-ms-examples": {
- "Update security alert state on a resource group from a security data location": {
- "$ref": "./examples/Alerts/UpdateAlertResourceGroupLocation_inProgress_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "Update the alert's state",
- "operationId": "Alerts_UpdateResourceGroupLevelStateToInProgress",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/AlertName"
- }
- ],
- "responses": {
- "204": {
- "description": "No Content"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/default/simulate": {
- "post": {
- "x-ms-examples": {
- "Simulate security alerts on a subscription": {
- "$ref": "./examples/Alerts/SimulateAlerts_example.json"
- }
- },
- "tags": [
- "Alerts"
- ],
- "description": "Simulate security alerts",
- "operationId": "Alerts_Simulate",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/AscLocation"
- },
- {
- "$ref": "#/parameters/AlertSimulatorRequestBody"
- }
- ],
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "original-uri"
- },
- "responses": {
- "202": {
- "description": "Accepted"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "Alert": {
- "type": "object",
- "description": "Security alert",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "describes security alert properties.",
- "$ref": "#/definitions/AlertProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "AlertEntity": {
- "type": "object",
- "additionalProperties": {
- "type": "object"
- },
- "description": "Changing set of properties depending on the entity type.",
- "properties": {
- "type": {
- "readOnly": true,
- "type": "string",
- "description": "Type of entity"
- }
- }
- },
- "AlertExtendedLinks": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "description": "Links related to the alert"
- },
- "AlertExtendedProperties": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "description": "Custom properties for the alert."
- },
- "AlertList": {
- "type": "object",
- "description": "List of security alerts",
- "properties": {
- "value": {
- "type": "array",
- "description": "describes security alert properties.",
- "items": {
- "$ref": "#/definitions/Alert"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "AlertProperties": {
- "type": "object",
- "description": "describes security alert properties.",
- "properties": {
- "version": {
- "readOnly": true,
- "type": "string",
- "description": "Schema version."
- },
- "alertType": {
- "readOnly": true,
- "type": "string",
- "description": "Unique identifier for the detection logic (all alert instances from the same detection logic will have the same alertType)."
- },
- "systemAlertId": {
- "readOnly": true,
- "type": "string",
- "description": "Unique identifier for the alert."
- },
- "productComponentName": {
- "readOnly": true,
- "type": "string",
- "description": "The name of Azure Security Center pricing tier which powering this alert. Learn more: https://docs.microsoft.com/en-us/azure/security-center/security-center-pricing"
- },
- "alertDisplayName": {
- "readOnly": true,
- "type": "string",
- "description": "The display name of the alert."
- },
- "description": {
- "readOnly": true,
- "type": "string",
- "description": "Description of the suspicious activity that was detected."
- },
- "severity": {
- "readOnly": true,
- "type": "string",
- "enum": [
- "Informational",
- "Low",
- "Medium",
- "High"
- ],
- "x-ms-enum": {
- "name": "alertSeverity",
- "modelAsString": true,
- "values": [
- {
- "value": "Informational",
- "description": "Informational"
- },
- {
- "value": "Low",
- "description": "Low"
- },
- {
- "value": "Medium",
- "description": "Medium"
- },
- {
- "value": "High",
- "description": "High"
- }
- ]
- },
- "description": "The risk level of the threat that was detected. Learn more: https://docs.microsoft.com/en-us/azure/security-center/security-center-alerts-overview#how-are-alerts-classified."
- },
- "intent": {
- "readOnly": true,
- "type": "string",
- "enum": [
- "Unknown",
- "PreAttack",
- "InitialAccess",
- "Persistence",
- "PrivilegeEscalation",
- "DefenseEvasion",
- "CredentialAccess",
- "Discovery",
- "LateralMovement",
- "Execution",
- "Collection",
- "Exfiltration",
- "CommandAndControl",
- "Impact",
- "Probing",
- "Exploitation"
- ],
- "x-ms-enum": {
- "name": "intent",
- "modelAsString": true,
- "values": [
- {
- "value": "Unknown",
- "description": "Unknown"
- },
- {
- "value": "PreAttack",
- "description": "PreAttack could be either an attempt to access a certain resource regardless of a malicious intent, or a failed attempt to gain access to a target system to gather information prior to exploitation. This step is usually detected as an attempt, originating from outside the network, to scan the target system and find a way in. Further details on the PreAttack stage can be read in [MITRE Pre-Att&ck matrix](https://attack.mitre.org/matrices/pre/)."
- },
- {
- "value": "InitialAccess",
- "description": "InitialAccess is the stage where an attacker manages to get foothold on the attacked resource."
- },
- {
- "value": "Persistence",
- "description": "Persistence is any access, action, or configuration change to a system that gives a threat actor a persistent presence on that system."
- },
- {
- "value": "PrivilegeEscalation",
- "description": "Privilege escalation is the result of actions that allow an adversary to obtain a higher level of permissions on a system or network."
- },
- {
- "value": "DefenseEvasion",
- "description": "Defense evasion consists of techniques an adversary may use to evade detection or avoid other defenses."
- },
- {
- "value": "CredentialAccess",
- "description": "Credential access represents techniques resulting in access to or control over system, domain, or service credentials that are used within an enterprise environment."
- },
- {
- "value": "Discovery",
- "description": "Discovery consists of techniques that allow the adversary to gain knowledge about the system and internal network."
- },
- {
- "value": "LateralMovement",
- "description": "Lateral movement consists of techniques that enable an adversary to access and control remote systems on a network and could, but does not necessarily, include execution of tools on remote systems."
- },
- {
- "value": "Execution",
- "description": "The execution tactic represents techniques that result in execution of adversary-controlled code on a local or remote system."
- },
- {
- "value": "Collection",
- "description": "Collection consists of techniques used to identify and gather information, such as sensitive files, from a target network prior to exfiltration."
- },
- {
- "value": "Exfiltration",
- "description": "Exfiltration refers to techniques and attributes that result or aid in the adversary removing files and information from a target network."
- },
- {
- "value": "CommandAndControl",
- "description": "The command and control tactic represents how adversaries communicate with systems under their control within a target network."
- },
- {
- "value": "Impact",
- "description": "Impact events primarily try to directly reduce the availability or integrity of a system, service, or network; including manipulation of data to impact a business or operational process."
- },
- {
- "value": "Probing",
- "description": "Probing could be either an attempt to access a certain resource regardless of a malicious intent, or a failed attempt to gain access to a target system to gather information prior to exploitation."
- },
- {
- "value": "Exploitation",
- "description": "Exploitation is the stage where an attacker manages to get a foothold on the attacked resource. This stage is relevant for compute hosts and resources such as user accounts, certificates etc."
- }
- ]
- },
- "description": "The kill chain related intent behind the alert. For list of supported values, and explanations of Azure Security Center's supported kill chain intents."
- },
- "startTimeUtc": {
- "readOnly": true,
- "type": "string",
- "format": "date-time",
- "description": "The UTC time of the first event or activity included in the alert in ISO8601 format."
- },
- "endTimeUtc": {
- "readOnly": true,
- "type": "string",
- "format": "date-time",
- "description": "The UTC time of the last event or activity included in the alert in ISO8601 format."
- },
- "resourceIdentifiers": {
- "readOnly": true,
- "type": "array",
- "description": "The resource identifiers that can be used to direct the alert to the right product exposure group (tenant, workspace, subscription etc.). There can be multiple identifiers of different type per alert.",
- "items": {
- "$ref": "#/definitions/ResourceIdentifier"
- },
- "x-ms-identifiers": []
- },
- "remediationSteps": {
- "readOnly": true,
- "type": "array",
- "description": "Manual action items to take to remediate the alert.",
- "items": {
- "readOnly": true,
- "type": "string"
- }
- },
- "vendorName": {
- "readOnly": true,
- "type": "string",
- "description": "The name of the vendor that raises the alert."
- },
- "status": {
- "readOnly": true,
- "type": "string",
- "enum": [
- "Active",
- "InProgress",
- "Resolved",
- "Dismissed"
- ],
- "x-ms-enum": {
- "name": "alertStatus",
- "modelAsString": true,
- "values": [
- {
- "value": "Active",
- "description": "An alert which doesn't specify a value is assigned the status 'Active'"
- },
- {
- "value": "InProgress",
- "description": "An alert which is in handling state"
- },
- {
- "value": "Resolved",
- "description": "Alert closed after handling"
- },
- {
- "value": "Dismissed",
- "description": "Alert dismissed as false positive"
- }
- ]
- },
- "description": "The life cycle status of the alert."
- },
- "extendedLinks": {
- "readOnly": true,
- "type": "array",
- "description": "Links related to the alert",
- "items": {
- "$ref": "#/definitions/AlertExtendedLinks"
- },
- "x-ms-identifiers": []
- },
- "alertUri": {
- "readOnly": true,
- "type": "string",
- "description": "A direct link to the alert page in Azure Portal."
- },
- "timeGeneratedUtc": {
- "readOnly": true,
- "type": "string",
- "format": "date-time",
- "description": "The UTC time the alert was generated in ISO8601 format."
- },
- "productName": {
- "readOnly": true,
- "type": "string",
- "description": "The name of the product which published this alert (Microsoft Sentinel, Microsoft Defender for Identity, Microsoft Defender for Endpoint, Microsoft Defender for Office, Microsoft Defender for Cloud Apps, and so on)."
- },
- "processingEndTimeUtc": {
- "readOnly": true,
- "type": "string",
- "format": "date-time",
- "description": "The UTC processing end time of the alert in ISO8601 format."
- },
- "entities": {
- "readOnly": true,
- "type": "array",
- "description": "A list of entities related to the alert.",
- "items": {
- "$ref": "#/definitions/AlertEntity"
- },
- "x-ms-identifiers": []
- },
- "isIncident": {
- "readOnly": true,
- "type": "boolean",
- "description": "This field determines whether the alert is an incident (a compound grouping of several alerts) or a single alert."
- },
- "correlationKey": {
- "readOnly": true,
- "type": "string",
- "description": "Key for corelating related alerts. Alerts with the same correlation key considered to be related."
- },
- "extendedProperties": {
- "$ref": "#/definitions/AlertExtendedProperties",
- "description": "Custom properties for the alert."
- },
- "compromisedEntity": {
- "readOnly": true,
- "type": "string",
- "description": "The display name of the resource most related to this alert."
- },
- "techniques": {
- "readOnly": true,
- "type": "array",
- "description": "kill chain related techniques behind the alert.",
- "items": {
- "readOnly": true,
- "type": "string"
- }
- },
- "subTechniques": {
- "readOnly": true,
- "type": "array",
- "description": "Kill chain related sub-techniques behind the alert.",
- "items": {
- "readOnly": true,
- "type": "string"
- }
- },
- "supportingEvidence": {
- "type": "object",
- "additionalProperties": {
- "type": "object"
- },
- "description": "Changing set of properties depending on the supportingEvidence type.",
- "properties": {
- "type": {
- "readOnly": true,
- "type": "string",
- "description": "Type of the supportingEvidence"
- }
- }
- }
- }
- },
- "AzureResourceIdentifier": {
- "type": "object",
- "description": "Azure resource identifier.",
- "x-ms-discriminator-value": "AzureResource",
- "allOf": [
- {
- "$ref": "#/definitions/ResourceIdentifier"
- }
- ],
- "properties": {
- "azureResourceId": {
- "readOnly": true,
- "type": "string",
- "description": "ARM resource identifier for the cloud resource being alerted on"
- }
- }
- },
- "LogAnalyticsIdentifier": {
- "type": "object",
- "description": "Represents a Log Analytics workspace scope identifier.",
- "x-ms-discriminator-value": "LogAnalytics",
- "allOf": [
- {
- "$ref": "#/definitions/ResourceIdentifier"
- }
- ],
- "properties": {
- "workspaceId": {
- "readOnly": true,
- "type": "string",
- "description": "The LogAnalytics workspace id that stores this alert."
- },
- "workspaceSubscriptionId": {
- "readOnly": true,
- "type": "string",
- "description": "The azure subscription id for the LogAnalytics workspace storing this alert.",
- "pattern": "^[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}$"
- },
- "workspaceResourceGroup": {
- "readOnly": true,
- "type": "string",
- "description": "The azure resource group for the LogAnalytics workspace storing this alert"
- },
- "agentId": {
- "readOnly": true,
- "type": "string",
- "description": "(optional) The LogAnalytics agent id reporting the event that this alert is based on."
- }
- }
- },
- "ResourceIdentifier": {
- "type": "object",
- "description": "A resource identifier for an alert which can be used to direct the alert to the right product exposure group (tenant, workspace, subscription etc.).",
- "discriminator": "type",
- "required": [
- "type"
- ],
- "properties": {
- "type": {
- "type": "string",
- "description": "There can be multiple identifiers of different type per alert, this field specify the identifier type.",
- "enum": [
- "AzureResource",
- "LogAnalytics"
- ],
- "x-ms-enum": {
- "name": "ResourceIdentifierType",
- "modelAsString": true,
- "values": [
- {
- "value": "AzureResource"
- },
- {
- "value": "LogAnalytics"
- }
- ]
- }
- }
- }
- },
- "AlertSimulatorRequestBody": {
- "type": "object",
- "description": "Alert Simulator request body.",
- "properties": {
- "properties": {
- "description": "Alert Simulator request body data.",
- "$ref": "#/definitions/AlertSimulatorRequestProperties"
- }
- }
- },
- "AlertSimulatorRequestProperties": {
- "type": "object",
- "description": "Describes properties of an alert simulation request",
- "discriminator": "kind",
- "required": [
- "kind"
- ],
- "additionalProperties": true,
- "properties": {
- "kind": {
- "type": "string",
- "description": "The kind of alert simulation.",
- "enum": [
- "Bundles"
- ],
- "x-ms-enum": {
- "name": "kind",
- "modelAsString": true,
- "values": [
- {
- "value": "Bundles",
- "description": "Simulate alerts according to bundles"
- }
- ]
- }
- }
- }
- },
- "AlertSimulatorBundlesRequestProperties": {
- "type": "object",
- "description": "Simulate alerts according to this bundles.",
- "x-ms-discriminator-value": "Bundles",
- "properties": {
- "bundles": {
- "type": "array",
- "description": "Bundles list.",
- "items": {
- "$ref": "#/definitions/BundleType"
- }
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/AlertSimulatorRequestProperties"
- }
- ]
- },
- "BundleType": {
- "type": "string",
- "description": "Alert Simulator supported bundles.",
- "enum": [
- "AppServices",
- "DNS",
- "KeyVaults",
- "KubernetesService",
- "ResourceManager",
- "SqlServers",
- "StorageAccounts",
- "VirtualMachines",
- "CosmosDbs"
- ],
- "x-ms-enum": {
- "name": "BundleType",
- "modelAsString": true,
- "values": [
- {
- "value": "AppServices"
- },
- {
- "value": "DNS"
- },
- {
- "value": "KeyVaults"
- },
- {
- "value": "KubernetesService"
- },
- {
- "value": "ResourceManager"
- },
- {
- "value": "SqlServers"
- },
- {
- "value": "StorageAccounts"
- },
- {
- "value": "VirtualMachines"
- },
- {
- "value": "CosmosDbs"
- }
- ]
- }
- }
- },
- "parameters": {
- "AlertName": {
- "name": "alertName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Name of the alert object",
- "x-ms-parameter-location": "method"
- },
- "AlertSimulatorRequestBody": {
- "name": "alertSimulatorRequestBody",
- "in": "body",
- "required": true,
- "description": "Alert Simulator Request Properties",
- "schema": {
- "$ref": "#/definitions/AlertSimulatorRequestBody"
- },
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2022-05-01/settings.json b/swagger-specs/security/resource-manager/Microsoft.Security/stable/2022-05-01/settings.json
deleted file mode 100644
index d3ded47b6..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2022-05-01/settings.json
+++ /dev/null
@@ -1,306 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2022-05-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/settings": {
- "get": {
- "x-ms-examples": {
- "Get settings of subscription": {
- "$ref": "./examples/Settings/GetSettings_example.json"
- }
- },
- "tags": [
- "Settings"
- ],
- "description": "Settings about different configurations in Microsoft Defender for Cloud",
- "operationId": "Settings_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SettingsList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/settings/{settingName}": {
- "get": {
- "x-ms-examples": {
- "Get a setting on subscription": {
- "$ref": "./examples/Settings/GetSetting_example.json"
- }
- },
- "tags": [
- "Settings"
- ],
- "description": "Settings of different configurations in Microsoft Defender for Cloud",
- "operationId": "Settings_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/SettingName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Setting"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Update a setting for subscription": {
- "$ref": "./examples/Settings/UpdateSetting_example.json"
- }
- },
- "tags": [
- "Settings"
- ],
- "description": "updating settings about different configurations in Microsoft Defender for Cloud",
- "operationId": "Settings_Update",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
- },
- {
- "$ref": "#/parameters/SettingName"
- },
- {
- "$ref": "#/parameters/Setting"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Setting"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "SettingsList": {
- "type": "object",
- "description": "Subscription settings list.",
- "properties": {
- "value": {
- "type": "array",
- "description": "The settings list.",
- "items": {
- "$ref": "#/definitions/Setting"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "DataExportSettings": {
- "type": "object",
- "description": "Represents a data export setting",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "Data export setting data",
- "$ref": "#/definitions/DataExportSettingProperties"
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/Setting"
- }
- ],
- "x-ms-discriminator-value": "DataExportSettings"
- },
- "AlertSyncSettings": {
- "type": "object",
- "description": "Represents an alert sync setting",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "Alert sync setting data",
- "$ref": "#/definitions/AlertSyncSettingProperties"
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/Setting"
- }
- ],
- "x-ms-discriminator-value": "AlertSyncSettings"
- },
- "Setting": {
- "type": "object",
- "description": "The kind of the security setting",
- "properties": {
- "kind": {
- "type": "string",
- "description": "the kind of the settings string",
- "enum": [
- "DataExportSettings",
- "AlertSuppressionSetting",
- "AlertSyncSettings"
- ],
- "x-ms-enum": {
- "name": "SettingKind",
- "modelAsString": true,
- "values": [
- {
- "value": "DataExportSettings"
- },
- {
- "value": "AlertSuppressionSetting"
- },
- {
- "value": "AlertSyncSettings"
- }
- ]
- }
- }
- },
- "discriminator": "kind",
- "required": [
- "kind"
- ],
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "DataExportSettingProperties": {
- "type": "object",
- "description": "The data export setting properties",
- "properties": {
- "enabled": {
- "type": "boolean",
- "description": "Is the data export setting enabled"
- }
- },
- "required": [
- "enabled"
- ]
- },
- "AlertSyncSettingProperties": {
- "type": "object",
- "description": "The alert sync setting properties",
- "properties": {
- "enabled": {
- "type": "boolean",
- "description": "Is the alert sync setting enabled"
- }
- },
- "required": [
- "enabled"
- ]
- }
- },
- "parameters": {
- "SettingName": {
- "name": "settingName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the setting",
- "enum": [
- "MCAS",
- "WDATP",
- "WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW",
- "WDATP_UNIFIED_SOLUTION",
- "Sentinel"
- ],
- "x-ms-enum": {
- "name": "SettingName",
- "modelAsString": true
- },
- "x-ms-parameter-location": "method"
- },
- "Setting": {
- "name": "setting",
- "in": "body",
- "required": true,
- "description": "Setting object",
- "schema": {
- "$ref": "#/definitions/Setting"
- },
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2023-05-01/ServerVulnerabilityAssessmentsSettings.json b/swagger-specs/security/resource-manager/Microsoft.Security/stable/2023-05-01/ServerVulnerabilityAssessmentsSettings.json
deleted file mode 100644
index 8e297f9d5..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2023-05-01/ServerVulnerabilityAssessmentsSettings.json
+++ /dev/null
@@ -1,330 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Security Center",
- "description": "API spec for Microsoft.Security (Azure Security Center) resource provider",
- "version": "2023-05-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/serverVulnerabilityAssessmentsSettings": {
- "get": {
- "x-ms-examples": {
- "List the server vulnerability assessments settings set on the subscription": {
- "$ref": "./examples/ServerVulnerabilityAssessmentsSettings/ListServerVulnerabilityAssessmentsSettings_example.json"
- }
- },
- "tags": [
- "ServerVulnerabilityAssessmentsSettings"
- ],
- "description": "Get a list of all the server vulnerability assessments settings over a subscription level scope",
- "operationId": "ServerVulnerabilityAssessmentsSettings_ListBySubscription",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ServerVulnerabilityAssessmentsSettingsList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/serverVulnerabilityAssessmentsSettings/{settingKind}": {
- "get": {
- "x-ms-examples": {
- "Get the server vulnerability assessments setting of the kind settingKind that is set on the subscription": {
- "$ref": "./examples/ServerVulnerabilityAssessmentsSettings/GetServerVulnerabilityAssessmentsSetting_example.json"
- }
- },
- "tags": [
- "ServerVulnerabilityAssessmentsSettings"
- ],
- "description": "Get a server vulnerability assessments setting of the requested kind, that is set on the subscription",
- "operationId": "ServerVulnerabilityAssessmentsSettings_Get",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/SettingKind"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ServerVulnerabilityAssessmentsSetting"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Set a server vulnerability assessments setting of the kind settingKind on the subscription": {
- "$ref": "./examples/ServerVulnerabilityAssessmentsSettings/PutServerVulnerabilityAssessmentsSetting_example.json"
- }
- },
- "tags": [
- "ServerVulnerabilityAssessmentsSettings"
- ],
- "description": "Create or update a server vulnerability assessments setting of the requested kind on the subscription",
- "operationId": "ServerVulnerabilityAssessmentsSettings_CreateOrUpdate",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/SettingKind"
- },
- {
- "$ref": "#/parameters/SettingBody"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ServerVulnerabilityAssessmentsSetting"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/ServerVulnerabilityAssessmentsSetting"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "delete": {
- "x-ms-examples": {
- "Delete the server vulnerability assessments setting of the kind settingKind from the subscription": {
- "$ref": "./examples/ServerVulnerabilityAssessmentsSettings/DeleteServerVulnerabilityAssessmentsSetting_example.json"
- }
- },
- "tags": [
- "ServerVulnerabilityAssessmentsSettings"
- ],
- "description": "Delete the server vulnerability assessments setting of the requested kind from the subscription",
- "operationId": "ServerVulnerabilityAssessmentsSettings_Delete",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/SettingKind"
- }
- ],
- "responses": {
- "200": {
- "description": "OK - Setting was deleted"
- },
- "204": {
- "description": "No Content - Setting does not exist"
- },
- "default": {
- "description": "Error response describing why the operation failed",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "ServerVulnerabilityAssessmentsSettingsList": {
- "type": "object",
- "description": "A page of a server vulnerability assessments settings list",
- "properties": {
- "value": {
- "description": "A collection of server vulnerability assessments settings in this page",
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/ServerVulnerabilityAssessmentsSetting"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page"
- }
- }
- },
- "ServerVulnerabilityAssessmentsSetting": {
- "type": "object",
- "description": "A base vulnerability assessments setting on servers in the defined scope.",
- "properties": {
- "kind": {
- "description": "The kind of the server vulnerability assessments setting.",
- "$ref": "#/definitions/ServerVulnerabilityAssessmentsSettingKind"
- }
- },
- "discriminator": "kind",
- "required": [
- "kind"
- ],
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource"
- }
- ]
- },
- "AzureServersSetting": {
- "type": "object",
- "description": "A vulnerability assessments setting on Azure servers in the defined scope.",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "The vulnerability assessments setting properties on Azure servers in the defined scope.",
- "$ref": "#/definitions/ServerVulnerabilityAssessmentsAzureSettingProperties"
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/ServerVulnerabilityAssessmentsSetting"
- }
- ],
- "x-ms-discriminator-value": "AzureServersSetting"
- },
- "ServerVulnerabilityAssessmentsAzureSettingProperties": {
- "type": "object",
- "description": "Describes the vulnerability assessments setting properties on Azure servers in the defined scope.",
- "properties": {
- "selectedProvider": {
- "description": "The selected vulnerability assessments provider on Azure servers in the defined scope.",
- "type": "string",
- "enum": [
- "MdeTvm"
- ],
- "x-ms-enum": {
- "name": "ServerVulnerabilityAssessmentsAzureSettingSelectedProvider",
- "modelAsString": true,
- "values": [
- {
- "description": "Microsoft Defender for Endpoints threat and vulnerability management.",
- "value": "MdeTvm"
- }
- ]
- }
- }
- },
- "required": [
- "selectedProvider"
- ]
- },
- "ServerVulnerabilityAssessmentsSettingKind": {
- "type": "string",
- "description": "The kind of the server vulnerability assessments setting",
- "enum": [
- "AzureServersSetting"
- ],
- "x-ms-enum": {
- "name": "ServerVulnerabilityAssessmentsSettingKind",
- "modelAsString": true,
- "values": [
- {
- "value": "AzureServersSetting"
- }
- ]
- }
- }
- },
- "parameters": {
- "SettingKind": {
- "name": "settingKind",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The kind of the server vulnerability assessments setting",
- "enum": [
- "azureServersSetting"
- ],
- "x-ms-enum": {
- "name": "ServerVulnerabilityAssessmentsSettingKindName",
- "modelAsString": true,
- "values": [
- {
- "value": "azureServersSetting"
- }
- ]
- },
- "x-ms-parameter-location": "method"
- },
- "SettingBody": {
- "name": "serverVulnerabilityAssessmentsSetting",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ServerVulnerabilityAssessmentsSetting"
- },
- "description": "A server vulnerability assessments setting over a predefined scope",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2023-11-15/apiCollections.json b/swagger-specs/security/resource-manager/Microsoft.Security/stable/2023-11-15/apiCollections.json
deleted file mode 100644
index a4f66294c..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2023-11-15/apiCollections.json
+++ /dev/null
@@ -1,474 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2023-11-15"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Security/apiCollections": {
- "get": {
- "x-ms-examples": {
- "Gets a list of API collections within a subscription that have been onboarded to Microsoft Defender for APIs": {
- "$ref": "./examples/ApiCollections/APICollections_ListBySubscription_example.json"
- }
- },
- "tags": [
- "D4APICollectionList"
- ],
- "description": "Gets a list of API collections within a subscription that have been onboarded to Microsoft Defender for APIs.",
- "summary": "Gets a list of API collections within a subscription",
- "operationId": "APICollections_ListBySubscription",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "This indicates a successful response. The response contains the list of API collections.",
- "schema": {
- "$ref": "#/definitions/ApiCollectionList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/apiCollections": {
- "get": {
- "x-ms-examples": {
- "Gets a list of API collections within a resource group that have been onboarded to Microsoft Defender for APIs": {
- "$ref": "./examples/ApiCollections/APICollections_ListByResourceGroup_example.json"
- }
- },
- "tags": [
- "D4APICollectionList"
- ],
- "description": "Gets a list of API collections within a resource group that have been onboarded to Microsoft Defender for APIs.",
- "summary": "Gets a list of API collections within a resource group",
- "operationId": "APICollections_ListByResourceGroup",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "This indicates a successful response. The response contains the list of API collections.",
- "schema": {
- "$ref": "#/definitions/ApiCollectionList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/providers/Microsoft.Security/apiCollections": {
- "get": {
- "x-ms-examples": {
- "Gets a list of Azure API Management APIs that have been onboarded to Microsoft Defender for APIs": {
- "$ref": "./examples/ApiCollections/APICollections_ListByAzureApiManagementService_example.json"
- }
- },
- "tags": [
- "D4APICollectionList",
- "APIMConfig"
- ],
- "description": "Gets a list of Azure API Management APIs that have been onboarded to Microsoft Defender for APIs. If an Azure API Management API is onboarded to Microsoft Defender for APIs, the system will monitor the operations within the Azure API Management API for intrusive behaviors and provide alerts for attacks that have been detected.",
- "summary": "Gets a list of onboarded Azure API Management APIs",
- "operationId": "APICollections_ListByAzureApiManagementService",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ApiManagementServiceNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "This indicates a successful response. The response contains the list of API collections.",
- "schema": {
- "$ref": "#/definitions/ApiCollectionList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/providers/Microsoft.Security/apiCollections/{apiId}": {
- "get": {
- "x-ms-examples": {
- "Gets an Azure API Management API if it has been onboarded to Microsoft Defender for APIs": {
- "$ref": "./examples/ApiCollections/APICollections_GetByAzureApiManagementService_example.json"
- }
- },
- "tags": [
- "D4APICollection",
- "APIMConfig"
- ],
- "description": "Gets an Azure API Management API if it has been onboarded to Microsoft Defender for APIs. If an Azure API Management API is onboarded to Microsoft Defender for APIs, the system will monitor the operations within the Azure API Management API for intrusive behaviors and provide alerts for attacks that have been detected.",
- "summary": "Gets an onboarded Azure API Management API",
- "operationId": "APICollections_GetByAzureApiManagementService",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ApiManagementServiceNameParameter"
- },
- {
- "$ref": "#/parameters/ApiManagementApiIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "This indicates a successful response. The response contains the properties of the API collection.",
- "schema": {
- "$ref": "#/definitions/ApiCollection"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Onboard an Azure API Management API to Microsoft Defender for APIs": {
- "$ref": "./examples/ApiCollections/APICollections_OnboardAzureApiManagementApi_example.json"
- }
- },
- "tags": [
- "OnboardToD4API",
- "APIMConfig"
- ],
- "description": "Onboard an Azure API Management API to Microsoft Defender for APIs. The system will start monitoring the operations within the Azure Management API for intrusive behaviors and provide alerts for attacks that have been detected.",
- "summary": "Onboard an Azure API Management API to Microsoft Defender for APIs",
- "operationId": "APICollections_OnboardAzureApiManagementApi",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ApiManagementServiceNameParameter"
- },
- {
- "$ref": "#/parameters/ApiManagementApiIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "This indicates a successful response for the create or update operation. The response contains the properties of the API collection.",
- "schema": {
- "$ref": "#/definitions/ApiCollection"
- }
- },
- "201": {
- "description": "This indicates a successful response for the create or update operation. The response contains the properties of the API collection.",
- "headers": {
- "Location": {
- "type": "string"
- }
- },
- "schema": {
- "$ref": "#/definitions/ApiCollection"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "location"
- }
- },
- "delete": {
- "x-ms-examples": {
- "Offboard an Azure API Management API from Microsoft Defender for APIs": {
- "$ref": "./examples/ApiCollections/APICollections_OffboardAzureApiManagementApi_example.json"
- }
- },
- "tags": [
- "OffboardFromD4API",
- "APIMConfig"
- ],
- "description": "Offboard an Azure API Management API from Microsoft Defender for APIs. The system will stop monitoring the operations within the Azure API Management API for intrusive behaviors.",
- "summary": "Offboard an Azure API Management API from Microsoft Defender for APIs",
- "operationId": "APICollections_OffboardAzureApiManagementApi",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ApiManagementServiceNameParameter"
- },
- {
- "$ref": "#/parameters/ApiManagementApiIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "This indicates a successful response for the delete operation."
- },
- "204": {
- "description": "This indicates a successful response for the delete operation."
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "ApiCollectionList": {
- "type": "object",
- "description": "Page of a list of API collections as represented by Microsoft Defender for APIs.",
- "properties": {
- "value": {
- "description": "API collections in this page.",
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/ApiCollection"
- }
- },
- "nextLink": {
- "readOnly": true,
- "type": "string",
- "description": "The URI to fetch the next page."
- }
- }
- },
- "ApiCollection": {
- "type": "object",
- "description": "An API collection as represented by Microsoft Defender for APIs.",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ApiCollectionProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "ApiCollectionProperties": {
- "type": "object",
- "description": "Describes the properties of an API collection.",
- "properties": {
- "provisioningState": {
- "type": "string",
- "readOnly": true,
- "description": "Gets the provisioning state of the API collection.",
- "enum": [
- "Succeeded",
- "Failed",
- "Canceled",
- "InProgress"
- ],
- "x-ms-enum": {
- "name": "ProvisioningState",
- "modelAsString": true,
- "values": [
- {
- "value": "Succeeded"
- },
- {
- "value": "Failed"
- },
- {
- "value": "Canceled"
- },
- {
- "value": "InProgress"
- }
- ]
- }
- },
- "displayName": {
- "readOnly": true,
- "type": "string",
- "description": "The display name of the API collection."
- },
- "discoveredVia": {
- "readOnly": true,
- "type": "string",
- "description": "The resource Id of the resource from where this API collection was discovered.",
- "format": "arm-id",
- "x-ms-arm-id-details": {
- "allowedResources": [
- {
- "type": "Microsoft.ApiManagement/service"
- }
- ]
- }
- },
- "baseUrl": {
- "readOnly": true,
- "type": "string",
- "format": "uri",
- "description": "The base URI for this API collection. All endpoints of this API collection extend this base URI."
- },
- "numberOfApiEndpoints": {
- "readOnly": true,
- "type": "integer",
- "format": "int64",
- "description": "The number of API endpoints discovered in this API collection."
- },
- "numberOfInactiveApiEndpoints": {
- "readOnly": true,
- "type": "integer",
- "format": "int64",
- "description": "The number of API endpoints in this API collection that have not received any API traffic in the last 30 days."
- },
- "numberOfUnauthenticatedApiEndpoints": {
- "readOnly": true,
- "type": "integer",
- "format": "int64",
- "description": "The number of API endpoints in this API collection that are unauthenticated."
- },
- "numberOfExternalApiEndpoints": {
- "readOnly": true,
- "type": "integer",
- "format": "int64",
- "description": "The number of API endpoints in this API collection for which API traffic from the internet was observed."
- },
- "numberOfApiEndpointsWithSensitiveDataExposed": {
- "readOnly": true,
- "type": "integer",
- "format": "int64",
- "description": "The number of API endpoints in this API collection which are exposing sensitive data in their requests and/or responses."
- },
- "sensitivityLabel": {
- "readOnly": true,
- "type": "string",
- "description": "The highest priority sensitivity label from Microsoft Purview in this API collection."
- }
- }
- }
- },
- "parameters": {
- "ApiManagementServiceNameParameter": {
- "name": "serviceName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the API Management service.",
- "minLength": 1,
- "maxLength": 50,
- "pattern": "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$",
- "x-ms-parameter-location": "method"
- },
- "ApiManagementApiIdParameter": {
- "name": "apiId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "API revision identifier. Must be unique in the API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number.",
- "minLength": 1,
- "maxLength": 256,
- "pattern": "^[^*#&+:<>?]+$",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2024-01-01/pricings.json b/swagger-specs/security/resource-manager/Microsoft.Security/stable/2024-01-01/pricings.json
deleted file mode 100644
index 3b9328ffb..000000000
--- a/swagger-specs/security/resource-manager/Microsoft.Security/stable/2024-01-01/pricings.json
+++ /dev/null
@@ -1,508 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Microsoft Defender for Cloud",
- "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
- "version": "2024-01-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/{scopeId}/providers/Microsoft.Security/pricings/{pricingName}": {
- "get": {
- "x-ms-examples": {
- "Get pricings on subscription - VirtualMachines plan": {
- "$ref": "./examples/Pricings/GetPricingByNameVirtualMachines_example.json"
- },
- "Get pricings on resource - VirtualMachines plan": {
- "$ref": "./examples/Pricings/GetResourcePricingByNameVirtualMachines_example.json"
- },
- "Get pricings on subscription - Dns plan": {
- "$ref": "./examples/Pricings/GetPricingByNameDns_example.json"
- },
- "Get pricings on subscription - StorageAccounts plan": {
- "$ref": "./examples/Pricings/GetPricingByNameStorageAccounts_example.json"
- },
- "Get pricings on subscription - Containers plan": {
- "$ref": "./examples/Pricings/GetPricingByNameContainers_example.json"
- },
- "Get pricings on subscription - CloudPosture plan": {
- "$ref": "./examples/Pricings/GetPricingByNameCloudPosture_example.json"
- }
- },
- "tags": [
- "Pricings"
- ],
- "description": "Get the Defender plans pricing configurations of the selected scope (valid scopes are resource id or a subscription id). At the resource level, supported resource types are 'VirtualMachines, VMSS and ARC Machines'.",
- "operationId": "Pricings_Get",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ScopeId"
- },
- {
- "$ref": "#/parameters/PricingName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Pricing"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Update pricing on subscription (example for CloudPosture plan)": {
- "$ref": "./examples/Pricings/PutPricingByName_example.json"
- },
- "Update pricing on subscription (example for VirtualMachines plan)": {
- "$ref": "./examples/Pricings/PutPricingVMsByName_example.json"
- },
- "Update pricing on resource (example for VirtualMachines plan)": {
- "$ref": "./examples/Pricings/PutResourcePricingByNameVirtualMachines_example.json"
- },
- "Update pricing on subscription (example for CloudPosture plan) - partial success": {
- "$ref": "./examples/Pricings/PutPricingByNamePartialSuccess_example.json"
- }
- },
- "tags": [
- "Pricings"
- ],
- "description": "Updates a provided Microsoft Defender for Cloud pricing configuration in the scope. Valid scopes are: subscription id or a specific resource id (Supported resources are: 'VirtualMachines, VMSS and ARC Machines' and only for plan='VirtualMachines' and subPlan='P1').",
- "operationId": "Pricings_Update",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ScopeId"
- },
- {
- "$ref": "#/parameters/PricingName"
- },
- {
- "$ref": "#/parameters/Pricing"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully updated",
- "schema": {
- "$ref": "#/definitions/Pricing"
- }
- },
- "201": {
- "description": "Successfully created.",
- "schema": {
- "$ref": "#/definitions/Pricing"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "delete": {
- "x-ms-examples": {
- "Delete a pricing on resource": {
- "$ref": "./examples/Pricings/DeleteResourcePricing_example.json"
- }
- },
- "tags": [
- "Pricings"
- ],
- "description": "Deletes a provided Microsoft Defender for Cloud pricing configuration in a specific resource. Valid only for resource scope (Supported resources are: 'VirtualMachines, VMSS and ARC MachinesS').",
- "operationId": "Pricings_Delete",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ScopeResourceId"
- },
- {
- "$ref": "#/parameters/PricingName"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully deleted the pricing configuration of the resource."
- },
- "204": {
- "description": "No Content - Pricing does not exist"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- },
- "/{scopeId}/providers/Microsoft.Security/pricings": {
- "get": {
- "x-ms-examples": {
- "Get pricings on subscription": {
- "$ref": "./examples/Pricings/ListPricings_example.json"
- },
- "Get pricings on subscription with plans filter": {
- "$ref": "./examples/Pricings/ListPricingsWithPlanFilter_example.json"
- },
- "Get pricings on resource": {
- "$ref": "./examples/Pricings/ListResourcePricings_example.json"
- }
- },
- "tags": [
- "Pricings"
- ],
- "description": "Lists Microsoft Defender for Cloud pricing configurations of the scopeId, that match the optional given $filter. Valid scopes are: subscription id or a specific resource id (Supported resources are: 'VirtualMachines, VMSS and ARC Machines'). Valid $filter is: 'name in ({planName1},{planName2},...)'. If $filter is not provided, the unfiltered list will be returned. If '$filter=name in (planName1,planName2)' is provided, the returned list includes the pricings set for 'planName1' and 'planName2' only.",
- "operationId": "Pricings_List",
- "parameters": [
- {
- "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ScopeId"
- },
- {
- "$ref": "../../../common/v1/types.json#/parameters/ODataFilter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/PricingList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/v1/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "PricingList": {
- "type": "object",
- "description": "List of pricing configurations response.",
- "required": [
- "value"
- ],
- "properties": {
- "value": {
- "type": "array",
- "description": "List of pricing configurations",
- "items": {
- "$ref": "#/definitions/Pricing"
- }
- }
- }
- },
- "Pricing": {
- "type": "object",
- "description": "Microsoft Defender for Cloud is provided in two pricing tiers: free and standard. The standard tier offers advanced security capabilities, while the free tier offers basic security features.",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "description": "Pricing data",
- "$ref": "#/definitions/PricingProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/Resource"
- }
- ]
- },
- "PricingProperties": {
- "type": "object",
- "description": "Pricing properties for the relevant scope",
- "properties": {
- "pricingTier": {
- "type": "string",
- "description": "Indicates whether the Defender plan is enabled on the selected scope. Microsoft Defender for Cloud is provided in two pricing tiers: free and standard. The standard tier offers advanced security capabilities, while the free tier offers basic security features.",
- "enum": [
- "Free",
- "Standard"
- ],
- "x-ms-enum": {
- "name": "pricingTier",
- "modelAsString": true,
- "values": [
- {
- "value": "Free",
- "description": "Get free Microsoft Defender for Cloud experience with basic security features"
- },
- {
- "value": "Standard",
- "description": "Get the standard Microsoft Defender for Cloud experience with advanced security features"
- }
- ]
- }
- },
- "subPlan": {
- "type": "string",
- "description": "The sub-plan selected for a Standard pricing configuration, when more than one sub-plan is available. Each sub-plan enables a set of security features. When not specified, full plan is applied. For VirtualMachines plan, available sub plans are 'P1' & 'P2', where for resource level only 'P1' sub plan is supported."
- },
- "freeTrialRemainingTime": {
- "type": "string",
- "format": "duration",
- "readOnly": true,
- "description": "The duration left for the subscriptions free trial period - in ISO 8601 format (e.g. P3Y6M4DT12H30M5S)."
- },
- "enablementTime": {
- "type": "string",
- "format": "date-time",
- "readOnly": true,
- "description": "Optional. If `pricingTier` is `Standard` then this property holds the date of the last time the `pricingTier` was set to `Standard`, when available (e.g 2023-03-01T12:42:42.1921106Z)."
- },
- "enforce": {
- "type": "string",
- "description": "If set to \"False\", it allows the descendants of this scope to override the pricing configuration set on this scope (allows setting inherited=\"False\"). If set to \"True\", it prevents overrides and forces this pricing configuration on all the descendants of this scope. This field is only available for subscription-level pricing.",
- "enum": [
- "False",
- "True"
- ],
- "x-ms-enum": {
- "name": "enforce",
- "modelAsString": true,
- "values": [
- {
- "value": "False",
- "description": "Allows the descendants of this scope to override the pricing configuration set on this scope (allows setting inherited=\"False\")"
- },
- {
- "value": "True",
- "description": "Prevents overrides and forces the current scope's pricing configuration to all descendants"
- }
- ]
- }
- },
- "inherited": {
- "type": "string",
- "readOnly": true,
- "description": "\"inherited\" = \"True\" indicates that the current scope inherits its pricing configuration from its parent. The ID of the parent scope that provides the inherited configuration is displayed in the \"inheritedFrom\" field. On the other hand, \"inherited\" = \"False\" indicates that the current scope has its own pricing configuration explicitly set, and does not inherit from its parent. This field is read only and available only for resource-level pricing.",
- "enum": [
- "True",
- "False"
- ],
- "x-ms-enum": {
- "name": "inherited",
- "modelAsString": true,
- "values": [
- {
- "value": "True",
- "description": "Indicates that the current scope is inheriting its pricing configuration from its parent"
- },
- {
- "value": "False",
- "description": "Indicates that the current scope sets its own pricing configuration and does not inherit it from its parent"
- }
- ]
- }
- },
- "inheritedFrom": {
- "type": "string",
- "readOnly": true,
- "description": "The id of the scope inherited from. \"Null\" if not inherited. This field is only available for resource-level pricing."
- },
- "resourcesCoverageStatus": {
- "type": "string",
- "readOnly": true,
- "description": "This field is available for subscription-level only, and reflects the coverage status of the resources under the subscription. Please note: The \"pricingTier\" field reflects the plan status of the subscription. However, since the plan status can also be defined at the resource level, there might be misalignment between the subscription's plan status and the resource status. This field helps indicate the coverage status of the resources.",
- "enum": [
- "FullyCovered",
- "PartiallyCovered",
- "NotCovered"
- ],
- "x-ms-enum": {
- "name": "resourcesCoverageStatus",
- "modelAsString": true,
- "values": [
- {
- "value": "FullyCovered",
- "description": "This value indicates that all resources associated with the subscription have the Defender plan enabled."
- },
- {
- "value": "PartiallyCovered",
- "description": "This value indicates that some resources under the subscription have the Defender plan enabled, while others have it disabled. There is a mixed coverage status among resources."
- },
- {
- "value": "NotCovered",
- "description": "This value indicates that the Defender plan is disabled for all resources under the subscription. None of the resources are protected by the Defender plan."
- }
- ]
- }
- },
- "extensions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Extension"
- },
- "description": "Optional. List of extensions offered under a plan.",
- "x-ms-identifiers": []
- },
- "deprecated": {
- "type": "boolean",
- "readOnly": true,
- "description": "Optional. True if the plan is deprecated. If there are replacing plans they will appear in `replacedBy` property"
- },
- "replacedBy": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "readOnly": true,
- "description": "Optional. List of plans that replace this plan. This property exists only if this plan is deprecated."
- }
- },
- "required": [
- "pricingTier"
- ]
- },
- "Extension": {
- "type": "object",
- "description": "A plan's extension properties",
- "properties": {
- "name": {
- "type": "string",
- "description": "The extension name. Supported values are:
**AgentlessDiscoveryForKubernetes** - Provides zero footprint, API-based discovery of Kubernetes clusters, their configurations and deployments. The collected data is used to create a contextualized security graph for Kubernetes clusters, provide risk hunting capabilities, and visualize risks and threats to Kubernetes environments and workloads.
Available for CloudPosture plan and Containers plan.
**OnUploadMalwareScanning** - Limits the GB to be scanned per month for each storage account within the subscription. Once this limit reached on a given storage account, Blobs won't be scanned during current calendar month.
Available for StorageAccounts plan (DefenderForStorageV2 sub plans).
**SensitiveDataDiscovery** - Sensitive data discovery identifies Blob storage container with sensitive data such as credentials, credit cards, and more, to help prioritize and investigate security events.
Available for StorageAccounts plan (DefenderForStorageV2 sub plan) and CloudPosture plan.
**ContainerRegistriesVulnerabilityAssessments** - Provides vulnerability management for images stored in your container registries.
Available for CloudPosture plan and Containers plan.
**MdeDesignatedSubscription** - Direct onboarding is a seamless integration between Defender for Endpoint and Defender for Cloud that doesn’t require extra software deployment on your servers. The onboarded resources will be presented under a designated Azure Subscription you configure
Available for VirtualMachines plan (P1 and P2 sub plans).
**AgentlessVmScanning** - Scans your machines for installed software, vulnerabilities, malware and secret scanning without relying on agents or impacting machine performance. Learn more here https://learn.microsoft.com/en-us/azure/defender-for-cloud/concept-agentless-data-collection.
Available for CloudPosture plan, VirtualMachines plan (P2 sub plan) and Containers plan.
**EntraPermissionsManagement** - Permissions Management provides Cloud Infrastructure Entitlement Management (CIEM) capabilities that helps organizations to manage and control user access and entitlements in their cloud infrastructure - important attack vector for cloud environments.
Permissions Management analyzes all permissions and active usage, and suggests recommendations to reduce permissions to enforce the principle of least privilege. Learn more here https://learn.microsoft.com/en-us/azure/defender-for-cloud/permissions-management.
Available for CloudPosture plan.
**FileIntegrityMonitoring** - File integrity monitoring (FIM), examines operating system files.
Windows registries, Linux system files, in real time, for changes that might indicate an attack.
Available for VirtualMachines plan (P2 sub plan).
**ContainerSensor** - The sensor is based on IG and provides a rich threat detection suite for Kubernetes clusters, nodes, and workloads, powered by Microsoft leading threat intelligence, provides mapping to MITRE ATT&CK framework.
Available for Containers plan.
**AIPromptEvidence** - Exposes the prompts passed between the user and the AI model as alert evidence. This helps classify and triage the alerts with relevant user context. The prompt snippets will include only segments of the user prompt or model response that were deemed suspicious and relevant for security classifications. The prompt evidence will be available through Defender portal as part of each alert.
Available for AI plan.
"
- },
- "isEnabled": {
- "type": "string",
- "description": "Indicates whether the extension is enabled.",
- "enum": [
- "True",
- "False"
- ],
- "x-ms-enum": {
- "name": "isEnabled",
- "modelAsString": true,
- "values": [
- {
- "value": "True",
- "description": "Indicates the extension is enabled"
- },
- {
- "value": "False",
- "description": "Indicates the extension is disabled"
- }
- ]
- }
- },
- "additionalExtensionProperties": {
- "type": "object",
- "description": "Property values associated with the extension.",
- "additionalProperties": {}
- },
- "operationStatus": {
- "type": "object",
- "$ref": "#/definitions/OperationStatus",
- "readOnly": true,
- "description": "Optional. A status describing the success/failure of the extension's enablement/disablement operation."
- }
- },
- "required": [
- "name",
- "isEnabled"
- ]
- },
- "OperationStatus": {
- "type": "object",
- "description": "A status describing the success/failure of the extension's enablement/disablement operation.",
- "properties": {
- "code": {
- "type": "string",
- "description": "The operation status code.",
- "enum": [
- "Succeeded",
- "Failed"
- ],
- "x-ms-enum": {
- "name": "code",
- "modelAsString": true,
- "values": [
- {
- "value": "Succeeded",
- "description": "Extension was created/updated successfully."
- },
- {
- "value": "Failed",
- "description": "Extension was not created/updated successfully. See operation status message for more details."
- }
- ]
- }
- },
- "message": {
- "type": "string",
- "description": "Additional information regarding the success/failure of the operation."
- }
- }
- }
- },
- "parameters": {
- "PricingName": {
- "name": "pricingName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "name of the pricing configuration",
- "x-ms-parameter-location": "method"
- },
- "Pricing": {
- "name": "pricing",
- "in": "body",
- "required": true,
- "description": "Pricing object",
- "schema": {
- "$ref": "#/definitions/Pricing"
- },
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/security/resource-manager/api-set.json b/swagger-specs/security/resource-manager/api-set.json
index dcbab6021..3421be239 100644
--- a/swagger-specs/security/resource-manager/api-set.json
+++ b/swagger-specs/security/resource-manager/api-set.json
@@ -1 +1 @@
-{"addition_input_file_paths": [], "input_files": ["Microsoft.Security/preview/2015-06-01-preview/locations.json", "Microsoft.Security/preview/2015-06-01-preview/operations.json", "Microsoft.Security/preview/2015-06-01-preview/tasks.json", "Microsoft.Security/preview/2017-08-01-preview/autoProvisioningSettings.json", "Microsoft.Security/preview/2017-08-01-preview/compliances.json", "Microsoft.Security/preview/2017-08-01-preview/informationProtectionPolicies.json", "Microsoft.Security/preview/2017-08-01-preview/workspaceSettings.json", "Microsoft.Security/preview/2019-01-01-preview/alertsSuppressionRules.json", "Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json", "Microsoft.Security/preview/2019-01-01-preview/subAssessments.json", "Microsoft.Security/preview/2020-01-01-preview/connectors.json", "Microsoft.Security/preview/2021-05-01-preview/softwareInventories.json", "Microsoft.Security/preview/2021-07-01-preview/customAssessmentAutomation.json", "Microsoft.Security/preview/2021-07-01-preview/customEntityStoreAssignment.json", "Microsoft.Security/preview/2021-10-01-preview/mdeOnboardings.json", "Microsoft.Security/preview/2022-01-01-preview/governanceAssignments.json", "Microsoft.Security/preview/2022-01-01-preview/governanceRules.json", "Microsoft.Security/preview/2022-07-01-preview/applications.json", "Microsoft.Security/preview/2022-12-01-preview/defenderForStorageSettings.json", "Microsoft.Security/preview/2023-01-01-preview/securityOperators.json", "Microsoft.Security/preview/2023-02-01-preview/sqlVulnerabilityAssessmentsBaselineRuleOperations.json", "Microsoft.Security/preview/2023-02-01-preview/sqlVulnerabilityAssessmentsScanOperations.json", "Microsoft.Security/preview/2023-02-01-preview/sqlVulnerabilityAssessmentsScanResultsOperations.json", "Microsoft.Security/preview/2023-02-15-preview/sensitivitySettings.json", "Microsoft.Security/preview/2023-05-01-preview/healthReports.json", "Microsoft.Security/preview/2023-12-01-preview/automations.json", "Microsoft.Security/preview/2023-12-01-preview/securityContacts.json", "Microsoft.Security/preview/2024-03-01-preview/securityConnectors.json", "Microsoft.Security/preview/2024-05-15-preview/securityConnectorsDevOps.json", "Microsoft.Security/stable/2017-08-01/complianceResults.json", "Microsoft.Security/stable/2019-01-01/advancedThreatProtectionSettings.json", "Microsoft.Security/stable/2019-08-01/deviceSecurityGroups.json", "Microsoft.Security/stable/2019-08-01/iotSecuritySolutionAnalytics.json", "Microsoft.Security/stable/2019-08-01/iotSecuritySolutions.json", "Microsoft.Security/stable/2020-01-01/allowedConnections.json", "Microsoft.Security/stable/2020-01-01/discoveredSecuritySolutions.json", "Microsoft.Security/stable/2020-01-01/externalSecuritySolutions.json", "Microsoft.Security/stable/2020-01-01/jitNetworkAccessPolicies.json", "Microsoft.Security/stable/2020-01-01/secureScore.json", "Microsoft.Security/stable/2020-01-01/SecuritySolutions.json", "Microsoft.Security/stable/2020-01-01/securitySolutionsReferenceData.json", "Microsoft.Security/stable/2020-01-01/serverVulnerabilityAssessments.json", "Microsoft.Security/stable/2020-01-01/topologies.json", "Microsoft.Security/stable/2021-06-01/assessmentMetadata.json", "Microsoft.Security/stable/2021-06-01/assessments.json", "Microsoft.Security/stable/2022-01-01/alerts.json", "Microsoft.Security/stable/2022-05-01/settings.json", "Microsoft.Security/stable/2023-05-01/ServerVulnerabilityAssessmentsSettings.json", "Microsoft.Security/stable/2023-11-15/apiCollections.json", "Microsoft.Security/stable/2024-01-01/pricings.json", "Microsoft.Security/stable/2024-08-01/securityStandards.json", "Microsoft.Security/stable/2024-08-01/standardAssignments.json", "Microsoft.Security/stable/2024-08-01/customRecommedations.json"], "name": "package-composite-v3"}
\ No newline at end of file
+{"addition_input_file_paths": [], "input_files": ["Microsoft.Security/stable/2024-08-01/securityStandards.json", "Microsoft.Security/stable/2024-08-01/standardAssignments.json", "Microsoft.Security/stable/2024-08-01/customRecommedations.json"], "name": "package-2024-08"}
\ No newline at end of file
diff --git a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/DataConnectors.json b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/DataConnectors.json
deleted file mode 100644
index 62ae5904f..000000000
--- a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/DataConnectors.json
+++ /dev/null
@@ -1,739 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Security Insights",
- "description": "API spec for Microsoft.SecurityInsights (Azure Security Insights) resource provider",
- "version": "2024-03-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectors": {
- "get": {
- "x-ms-examples": {
- "Get all data connectors.": {
- "$ref": "./examples/dataConnectors/GetDataConnectors.json"
- }
- },
- "tags": [
- "Data Connectors"
- ],
- "description": "Gets all data connectors.",
- "operationId": "DataConnectors_List",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK, Operation successfully completed",
- "schema": {
- "$ref": "#/definitions/DataConnectorList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/2.0/types.json#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectors/{dataConnectorId}": {
- "get": {
- "x-ms-examples": {
- "Get an Office365 data connector.": {
- "$ref": "./examples/dataConnectors/GetOfficeDataConnetorById.json"
- },
- "Get a TI data connector.": {
- "$ref": "./examples/dataConnectors/GetThreatIntelligenceById.json"
- },
- "Get a MCAS data connector.": {
- "$ref": "./examples/dataConnectors/GetMicrosoftCloudAppSecurityById.json"
- },
- "Get a ASC data connector.": {
- "$ref": "./examples/dataConnectors/GetAzureSecurityCenterById.json"
- },
- "Get an AAD data connector.": {
- "$ref": "./examples/dataConnectors/GetAzureActiveDirectoryById.json"
- },
- "Get an AwsCloudTrail data connector.": {
- "$ref": "./examples/dataConnectors/GetAmazonWebServicesCloudTrailById.json"
- },
- "Get an AATP data connector.": {
- "$ref": "./examples/dataConnectors/GetAzureAdvancedThreatProtectionById.json"
- },
- "Get a MDATP data connector": {
- "$ref": "./examples/dataConnectors/GetMicrosoftDefenderAdvancedThreatProtectionById.json"
- }
- },
- "tags": [
- "Data Connectors"
- ],
- "description": "Gets a data connector.",
- "operationId": "DataConnectors_Get",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
- },
- {
- "$ref": "#/parameters/DataConnectorId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK, Operation successfully completed",
- "schema": {
- "$ref": "#/definitions/DataConnector"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/2.0/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Creates or updates an Office365 data connector.": {
- "$ref": "./examples/dataConnectors/CreateOfficeDataConnetor.json"
- },
- "Creates or updates an Threat Intelligence Platform data connector.": {
- "$ref": "./examples/dataConnectors/CreateThreatIntelligenceDataConnector.json"
- }
- },
- "tags": [
- "Data Connectors"
- ],
- "description": "Creates or updates the data connector.",
- "operationId": "DataConnectors_CreateOrUpdate",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
- },
- {
- "$ref": "#/parameters/DataConnectorId"
- },
- {
- "$ref": "#/parameters/DataConnector"
- }
- ],
- "responses": {
- "200": {
- "description": "OK, Operation successfully completed",
- "schema": {
- "$ref": "#/definitions/DataConnector"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/DataConnector"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/2.0/types.json#/definitions/CloudError"
- }
- }
- }
- },
- "delete": {
- "x-ms-examples": {
- "Delete an Office365 data connector.": {
- "$ref": "./examples/dataConnectors/DeleteOfficeDataConnetor.json"
- }
- },
- "tags": [
- "Data Connectors"
- ],
- "description": "Delete the data connector.",
- "operationId": "DataConnectors_Delete",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
- },
- {
- "$ref": "#/parameters/DataConnectorId"
- }
- ],
- "responses": {
- "200": {
- "description": "OK, Operation successfully completed"
- },
- "204": {
- "description": "No Content"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../common/2.0/types.json#/definitions/CloudError"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "AADDataConnector": {
- "allOf": [
- {
- "$ref": "#/definitions/DataConnector"
- }
- ],
- "description": "Represents AAD (Azure Active Directory) data connector.",
- "properties": {
- "properties": {
- "$ref": "#/definitions/AADDataConnectorProperties",
- "description": "AAD (Azure Active Directory) data connector properties.",
- "x-ms-client-flatten": true
- }
- },
- "type": "object",
- "x-ms-discriminator-value": "AzureActiveDirectory"
- },
- "AADDataConnectorProperties": {
- "description": "AAD (Azure Active Directory) data connector properties.",
- "properties": {
- "tenantId": {
- "description": "The tenant id to connect to, and get the data from.",
- "type": "string"
- },
- "dataTypes": {
- "$ref": "#/definitions/AlertsDataTypeOfDataConnector",
- "description": "The available data types for the connector."
- }
- },
- "type": "object"
- },
- "AATPDataConnector": {
- "allOf": [
- {
- "$ref": "#/definitions/DataConnector"
- }
- ],
- "description": "Represents AATP (Azure Advanced Threat Protection) data connector.",
- "properties": {
- "properties": {
- "$ref": "#/definitions/AATPDataConnectorProperties",
- "description": "AATP (Azure Advanced Threat Protection) data connector properties.",
- "x-ms-client-flatten": true
- }
- },
- "type": "object",
- "x-ms-discriminator-value": "AzureAdvancedThreatProtection"
- },
- "AATPDataConnectorProperties": {
- "description": "AATP (Azure Advanced Threat Protection) data connector properties.",
- "properties": {
- "tenantId": {
- "description": "The tenant id to connect to, and get the data from.",
- "type": "string"
- },
- "dataTypes": {
- "$ref": "#/definitions/AlertsDataTypeOfDataConnector",
- "description": "The available data types for the connector."
- }
- },
- "type": "object"
- },
- "ASCDataConnector": {
- "allOf": [
- {
- "$ref": "#/definitions/DataConnector"
- }
- ],
- "description": "Represents ASC (Azure Security Center) data connector.",
- "properties": {
- "properties": {
- "$ref": "#/definitions/ASCDataConnectorProperties",
- "description": "ASC (Azure Security Center) data connector properties.",
- "x-ms-client-flatten": true
- }
- },
- "type": "object",
- "x-ms-discriminator-value": "AzureSecurityCenter"
- },
- "ASCDataConnectorProperties": {
- "allOf": [
- {
- "$ref": "#/definitions/DataConnectorWithAlertsProperties"
- }
- ],
- "description": "ASC (Azure Security Center) data connector properties.",
- "properties": {
- "subscriptionId": {
- "description": "The subscription id to connect to, and get the data from.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "AlertsDataTypeOfDataConnector": {
- "description": "Alerts data type for data connectors.",
- "properties": {
- "alerts": {
- "$ref": "#/definitions/DataConnectorDataTypeCommon",
- "description": "Alerts data type connection.",
- "type": "object"
- }
- },
- "type": "object"
- },
- "AwsCloudTrailDataConnector": {
- "allOf": [
- {
- "$ref": "#/definitions/DataConnector"
- }
- ],
- "description": "Represents Amazon Web Services CloudTrail data connector.",
- "properties": {
- "properties": {
- "$ref": "#/definitions/AwsCloudTrailDataConnectorProperties",
- "description": "Amazon Web Services CloudTrail data connector properties.",
- "x-ms-client-flatten": true
- }
- },
- "type": "object",
- "x-ms-discriminator-value": "AmazonWebServicesCloudTrail"
- },
- "AwsCloudTrailDataConnectorDataTypes": {
- "description": "The available data types for Amazon Web Services CloudTrail data connector.",
- "properties": {
- "logs": {
- "allOf": [
- {
- "$ref": "#/definitions/DataConnectorDataTypeCommon"
- }
- ],
- "description": "Logs data type.",
- "type": "object"
- }
- },
- "type": "object"
- },
- "AwsCloudTrailDataConnectorProperties": {
- "description": "Amazon Web Services CloudTrail data connector properties.",
- "properties": {
- "awsRoleArn": {
- "description": "The Aws Role Arn (with CloudTrailReadOnly policy) that is used to access the Aws account.",
- "type": "string"
- },
- "dataTypes": {
- "$ref": "#/definitions/AwsCloudTrailDataConnectorDataTypes",
- "description": "The available data types for the connector."
- }
- },
- "type": "object"
- },
- "DataConnector": {
- "allOf": [
- {
- "$ref": "../../../common/2.0/types.json#/definitions/ResourceWithEtag"
- }
- ],
- "description": "Data connector.",
- "discriminator": "kind",
- "required": [
- "kind"
- ],
- "properties": {
- "kind": {
- "$ref": "#/definitions/DataConnectorKind",
- "description": "The data connector kind"
- }
- },
- "type": "object"
- },
- "DataConnectorKind": {
- "description": "The kind of the data connector",
- "enum": [
- "AzureActiveDirectory",
- "AzureSecurityCenter",
- "MicrosoftCloudAppSecurity",
- "ThreatIntelligence",
- "Office365",
- "AmazonWebServicesCloudTrail",
- "AzureAdvancedThreatProtection",
- "MicrosoftDefenderAdvancedThreatProtection"
- ],
- "type": "string",
- "x-ms-enum": {
- "modelAsString": true,
- "name": "DataConnectorKind",
- "values": [
- {
- "value": "AzureActiveDirectory"
- },
- {
- "value": "AzureSecurityCenter"
- },
- {
- "value": "MicrosoftCloudAppSecurity"
- },
- {
- "value": "ThreatIntelligence"
- },
- {
- "value": "Office365"
- },
- {
- "value": "AmazonWebServicesCloudTrail"
- },
- {
- "value": "AzureAdvancedThreatProtection"
- },
- {
- "value": "MicrosoftDefenderAdvancedThreatProtection"
- }
- ]
- }
- },
- "DataConnectorList": {
- "description": "List all the data connectors.",
- "properties": {
- "nextLink": {
- "description": "URL to fetch the next set of data connectors.",
- "readOnly": true,
- "type": "string"
- },
- "value": {
- "description": "Array of data connectors.",
- "items": {
- "$ref": "#/definitions/DataConnector"
- },
- "type": "array"
- }
- },
- "type": "object",
- "required": [
- "value"
- ]
- },
- "DataConnectorDataTypeCommon": {
- "description": "Common field for data type in data connectors.",
- "properties": {
- "state": {
- "description": "Describe whether this data type connection is enabled or not.",
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "type": "string",
- "x-ms-enum": {
- "modelAsString": true,
- "name": "DataTypeState"
- }
- }
- },
- "type": "object"
- },
- "DataConnectorTenantId": {
- "description": "Properties data connector on tenant level.",
- "properties": {
- "tenantId": {
- "description": "The tenant id to connect to, and get the data from.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "DataConnectorWithAlertsProperties": {
- "description": "Data connector properties.",
- "properties": {
- "dataTypes": {
- "$ref": "#/definitions/AlertsDataTypeOfDataConnector",
- "description": "The available data types for the connector."
- }
- },
- "type": "object"
- },
- "MCASDataConnector": {
- "allOf": [
- {
- "$ref": "#/definitions/DataConnector"
- }
- ],
- "description": "Represents MCAS (Microsoft Cloud App Security) data connector.",
- "properties": {
- "properties": {
- "$ref": "#/definitions/MCASDataConnectorProperties",
- "description": "MCAS (Microsoft Cloud App Security) data connector properties.",
- "x-ms-client-flatten": true
- }
- },
- "type": "object",
- "x-ms-discriminator-value": "MicrosoftCloudAppSecurity"
- },
- "MCASDataConnectorDataTypes": {
- "allOf": [
- {
- "$ref": "#/definitions/AlertsDataTypeOfDataConnector"
- }
- ],
- "description": "The available data types for MCAS (Microsoft Cloud App Security) data connector.",
- "properties": {
- "alerts": {
- "$ref": "#/definitions/DataConnectorDataTypeCommon",
- "description": "Alerts data type connection."
- },
- "discoveryLogs": {
- "$ref": "#/definitions/DataConnectorDataTypeCommon",
- "description": "Discovery log data type connection."
- }
- },
- "type": "object"
- },
- "MCASDataConnectorProperties": {
- "description": "MCAS (Microsoft Cloud App Security) data connector properties.",
- "properties": {
- "tenantId": {
- "description": "The tenant id to connect to, and get the data from.",
- "type": "string"
- },
- "dataTypes": {
- "$ref": "#/definitions/MCASDataConnectorDataTypes",
- "description": "The available data types for the connector."
- }
- },
- "type": "object"
- },
- "MDATPDataConnector": {
- "allOf": [
- {
- "$ref": "#/definitions/DataConnector"
- }
- ],
- "description": "Represents MDATP (Microsoft Defender Advanced Threat Protection) data connector.",
- "properties": {
- "properties": {
- "$ref": "#/definitions/MDATPDataConnectorProperties",
- "description": "MDATP (Microsoft Defender Advanced Threat Protection) data connector properties.",
- "x-ms-client-flatten": true
- }
- },
- "type": "object",
- "x-ms-discriminator-value": "MicrosoftDefenderAdvancedThreatProtection"
- },
- "MDATPDataConnectorProperties": {
- "description": "MDATP (Microsoft Defender Advanced Threat Protection) data connector properties.",
- "properties": {
- "tenantId": {
- "description": "The tenant id to connect to, and get the data from.",
- "type": "string"
- },
- "dataTypes": {
- "$ref": "#/definitions/AlertsDataTypeOfDataConnector",
- "description": "The available data types for the connector."
- }
- },
- "type": "object"
- },
- "TIDataConnector": {
- "allOf": [
- {
- "$ref": "#/definitions/DataConnector"
- }
- ],
- "description": "Represents threat intelligence data connector.",
- "properties": {
- "properties": {
- "$ref": "#/definitions/TIDataConnectorProperties",
- "description": "TI (Threat Intelligence) data connector properties.",
- "x-ms-client-flatten": true
- }
- },
- "type": "object",
- "x-ms-discriminator-value": "ThreatIntelligence"
- },
- "TIDataConnectorDataTypes": {
- "description": "The available data types for TI (Threat Intelligence) data connector.",
- "properties": {
- "indicators": {
- "allOf": [
- {
- "$ref": "#/definitions/DataConnectorDataTypeCommon"
- }
- ],
- "description": "Data type for indicators connection.",
- "type": "object"
- }
- },
- "type": "object"
- },
- "TIDataConnectorProperties": {
- "description": "TI (Threat Intelligence) data connector properties.",
- "properties": {
- "tenantId": {
- "description": "The tenant id to connect to, and get the data from.",
- "type": "string"
- },
- "tipLookbackPeriod": {
- "description": "The lookback period for the feed to be imported.",
- "format": "date-time",
- "type": "string",
- "x-nullable": true
- },
- "dataTypes": {
- "$ref": "#/definitions/TIDataConnectorDataTypes",
- "description": "The available data types for the connector."
- }
- },
- "type": "object"
- },
- "OfficeDataConnector": {
- "allOf": [
- {
- "$ref": "#/definitions/DataConnector"
- }
- ],
- "description": "Represents office data connector.",
- "properties": {
- "properties": {
- "$ref": "#/definitions/OfficeDataConnectorProperties",
- "description": "Office data connector properties.",
- "x-ms-client-flatten": true
- }
- },
- "type": "object",
- "x-ms-discriminator-value": "Office365"
- },
- "OfficeDataConnectorDataTypes": {
- "description": "The available data types for office data connector.",
- "properties": {
- "exchange": {
- "allOf": [
- {
- "$ref": "#/definitions/DataConnectorDataTypeCommon"
- }
- ],
- "description": "Exchange data type connection.",
- "type": "object"
- },
- "sharePoint": {
- "allOf": [
- {
- "$ref": "#/definitions/DataConnectorDataTypeCommon"
- }
- ],
- "description": "SharePoint data type connection.",
- "type": "object"
- },
- "teams": {
- "allOf": [
- {
- "$ref": "#/definitions/DataConnectorDataTypeCommon"
- }
- ],
- "description": "Teams data type connection.",
- "type": "object"
- }
- },
- "type": "object"
- },
- "OfficeDataConnectorProperties": {
- "description": "Office data connector properties.",
- "properties": {
- "tenantId": {
- "description": "The tenant id to connect to, and get the data from.",
- "type": "string"
- },
- "dataTypes": {
- "$ref": "#/definitions/OfficeDataConnectorDataTypes",
- "description": "The available data types for the connector."
- }
- },
- "type": "object"
- }
- },
- "parameters": {
- "DataConnector": {
- "description": "The data connector",
- "in": "body",
- "name": "dataConnector",
- "required": true,
- "schema": {
- "$ref": "#/definitions/DataConnector"
- },
- "x-ms-parameter-location": "method"
- },
- "DataConnectorId": {
- "description": "Connector ID",
- "in": "path",
- "name": "dataConnectorId",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/AlertRules.json b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json
similarity index 97%
rename from swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/AlertRules.json
rename to swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json
index af694a81a..eaa4845ed 100644
--- a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/AlertRules.json
+++ b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json
@@ -3,7 +3,7 @@
"info": {
"title": "Security Insights",
"description": "API spec for Microsoft.SecurityInsights (Azure Security Insights) resource provider",
- "version": "2024-03-01"
+ "version": "2024-09-01"
},
"host": "management.azure.com",
"schemes": [
@@ -48,13 +48,13 @@
"operationId": "AlertRules_List",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -99,13 +99,13 @@
"operationId": "AlertRules_Get",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -148,13 +148,13 @@
"operationId": "AlertRules_CreateOrUpdate",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -200,13 +200,13 @@
"operationId": "AlertRules_Delete",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -245,13 +245,13 @@
"operationId": "Actions_ListByAlertRule",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -293,13 +293,13 @@
"operationId": "Actions_Get",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -339,13 +339,13 @@
"operationId": "Actions_CreateOrUpdate",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -394,13 +394,13 @@
"operationId": "Actions_Delete",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -442,13 +442,13 @@
"operationId": "AlertRuleTemplates_List",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -487,13 +487,13 @@
"operationId": "AlertRuleTemplates_Get",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -579,7 +579,7 @@
"ActionResponse": {
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource"
}
],
"description": "Action for alert rule.",
@@ -670,7 +670,7 @@
"AlertRuleTemplate": {
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource"
}
],
"description": "Alert rule template.",
diff --git a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/AutomationRules.json b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/AutomationRules.json
similarity index 99%
rename from swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/AutomationRules.json
rename to swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/AutomationRules.json
index af741a4bb..7ceb1ddbd 100644
--- a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/AutomationRules.json
+++ b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/AutomationRules.json
@@ -3,7 +3,7 @@
"info": {
"title": "Security Insights",
"description": "API spec for Microsoft.SecurityInsights (Azure Security Insights) resource provider",
- "version": "2024-03-01",
+ "version": "2024-09-01",
"x-ms-code-generation-settings": {
"name": "SecurityInsights"
}
diff --git a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/Bookmarks.json b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/Bookmarks.json
similarity index 93%
rename from swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/Bookmarks.json
rename to swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/Bookmarks.json
index 5a3285a7e..e94094309 100644
--- a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/Bookmarks.json
+++ b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/Bookmarks.json
@@ -3,7 +3,7 @@
"info": {
"title": "Security Insights",
"description": "API spec for Microsoft.SecurityInsights (Azure Security Insights) resource provider",
- "version": "2024-03-01"
+ "version": "2024-09-01"
},
"host": "management.azure.com",
"schemes": [
@@ -48,13 +48,13 @@
"operationId": "Bookmarks_List",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -93,13 +93,13 @@
"operationId": "Bookmarks_Get",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -136,13 +136,13 @@
"operationId": "Bookmarks_CreateOrUpdate",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -188,13 +188,13 @@
"operationId": "Bookmarks_Delete",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
diff --git a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/ContentPackages.json b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/ContentPackages.json
similarity index 92%
rename from swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/ContentPackages.json
rename to swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/ContentPackages.json
index e863c2df2..03d6f8552 100644
--- a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/ContentPackages.json
+++ b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/ContentPackages.json
@@ -3,7 +3,7 @@
"info": {
"title": "Security Insights",
"description": "API spec for Microsoft.SecurityInsights (Azure Security Insights) resource provider",
- "version": "2024-03-01"
+ "version": "2024-09-01"
},
"host": "management.azure.com",
"schemes": [
@@ -48,13 +48,13 @@
"operationId": "ContentPackages_List",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -114,13 +114,13 @@
"operationId": "ContentPackages_Get",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -157,13 +157,13 @@
"operationId": "ContentPackage_Install",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -209,13 +209,13 @@
"operationId": "ContentPackage_Uninstall",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
diff --git a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/ContentProductPackages.json b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/ContentProductPackages.json
similarity index 95%
rename from swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/ContentProductPackages.json
rename to swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/ContentProductPackages.json
index 6188b974a..90112f49b 100644
--- a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/ContentProductPackages.json
+++ b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/ContentProductPackages.json
@@ -3,7 +3,7 @@
"info": {
"title": "Security Insights",
"description": "API spec for Microsoft.SecurityInsights (Azure Security Insights) resource provider",
- "version": "2024-03-01"
+ "version": "2024-09-01"
},
"host": "management.azure.com",
"schemes": [
@@ -48,13 +48,13 @@
"operationId": "ProductPackages_List",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -105,13 +105,13 @@
"operationId": "ProductPackage_Get",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
diff --git a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/ContentProductTemplates.json b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/ContentProductTemplates.json
similarity index 94%
rename from swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/ContentProductTemplates.json
rename to swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/ContentProductTemplates.json
index bac332f99..ea50c9eb9 100644
--- a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/ContentProductTemplates.json
+++ b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/ContentProductTemplates.json
@@ -3,7 +3,7 @@
"info": {
"title": "Security Insights",
"description": "API spec for Microsoft.SecurityInsights (Azure Security Insights) resource provider",
- "version": "2024-03-01"
+ "version": "2024-09-01"
},
"host": "management.azure.com",
"schemes": [
@@ -48,13 +48,13 @@
"operationId": "ProductTemplates_List",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -114,13 +114,13 @@
"operationId": "ProductTemplate_Get",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
diff --git a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/ContentTemplates.json b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/ContentTemplates.json
similarity index 93%
rename from swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/ContentTemplates.json
rename to swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/ContentTemplates.json
index c1ccafda0..1ca024981 100644
--- a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/ContentTemplates.json
+++ b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/ContentTemplates.json
@@ -3,7 +3,7 @@
"info": {
"title": "Security Insights",
"description": "API spec for Microsoft.SecurityInsights (Azure Security Insights) resource provider",
- "version": "2024-03-01"
+ "version": "2024-09-01"
},
"host": "management.azure.com",
"schemes": [
@@ -48,13 +48,13 @@
"operationId": "ContentTemplates_List",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -117,13 +117,13 @@
"operationId": "ContentTemplate_Install",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -169,13 +169,13 @@
"operationId": "ContentTemplate_Get",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -212,13 +212,13 @@
"operationId": "ContentTemplate_Delete",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
diff --git a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/DataConnectors.json b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/DataConnectors.json
new file mode 100644
index 000000000..5e8558c1f
--- /dev/null
+++ b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/DataConnectors.json
@@ -0,0 +1,1856 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Security Insights",
+ "description": "API spec for Microsoft.SecurityInsights (Azure Security Insights) resource provider",
+ "version": "2024-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectors": {
+ "get": {
+ "x-ms-examples": {
+ "Get all data connectors.": {
+ "$ref": "./examples/dataConnectors/GetDataConnectors.json"
+ }
+ },
+ "tags": [
+ "Data Connectors"
+ ],
+ "description": "Gets all data connectors.",
+ "operationId": "DataConnectors_List",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK, Operation successfully completed",
+ "schema": {
+ "$ref": "#/definitions/DataConnectorList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common/2.0/types.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectors/{dataConnectorId}": {
+ "get": {
+ "x-ms-examples": {
+ "Get an Office365 data connector.": {
+ "$ref": "./examples/dataConnectors/GetOfficeDataConnetorById.json"
+ },
+ "Get a TI data connector.": {
+ "$ref": "./examples/dataConnectors/GetThreatIntelligenceById.json"
+ },
+ "Get a MCAS data connector.": {
+ "$ref": "./examples/dataConnectors/GetMicrosoftCloudAppSecurityById.json"
+ },
+ "Get a ASC data connector.": {
+ "$ref": "./examples/dataConnectors/GetAzureSecurityCenterById.json"
+ },
+ "Get an AAD data connector.": {
+ "$ref": "./examples/dataConnectors/GetAzureActiveDirectoryById.json"
+ },
+ "Get an AwsCloudTrail data connector.": {
+ "$ref": "./examples/dataConnectors/GetAmazonWebServicesCloudTrailById.json"
+ },
+ "Get an AATP data connector.": {
+ "$ref": "./examples/dataConnectors/GetAzureAdvancedThreatProtectionById.json"
+ },
+ "Get a MDATP data connector": {
+ "$ref": "./examples/dataConnectors/GetMicrosoftDefenderAdvancedThreatProtectionById.json"
+ },
+ "Get a RestApiPoller data connector": {
+ "$ref": "./examples/dataConnectors/GetRestApiPollerById.json"
+ },
+ "Get a MicrosoftThreatIntelligence data connector": {
+ "$ref": "./examples/dataConnectors/GetMicrosoftThreatIntelligenceById.json"
+ },
+ "Get a PremiumMicrosoftDefenderForThreatIntelligence data connector": {
+ "$ref": "./examples/dataConnectors/GetPremiumMicrosoftDefenderForThreatIntelligenceById.json"
+ }
+ },
+ "tags": [
+ "Data Connectors"
+ ],
+ "description": "Gets a data connector.",
+ "operationId": "DataConnectors_Get",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
+ },
+ {
+ "$ref": "#/parameters/DataConnectorId"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK, Operation successfully completed",
+ "schema": {
+ "$ref": "#/definitions/DataConnector"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common/2.0/types.json#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "put": {
+ "x-ms-azure-resource": true,
+ "x-ms-examples": {
+ "Creates or updates an Office365 data connector.": {
+ "$ref": "./examples/dataConnectors/CreateOfficeDataConnetor.json"
+ },
+ "Creates or updates an Threat Intelligence Platform data connector.": {
+ "$ref": "./examples/dataConnectors/CreateThreatIntelligenceDataConnector.json"
+ },
+ "Creates or updates a MicrosoftThreatIntelligence data connector.": {
+ "$ref": "./examples/dataConnectors/CreateMicrosoftThreatIntelligenceDataConnector.json"
+ },
+ "Creates or updates a PremiumMicrosoftDefenderForThreatIntelligence data connector.": {
+ "$ref": "./examples/dataConnectors/CreatePremiumMicrosoftDefenderForThreatIntelligenceDataConnector.json"
+ }
+ },
+ "tags": [
+ "Data Connectors"
+ ],
+ "description": "Creates or updates the data connector.",
+ "operationId": "DataConnectors_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
+ },
+ {
+ "$ref": "#/parameters/DataConnectorId"
+ },
+ {
+ "$ref": "#/parameters/DataConnector"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK, Operation successfully completed",
+ "schema": {
+ "$ref": "#/definitions/DataConnector"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/DataConnector"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common/2.0/types.json#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "x-ms-examples": {
+ "Delete an Office365 data connector.": {
+ "$ref": "./examples/dataConnectors/DeleteOfficeDataConnetor.json"
+ },
+ "Delete an MicrosoftThreatIntelligence data connector": {
+ "$ref": "./examples/dataConnectors/DeleteMicrosoftThreatIntelligenceDataConnector.json"
+ },
+ "Deletes a PremiumMicrosoftDefenderForThreatIntelligence data connector.": {
+ "$ref": "./examples/dataConnectors/DeletePremiumMicrosoftDefenderForThreatIntelligenceDataConnector.json"
+ }
+ },
+ "tags": [
+ "Data Connectors"
+ ],
+ "description": "Delete the data connector.",
+ "operationId": "DataConnectors_Delete",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
+ },
+ {
+ "$ref": "#/parameters/DataConnectorId"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK, Operation successfully completed"
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common/2.0/types.json#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "AADDataConnector": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataConnector"
+ }
+ ],
+ "description": "Represents AAD (Azure Active Directory) data connector.",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/AADDataConnectorProperties",
+ "description": "AAD (Azure Active Directory) data connector properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "type": "object",
+ "x-ms-discriminator-value": "AzureActiveDirectory"
+ },
+ "AADDataConnectorProperties": {
+ "description": "AAD (Azure Active Directory) data connector properties.",
+ "properties": {
+ "tenantId": {
+ "description": "The tenant id to connect to, and get the data from.",
+ "type": "string"
+ },
+ "dataTypes": {
+ "$ref": "#/definitions/AlertsDataTypeOfDataConnector",
+ "description": "The available data types for the connector."
+ }
+ },
+ "type": "object"
+ },
+ "AATPDataConnector": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataConnector"
+ }
+ ],
+ "description": "Represents AATP (Azure Advanced Threat Protection) data connector.",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/AATPDataConnectorProperties",
+ "description": "AATP (Azure Advanced Threat Protection) data connector properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "type": "object",
+ "x-ms-discriminator-value": "AzureAdvancedThreatProtection"
+ },
+ "AATPDataConnectorProperties": {
+ "description": "AATP (Azure Advanced Threat Protection) data connector properties.",
+ "properties": {
+ "tenantId": {
+ "description": "The tenant id to connect to, and get the data from.",
+ "type": "string"
+ },
+ "dataTypes": {
+ "$ref": "#/definitions/AlertsDataTypeOfDataConnector",
+ "description": "The available data types for the connector."
+ }
+ },
+ "type": "object"
+ },
+ "ASCDataConnector": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataConnector"
+ }
+ ],
+ "description": "Represents ASC (Azure Security Center) data connector.",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ASCDataConnectorProperties",
+ "description": "ASC (Azure Security Center) data connector properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "type": "object",
+ "x-ms-discriminator-value": "AzureSecurityCenter"
+ },
+ "ASCDataConnectorProperties": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataConnectorWithAlertsProperties"
+ }
+ ],
+ "description": "ASC (Azure Security Center) data connector properties.",
+ "properties": {
+ "subscriptionId": {
+ "description": "The subscription id to connect to, and get the data from.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "AlertsDataTypeOfDataConnector": {
+ "description": "Alerts data type for data connectors.",
+ "properties": {
+ "alerts": {
+ "$ref": "#/definitions/DataConnectorDataTypeCommon",
+ "description": "Alerts data type connection.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "AwsCloudTrailDataConnector": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataConnector"
+ }
+ ],
+ "description": "Represents Amazon Web Services CloudTrail data connector.",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/AwsCloudTrailDataConnectorProperties",
+ "description": "Amazon Web Services CloudTrail data connector properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "type": "object",
+ "x-ms-discriminator-value": "AmazonWebServicesCloudTrail"
+ },
+ "AwsCloudTrailDataConnectorDataTypes": {
+ "description": "The available data types for Amazon Web Services CloudTrail data connector.",
+ "properties": {
+ "logs": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataConnectorDataTypeCommon"
+ }
+ ],
+ "description": "Logs data type.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "AwsCloudTrailDataConnectorProperties": {
+ "description": "Amazon Web Services CloudTrail data connector properties.",
+ "properties": {
+ "awsRoleArn": {
+ "description": "The Aws Role Arn (with CloudTrailReadOnly policy) that is used to access the Aws account.",
+ "type": "string"
+ },
+ "dataTypes": {
+ "$ref": "#/definitions/AwsCloudTrailDataConnectorDataTypes",
+ "description": "The available data types for the connector."
+ }
+ },
+ "type": "object"
+ },
+ "RestApiPollerDataConnector": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataConnector"
+ }
+ ],
+ "description": "Represents Rest Api Poller data connector.",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/RestApiPollerDataConnectorProperties",
+ "description": "Rest Api Poller data connector properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "type": "object",
+ "x-ms-discriminator-value": "RestApiPoller"
+ },
+ "RestApiPollerDataConnectorProperties": {
+ "description": "Rest Api Poller data connector properties.",
+ "properties": {
+ "connectorDefinitionName": {
+ "description": "The connector definition name (the dataConnectorDefinition resource id).",
+ "type": "string"
+ },
+ "auth": {
+ "description": "The a authentication model.",
+ "$ref": "#/definitions/CcpAuthConfig"
+ },
+ "request": {
+ "description": "The request configuration.",
+ "$ref": "#/definitions/RestApiPollerRequestConfig"
+ },
+ "dcrConfig": {
+ "description": "The DCR related properties.",
+ "$ref": "#/definitions/DCRConfiguration"
+ },
+ "isActive": {
+ "description": "Indicates whether the connector is active or not.",
+ "type": "boolean"
+ },
+ "dataType": {
+ "description": "The Log Analytics table destination.",
+ "type": "string"
+ },
+ "response": {
+ "description": "The response configuration.",
+ "$ref": "#/definitions/CcpResponseConfig"
+ },
+ "paging": {
+ "description": "The paging configuration.",
+ "$ref": "#/definitions/RestApiPollerRequestPagingConfig"
+ },
+ "addOnAttributes": {
+ "description": "The add on attributes. The key name will become attribute name (a column) and the value will become the attribute value in the payload.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ },
+ "type": "object",
+ "required": [
+ "connectorDefinitionName",
+ "auth",
+ "request"
+ ]
+ },
+ "RestApiPollerRequestConfig": {
+ "type": "object",
+ "description": "The request configuration.",
+ "properties": {
+ "apiEndpoint": {
+ "description": "The API endpoint.",
+ "type": "string"
+ },
+ "rateLimitQPS": {
+ "description": "The Rate limit queries per second for the request..",
+ "type": "integer",
+ "x-nullable": true,
+ "format": "int32"
+ },
+ "queryWindowInMin": {
+ "description": "The query window in minutes for the request.",
+ "type": "integer",
+ "x-nullable": true,
+ "format": "int32"
+ },
+ "httpMethod": {
+ "description": "The HTTP method, default value GET.",
+ "enum": [
+ "GET",
+ "POST",
+ "PUT",
+ "DELETE"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "httpMethodVerb"
+ }
+ },
+ "queryTimeFormat": {
+ "description": "The query time format. A remote server can have a query to pull data from range 'start' to 'end'. This property indicate what is the expected time format the remote server know to parse.",
+ "example": "UnixTimestamp, UnixTimestampInMills, or more specific formats, for example: yyyy-MM-ddTHH:mm:ssZ",
+ "type": "string"
+ },
+ "retryCount": {
+ "description": "The retry count.",
+ "type": "integer",
+ "x-nullable": true,
+ "format": "int32"
+ },
+ "timeoutInSeconds": {
+ "description": "The timeout in seconds.",
+ "type": "integer",
+ "x-nullable": true,
+ "format": "int32"
+ },
+ "isPostPayloadJson": {
+ "description": "Flag to indicate if HTTP POST payload is in JSON format (vs form-urlencoded).",
+ "type": "boolean",
+ "x-nullable": true
+ },
+ "headers": {
+ "description": "The header for the request for the remote server.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "queryParameters": {
+ "description": "The HTTP query parameters to RESTful API.",
+ "type": "object",
+ "additionalProperties": {}
+ },
+ "queryParametersTemplate": {
+ "description": "the query parameters template. Defines the query parameters template to use when passing query parameters in advanced scenarios.",
+ "type": "string"
+ },
+ "startTimeAttributeName": {
+ "description": "The query parameter name which the remote server expect to start query. This property goes hand to hand with `endTimeAttributeName`.",
+ "type": "string"
+ },
+ "endTimeAttributeName": {
+ "description": "The query parameter name which the remote server expect to end query. This property goes hand to hand with `startTimeAttributeName`",
+ "type": "string"
+ },
+ "queryTimeIntervalAttributeName": {
+ "description": "The query parameter name which we need to send the server for query logs in time interval. Should be defined with `queryTimeIntervalPrepend` and `queryTimeIntervalDelimiter`",
+ "type": "string"
+ },
+ "queryTimeIntervalPrepend": {
+ "description": "The string prepend to the value of the query parameter in `queryTimeIntervalAttributeName`.",
+ "type": "string"
+ },
+ "queryTimeIntervalDelimiter": {
+ "description": "The delimiter string between 2 QueryTimeFormat in the query parameter `queryTimeIntervalAttributeName`.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "apiEndpoint"
+ ]
+ },
+ "RestApiPollerRequestPagingKind": {
+ "type": "string",
+ "enum": [
+ "LinkHeader",
+ "NextPageToken",
+ "NextPageUrl",
+ "PersistentToken",
+ "PersistentLinkHeader",
+ "Offset",
+ "CountBasedPaging"
+ ],
+ "description": "Type of paging",
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "RestApiPollerRequestPagingKind",
+ "values": [
+ {
+ "value": "LinkHeader"
+ },
+ {
+ "value": "NextPageToken"
+ },
+ {
+ "value": "NextPageUrl"
+ },
+ {
+ "value": "PersistentToken"
+ },
+ {
+ "value": "PersistentLinkHeader"
+ },
+ {
+ "value": "Offset"
+ },
+ {
+ "value": "CountBasedPaging"
+ }
+ ]
+ }
+ },
+ "RestApiPollerRequestPagingConfig": {
+ "description": "The request paging configuration.",
+ "type": "object",
+ "properties": {
+ "pagingType": {
+ "type": "string",
+ "$ref": "#/definitions/RestApiPollerRequestPagingKind",
+ "description": "Type of paging"
+ },
+ "pageSize": {
+ "type": "integer",
+ "description": "Page size",
+ "format": "int32"
+ },
+ "pageSizeParameterName": {
+ "type": "string",
+ "description": "Page size parameter name"
+ }
+ },
+ "x-ms-discriminator": {
+ "propertyName": "pagingType",
+ "mapping": {
+ "LinkHeader": "#/components/schemas/RestApiPollerRequestPagingLinkHeaderConfig",
+ "NextPageToken": "#/components/schemas/RestApiPollerRequestPagingTokenConfig",
+ "NextPageUrl": "#/components/schemas/RestApiPollerRequestPagingNextPageUrlConfig",
+ "PersistentToken": "#/components/schemas/RestApiPollerRequestPagingTokenConfig",
+ "PersistentLinkHeader": "#/components/schemas/RestApiPollerRequestPagingLinkHeaderConfig",
+ "Offset": "#/components/schemas/RestApiPollerRequestPagingOffsetConfig",
+ "CountBasedPaging": "#/components/schemas/RestApiPollerRequestPagingCountBaseConfig"
+ }
+ },
+ "required": [
+ "pagingType"
+ ]
+ },
+ "RestApiPollerRequestPagingLinkHeaderConfig": {
+ "description": "The request paging configuration for LinkHeader and PersistentLinkHeader paging type parameters.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/RestApiPollerRequestPagingConfig"
+ }
+ ],
+ "type": "object",
+ "properties": {
+ "linkHeaderTokenJsonPath": {
+ "type": "string",
+ "description": "JSON path of link header token in HTTP response payload"
+ },
+ "linkHeaderRelLinkName": {
+ "type": "string",
+ "description": "Rel link name from the link header"
+ }
+ }
+ },
+ "RestApiPollerRequestPagingTokenConfig": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/RestApiPollerRequestPagingConfig"
+ }
+ ],
+ "description": "The request paging configuration for NextPageToken and PersistentToken paging type parameters.",
+ "type": "object",
+ "properties": {
+ "nextPageTokenJsonPath": {
+ "type": "string",
+ "description": "JSON path of next page token in HTTP response payload"
+ },
+ "hasNextFlagJsonPath": {
+ "type": "string",
+ "description": "JSON path of flag in HTTP response payload to indicate more pages"
+ },
+ "nextPageTokenResponseHeader": {
+ "type": "string",
+ "description": "HTTP response header name of next page token"
+ },
+ "nextPageParaName": {
+ "type": "string",
+ "description": "Next page parameter name in HTTP request"
+ },
+ "nextPageRequestHeader": {
+ "type": "string",
+ "description": "Next page header name in the request"
+ }
+ }
+ },
+ "RestApiPollerRequestPagingNextPageUrlConfig": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/RestApiPollerRequestPagingConfig"
+ }
+ ],
+ "description": "The request paging configuration for NextPageUrl paging type parameters.",
+ "type": "object",
+ "properties": {
+ "nextPageUrl": {
+ "type": "string",
+ "description": "Next page URL"
+ },
+ "nextPageUrlQueryParameters": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Query parameters of next page URL"
+ },
+ "nextPageUrlQueryParametersTemplate": {
+ "type": "string",
+ "description": "Paging query parameters in string template format"
+ },
+ "nextPageParaName": {
+ "type": "string",
+ "description": "Next page parameter name in HTTP request"
+ },
+ "nextPageRequestHeader": {
+ "type": "string",
+ "description": "Next page header name in the request"
+ },
+ "hasNextFlagJsonPath": {
+ "type": "string",
+ "description": "JSON path of flag in HTTP response payload to indicate more pages"
+ }
+ }
+ },
+ "RestApiPollerRequestPagingOffsetConfig": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/RestApiPollerRequestPagingConfig"
+ }
+ ],
+ "description": "The request paging configuration for Offset paging type parameters.",
+ "type": "object",
+ "properties": {
+ "offsetParaName": {
+ "type": "string",
+ "description": "Offset parameter name in HTTP request"
+ }
+ }
+ },
+ "RestApiPollerRequestPagingCountBaseConfig": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/RestApiPollerRequestPagingConfig"
+ }
+ ],
+ "description": "The request paging configuration for Count base paging type parameters.",
+ "type": "object",
+ "properties": {
+ "zeroBasedIndexing": {
+ "type": "boolean",
+ "description": "Indicates whether the count is zero based"
+ },
+ "pageCountJsonPath": {
+ "type": "string",
+ "description": "JSON path of page count in HTTP response payload"
+ },
+ "pageNumberParaName": {
+ "type": "string",
+ "description": "Parameter name of page number in HTTP request"
+ },
+ "pageNumberJsonPath": {
+ "type": "string",
+ "description": "JSON path of page number in HTTP response payload"
+ },
+ "totalResultsJsonPath": {
+ "type": "string",
+ "description": "JSON path of total number of results in HTTP response payload"
+ }
+ }
+ },
+ "DCRConfiguration": {
+ "description": "The configuration of the destination of the data.",
+ "properties": {
+ "dataCollectionEndpoint": {
+ "description": "Represents the data collection ingestion endpoint in log analytics.",
+ "type": "string"
+ },
+ "dataCollectionRuleImmutableId": {
+ "description": "The data collection rule immutable id, the rule defines the transformation and data destination.",
+ "type": "string"
+ },
+ "streamName": {
+ "description": "The stream we are sending the data to.",
+ "type": "string"
+ }
+ },
+ "type": "object",
+ "required": [
+ "dataCollectionEndpoint",
+ "dataCollectionRuleImmutableId",
+ "streamName"
+ ]
+ },
+ "CcpAuthType": {
+ "type": "string",
+ "enum": [
+ "Basic",
+ "APIKey",
+ "OAuth2",
+ "AWS",
+ "GCP",
+ "Session",
+ "JwtToken",
+ "GitHub",
+ "ServiceBus",
+ "Oracle",
+ "None"
+ ],
+ "description": "Type of paging",
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "CcpAuthType",
+ "values": [
+ {
+ "value": "Basic"
+ },
+ {
+ "value": "APIKey"
+ },
+ {
+ "value": "OAuth2"
+ },
+ {
+ "value": "AWS"
+ },
+ {
+ "value": "GCP"
+ },
+ {
+ "value": "Session"
+ },
+ {
+ "value": "JwtToken"
+ },
+ {
+ "value": "GitHub"
+ },
+ {
+ "value": "ServiceBus"
+ },
+ {
+ "value": "Oracle"
+ },
+ {
+ "value": "None"
+ }
+ ]
+ }
+ },
+ "CcpAuthConfig": {
+ "description": "Base Model for API authentication.",
+ "properties": {
+ "type": {
+ "description": "The auth type",
+ "$ref": "#/definitions/CcpAuthType",
+ "type": "string"
+ }
+ },
+ "type": "object",
+ "required": [
+ "type"
+ ],
+ "discriminator": "type"
+ },
+ "ApiKeyAuthModel": {
+ "description": "Model for authentication with the API Key. Will result in additional header on the request (default behavior) to the remote server: 'ApiKeyName: ApiKeyIdentifier ApiKey'. If 'IsApiKeyInPostPayload' is true it will send it in the body of the request and not the header.",
+ "example": "ApiKey = placeholderApiKey, ApiKeyName = 'Authorization', ApiKeyIdentifier = 'token', IsApiKeyInPostPayload = false. will result in a new header on the request: 'Authorization: token placeholderApiKey'",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CcpAuthConfig"
+ }
+ ],
+ "type": "object",
+ "properties": {
+ "apiKey": {
+ "type": "string",
+ "description": "API Key for the user secret key credential",
+ "x-secret": true
+ },
+ "apiKeyName": {
+ "type": "string",
+ "description": "API Key name"
+ },
+ "apiKeyIdentifier": {
+ "type": "string",
+ "description": "API Key Identifier"
+ },
+ "isApiKeyInPostPayload": {
+ "type": "boolean",
+ "description": "Flag to indicate if API key is set in HTTP POST payload"
+ }
+ },
+ "required": [
+ "apiKey",
+ "apiKeyName"
+ ],
+ "x-ms-discriminator-value": "APIKey"
+ },
+ "AWSAuthModel": {
+ "description": "Model for API authentication with AWS.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CcpAuthConfig"
+ }
+ ],
+ "type": "object",
+ "properties": {
+ "roleArn": {
+ "type": "string",
+ "description": "AWS STS assume role ARN",
+ "example": "arn:aws:iam::123456789012:role/your-role-name"
+ },
+ "externalId": {
+ "type": "string",
+ "description": "AWS STS assume role external ID. This is used to prevent the confused deputy problem: 'https://docs.aws.amazon.com/IAM/latest/UserGuide/confused-deputy.html'"
+ }
+ },
+ "required": [
+ "roleArn"
+ ],
+ "x-ms-discriminator-value": "AWS"
+ },
+ "BasicAuthModel": {
+ "description": "Model for API authentication with basic flow - user name + password.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CcpAuthConfig"
+ }
+ ],
+ "type": "object",
+ "properties": {
+ "userName": {
+ "type": "string",
+ "description": "The user name."
+ },
+ "password": {
+ "type": "string",
+ "description": "The password",
+ "x-secret": true
+ }
+ },
+ "required": [
+ "userName",
+ "password"
+ ],
+ "x-ms-discriminator-value": "Basic"
+ },
+ "GCPAuthModel": {
+ "description": "Model for API authentication for all GCP kind connectors.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CcpAuthConfig"
+ }
+ ],
+ "type": "object",
+ "properties": {
+ "serviceAccountEmail": {
+ "type": "string",
+ "description": "GCP Service Account Email"
+ },
+ "projectNumber": {
+ "type": "string",
+ "description": "GCP Project Number"
+ },
+ "workloadIdentityProviderId": {
+ "type": "string",
+ "description": "GCP Workload Identity Provider ID"
+ }
+ },
+ "required": [
+ "serviceAccountEmail",
+ "projectNumber",
+ "workloadIdentityProviderId"
+ ],
+ "x-ms-discriminator-value": "GCP"
+ },
+ "GenericBlobSbsAuthModel": {
+ "description": "Model for API authentication for working with service bus or storage account.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CcpAuthConfig"
+ }
+ ],
+ "type": "object",
+ "properties": {
+ "credentialsConfig": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Credentials for service bus namespace, keyvault uri for access key"
+ },
+ "storageAccountCredentialsConfig": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Credentials for storage account, keyvault uri for access key"
+ }
+ },
+ "x-ms-discriminator-value": "ServiceBus"
+ },
+ "GitHubAuthModel": {
+ "description": "Model for API authentication for GitHub. For this authentication first we need to approve the Router app (Microsoft Security DevOps) to access the GitHub account, Then we only need the InstallationId to get the access token from https://api.github.com/app/installations/{installId}/access_tokens.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CcpAuthConfig"
+ }
+ ],
+ "type": "object",
+ "properties": {
+ "installationId": {
+ "type": "string",
+ "description": "The GitHubApp auth installation id."
+ }
+ },
+ "x-ms-discriminator-value": "GitHub"
+ },
+ "NoneAuthModel": {
+ "description": "Model for API authentication with no authentication method - public API.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CcpAuthConfig"
+ }
+ ],
+ "type": "object",
+ "x-ms-discriminator-value": "None"
+ },
+ "JwtAuthModel": {
+ "description": "Model for API authentication with JWT. Simple exchange between user name + password to access token.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CcpAuthConfig"
+ }
+ ],
+ "properties": {
+ "tokenEndpoint": {
+ "type": "string",
+ "description": "Token endpoint to request JWT"
+ },
+ "userName": {
+ "description": "The user name. If user name and password sent in header request we only need to populate the `value` property with the user name (Same as basic auth). If user name and password sent in body request we need to specify the `Key` and `Value`.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "password": {
+ "description": "The password",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "x-secret": true
+ },
+ "queryParameters": {
+ "description": "The custom query parameter we want to add once we send request to token endpoint.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "headers": {
+ "description": "The custom headers we want to add once we send request to token endpoint.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "isCredentialsInHeaders": {
+ "type": "boolean",
+ "x-nullable": true,
+ "description": "Flag indicating whether we want to send the user name and password to token endpoint in the headers."
+ },
+ "isJsonRequest": {
+ "type": "boolean",
+ "x-nullable": true,
+ "default": false,
+ "description": "Flag indicating whether the body request is JSON (header Content-Type = application/json), meaning its a Form URL encoded request (header Content-Type = application/x-www-form-urlencoded)."
+ },
+ "requestTimeoutInSeconds": {
+ "type": "integer",
+ "format": "int32",
+ "default": 100,
+ "maximum": 180,
+ "description": "Request timeout in seconds."
+ }
+ },
+ "type": "object",
+ "x-ms-discriminator-value": "JwtToken",
+ "required": [
+ "tokenEndpoint",
+ "userName",
+ "password"
+ ]
+ },
+ "OAuthModel": {
+ "description": "Model for API authentication with OAuth2.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CcpAuthConfig"
+ }
+ ],
+ "properties": {
+ "authorizationCode": {
+ "type": "string",
+ "description": "The user's authorization code.",
+ "x-secret": true
+ },
+ "clientSecret": {
+ "type": "string",
+ "description": "The Application (client) secret that the OAuth provider assigned to your app.",
+ "x-secret": true
+ },
+ "clientId": {
+ "type": "string",
+ "description": "The Application (client) ID that the OAuth provider assigned to your app."
+ },
+ "isCredentialsInHeaders": {
+ "type": "boolean",
+ "x-nullable": true,
+ "default": false,
+ "description": "Indicating whether we want to send the clientId and clientSecret to token endpoint in the headers."
+ },
+ "scope": {
+ "type": "string",
+ "description": "The Application (client) Scope that the OAuth provider assigned to your app."
+ },
+ "redirectUri": {
+ "type": "string",
+ "format": "uri",
+ "description": "The Application redirect url that the user config in the OAuth provider."
+ },
+ "grantType": {
+ "type": "string",
+ "description": "The grant type, usually will be 'authorization code'."
+ },
+ "tokenEndpoint": {
+ "type": "string",
+ "description": "The token endpoint. Defines the OAuth2 refresh token."
+ },
+ "tokenEndpointHeaders": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "The token endpoint headers."
+ },
+ "tokenEndpointQueryParameters": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "The token endpoint query parameters."
+ },
+ "authorizationEndpoint": {
+ "type": "string",
+ "description": "The authorization endpoint."
+ },
+ "authorizationEndpointHeaders": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "The authorization endpoint headers."
+ },
+ "authorizationEndpointQueryParameters": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "The authorization endpoint query parameters."
+ },
+ "isJwtBearerFlow": {
+ "type": "boolean",
+ "description": "A value indicating whether it's a JWT flow."
+ },
+ "accessTokenPrepend": {
+ "type": "string",
+ "description": "Access token prepend. Default is 'Bearer'."
+ }
+ },
+ "required": [
+ "clientSecret",
+ "clientId",
+ "grantType",
+ "tokenEndpoint"
+ ],
+ "type": "object",
+ "x-ms-discriminator-value": "OAuth2"
+ },
+ "OracleAuthModel": {
+ "description": "Model for API authentication for Oracle.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CcpAuthConfig"
+ }
+ ],
+ "properties": {
+ "tenantId": {
+ "type": "string",
+ "description": "Oracle tenant ID"
+ },
+ "userId": {
+ "type": "string",
+ "description": "Oracle user ID"
+ },
+ "publicFingerprint": {
+ "type": "string",
+ "description": "Public Fingerprint"
+ },
+ "pemFile": {
+ "type": "string",
+ "description": "Content of the PRM file"
+ }
+ },
+ "type": "object",
+ "required": [
+ "tenantId",
+ "userId",
+ "publicFingerprint",
+ "pemFile"
+ ],
+ "x-ms-discriminator-value": "Oracle"
+ },
+ "SessionAuthModel": {
+ "description": "Model for API authentication with session cookie.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CcpAuthConfig"
+ }
+ ],
+ "properties": {
+ "userName": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "The user name attribute key value."
+ },
+ "password": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "The password attribute name.",
+ "x-secret": true
+ },
+ "queryParameters": {
+ "type": "object",
+ "additionalProperties": {},
+ "description": "Query parameters to session service endpoint."
+ },
+ "isPostPayloadJson": {
+ "type": "boolean",
+ "x-nullable": true,
+ "description": "Indicating whether API key is set in HTTP POST payload."
+ },
+ "headers": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "HTTP request headers to session service endpoint."
+ },
+ "sessionTimeoutInMinutes": {
+ "type": "integer",
+ "format": "int32",
+ "x-nullable": true,
+ "description": "Session timeout in minutes."
+ },
+ "sessionIdName": {
+ "type": "string",
+ "description": "Session id attribute name from HTTP response header."
+ },
+ "sessionLoginRequestUri": {
+ "type": "string",
+ "description": "HTTP request URL to session service endpoint."
+ }
+ },
+ "type": "object",
+ "required": [
+ "userName",
+ "password"
+ ],
+ "x-ms-discriminator-value": "Session"
+ },
+ "CcpResponseConfig": {
+ "description": "A custom response configuration for a rule.",
+ "properties": {
+ "eventsJsonPaths": {
+ "description": "The json paths, '$' char is the json root.",
+ "example": "'$', '$.someProperty'",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "successStatusJsonPath": {
+ "description": "The value where the status message/code should appear in the response.",
+ "type": "string"
+ },
+ "successStatusValue": {
+ "description": "The status value.",
+ "type": "string",
+ "x-nullable": true
+ },
+ "isGzipCompressed": {
+ "description": "The value indicating whether the remote server support Gzip and we should expect Gzip response.",
+ "type": "boolean"
+ },
+ "compressionAlgo": {
+ "description": "The compression algorithm. For Example: 'gzip', 'multi-gzip', 'deflate'.",
+ "type": "string",
+ "default": "gzip"
+ },
+ "format": {
+ "description": "The response format. possible values are json,csv,xml",
+ "type": "string",
+ "default": "json"
+ },
+ "csvDelimiter": {
+ "description": "The csv delimiter, in case the response format is CSV.",
+ "type": "string"
+ },
+ "hasCsvBoundary": {
+ "description": "The value indicating whether the response has CSV boundary in case the response in CSV format.",
+ "type": "boolean",
+ "x-nullable": true
+ },
+ "hasCsvHeader": {
+ "description": "The value indicating whether the response has headers in case the response in CSV format.",
+ "type": "boolean",
+ "x-nullable": true
+ },
+ "convertChildPropertiesToArray": {
+ "description": "The value indicating whether the response isn't an array of events / logs. By setting this flag to true it means the remote server will response with an object which each property has as a value an array of events / logs.",
+ "type": "boolean",
+ "x-nullable": true
+ },
+ "csvEscape": {
+ "description": "The character used to escape characters in CSV.",
+ "type": "string",
+ "x-nullable": true,
+ "default": "\"",
+ "minLength": 1,
+ "maxLength": 1
+ }
+ },
+ "type": "object",
+ "required": [
+ "eventsJsonPaths"
+ ]
+ },
+ "DataConnector": {
+ "allOf": [
+ {
+ "$ref": "../../../common/2.0/types.json#/definitions/ResourceWithEtag"
+ }
+ ],
+ "description": "Data connector.",
+ "discriminator": "kind",
+ "required": [
+ "kind"
+ ],
+ "properties": {
+ "kind": {
+ "$ref": "#/definitions/DataConnectorKind",
+ "description": "The data connector kind"
+ }
+ },
+ "type": "object"
+ },
+ "DataConnectorKind": {
+ "description": "The kind of the data connector",
+ "enum": [
+ "AzureActiveDirectory",
+ "AzureSecurityCenter",
+ "MicrosoftCloudAppSecurity",
+ "ThreatIntelligence",
+ "MicrosoftThreatIntelligence",
+ "PremiumMicrosoftDefenderForThreatIntelligence",
+ "Office365",
+ "AmazonWebServicesCloudTrail",
+ "AzureAdvancedThreatProtection",
+ "MicrosoftDefenderAdvancedThreatProtection",
+ "RestApiPoller"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "DataConnectorKind",
+ "values": [
+ {
+ "value": "AzureActiveDirectory"
+ },
+ {
+ "value": "AzureSecurityCenter"
+ },
+ {
+ "value": "MicrosoftCloudAppSecurity"
+ },
+ {
+ "value": "ThreatIntelligence"
+ },
+ {
+ "value": "MicrosoftThreatIntelligence"
+ },
+ {
+ "value": "PremiumMicrosoftDefenderForThreatIntelligence"
+ },
+ {
+ "value": "Office365"
+ },
+ {
+ "value": "AmazonWebServicesCloudTrail"
+ },
+ {
+ "value": "AzureAdvancedThreatProtection"
+ },
+ {
+ "value": "MicrosoftDefenderAdvancedThreatProtection"
+ },
+ {
+ "value": "RestApiPoller"
+ }
+ ]
+ }
+ },
+ "DataConnectorList": {
+ "description": "List all the data connectors.",
+ "properties": {
+ "nextLink": {
+ "description": "URL to fetch the next set of data connectors.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "value": {
+ "description": "Array of data connectors.",
+ "items": {
+ "$ref": "#/definitions/DataConnector"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object",
+ "required": [
+ "value"
+ ]
+ },
+ "DataConnectorDataTypeCommon": {
+ "description": "Common field for data type in data connectors.",
+ "properties": {
+ "state": {
+ "description": "Describe whether this data type connection is enabled or not.",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "DataTypeState"
+ }
+ }
+ },
+ "type": "object"
+ },
+ "DataConnectorTenantId": {
+ "description": "Properties data connector on tenant level.",
+ "properties": {
+ "tenantId": {
+ "description": "The tenant id to connect to, and get the data from.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "DataConnectorWithAlertsProperties": {
+ "description": "Data connector properties.",
+ "properties": {
+ "dataTypes": {
+ "$ref": "#/definitions/AlertsDataTypeOfDataConnector",
+ "description": "The available data types for the connector."
+ }
+ },
+ "type": "object"
+ },
+ "MCASDataConnector": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataConnector"
+ }
+ ],
+ "description": "Represents MCAS (Microsoft Cloud App Security) data connector.",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/MCASDataConnectorProperties",
+ "description": "MCAS (Microsoft Cloud App Security) data connector properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "type": "object",
+ "x-ms-discriminator-value": "MicrosoftCloudAppSecurity"
+ },
+ "MCASDataConnectorDataTypes": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/AlertsDataTypeOfDataConnector"
+ }
+ ],
+ "description": "The available data types for MCAS (Microsoft Cloud App Security) data connector.",
+ "properties": {
+ "alerts": {
+ "$ref": "#/definitions/DataConnectorDataTypeCommon",
+ "description": "Alerts data type connection."
+ },
+ "discoveryLogs": {
+ "$ref": "#/definitions/DataConnectorDataTypeCommon",
+ "description": "Discovery log data type connection."
+ }
+ },
+ "type": "object"
+ },
+ "MCASDataConnectorProperties": {
+ "description": "MCAS (Microsoft Cloud App Security) data connector properties.",
+ "properties": {
+ "tenantId": {
+ "description": "The tenant id to connect to, and get the data from.",
+ "type": "string"
+ },
+ "dataTypes": {
+ "$ref": "#/definitions/MCASDataConnectorDataTypes",
+ "description": "The available data types for the connector."
+ }
+ },
+ "type": "object"
+ },
+ "MDATPDataConnector": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataConnector"
+ }
+ ],
+ "description": "Represents MDATP (Microsoft Defender Advanced Threat Protection) data connector.",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/MDATPDataConnectorProperties",
+ "description": "MDATP (Microsoft Defender Advanced Threat Protection) data connector properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "type": "object",
+ "x-ms-discriminator-value": "MicrosoftDefenderAdvancedThreatProtection"
+ },
+ "MDATPDataConnectorProperties": {
+ "description": "MDATP (Microsoft Defender Advanced Threat Protection) data connector properties.",
+ "properties": {
+ "tenantId": {
+ "description": "The tenant id to connect to, and get the data from.",
+ "type": "string"
+ },
+ "dataTypes": {
+ "$ref": "#/definitions/AlertsDataTypeOfDataConnector",
+ "description": "The available data types for the connector."
+ }
+ },
+ "type": "object"
+ },
+ "TIDataConnector": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataConnector"
+ }
+ ],
+ "description": "Represents threat intelligence data connector.",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/TIDataConnectorProperties",
+ "description": "TI (Threat Intelligence) data connector properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "type": "object",
+ "x-ms-discriminator-value": "ThreatIntelligence"
+ },
+ "TIDataConnectorDataTypes": {
+ "description": "The available data types for TI (Threat Intelligence) data connector.",
+ "properties": {
+ "indicators": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataConnectorDataTypeCommon"
+ }
+ ],
+ "description": "Data type for indicators connection.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "TIDataConnectorProperties": {
+ "description": "TI (Threat Intelligence) data connector properties.",
+ "properties": {
+ "tenantId": {
+ "description": "The tenant id to connect to, and get the data from.",
+ "type": "string"
+ },
+ "tipLookbackPeriod": {
+ "description": "The lookback period for the feed to be imported.",
+ "format": "date-time",
+ "type": "string",
+ "x-nullable": true
+ },
+ "dataTypes": {
+ "$ref": "#/definitions/TIDataConnectorDataTypes",
+ "description": "The available data types for the connector."
+ }
+ },
+ "type": "object"
+ },
+ "MSTIDataConnector": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataConnector"
+ }
+ ],
+ "description": "Represents Microsoft Threat Intelligence data connector.",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/MSTIDataConnectorProperties",
+ "description": "Microsoft Threat Intelligence data connector properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "type": "object",
+ "x-ms-discriminator-value": "MicrosoftThreatIntelligence"
+ },
+ "MSTIDataConnectorDataTypes": {
+ "description": "The available data types for Microsoft Threat Intelligence data connector.",
+ "properties": {
+ "microsoftEmergingThreatFeed": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataConnectorDataTypeCommon"
+ }
+ ],
+ "properties": {
+ "lookbackPeriod": {
+ "description": "The lookback period for the feed to be imported. The date-time to begin importing the feed from, for example: 2024-01-01T00:00:00.000Z.",
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "description": "Data type for Microsoft Threat Intelligence data connector.",
+ "type": "object",
+ "required": [
+ "lookbackPeriod"
+ ]
+ }
+ },
+ "type": "object",
+ "required": [
+ "microsoftEmergingThreatFeed"
+ ]
+ },
+ "MSTIDataConnectorProperties": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataConnectorTenantId"
+ }
+ ],
+ "description": "Microsoft Threat Intelligence data connector properties.",
+ "properties": {
+ "dataTypes": {
+ "$ref": "#/definitions/MSTIDataConnectorDataTypes",
+ "description": "The available data types for the connector."
+ }
+ },
+ "required": [
+ "dataTypes"
+ ],
+ "type": "object"
+ },
+ "PremiumMicrosoftDefenderForThreatIntelligence": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataConnector"
+ }
+ ],
+ "description": "Represents Premium Microsoft Defender for Threat Intelligence data connector.",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/PremiumMdtiDataConnectorProperties",
+ "description": "Premium Microsoft Defender for Threat Intelligence data connector properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "type": "object",
+ "x-ms-discriminator-value": "PremiumMicrosoftDefenderForThreatIntelligence"
+ },
+ "PremiumMdtiDataConnectorDataTypes": {
+ "description": "The available data types for Premium Microsoft Defender for Threat Intelligence data connector.",
+ "properties": {
+ "connector": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataConnectorDataTypeCommon"
+ }
+ ],
+ "description": "Data type for Premium Microsoft Defender for Threat Intelligence data connector.",
+ "type": "object"
+ }
+ },
+ "type": "object",
+ "required": [
+ "connector"
+ ]
+ },
+ "PremiumMdtiDataConnectorProperties": {
+ "description": "Premium Microsoft Defender for Threat Intelligence data connector properties.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataConnectorTenantId"
+ }
+ ],
+ "properties": {
+ "lookbackPeriod": {
+ "description": "The lookback period for the feed to be imported. The date-time to begin importing the feed from, for example: 2024-01-01T00:00:00.000Z.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "requiredSKUsPresent": {
+ "description": "The flag to indicate whether the tenant has the premium SKU required to access this connector.",
+ "type": "boolean"
+ },
+ "dataTypes": {
+ "$ref": "#/definitions/PremiumMdtiDataConnectorDataTypes",
+ "description": "The available data types for the connector."
+ }
+ },
+ "required": [
+ "dataTypes",
+ "lookbackPeriod"
+ ],
+ "type": "object"
+ },
+ "OfficeDataConnector": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataConnector"
+ }
+ ],
+ "description": "Represents office data connector.",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/OfficeDataConnectorProperties",
+ "description": "Office data connector properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "type": "object",
+ "x-ms-discriminator-value": "Office365"
+ },
+ "OfficeDataConnectorDataTypes": {
+ "description": "The available data types for office data connector.",
+ "properties": {
+ "exchange": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataConnectorDataTypeCommon"
+ }
+ ],
+ "description": "Exchange data type connection.",
+ "type": "object"
+ },
+ "sharePoint": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataConnectorDataTypeCommon"
+ }
+ ],
+ "description": "SharePoint data type connection.",
+ "type": "object"
+ },
+ "teams": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataConnectorDataTypeCommon"
+ }
+ ],
+ "description": "Teams data type connection.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "OfficeDataConnectorProperties": {
+ "description": "Office data connector properties.",
+ "properties": {
+ "tenantId": {
+ "description": "The tenant id to connect to, and get the data from.",
+ "type": "string"
+ },
+ "dataTypes": {
+ "$ref": "#/definitions/OfficeDataConnectorDataTypes",
+ "description": "The available data types for the connector."
+ }
+ },
+ "type": "object"
+ }
+ },
+ "parameters": {
+ "DataConnector": {
+ "description": "The data connector",
+ "in": "body",
+ "name": "dataConnector",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DataConnector"
+ },
+ "x-ms-parameter-location": "method"
+ },
+ "DataConnectorId": {
+ "description": "Connector ID",
+ "in": "path",
+ "name": "dataConnectorId",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/Incidents.json b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/Incidents.json
similarity index 99%
rename from swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/Incidents.json
rename to swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/Incidents.json
index d2651edd8..29f99f160 100644
--- a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/Incidents.json
+++ b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/Incidents.json
@@ -3,7 +3,7 @@
"info": {
"title": "Security Insights",
"description": "API spec for Microsoft.SecurityInsights (Azure Security Insights) resource provider",
- "version": "2024-03-01"
+ "version": "2024-09-01"
},
"host": "management.azure.com",
"schemes": [
@@ -1649,6 +1649,9 @@
"in": "path",
"required": true,
"type": "string",
+ "pattern": "^[a-zA-Z0-9-]{3,63}$",
+ "minLength": 3,
+ "maxLength": 63,
"description": "Relation Name",
"x-ms-parameter-location": "method"
},
diff --git a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/Metadata.json b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/Metadata.json
similarity index 96%
rename from swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/Metadata.json
rename to swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/Metadata.json
index 8fb436ab1..ae7d1a08a 100644
--- a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/Metadata.json
+++ b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/Metadata.json
@@ -3,7 +3,7 @@
"info": {
"title": "Security Insights",
"description": "API spec for Microsoft.SecurityInsights (Azure Security Insights) resource provider",
- "version": "2024-03-01"
+ "version": "2024-09-01"
},
"host": "management.azure.com",
"schemes": [
@@ -51,13 +51,13 @@
"operationId": "Metadata_List",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -108,13 +108,13 @@
"operationId": "Metadata_Get",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -151,13 +151,13 @@
"operationId": "Metadata_Delete",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -197,13 +197,13 @@
"operationId": "Metadata_Create",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -249,13 +249,13 @@
"operationId": "Metadata_Update",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
diff --git a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/OnboardingStates.json b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/OnboardingStates.json
similarity index 92%
rename from swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/OnboardingStates.json
rename to swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/OnboardingStates.json
index ee516f7b5..c536824e4 100644
--- a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/OnboardingStates.json
+++ b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/OnboardingStates.json
@@ -3,7 +3,7 @@
"info": {
"title": "Security Insights",
"description": "API spec for Microsoft.SecurityInsights (Azure Security Insights) resource provider",
- "version": "2024-03-01"
+ "version": "2024-09-01"
},
"host": "management.azure.com",
"schemes": [
@@ -48,13 +48,13 @@
"operationId": "SentinelOnboardingStates_Get",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -91,13 +91,13 @@
"operationId": "SentinelOnboardingStates_Create",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -143,13 +143,13 @@
"operationId": "SentinelOnboardingStates_Delete",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -188,13 +188,13 @@
"operationId": "SentinelOnboardingStates_List",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
diff --git a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/SecurityMLAnalyticsSettings.json b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/SecurityMLAnalyticsSettings.json
similarity index 95%
rename from swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/SecurityMLAnalyticsSettings.json
rename to swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/SecurityMLAnalyticsSettings.json
index 7bde331de..6441b60f6 100644
--- a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/SecurityMLAnalyticsSettings.json
+++ b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/SecurityMLAnalyticsSettings.json
@@ -3,7 +3,7 @@
"info": {
"title": "Security Insights",
"description": "API spec for Microsoft.SecurityInsights (Azure Security Insights) resource provider",
- "version": "2024-03-01"
+ "version": "2024-09-01"
},
"host": "management.azure.com",
"schemes": [
@@ -48,13 +48,13 @@
"operationId": "SecurityMLAnalyticsSettings_List",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -93,13 +93,13 @@
"operationId": "SecurityMLAnalyticsSettings_Get",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -136,13 +136,13 @@
"operationId": "SecurityMLAnalyticsSettings_CreateOrUpdate",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -188,13 +188,13 @@
"operationId": "SecurityMLAnalyticsSettings_Delete",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
diff --git a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/SourceControls.json b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/SourceControls.json
similarity index 97%
rename from swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/SourceControls.json
rename to swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/SourceControls.json
index cb4037372..58284b547 100644
--- a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/SourceControls.json
+++ b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/SourceControls.json
@@ -3,7 +3,7 @@
"info": {
"title": "Security Insights",
"description": "API spec for Microsoft.SecurityInsights (Azure Security Insights) resource provider",
- "version": "2024-03-01"
+ "version": "2024-09-01"
},
"host": "management.azure.com",
"schemes": [
@@ -48,13 +48,13 @@
"operationId": "SourceControl_listRepositories",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -96,13 +96,13 @@
"operationId": "SourceControls_List",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -141,13 +141,13 @@
"operationId": "SourceControls_Get",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -184,13 +184,13 @@
"operationId": "SourceControls_Create",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -238,13 +238,13 @@
"operationId": "SourceControls_Delete",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
diff --git a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/ThreatIntelligence.json b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/ThreatIntelligence.json
similarity index 95%
rename from swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/ThreatIntelligence.json
rename to swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/ThreatIntelligence.json
index e8d8690b5..bcc1ac18d 100644
--- a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/ThreatIntelligence.json
+++ b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/ThreatIntelligence.json
@@ -3,7 +3,7 @@
"info": {
"title": "Security Insights",
"description": "API spec for Microsoft.SecurityInsights (Azure Security Insights) resource provider",
- "version": "2024-03-01"
+ "version": "2024-09-01"
},
"host": "management.azure.com",
"schemes": [
@@ -48,13 +48,13 @@
"operationId": "ThreatIntelligenceIndicator_CreateIndicator",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -99,13 +99,13 @@
"operationId": "ThreatIntelligenceIndicators_List",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -156,13 +156,13 @@
"operationId": "ThreatIntelligenceIndicator_Get",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -199,13 +199,13 @@
"operationId": "ThreatIntelligenceIndicator_Create",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -251,13 +251,13 @@
"operationId": "ThreatIntelligenceIndicator_Delete",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -296,13 +296,13 @@
"operationId": "ThreatIntelligenceIndicator_QueryIndicators",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -344,13 +344,13 @@
"operationId": "ThreatIntelligenceIndicatorMetrics_List",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -386,13 +386,13 @@
"operationId": "ThreatIntelligenceIndicator_AppendTags",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -431,13 +431,13 @@
"operationId": "ThreatIntelligenceIndicator_ReplaceTags",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
diff --git a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/Watchlists.json b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/Watchlists.json
similarity index 79%
rename from swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/Watchlists.json
rename to swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/Watchlists.json
index 563e491d4..e89bd2025 100644
--- a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/Watchlists.json
+++ b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/Watchlists.json
@@ -3,7 +3,7 @@
"info": {
"title": "Security Insights",
"description": "API spec for Microsoft.SecurityInsights (Azure Security Insights) resource provider",
- "version": "2024-03-01"
+ "version": "2024-09-01"
},
"host": "management.azure.com",
"schemes": [
@@ -48,13 +48,13 @@
"operationId": "Watchlists_List",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -96,13 +96,13 @@
"operationId": "Watchlists_Get",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -139,13 +139,13 @@
"operationId": "Watchlists_Delete",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -155,8 +155,18 @@
}
],
"responses": {
- "200": {
- "description": "OK"
+ "202": {
+ "description": "OK",
+ "headers": {
+ "Azure-AsyncOperation": {
+ "description": "Contains the status URL on which clients are expected to poll the status of the delete operation.",
+ "type": "string"
+ },
+ "Location": {
+ "description": "Location URL to poll for result.",
+ "type": "string"
+ }
+ }
},
"204": {
"description": "No Content"
@@ -164,9 +174,13 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../common/2.0/types.json#/definitions/CloudError"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
}
},
"put": {
@@ -185,13 +199,13 @@
"operationId": "Watchlists_CreateOrUpdate",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -211,17 +225,27 @@
}
},
"201": {
- "description": "Created",
+ "description": "Created. The response includes the Provisioning State and the Azure-AsyncOperation header. To get the progress of the operation, call GET operation on the URL in Azure-AsyncOperation header field.",
"schema": {
"$ref": "#/definitions/Watchlist"
+ },
+ "headers": {
+ "Azure-AsyncOperation": {
+ "description": "Contains the status URL on which clients are expected to poll the status of the operation.",
+ "type": "string"
+ }
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../common/2.0/types.json#/definitions/CloudError"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
}
}
},
@@ -239,13 +263,13 @@
"operationId": "WatchlistItems_List",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -290,13 +314,13 @@
"operationId": "WatchlistItems_Get",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -336,13 +360,13 @@
"operationId": "WatchlistItems_Delete",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -382,13 +406,13 @@
"operationId": "WatchlistItems_CreateOrUpdate",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
@@ -480,9 +504,31 @@
"type": "string"
},
"source": {
- "description": "The source of the watchlist. Only accepts \"Local file\" and \"Remote storage\". And it must included in the request.",
+ "description": "The filename of the watchlist, called 'source'",
"type": "string"
},
+ "sourceType": {
+ "description": "The sourceType of the watchlist",
+ "enum": [
+ "Local file",
+ "Remote storage"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "sourceType",
+ "values": [
+ {
+ "description": "The source from local file.",
+ "value": "Local file"
+ },
+ {
+ "description": "The source from remote storage.",
+ "value": "Remote storage"
+ }
+ ]
+ }
+ },
"created": {
"description": "The time the watchlist was created",
"format": "date-time",
@@ -536,12 +582,12 @@
"type": "string"
},
"numberOfLinesToSkip": {
- "description": "The number of lines in a csv content to skip before the header",
+ "description": "The number of lines in a csv/tsv content to skip before the header",
"type": "integer",
"format": "int32"
},
"rawContent": {
- "description": "The raw content that represents to watchlist items to create. Example : This line will be skipped\nheader1,header2\nvalue1,value2",
+ "description": "The raw content that represents to watchlist items to create. In case of csv/tsv content type, it's the content of the file that will parsed by the endpoint",
"type": "string"
},
"itemsSearchKey": {
@@ -549,12 +595,15 @@
"type": "string"
},
"contentType": {
- "description": "The content type of the raw content. For now, only text/csv is valid",
+ "description": "The content type of the raw content. Example : text/csv or text/tsv",
"type": "string"
},
"uploadStatus": {
"description": "The status of the Watchlist upload : New, InProgress or Complete. **Note** : When a Watchlist upload status is InProgress, the Watchlist cannot be deleted",
"type": "string"
+ },
+ "provisioningState": {
+ "$ref": "#/definitions/ProvisioningState"
}
},
"required": [
@@ -653,6 +702,54 @@
"itemsKeyValue"
],
"type": "object"
+ },
+ "ProvisioningState": {
+ "description": "Describes provisioning state",
+ "enum": [
+ "New",
+ "InProgress",
+ "Uploading",
+ "Deleting",
+ "Succeeded",
+ "Failed",
+ "Canceled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true,
+ "values": [
+ {
+ "description": "The New provisioning state.",
+ "value": "New"
+ },
+ {
+ "description": "The InProgress provisioning state.",
+ "value": "InProgress"
+ },
+ {
+ "description": "The Uploading provisioning state.",
+ "value": "Uploading"
+ },
+ {
+ "description": "The Deleting provisioning state.",
+ "value": "Deleting"
+ },
+ {
+ "description": "The Succeeded provisioning state.",
+ "value": "Succeeded"
+ },
+ {
+ "description": "The Failed provisioning state.",
+ "value": "Failed"
+ },
+ {
+ "description": "The Canceled provisioning state.",
+ "value": "Canceled"
+ }
+ ]
+ },
+ "readOnly": true
}
},
"parameters": {
diff --git a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/common/AlertTypes.json b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/common/AlertTypes.json
similarity index 98%
rename from swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/common/AlertTypes.json
rename to swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/common/AlertTypes.json
index 917f277e4..e687dddaa 100644
--- a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/common/AlertTypes.json
+++ b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/common/AlertTypes.json
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
- "version": "2024-03-01",
+ "version": "2024-09-01",
"title": "Common Alert types"
},
"paths": {},
diff --git a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/common/ContentCommonTypes.json b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/common/ContentCommonTypes.json
similarity index 99%
rename from swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/common/ContentCommonTypes.json
rename to swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/common/ContentCommonTypes.json
index 5ed005af9..d2f762193 100644
--- a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/common/ContentCommonTypes.json
+++ b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/common/ContentCommonTypes.json
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
- "version": "2024-03-01",
+ "version": "2024-09-01",
"title": "Common content metadata types"
},
"paths": {},
diff --git a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/common/EntityTypes.json b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/common/EntityTypes.json
similarity index 99%
rename from swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/common/EntityTypes.json
rename to swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/common/EntityTypes.json
index f9e8cc91f..f9c089fec 100644
--- a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/common/EntityTypes.json
+++ b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/common/EntityTypes.json
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
- "version": "2024-03-01",
+ "version": "2024-09-01",
"title": "Common Entity types"
},
"paths": {},
@@ -233,7 +233,7 @@
"Entity": {
"allOf": [
{
- "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/Resource"
+ "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/Resource"
}
],
"properties": {
diff --git a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/common/IncidentTypes.json b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/common/IncidentTypes.json
similarity index 99%
rename from swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/common/IncidentTypes.json
rename to swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/common/IncidentTypes.json
index dc944ba3d..47f994172 100644
--- a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/common/IncidentTypes.json
+++ b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/common/IncidentTypes.json
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
- "version": "2024-03-01",
+ "version": "2024-09-01",
"title": "Common Incident types"
},
"paths": {},
diff --git a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/dataConnectorDefinitions.json b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/dataConnectorDefinitions.json
new file mode 100644
index 000000000..75a522ebb
--- /dev/null
+++ b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/dataConnectorDefinitions.json
@@ -0,0 +1,706 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Security Insights",
+ "description": "API spec for Microsoft.SecurityInsights (Azure Security Insights) resource provider",
+ "version": "2024-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectorDefinitions": {
+ "get": {
+ "x-ms-examples": {
+ "Get all data connector definitions.": {
+ "$ref": "./examples/dataConnectorDefinitions/GetDataConnectorDefinitions.json"
+ }
+ },
+ "tags": [
+ "ConnectorDefinitions"
+ ],
+ "description": "Gets all data connector definitions.",
+ "operationId": "DataConnectorDefinitions_List",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/DataConnectorDefinitionArmCollectionWrapper"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common/2.0/types.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectorDefinitions/{dataConnectorDefinitionName}": {
+ "get": {
+ "x-ms-examples": {
+ "Get customize data connector definition": {
+ "$ref": "./examples/dataConnectorDefinitions/GetCustomizableDataConnectorDefinitionById.json"
+ }
+ },
+ "tags": [
+ "ConnectorDefinitions"
+ ],
+ "description": "Gets a data connector definition.",
+ "operationId": "DataConnectorDefinitions_Get",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
+ },
+ {
+ "$ref": "#/parameters/dataConnectorDefinitionName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/DataConnectorDefinition"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common/2.0/types.json#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "put": {
+ "x-ms-examples": {
+ "Create data connector definition": {
+ "$ref": "./examples/dataConnectorDefinitions/CreateCustomizableDataConnectorDefinition.json"
+ }
+ },
+ "tags": [
+ "ConnectorDefinitions"
+ ],
+ "description": "Creates or updates the data connector definition.",
+ "operationId": "DataConnectorDefinitions_CreateOrUpdate",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
+ },
+ {
+ "$ref": "#/parameters/dataConnectorDefinitionName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "connectorDefinitionInput",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DataConnectorDefinition"
+ },
+ "description": "The data connector definition",
+ "x-ms-parameter-location": "method"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Updated",
+ "schema": {
+ "$ref": "#/definitions/DataConnectorDefinition"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/DataConnectorDefinition"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common/2.0/types.json#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "x-ms-examples": {
+ "Delete data connector definition": {
+ "$ref": "./examples/dataConnectorDefinitions/DeleteDataConnectorDefinitionById.json"
+ }
+ },
+ "tags": [
+ "ConnectorDefinitions"
+ ],
+ "description": "Delete the data connector definition.",
+ "operationId": "DataConnectorDefinitions_Delete",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName"
+ },
+ {
+ "$ref": "#/parameters/dataConnectorDefinitionName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success"
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common/2.0/types.json#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ConnectorDefinitionsAvailability": {
+ "description": "The exposure status of the connector to the customers.",
+ "type": "object",
+ "properties": {
+ "status": {
+ "$ref": "#/definitions/AvailabilityStatus"
+ },
+ "isPreview": {
+ "description": "Gets or sets a value indicating whether the connector is preview.",
+ "type": "boolean"
+ }
+ }
+ },
+ "AvailabilityStatus": {
+ "description": "The exposure status of the connector to the customers. Available values are 0-4 (0=None, 1=Available, 2=FeatureFlag, 3=Internal).",
+ "type": "integer",
+ "format": "int32"
+ },
+ "ConnectivityCriterion": {
+ "description": "The criteria by which we determine whether the connector is connected or not.\r\nFor Example, use a KQL query to check if the expected data type is flowing).",
+ "required": [
+ "type"
+ ],
+ "type": "object",
+ "properties": {
+ "type": {
+ "description": "Gets or sets the type of connectivity.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Gets or sets the queries for checking connectivity.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "ConnectorDataType": {
+ "description": "The data type which is created by the connector,\r\nincluding a query indicated when was the last time that data type was received in the workspace.",
+ "required": [
+ "lastDataReceivedQuery",
+ "name"
+ ],
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Gets or sets the name of the data type to show in the graph.",
+ "type": "string"
+ },
+ "lastDataReceivedQuery": {
+ "description": "Gets or sets the query to indicate when relevant data was last received in the workspace.",
+ "type": "string"
+ }
+ }
+ },
+ "DataConnectorDefinition": {
+ "allOf": [
+ {
+ "$ref": "../../../common/2.0/types.json#/definitions/ResourceWithEtag"
+ }
+ ],
+ "required": [
+ "kind"
+ ],
+ "description": "An Azure resource, which encapsulate the entire info requires to display a data connector page in Azure portal,\r\nand the info required to define data connections.",
+ "type": "object",
+ "properties": {
+ "kind": {
+ "$ref": "#/definitions/DataConnectorDefinitionKind",
+ "description": "The data connector kind",
+ "type": "string"
+ }
+ },
+ "discriminator": "kind"
+ },
+ "DataConnectorDefinitionKind": {
+ "description": "The kind of the data connector definitions",
+ "enum": [
+ "Customizable"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "DataConnectorDefinitionKind",
+ "values": [
+ {
+ "value": "Customizable"
+ }
+ ]
+ }
+ },
+ "DataConnectorDefinitionArmCollectionWrapper": {
+ "type": "object",
+ "description": "Encapsulate the data connector definition object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DataConnectorDefinition"
+ }
+ },
+ "nextLink": {
+ "type": "string"
+ }
+ }
+ },
+ "CustomizableConnectorDefinition": {
+ "description": "Connector definition for kind 'Customizable'.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataConnectorDefinition"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/CustomizableConnectorDefinitionProperties",
+ "description": "Customizable properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "Customizable"
+ },
+ "CustomizableConnectorDefinitionProperties": {
+ "description": "The UiConfig for 'Customizable' connector definition kind.",
+ "type": "object",
+ "required": [
+ "connectorUiConfig"
+ ],
+ "properties": {
+ "createdTimeUtc": {
+ "format": "date-time",
+ "description": "Gets or sets the connector definition created date in UTC format.",
+ "type": "string"
+ },
+ "lastModifiedUtc": {
+ "format": "date-time",
+ "description": "Gets or sets the connector definition last modified date in UTC format.",
+ "type": "string"
+ },
+ "connectorUiConfig": {
+ "$ref": "#/definitions/CustomizableConnectorUiConfig"
+ },
+ "connectionsConfig": {
+ "$ref": "#/definitions/CustomizableConnectionsConfig"
+ }
+ }
+ },
+ "CustomizableConnectionsConfig": {
+ "description": "The UiConfig for 'Customizable' connector definition kind.",
+ "required": [
+ "templateSpecVersion",
+ "templateSpecName"
+ ],
+ "type": "object",
+ "properties": {
+ "templateSpecName": {
+ "description": "Gets or sets the template name. The template includes ARM templates that can be created by the connector, usually it will be the dataConnectors ARM templates.",
+ "type": "string"
+ },
+ "templateSpecVersion": {
+ "description": "Gets or sets the template version.",
+ "type": "string"
+ }
+ }
+ },
+ "CustomizableConnectorUiConfig": {
+ "description": "The UiConfig for 'Customizable' connector definition kind.",
+ "required": [
+ "dataTypes",
+ "descriptionMarkdown",
+ "graphQueries",
+ "instructionSteps",
+ "permissions",
+ "publisher",
+ "title",
+ "connectivityCriteria"
+ ],
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Gets or sets custom connector id. optional field.",
+ "type": "string"
+ },
+ "title": {
+ "description": "Gets or sets the connector blade title.",
+ "type": "string"
+ },
+ "publisher": {
+ "description": "Gets or sets the connector publisher name.",
+ "type": "string"
+ },
+ "descriptionMarkdown": {
+ "description": "Gets or sets the connector description in markdown format.",
+ "type": "string"
+ },
+ "graphQueries": {
+ "description": "Gets or sets the graph queries to show the current data volume over time.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GraphQuery"
+ },
+ "x-ms-identifiers": []
+ },
+ "dataTypes": {
+ "description": "Gets or sets the data types to check for last data received.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ConnectorDataType"
+ },
+ "x-ms-identifiers": []
+ },
+ "connectivityCriteria": {
+ "description": "Gets or sets the way the connector checks whether the connector is connected.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ConnectivityCriterion"
+ },
+ "x-ms-identifiers": []
+ },
+ "availability": {
+ "$ref": "#/definitions/ConnectorDefinitionsAvailability"
+ },
+ "permissions": {
+ "$ref": "#/definitions/ConnectorDefinitionsPermissions"
+ },
+ "instructionSteps": {
+ "description": "Gets or sets the instruction steps to enable the connector.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InstructionStep"
+ },
+ "x-ms-identifiers": []
+ },
+ "logo": {
+ "description": "Gets or sets the connector logo to be used when displaying the connector within Azure Sentinel's connector's gallery.\r\nThe logo value should be in SVG format.",
+ "type": "string"
+ },
+ "isConnectivityCriteriasMatchSome": {
+ "description": "Gets or sets a value indicating whether to use 'OR'(SOME) or 'AND' between ConnectivityCriteria items.",
+ "type": "boolean"
+ }
+ }
+ },
+ "CustomPermissionDetails": {
+ "description": "The Custom permissions required for the connector.",
+ "required": [
+ "description",
+ "name"
+ ],
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Gets or sets the custom permissions name.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Gets or sets the custom permissions description.",
+ "type": "string"
+ }
+ }
+ },
+ "GraphQuery": {
+ "description": "The graph query to show the volume of data arriving into the workspace over time.",
+ "required": [
+ "baseQuery",
+ "legend",
+ "metricName"
+ ],
+ "type": "object",
+ "properties": {
+ "metricName": {
+ "description": "Gets or sets the metric name that the query is checking. For example: 'Total data receive'.",
+ "type": "string"
+ },
+ "legend": {
+ "description": "Gets or sets the legend for the graph.",
+ "type": "string"
+ },
+ "baseQuery": {
+ "description": "Gets or sets the base query for the graph.\r\nThe base query is wrapped by Sentinel UI infra with a KQL query, that measures the volume over time.",
+ "type": "string"
+ }
+ }
+ },
+ "InstructionStep": {
+ "description": "Instruction steps to enable the connector.",
+ "type": "object",
+ "properties": {
+ "title": {
+ "description": "Gets or sets the instruction step title.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Gets or sets the instruction step description.",
+ "type": "string"
+ },
+ "instructions": {
+ "description": "Gets or sets the instruction step details.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InstructionStepDetails"
+ },
+ "x-ms-identifiers": []
+ },
+ "innerSteps": {
+ "description": "Gets or sets the inner instruction steps details.\r\nFor Example: instruction step 1 might contain inner instruction steps: [instruction step 1.1, instruction step 1.2].",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InstructionStep"
+ },
+ "x-ms-identifiers": []
+ }
+ }
+ },
+ "InstructionStepDetails": {
+ "description": "Instruction step details, to be displayed in the Instructions steps section in the connector's page in Sentinel Portal.",
+ "required": [
+ "parameters",
+ "type"
+ ],
+ "type": "object",
+ "properties": {
+ "parameters": {
+ "description": "Gets or sets the instruction type parameters settings.",
+ "type": "object"
+ },
+ "type": {
+ "description": "Gets or sets the instruction type name.",
+ "type": "string"
+ }
+ }
+ },
+ "ConnectorDefinitionsPermissions": {
+ "description": "The required Permissions for the connector.",
+ "type": "object",
+ "properties": {
+ "tenant": {
+ "description": "Gets or sets the required tenant permissions for the connector.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "licenses": {
+ "description": "Gets or sets the required licenses for the user to create connections.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "resourceProvider": {
+ "description": "Gets or sets the resource provider permissions required for the user to create connections.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ConnectorDefinitionsResourceProvider"
+ },
+ "x-ms-identifiers": []
+ },
+ "customs": {
+ "description": "Gets or sets the customs permissions required for the user to create connections.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CustomPermissionDetails"
+ },
+ "x-ms-identifiers": []
+ }
+ }
+ },
+ "ProviderPermissionsScope": {
+ "description": "The scope on which the user should have permissions, in order to be able to create connections.",
+ "enum": [
+ "Subscription",
+ "ResourceGroup",
+ "Workspace"
+ ],
+ "type": "string",
+ "example": "Subscription",
+ "x-ms-enum": {
+ "name": "ProviderPermissionsScope",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Subscription"
+ },
+ {
+ "value": "ResourceGroup"
+ },
+ {
+ "value": "Workspace"
+ }
+ ]
+ }
+ },
+ "ConnectorDefinitionsResourceProvider": {
+ "description": "The resource provider details include the required permissions for the user to create connections.\r\nThe user should have the required permissions(Read\\Write, ..) in the specified scope ProviderPermissionsScope against the specified resource provider.",
+ "required": [
+ "permissionsDisplayText",
+ "provider",
+ "providerDisplayName",
+ "requiredPermissions",
+ "scope"
+ ],
+ "type": "object",
+ "properties": {
+ "provider": {
+ "description": "Gets or sets the provider name.",
+ "type": "string"
+ },
+ "permissionsDisplayText": {
+ "description": "Gets or sets the permissions description text.",
+ "type": "string"
+ },
+ "providerDisplayName": {
+ "description": "Gets or sets the permissions provider display name.",
+ "type": "string"
+ },
+ "scope": {
+ "$ref": "#/definitions/ProviderPermissionsScope"
+ },
+ "requiredPermissions": {
+ "$ref": "#/definitions/ResourceProviderRequiredPermissions"
+ }
+ }
+ },
+ "ResourceProviderRequiredPermissions": {
+ "description": "Required permissions for the connector resource provider that define in ResourceProviders.\r\nFor more information about the permissions see here.",
+ "type": "object",
+ "properties": {
+ "read": {
+ "description": "Gets or sets a value indicating whether the permission is read action (GET).",
+ "type": "boolean"
+ },
+ "write": {
+ "description": "Gets or sets a value indicating whether the permission is write action (PUT or PATCH).",
+ "type": "boolean"
+ },
+ "delete": {
+ "description": "Gets or sets a value indicating whether the permission is delete action (DELETE).",
+ "type": "boolean"
+ },
+ "action": {
+ "description": "Gets or sets a value indicating whether the permission is custom actions (POST).",
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "dataConnectorDefinitionName": {
+ "in": "path",
+ "name": "dataConnectorDefinitionName",
+ "description": "The data connector definition name.",
+ "required": true,
+ "type": "string",
+ "pattern": "^[a-z0-9A-Z-_]*$",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/operations.json b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/operations.json
similarity index 97%
rename from swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/operations.json
rename to swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/operations.json
index e2c81fb13..4015e6472 100644
--- a/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-03-01/operations.json
+++ b/swagger-specs/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2024-09-01/operations.json
@@ -3,7 +3,7 @@
"info": {
"title": "Security Insights",
"description": "API spec for Microsoft.SecurityInsights (Azure Security Insights) resource provider",
- "version": "2024-03-01"
+ "version": "2024-09-01"
},
"host": "management.azure.com",
"schemes": [
@@ -45,7 +45,7 @@
"description": "Lists all operations available Azure Security Insights Resource Provider.",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
}
],
"produces": [
diff --git a/swagger-specs/securityinsights/resource-manager/api-set.json b/swagger-specs/securityinsights/resource-manager/api-set.json
index f17bfb547..0ac048ee1 100644
--- a/swagger-specs/securityinsights/resource-manager/api-set.json
+++ b/swagger-specs/securityinsights/resource-manager/api-set.json
@@ -1 +1 @@
-{"addition_input_file_paths": [], "input_files": ["Microsoft.SecurityInsights/stable/2024-03-01/AlertRules.json", "Microsoft.SecurityInsights/stable/2024-03-01/AutomationRules.json", "Microsoft.SecurityInsights/stable/2024-03-01/Bookmarks.json", "Microsoft.SecurityInsights/stable/2024-03-01/ContentPackages.json", "Microsoft.SecurityInsights/stable/2024-03-01/ContentProductPackages.json", "Microsoft.SecurityInsights/stable/2024-03-01/ContentProductTemplates.json", "Microsoft.SecurityInsights/stable/2024-03-01/ContentTemplates.json", "Microsoft.SecurityInsights/stable/2024-03-01/DataConnectors.json", "Microsoft.SecurityInsights/stable/2024-03-01/Incidents.json", "Microsoft.SecurityInsights/stable/2024-03-01/Metadata.json", "Microsoft.SecurityInsights/stable/2024-03-01/OnboardingStates.json", "Microsoft.SecurityInsights/stable/2024-03-01/SecurityMLAnalyticsSettings.json", "Microsoft.SecurityInsights/stable/2024-03-01/SourceControls.json", "Microsoft.SecurityInsights/stable/2024-03-01/ThreatIntelligence.json", "Microsoft.SecurityInsights/stable/2024-03-01/Watchlists.json", "Microsoft.SecurityInsights/stable/2024-03-01/operations.json"], "name": "package-2024-03"}
\ No newline at end of file
+{"addition_input_file_paths": [], "input_files": ["Microsoft.SecurityInsights/stable/2024-09-01/AlertRules.json", "Microsoft.SecurityInsights/stable/2024-09-01/AutomationRules.json", "Microsoft.SecurityInsights/stable/2024-09-01/Bookmarks.json", "Microsoft.SecurityInsights/stable/2024-09-01/ContentPackages.json", "Microsoft.SecurityInsights/stable/2024-09-01/ContentProductPackages.json", "Microsoft.SecurityInsights/stable/2024-09-01/ContentProductTemplates.json", "Microsoft.SecurityInsights/stable/2024-09-01/ContentTemplates.json", "Microsoft.SecurityInsights/stable/2024-09-01/dataConnectorDefinitions.json", "Microsoft.SecurityInsights/stable/2024-09-01/DataConnectors.json", "Microsoft.SecurityInsights/stable/2024-09-01/Incidents.json", "Microsoft.SecurityInsights/stable/2024-09-01/Metadata.json", "Microsoft.SecurityInsights/stable/2024-09-01/OnboardingStates.json", "Microsoft.SecurityInsights/stable/2024-09-01/operations.json", "Microsoft.SecurityInsights/stable/2024-09-01/SecurityMLAnalyticsSettings.json", "Microsoft.SecurityInsights/stable/2024-09-01/SourceControls.json", "Microsoft.SecurityInsights/stable/2024-09-01/ThreatIntelligence.json", "Microsoft.SecurityInsights/stable/2024-09-01/Watchlists.json"], "name": "package-2024-09"}
\ No newline at end of file
diff --git a/swagger-specs/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-06-01-preview/managedapplication.json b/swagger-specs/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/managedapplication.json
similarity index 99%
rename from swagger-specs/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-06-01-preview/managedapplication.json
rename to swagger-specs/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/managedapplication.json
index da43f59a8..872f83ec4 100644
--- a/swagger-specs/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-06-01-preview/managedapplication.json
+++ b/swagger-specs/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/managedapplication.json
@@ -3,7 +3,7 @@
"info": {
"title": "ServiceFabricManagementClient",
"description": "Azure Service Fabric Resource Provider API Client",
- "version": "2024-06-01-preview"
+ "version": "2024-09-01-preview"
},
"host": "management.azure.com",
"schemes": [
@@ -2975,7 +2975,7 @@
"api-version": {
"name": "api-version",
"in": "query",
- "description": "The version of the Service Fabric resource provider API. This is a required parameter and it's value must be \"2024-06-01-preview\" for this specification.",
+ "description": "The version of the Service Fabric resource provider API. This is a required parameter and it's value must be \"2024-09-01-preview\" for this specification.",
"required": true,
"type": "string",
"x-ms-parameter-location": "client"
diff --git a/swagger-specs/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-06-01-preview/managedcluster.json b/swagger-specs/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/managedcluster.json
similarity index 98%
rename from swagger-specs/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-06-01-preview/managedcluster.json
rename to swagger-specs/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/managedcluster.json
index 96ea46b4e..60f75b906 100644
--- a/swagger-specs/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-06-01-preview/managedcluster.json
+++ b/swagger-specs/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/managedcluster.json
@@ -3,7 +3,7 @@
"info": {
"title": "ServiceFabricManagementClient",
"description": "Azure Service Fabric Resource Provider API Client",
- "version": "2024-06-01-preview"
+ "version": "2024-09-01-preview"
},
"host": "management.azure.com",
"schemes": [
@@ -940,7 +940,7 @@
}
]
},
- "description": "This enum is the entrypoint to using a certificate from a public CA for your cluster. This property was introduced to solve the\ndomain squatting problem with new domains. A domain name will be generated in the following format: ....\nThe hash portion comes from Azure DNS' Deterministic Name Library. The library creates a hash using the cluster's Tenant, Subscription, Resource Group\nand Resource Name using the AutoGeneratedDomainNameLabelScope/reuse policy chosen.\n"
+ "description": "This enum is the entrypoint to using a certificate from a public CA for your cluster. This property was introduced to solve the\ndomain squatting problem with new domains. A domain name will be generated in the following format: ....\nThe hash portion comes from Azure DNS' Deterministic Name Library. The library creates a hash using the cluster's Tenant, Subscription, Resource Group\nand Resource Name using the AutoGeneratedDomainNameLabelScope/reuse policy chosen.\n"
},
"AzureActiveDirectory": {
"type": "object",
@@ -1490,7 +1490,7 @@
},
"enableAutoOSUpgrade": {
"type": "boolean",
- "description": "Setting this to true enables automatic OS upgrade for the node types that are created using any platform OS image with version 'latest'. The default value for this setting is false."
+ "description": "Enables automatic OS upgrade for node types created using OS images with version 'latest'. The default value for this setting is false."
},
"zonalResiliency": {
"type": "boolean",
@@ -1603,9 +1603,10 @@
"$ref": "#/definitions/AutoGeneratedDomainNameLabelScope",
"description": "This property is the entry point to using a public CA cert for your cluster cert. It specifies the level of reuse allowed for the custom FQDN created, matching the subject of the public CA cert."
},
- "customFqdn": {
- "type": "string",
- "description": "If using autoGeneratedDomainNameLabelScope, this is the fully qualified domain name using SFMC's domain, pointing to the public load balancer of the cluster."
+ "allocatedOutboundPorts": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of outbound ports allocated for SNAT for each node in the backend pool of the default load balancer. The default value is 0 which provides dynamic port allocation based on pool size."
}
},
"description": "Describes the managed cluster resource properties."
@@ -2293,7 +2294,7 @@
"api-version": {
"name": "api-version",
"in": "query",
- "description": "The version of the Service Fabric resource provider API. This is a required parameter and it's value must be \"2024-06-01-preview\" for this specification.",
+ "description": "The version of the Service Fabric resource provider API. This is a required parameter and it's value must be \"2024-09-01-preview\" for this specification.",
"required": true,
"type": "string",
"x-ms-parameter-location": "client"
diff --git a/swagger-specs/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-06-01-preview/nodetype.json b/swagger-specs/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/nodetype.json
similarity index 98%
rename from swagger-specs/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-06-01-preview/nodetype.json
rename to swagger-specs/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/nodetype.json
index 2abc6222c..ef0a07812 100644
--- a/swagger-specs/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-06-01-preview/nodetype.json
+++ b/swagger-specs/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/preview/2024-09-01-preview/nodetype.json
@@ -3,7 +3,7 @@
"info": {
"title": "ServiceFabricManagementClient",
"description": "Azure Service Fabric Resource Provider API Client",
- "version": "2024-06-01-preview"
+ "version": "2024-09-01-preview"
},
"host": "management.azure.com",
"schemes": [
@@ -524,6 +524,10 @@
"$ref": "./examples/NodeTypePatchOperationAutoScale_example.json"
}
},
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
"responses": {
"200": {
"description": "The operation completed successfully.",
@@ -531,6 +535,19 @@
"$ref": "#/definitions/NodeType"
}
},
+ "202": {
+ "description": "The request was accepted and the operation will complete asynchronously.",
+ "headers": {
+ "Azure-AsyncOperation": {
+ "description": "The URL to get the status of an ongoing long-running operation.",
+ "type": "string"
+ },
+ "Location": {
+ "description": "The URL to get the status of a completed long-running operation.",
+ "type": "string"
+ }
+ }
+ },
"default": {
"description": "The detailed error response.",
"schema": {
@@ -1507,7 +1524,7 @@
"properties": {
"certificateUrl": {
"type": "string",
- "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}"
+ "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add)."
},
"certificateStore": {
"type": "string",
@@ -2050,7 +2067,7 @@
"api-version": {
"name": "api-version",
"in": "query",
- "description": "The version of the Service Fabric resource provider API. This is a required parameter and it's value must be \"2024-06-01-preview\" for this specification.",
+ "description": "The version of the Service Fabric resource provider API. This is a required parameter and it's value must be \"2024-09-01-preview\" for this specification.",
"required": true,
"type": "string",
"x-ms-parameter-location": "client"
diff --git a/swagger-specs/servicefabricmanagedclusters/resource-manager/api-set.json b/swagger-specs/servicefabricmanagedclusters/resource-manager/api-set.json
index 7f2bec926..e4de8720a 100644
--- a/swagger-specs/servicefabricmanagedclusters/resource-manager/api-set.json
+++ b/swagger-specs/servicefabricmanagedclusters/resource-manager/api-set.json
@@ -1 +1 @@
-{"addition_input_file_paths": [], "input_files": ["Microsoft.ServiceFabric/preview/2024-06-01-preview/managedapplication.json", "Microsoft.ServiceFabric/preview/2024-06-01-preview/managedcluster.json", "Microsoft.ServiceFabric/preview/2024-06-01-preview/nodetype.json"], "name": "package-2024-06-preview"}
\ No newline at end of file
+{"addition_input_file_paths": [], "input_files": ["Microsoft.ServiceFabric/preview/2024-09-01-preview/managedapplication.json", "Microsoft.ServiceFabric/preview/2024-09-01-preview/managedcluster.json", "Microsoft.ServiceFabric/preview/2024-09-01-preview/nodetype.json"], "name": "package-2024-09-preview"}
\ No newline at end of file
diff --git a/swagger-specs/signalr/resource-manager/Microsoft.SignalRService/preview/2024-08-01-preview/terraform/Microsoft.SignalRService_locations/main.tf b/swagger-specs/signalr/resource-manager/Microsoft.SignalRService/preview/2024-08-01-preview/terraform/Microsoft.SignalRService_locations/main.tf
deleted file mode 100644
index ae51d77de..000000000
--- a/swagger-specs/signalr/resource-manager/Microsoft.SignalRService/preview/2024-08-01-preview/terraform/Microsoft.SignalRService_locations/main.tf
+++ /dev/null
@@ -1,60 +0,0 @@
-terraform {
- required_providers {
- azapi = {
- source = "Azure/azapi"
- }
- }
-}
-
-provider "azapi" {
- # This is not needed after the api is completely onboarded
- endpoint = [{
- resource_manager_endpoint = "https://eastus2euap.management.azure.com/"
- resource_manager_audience = "https://management.core.windows.net/"
- active_directory_authority_host = "https://login.microsoftonline.com"
- }]
-}
-
-variable "resource_name" {
- type = string
- default = "acctest7956"
-}
-
-variable "location" {
- type = string
- default = "eastus2euap"
-}
-
-data "azapi_resource" "subscription" {
- type = "Microsoft.Resources/subscriptions@2020-06-01"
- response_export_values = ["*"]
-}
-
-data "azapi_resource_id" "location" {
- type = "Microsoft.SignalRService/locations@2023-12-12"
- parent_id = data.azapi_resource.subscription.id
- name = var.location
-}
-
-// OperationId: SignalR_CheckNameAvailability
-// POST /subscriptions/{subscriptionId}/providers/Microsoft.SignalRService/locations/{location}/checkNameAvailability
-resource "azapi_resource_action" "checkNameAvailability" {
- type = "Microsoft.SignalRService/locations@2024-08-01-preview"
- resource_id = data.azapi_resource_id.location.id
- action = "checkNameAvailability"
- method = "POST"
- body = {
- name = "mySignalRService"
- type = "Microsoft.SignalRService/SignalR"
- }
-}
-
-// OperationId: Usages_List
-// GET /subscriptions/{subscriptionId}/providers/Microsoft.SignalRService/locations/{location}/usages
-data "azapi_resource_action" "usages" {
- type = "Microsoft.SignalRService/locations@2024-08-01-preview"
- resource_id = data.azapi_resource_id.location.id
- action = "usages"
- method = "GET"
-}
-
diff --git a/swagger-specs/signalr/resource-manager/Microsoft.SignalRService/preview/2024-08-01-preview/terraform/Microsoft.SignalRService_operations/main.tf b/swagger-specs/signalr/resource-manager/Microsoft.SignalRService/preview/2024-08-01-preview/terraform/Microsoft.SignalRService_operations/main.tf
deleted file mode 100644
index de252f4eb..000000000
--- a/swagger-specs/signalr/resource-manager/Microsoft.SignalRService/preview/2024-08-01-preview/terraform/Microsoft.SignalRService_operations/main.tf
+++ /dev/null
@@ -1,35 +0,0 @@
-terraform {
- required_providers {
- azapi = {
- source = "Azure/azapi"
- }
- }
-}
-
-provider "azapi" {
- # This is not needed after the api is completely onboarded
- endpoint = [{
- # Use dogfood endpoint as apis in this tf will not be routed to canary regions
- resource_manager_endpoint = "https://api-dogfood.resources.windows-int.net/"
- resource_manager_audience = "https://management.core.windows.net/"
- active_directory_authority_host = "https://login.windows-ppe.net/"
- }]
-}
-
-variable "resource_name" {
- type = string
- default = "acctest0702"
-}
-
-variable "location" {
- type = string
- default = "southeastasia"
-}
-
-// OperationId: Operations_List
-// GET /providers/Microsoft.SignalRService/operations
-data "azapi_resource_list" "listOperationsByTenant" {
- type = "Microsoft.SignalRService/operations@2024-08-01-preview"
- parent_id = "/"
-}
-
diff --git a/swagger-specs/signalr/resource-manager/Microsoft.SignalRService/preview/2024-08-01-preview/terraform/Microsoft.SignalRService_signalR/main.tf b/swagger-specs/signalr/resource-manager/Microsoft.SignalRService/preview/2024-08-01-preview/terraform/Microsoft.SignalRService_signalR/main.tf
deleted file mode 100644
index 351c1e63d..000000000
--- a/swagger-specs/signalr/resource-manager/Microsoft.SignalRService/preview/2024-08-01-preview/terraform/Microsoft.SignalRService_signalR/main.tf
+++ /dev/null
@@ -1,463 +0,0 @@
-terraform {
- required_providers {
- azapi = {
- source = "Azure/azapi"
- }
- }
-}
-
-provider "azapi" {
- # This is not needed after the api is completely onboarded
- endpoint = [{
- resource_manager_endpoint = "https://eastus2euap.management.azure.com/"
- resource_manager_audience = "https://management.core.windows.net/"
- active_directory_authority_host = "https://login.microsoftonline.com"
- }]
-}
-
-variable "resource_name" {
- type = string
- default = "acctest33253"
-}
-
-variable "location" {
- type = string
- default = "eastus2euap"
-}
-
-resource "azapi_resource" "resourceGroup" {
- type = "Microsoft.Resources/resourceGroups@2020-06-01"
- name = var.resource_name
- location = var.location
-}
-
-// OperationId: SignalR_CreateOrUpdate, SignalR_Get, SignalR_Delete
-// PUT GET DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}
-resource "azapi_resource" "signalR" {
- type = "Microsoft.SignalRService/signalR@2024-08-01-preview"
- parent_id = azapi_resource.resourceGroup.id
- name = var.resource_name
- location = var.location
- body = {
- identity = {
- type = "SystemAssigned"
- }
- kind = "SignalR"
- properties = {
- cors = {
- allowedOrigins = [
- "https://foo.com",
- "https://bar.com",
- ]
- }
- resourceStopped = "false"
- regionEndpointEnabled = "Enabled"
- disableAadAuth = false
- disableLocalAuth = false
- features = [
- {
- flag = "ServiceMode"
- properties = {
- }
- value = "Serverless"
- },
- {
- flag = "EnableConnectivityLogs"
- properties = {
- }
- value = "True"
- },
- {
- flag = "EnableMessagingLogs"
- properties = {
- }
- value = "False"
- },
- {
- flag = "EnableLiveTrace"
- properties = {
- }
- value = "False"
- },
- ]
- applicationFirewall = {
- clientConnectionCountRules = [
- {
- type = "ThrottleByJwtSignatureRule",
- maxCount = 13
- },
- {
- type = "ThrottleByUserIdRule",
- maxCount = 20
- },
- {
- type = "ThrottleByJwtCustomClaimRule",
- claimName = "claimName",
- maxCount = 20
- }
- ]
- },
- resourceLogConfiguration = {
- categories = [
- {
- enabled = "false"
- name = "MessagingLogs"
- },
- {
- enabled = "false"
- name = "ConnectivityLogs"
- },
- {
- enabled = "false"
- name = "HttpRequestLogs"
- },
- ]
- }
- liveTraceConfiguration = {
- categories = [
- {
- enabled = "true"
- name = "ConnectivityLogs"
- },
- ]
- enabled = "false"
- }
- networkACLs = {
- ipRules = [
- {
- action = "Allow"
- value = "0.0.0.0/0"
- }, ]
- defaultAction = "Deny"
- privateEndpoints = [
- // Need to create a private endpoint first
- # {
- # allow = [
- # "ServerConnection",
- # ]
- # name = "mysignalrservice.1fa229cd-bf3f-47f0-8c49-afb36723997e"
- # },
- ]
- publicNetwork = {
- allow = [
- "ClientConnection",
- ]
- deny = []
- }
- }
- publicNetworkAccess = "Enabled"
- serverless = {
- connectionTimeoutInSeconds = 5
- }
- tls = {
- clientCertEnabled = false
- }
- upstream = {
- templates = [
- {
- auth = {
- managedIdentity = {
- resource = "api://example"
- }
- type = "ManagedIdentity"
- }
- categoryPattern = "*"
- eventPattern = "connect,disconnect"
- hubPattern = "*"
- urlTemplate = "https://example.com/chat/api/connect"
- },
- ]
- }
- }
- sku = {
- capacity = 1
- name = "Premium_P1"
- tier = "Premium"
- }
- tags = {
- key1 = "value1"
- }
- }
- schema_validation_enabled = false
-}
-
-// OperationId: SignalR_Update
-// PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}
-resource "azapi_resource_action" "patch_signalR" {
- type = "Microsoft.SignalRService/signalR@2024-08-01-preview"
- resource_id = azapi_resource.signalR.id
- action = ""
- method = "PATCH"
- body = {
- location = var.location
- identity = {
- type = "SystemAssigned"
- }
- kind = "SignalR"
- properties = {
- resourceStopped = "false"
- regionEndpointEnabled = "Enabled"
- cors = {
- allowedOrigins = [
- "https://foo.com",
- "https://bar.com",
- ]
- }
- disableAadAuth = false
- disableLocalAuth = false
- features = [
- {
- flag = "ServiceMode"
- properties = {
- }
- value = "Serverless"
- },
- {
- flag = "EnableConnectivityLogs"
- properties = {
- }
- value = "True"
- },
- {
- flag = "EnableMessagingLogs"
- properties = {
- }
- value = "False"
- },
- {
- flag = "EnableLiveTrace"
- properties = {
- }
- value = "False"
- },
- ]
- liveTraceConfiguration = {
- categories = [
- {
- enabled = "true"
- name = "ConnectivityLogs"
- },
- ]
- enabled = "false"
- }
- networkACLs = {
- defaultAction = "Deny"
- privateEndpoints = [
- // Need to create a private endpoint first
- # {
- # allow = [
- # "ServerConnection",
- # ]
- # name = "mysignalrservice.1fa229cd-bf3f-47f0-8c49-afb36723997e"
- # },
- ]
- ipRules = [
- {
- action = "Allow"
- value = "0.0.0.0/0"
- }, ]
- publicNetwork = {
- allow = [
- "ClientConnection",
- ]
- deny = []
- }
- }
- publicNetworkAccess = "Enabled"
- serverless = {
- connectionTimeoutInSeconds = 5
- }
- tls = {
- clientCertEnabled = false
- }
- applicationFirewall = {
- clientConnectionCountRules = [
- {
- type = "ThrottleByJwtSignatureRule",
- maxCount = 13
- },
- {
- type = "ThrottleByUserIdRule",
- maxCount = 20
- },
- {
- type = "ThrottleByJwtCustomClaimRule",
- claimName = "claimName",
- maxCount = 20
- }
- ]
- },
- resourceLogConfiguration = {
- categories = [
- {
- enabled = "false"
- name = "MessagingLogs"
- },
- {
- enabled = "false"
- name = "ConnectivityLogs"
- },
- {
- enabled = "false"
- name = "HttpRequestLogs"
- },
- ]
- }
- upstream = {
- templates = [
- {
- auth = {
- managedIdentity = {
- resource = "api://example"
- }
- type = "ManagedIdentity"
- }
- categoryPattern = "*"
- eventPattern = "connect,disconnect"
- hubPattern = "*"
- urlTemplate = "https://example.com/chat/api/connect"
- },
- ]
- }
- }
- sku = {
- capacity = 1
- name = "Premium_P1"
- tier = "Premium"
- }
- tags = {
- key1 = "value1"
- }
- }
- depends_on = [azapi_resource.signalR]
-}
-
-// OperationId: SignalR_ListKeys
-// POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/listKeys
-resource "azapi_resource_action" "listKeys" {
- type = "Microsoft.SignalRService/signalR@2024-08-01-preview"
- resource_id = azapi_resource.signalR.id
- action = "listKeys"
- method = "POST"
-}
-
-// OperationId: SignalRPrivateLinkResources_List
-// GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/privateLinkResources
-data "azapi_resource_action" "privateLinkResources" {
- type = "Microsoft.SignalRService/signalR@2024-08-01-preview"
- resource_id = azapi_resource.signalR.id
- action = "privateLinkResources"
- method = "GET"
-}
-
-// OperationId: SignalR_RegenerateKey
-// POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/regenerateKey
-resource "azapi_resource_action" "regenerateKey" {
- type = "Microsoft.SignalRService/signalR@2024-08-01-preview"
- resource_id = azapi_resource.signalR.id
- action = "regenerateKey"
- method = "POST"
- body = {
- keyType = "Primary"
- }
- depends_on = [azapi_resource_action.patch_signalR]
-}
-
-// OperationId: SignalR_Restart
-// POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/restart
-resource "azapi_resource_action" "restart" {
- type = "Microsoft.SignalRService/signalR@2024-08-01-preview"
- resource_id = azapi_resource.signalR.id
- action = "restart"
- method = "POST"
- depends_on = [azapi_resource_action.regenerateKey]
-}
-
-// OperationId: SignalR_ListSkus
-// GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/skus
-data "azapi_resource_action" "skus" {
- type = "Microsoft.SignalRService/signalR@2024-08-01-preview"
- resource_id = azapi_resource.signalR.id
- action = "skus"
- method = "GET"
-}
-
-data "azapi_resource" "subscription" {
- type = "Microsoft.Resources/subscriptions@2020-06-01"
- response_export_values = ["*"]
-}
-
-// OperationId: SignalR_ListBySubscription
-// GET /subscriptions/{subscriptionId}/providers/Microsoft.SignalRService/signalR
-data "azapi_resource_list" "listSignalRBySubscription" {
- type = "Microsoft.SignalRService/signalR@2024-08-01-preview"
- parent_id = data.azapi_resource.subscription.id
- depends_on = [azapi_resource.signalR]
-}
-
-// OperationId: SignalR_ListByResourceGroup
-// GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR
-data "azapi_resource_list" "listSignalRByResourceGroup" {
- type = "Microsoft.SignalRService/signalR@2024-08-01-preview"
- parent_id = azapi_resource.resourceGroup.id
- depends_on = [azapi_resource.signalR]
-}
-
-# // OperationId: SignalRReplicas_List
-# // GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/replicas
-data "azapi_resource_list" "listReplicasBySignalR" {
- type = "Microsoft.SignalRService/signalR/replicas@2024-08-01-preview"
- parent_id = azapi_resource.signalR.id
-}
-
-resource "azapi_resource" "user_assigned_identity" {
- type = "Microsoft.ManagedIdentity/userAssignedIdentities@2018-11-30"
- name = var.resource_name
- location = var.location
- parent_id = azapi_resource.resourceGroup.id
-}
-
-# validate properties that can't exist together
-// OperationId: SignalR_CreateOrUpdate, SignalR_Get, SignalR_Delete
-// PUT GET DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}
-resource "azapi_resource" "signalR2" {
- type = "Microsoft.SignalRService/signalR@2024-08-01-preview"
- parent_id = azapi_resource.resourceGroup.id
- name = format("%s2", var.resource_name)
- location = var.location
- body = {
- identity = {
- type = "UserAssigned",
- userAssignedIdentities = {
- "${azapi_resource.user_assigned_identity.id}" = {}
- }
- },
- kind = "SignalR"
- sku = {
- capacity = 1
- name = "Premium_P1"
- tier = "Premium"
- }
- }
- schema_validation_enabled = false
-}
-
-
-// OperationId: SignalR_Update
-// PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}
-resource "azapi_resource_action" "patch_signalR2" {
- type = "Microsoft.SignalRService/signalR@2024-08-01-preview"
- resource_id = azapi_resource.signalR2.id
- action = ""
- method = "PATCH"
- body = {
- location = var.location
- identity = {
- type = "UserAssigned",
- userAssignedIdentities = {
- "${azapi_resource.user_assigned_identity.id}" = {}
- }
- },
- }
-}
-
diff --git a/swagger-specs/signalr/resource-manager/Microsoft.SignalRService/preview/2024-08-01-preview/terraform/Microsoft.SignalRService_signalR_customCertificates/main.tf b/swagger-specs/signalr/resource-manager/Microsoft.SignalRService/preview/2024-08-01-preview/terraform/Microsoft.SignalRService_signalR_customCertificates/main.tf
deleted file mode 100644
index 748c153fe..000000000
--- a/swagger-specs/signalr/resource-manager/Microsoft.SignalRService/preview/2024-08-01-preview/terraform/Microsoft.SignalRService_signalR_customCertificates/main.tf
+++ /dev/null
@@ -1,148 +0,0 @@
-terraform {
- required_providers {
- azapi = {
- source = "Azure/azapi"
- }
- }
-}
-
-provider "azapi" {
-}
-
-provider "azurerm" {
- features {
- }
-}
-
-variable "resource_name" {
- type = string
- default = "acctest04972"
-}
-
-variable "location" {
- type = string
- default = "eastus2euap"
-}
-
-data "azurerm_client_config" "current" {
-}
-
-resource "azapi_resource" "resourceGroup" {
- type = "Microsoft.Resources/resourceGroups@2020-06-01"
- name = var.resource_name
- location = var.location
-}
-
-resource "azapi_resource" "signalR" {
- type = "Microsoft.SignalRService/signalR@2023-02-01"
- parent_id = azapi_resource.resourceGroup.id
- name = var.resource_name
- location = var.location
- identity {
- type = "SystemAssigned"
- identity_ids = []
- }
- body = {
- properties = {
- cors = {
- }
- disableAadAuth = false
- disableLocalAuth = false
- publicNetworkAccess = "Enabled"
- tls = {
- clientCertEnabled = false
- }
- }
- sku = {
- capacity = 1
- name = "Premium_P1"
- }
- }
- schema_validation_enabled = false
- response_export_values = ["*"]
-}
-
-resource "azurerm_key_vault" "test" {
- name = var.resource_name
- location = var.location
- resource_group_name = azapi_resource.resourceGroup.name
- tenant_id = data.azurerm_client_config.current.tenant_id
- sku_name = "standard"
- soft_delete_retention_days = 7
-
- access_policy {
- tenant_id = data.azurerm_client_config.current.tenant_id
- object_id = data.azurerm_client_config.current.object_id
-
- certificate_permissions = [
- "Create",
- "Delete",
- "Get",
- "Import",
- "Purge",
- "Recover",
- "Update",
- "List",
- ]
-
- secret_permissions = [
- "Get",
- "Set",
- ]
- }
-
- access_policy {
- tenant_id = data.azurerm_client_config.current.tenant_id
- object_id = azapi_resource.signalR.identity[0].principal_id
-
- certificate_permissions = [
- "Create",
- "Delete",
- "Get",
- "Import",
- "Purge",
- "Recover",
- "Update",
- "List",
- ]
-
- secret_permissions = [
- "Get",
- "Set",
- ]
- }
-}
-
-resource "azurerm_key_vault_certificate" "test" {
- name = var.resource_name
- key_vault_id = azurerm_key_vault.test.id
- certificate {
- contents = filebase64("certificate-to-import.pfx")
- password = ""
- }
-}
-
-// OperationId: SignalRCustomCertificates_CreateOrUpdate, SignalRCustomCertificates_Get, SignalRCustomCertificates_Delete
-// PUT GET DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/customCertificates/{certificateName}
-resource "azapi_resource" "customCertificate" {
- type = "Microsoft.SignalRService/signalR/customCertificates@2024-08-01-preview"
- parent_id = azapi_resource.signalR.id
- name = var.resource_name
- body = {
- properties = {
- keyVaultBaseUri = azurerm_key_vault.test.vault_uri
- keyVaultSecretName = azurerm_key_vault_certificate.test.name
- keyVaultSecretVersion = azurerm_key_vault_certificate.test.version
- }
- }
- schema_validation_enabled = false
-}
-
-// OperationId: SignalRCustomCertificates_List
-// GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/customCertificates
-data "azapi_resource_list" "listCustomCertificatesBySignalR" {
- type = "Microsoft.SignalRService/signalR/customCertificates@2024-08-01-preview"
- parent_id = azapi_resource.signalR.id
- depends_on = [azapi_resource.customCertificate]
-}
-
diff --git a/swagger-specs/signalr/resource-manager/Microsoft.SignalRService/preview/2024-08-01-preview/terraform/Microsoft.SignalRService_signalR_customDomains/main.tf b/swagger-specs/signalr/resource-manager/Microsoft.SignalRService/preview/2024-08-01-preview/terraform/Microsoft.SignalRService_signalR_customDomains/main.tf
deleted file mode 100644
index 3a3163a5a..000000000
--- a/swagger-specs/signalr/resource-manager/Microsoft.SignalRService/preview/2024-08-01-preview/terraform/Microsoft.SignalRService_signalR_customDomains/main.tf
+++ /dev/null
@@ -1,192 +0,0 @@
-terraform {
- required_providers {
- azapi = {
- source = "Azure/azapi"
- }
- }
-}
-
-provider "azapi" {
-}
-
-provider "azurerm" {
- features {
- }
-}
-
-variable "resource_name" {
- type = string
- default = "acctest049822"
-}
-
-variable "location" {
- type = string
- default = "eastus2euap"
-}
-
-data "azurerm_client_config" "current" {
-}
-
-resource "azapi_resource" "resourceGroup" {
- type = "Microsoft.Resources/resourceGroups@2020-06-01"
- name = var.resource_name
- location = var.location
-}
-
-resource "azapi_resource" "signalR" {
- type = "Microsoft.SignalRService/SignalR@2023-02-01"
- parent_id = azapi_resource.resourceGroup.id
- name = var.resource_name
- location = var.location
- identity {
- type = "SystemAssigned"
- identity_ids = []
- }
-
- body = {
- properties = {
- cors = {
- }
- disableAadAuth = false
- disableLocalAuth = false
- publicNetworkAccess = "Enabled"
- tls = {
- clientCertEnabled = false
- }
- }
- sku = {
- capacity = 1
- name = "Premium_P1"
- }
- }
- schema_validation_enabled = false
- response_export_values = ["*"]
-}
-
-resource "azurerm_key_vault" "test" {
- name = var.resource_name
- location = var.location
- resource_group_name = azapi_resource.resourceGroup.name
- tenant_id = data.azurerm_client_config.current.tenant_id
- sku_name = "standard"
- soft_delete_retention_days = 7
-
- access_policy {
- tenant_id = data.azurerm_client_config.current.tenant_id
- object_id = data.azurerm_client_config.current.object_id
-
- certificate_permissions = [
- "Create",
- "Delete",
- "Get",
- "Import",
- "Purge",
- "Recover",
- "Update",
- "List",
- ]
-
- secret_permissions = [
- "Get",
- "Set",
- ]
- }
-
- access_policy {
- tenant_id = data.azurerm_client_config.current.tenant_id
- object_id = azapi_resource.signalR.identity[0].principal_id
-
- certificate_permissions = [
- "Create",
- "Delete",
- "Get",
- "Import",
- "Purge",
- "Recover",
- "Update",
- "List",
- ]
-
- secret_permissions = [
- "Get",
- "Set",
- ]
- }
-}
-
-resource "azurerm_key_vault_certificate" "test" {
- name = var.resource_name
- key_vault_id = azurerm_key_vault.test.id
- certificate {
- contents = filebase64("certificate-to-import.pfx")
- password = ""
- }
-}
-
-// OperationId: SignalRCustomCertificates_CreateOrUpdate, SignalRCustomCertificates_Get, SignalRCustomCertificates_Delete
-// PUT GET DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/customCertificates/{certificateName}
-resource "azapi_resource" "customCertificate" {
- type = "Microsoft.SignalRService/signalR/customCertificates@2024-08-01-preview"
- parent_id = azapi_resource.signalR.id
- name = var.resource_name
- body = {
- properties = {
- keyVaultBaseUri = azurerm_key_vault.test.vault_uri
- keyVaultSecretName = azurerm_key_vault_certificate.test.name
- keyVaultSecretVersion = azurerm_key_vault_certificate.test.version
- }
- }
- schema_validation_enabled = false
-}
-
-resource "azapi_resource" "dnsZone" {
- type = "Microsoft.Network/dnsZones@2018-05-01"
- parent_id = azapi_resource.resourceGroup.id
- name = "${var.resource_name}.com"
- location = "global"
-}
-
-resource "azapi_resource" "CNAME" {
- type = "Microsoft.Network/dnsZones/CNAME@2018-05-01"
- parent_id = azapi_resource.dnsZone.id
- name = "signalr"
- body = {
- properties = {
- CNAMERecord = {
- cname = azapi_resource.signalR.output.properties.hostName
- }
- TTL = 3600
- metadata = {
- }
- targetResource = {
- }
- }
- }
- depends_on = [azapi_resource.customCertificate]
-}
-
-// OperationId: SignalRCustomDomains_CreateOrUpdate, SignalRCustomDomains_Get, SignalRCustomDomains_Delete
-// PUT GET DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/customDomains/{name}
-resource "azapi_resource" "customDomain" {
- type = "Microsoft.SignalRService/signalR/customDomains@2024-08-01-preview"
- parent_id = azapi_resource.signalR.id
- name = var.resource_name
- body = {
- properties = {
- customCertificate = {
- id = azapi_resource.customCertificate.id
- }
- domainName = "signalr.${azapi_resource.dnsZone.name}"
- }
- }
- schema_validation_enabled = false
-}
-
-// OperationId: SignalRCustomDomains_List
-// GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/customDomains
-data "azapi_resource_list" "listCustomDomainsBySignalR" {
- type = "Microsoft.SignalRService/signalR/customDomains@2024-08-01-preview"
- parent_id = azapi_resource.signalR.id
- depends_on = [azapi_resource.customDomain]
-}
-
diff --git a/swagger-specs/signalr/resource-manager/Microsoft.SignalRService/preview/2024-08-01-preview/terraform/Microsoft.SignalRService_signalR_privateEndpointConnections/main.tf b/swagger-specs/signalr/resource-manager/Microsoft.SignalRService/preview/2024-08-01-preview/terraform/Microsoft.SignalRService_signalR_privateEndpointConnections/main.tf
deleted file mode 100644
index e5ad217dd..000000000
--- a/swagger-specs/signalr/resource-manager/Microsoft.SignalRService/preview/2024-08-01-preview/terraform/Microsoft.SignalRService_signalR_privateEndpointConnections/main.tf
+++ /dev/null
@@ -1,240 +0,0 @@
-terraform {
- required_providers {
- azapi = {
- source = "Azure/azapi"
- }
- }
-}
-
-provider "azapi" {
- # This is not needed after the api is completely onboarded
- endpoint = [{
- resource_manager_endpoint = "https://eastus2euap.management.azure.com/"
- resource_manager_audience = "https://management.core.windows.net/"
- active_directory_authority_host = "https://login.microsoftonline.com"
- }]
-}
-
-variable "resource_name" {
- type = string
- default = "acctest55447"
-}
-
-variable "location" {
- type = string
- default = "eastus2euap"
-}
-
-resource "azapi_resource" "resourceGroup" {
- type = "Microsoft.Resources/resourceGroups@2020-06-01"
- name = var.resource_name
- location = var.location
-}
-
-resource "azapi_resource" "signalR" {
- type = "Microsoft.SignalRService/signalR@2023-02-01"
- parent_id = azapi_resource.resourceGroup.id
- name = var.resource_name
- location = var.location
- body = {
- identity = {
- type = "None"
- userAssignedIdentities = null
- }
- properties = {
- cors = {
- }
- disableAadAuth = false
- disableLocalAuth = false
- publicNetworkAccess = "Enabled"
- tls = {
- clientCertEnabled = false
- }
- }
- sku = {
- capacity = 1
- name = "Standard_S1"
- }
- }
- schema_validation_enabled = false
- response_export_values = ["*"]
-}
-
-resource "azapi_resource" "virtualNetwork" {
- type = "Microsoft.Network/virtualNetworks@2023-05-01"
- parent_id = azapi_resource.resourceGroup.id
- name = var.resource_name
- location = var.location
- body = {
- properties = {
- addressSpace = {
- addressPrefixes = [
- "10.5.0.0/16",
- ]
- }
- }
- }
- lifecycle {
- ignore_changes = [body.properties.subnets]
- }
- schema_validation_enabled = false
-}
-
-resource "azapi_resource" "subnet" {
- type = "Microsoft.Network/virtualNetworks/subnets@2023-05-01"
- parent_id = azapi_resource.virtualNetwork.id
- name = var.resource_name
- body = {
- properties = {
- addressPrefix = "10.5.2.0/24"
- privateEndpointNetworkPolicies = "Enabled"
- }
- }
- schema_validation_enabled = false
- response_export_values = ["*"]
-}
-
-resource "azapi_resource" "private_endpoint" {
- type = "Microsoft.Network/privateEndpoints@2022-09-01"
- name = var.resource_name
- location = var.location
- parent_id = azapi_resource.resourceGroup.id
-
- body = {
- properties = {
- subnet = {
- id = azapi_resource.subnet.id
- }
- privateLinkServiceConnections = [{
- name = var.resource_name
- properties = {
- privateLinkServiceId = azapi_resource.signalR.id
- groupIds = ["signalr"]
- }
- }]
- }
- }
-}
-
-// OperationId: SignalRPrivateEndpointConnections_List
-// GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/privateEndpointConnections
-data "azapi_resource_list" "listPrivateEndpointConnectionsBySignalR" {
- type = "Microsoft.SignalRService/signalR/privateEndpointConnections@2024-08-01-preview"
- parent_id = azapi_resource.signalR.id
- response_export_values = ["*"]
- depends_on = [azapi_resource.private_endpoint]
-}
-
-
-data "azapi_resource_id" "privateEndpointConnection" {
- type = "Microsoft.SignalRService/signalR/privateEndpointConnections@2024-08-01-preview"
- parent_id = azapi_resource.signalR.id
- name = coalesce(local.privateEndpointConnectionName, "dummy")
-}
-
-// OperationId: SignalRPrivateEndpointConnections_Update
-// PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}
-resource "azapi_resource_action" "put_privateEndpointConnection" {
- type = "Microsoft.SignalRService/signalR/privateEndpointConnections@2024-08-01-preview"
- resource_id = data.azapi_resource_id.privateEndpointConnection.id
- method = "PUT"
- body = {
- properties = {
- privateEndpoint = {
- }
- privateLinkServiceConnectionState = {
- actionsRequired = "None"
- status = "Approved"
- description = "Please approve"
- }
- }
- }
-}
-
-// OperationId: SignalRPrivateEndpointConnections_Get
-// GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}
-resource "azapi_resource_action" "get_privateEndpointConnection" {
- type = "Microsoft.SignalRService/signalR/privateEndpointConnections@2024-08-01-preview"
- resource_id = data.azapi_resource_id.privateEndpointConnection.id
- method = "GET"
- depends_on = [azapi_resource_action.put_privateEndpointConnection]
-}
-
-// OperationId:SignalRPrivateEndpointConnections_Delete
-// DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}
-resource "azapi_resource_action" "delete_privateEndpointConnection" {
- type = "Microsoft.SignalRService/signalR/privateEndpointConnections@2024-08-01-preview"
- resource_id = data.azapi_resource_id.privateEndpointConnection.id
- method = "DELETE"
- when = "destroy"
- depends_on = [azapi_resource_action.get_privateEndpointConnection]
-}
-
-locals {
- privateEndpointConnectionName = one([for r in jsondecode(data.azapi_resource_list.listPrivateEndpointConnectionsBySignalR.output).value : r.name
- if r.properties.privateEndpoint.id == azapi_resource.private_endpoint.id])
-}
-
-resource "azapi_resource_action" "put_signalR" {
- type = "Microsoft.SignalRService/signalR@2024-08-01-preview"
- resource_id = azapi_resource.signalR.id
- action = ""
- method = "PUT"
- body = {
- location = var.location
- properties = {
- networkACLs = {
- privateEndpoints = [
- {
- name = local.privateEndpointConnectionName
- allow = [
- "ServerConnection",
- "ClientConnection",
- "RESTAPI",
- "Trace"
- ]
- deny = []
- }
- ],
- }
- }
- sku = {
- capacity = 1
- name = "Standard_S1"
- tier = "Standard"
- }
- }
- depends_on = [azapi_resource_action.put_privateEndpointConnection]
-}
-
-resource "azapi_resource_action" "patch_signalR" {
- type = "Microsoft.SignalRService/signalR@2024-08-01-preview"
- resource_id = azapi_resource.signalR.id
- action = ""
- method = "PATCH"
- body = {
- location = var.location
- properties = {
- networkACLs = {
- privateEndpoints = [
- {
- name = local.privateEndpointConnectionName
- allow = [
- "ServerConnection",
- "ClientConnection",
- "RESTAPI",
- "Trace"
- ]
- deny = []
- }
- ],
- }
- }
- sku = {
- capacity = 1
- name = "Standard_S1"
- tier = "Standard"
- }
- }
- depends_on = [azapi_resource_action.put_signalR]
-}
\ No newline at end of file
diff --git a/swagger-specs/signalr/resource-manager/Microsoft.SignalRService/preview/2024-08-01-preview/terraform/Microsoft.SignalRService_signalR_replicas/main.tf b/swagger-specs/signalr/resource-manager/Microsoft.SignalRService/preview/2024-08-01-preview/terraform/Microsoft.SignalRService_signalR_replicas/main.tf
deleted file mode 100644
index f2bdcce34..000000000
--- a/swagger-specs/signalr/resource-manager/Microsoft.SignalRService/preview/2024-08-01-preview/terraform/Microsoft.SignalRService_signalR_replicas/main.tf
+++ /dev/null
@@ -1,132 +0,0 @@
-terraform {
- required_providers {
- azapi = {
- source = "Azure/azapi"
- }
- }
-}
-
-provider "azapi" {
- # This is not needed after the api is completely onboarded
- endpoint = [{
- resource_manager_endpoint = "https://eastus2euap.management.azure.com/"
- resource_manager_audience = "https://management.core.windows.net/"
- active_directory_authority_host = "https://login.microsoftonline.com"
- }]
-}
-
-variable "resource_name" {
- type = string
- default = "acctest90892"
-}
-
-variable "primary_location" {
- type = string
- default = "eastus2euap"
-}
-
-variable "replica_location" {
- type = string
- default = "centraluseuap"
-}
-
-resource "azapi_resource" "resourceGroup" {
- type = "Microsoft.Resources/resourceGroups@2020-06-01"
- name = var.resource_name
- location = var.primary_location
-}
-
-resource "azapi_resource" "signalR" {
- type = "Microsoft.SignalRService/signalR@2023-02-01"
- parent_id = azapi_resource.resourceGroup.id
- name = var.resource_name
- location = var.primary_location
- body = {
- identity = {
- type = "None"
- userAssignedIdentities = null
- }
- properties = {
- disableAadAuth = false
- disableLocalAuth = false
- publicNetworkAccess = "Enabled"
- tls = {
- clientCertEnabled = false
- }
- }
- sku = {
- capacity = 1
- name = "Premium_P1"
- }
- }
- schema_validation_enabled = false
- response_export_values = ["*"]
-}
-
-// OperationId: SignalRReplicas_CreateOrUpdate, SignalRReplicas_Get, SignalRReplicas_Delete
-// PUT GET DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/replicas/{replicaName}
-resource "azapi_resource" "replica" {
- type = "Microsoft.SignalRService/signalR/replicas@2024-08-01-preview"
- parent_id = azapi_resource.signalR.id
- name = var.resource_name
- location = var.replica_location
- body = {
- properties = {
- resourceStopped = "false"
- regionEndpointEnabled = "Enabled"
- }
- sku = {
- capacity = 1
- name = "Premium_P1"
- tier = "Premium"
- }
- tags = {
- key1 = "value2"
- }
- }
- schema_validation_enabled = false
-}
-
-// OperationId: SignalRReplicas_Update
-// PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/replicas/{replicaName}
-resource "azapi_resource_action" "patch_replica" {
- type = "Microsoft.SignalRService/signalR/replicas@2024-08-01-preview"
- resource_id = azapi_resource.replica.id
- action = ""
- method = "PATCH"
- body = {
- location = var.replica_location
- properties = {
- resourceStopped = "false"
- regionEndpointEnabled = "Enabled"
- }
- sku = {
- capacity = 1
- name = "Premium_P1"
- tier = "Premium"
- }
- tags = {
- key1 = "value2"
- }
- }
- depends_on = [azapi_resource.replica]
-}
-
-// OperationId: SignalRReplicas_Restart
-// POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/replicas/{replicaName}/restart
-resource "azapi_resource_action" "restart" {
- type = "Microsoft.SignalRService/signalR/replicas@2024-08-01-preview"
- resource_id = azapi_resource.replica.id
- action = "restart"
- method = "POST"
- depends_on = [azapi_resource_action.patch_replica]
-}
-
-// OperationId: SignalR_ListReplicaSkus
-// GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/replicas/{replicaName}/skus
-data "azapi_resource_action" "skus" {
- type = "Microsoft.SignalRService/signalR/replicas@2024-08-01-preview"
- resource_id = azapi_resource.replica.id
- action = "skus"
- method = "GET"
-}
diff --git a/swagger-specs/signalr/resource-manager/Microsoft.SignalRService/preview/2024-08-01-preview/terraform/Microsoft.SignalRService_signalR_replicas_sharedPrivateLinkResources/main.tf b/swagger-specs/signalr/resource-manager/Microsoft.SignalRService/preview/2024-08-01-preview/terraform/Microsoft.SignalRService_signalR_replicas_sharedPrivateLinkResources/main.tf
deleted file mode 100644
index 0906631a0..000000000
--- a/swagger-specs/signalr/resource-manager/Microsoft.SignalRService/preview/2024-08-01-preview/terraform/Microsoft.SignalRService_signalR_replicas_sharedPrivateLinkResources/main.tf
+++ /dev/null
@@ -1,237 +0,0 @@
-terraform {
- required_providers {
- azapi = {
- source = "Azure/azapi"
- }
- }
-}
-
-provider "azapi" {
- # This is not needed after the api is completely onboarded
- endpoint = [{
- resource_manager_endpoint = "https://eastus2euap.management.azure.com/"
- resource_manager_audience = "https://management.core.windows.net/"
- active_directory_authority_host = "https://login.microsoftonline.com"
- }]
-}
-
-variable "resource_name" {
- type = string
- default = "acctest99423"
-}
-
-variable "location" {
- type = string
- default = "eastus2euap"
-}
-
-variable "replica_location" {
- type = string
- default = "centraluseuap"
-}
-
-resource "azapi_resource" "resourceGroup" {
- type = "Microsoft.Resources/resourceGroups@2020-06-01"
- name = var.resource_name
- location = var.location
-}
-
-resource "azapi_resource" "signalR" {
- type = "Microsoft.SignalRService/signalR@2023-02-01"
- parent_id = azapi_resource.resourceGroup.id
- name = var.resource_name
- location = var.location
- body = {
- identity = {
- type = "None"
- userAssignedIdentities = null
- }
- properties = {
- disableAadAuth = false
- disableLocalAuth = false
- publicNetworkAccess = "Enabled"
- tls = {
- clientCertEnabled = false
- }
- }
- sku = {
- capacity = 1
- name = "Premium_P1"
- }
- }
- schema_validation_enabled = false
- response_export_values = ["*"]
-}
-
-// OperationId: SignalRReplicas_CreateOrUpdate, SignalRReplicas_Get, SignalRReplicas_Delete
-// PUT GET DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/replicas/{replicaName}
-resource "azapi_resource" "replica" {
- type = "Microsoft.SignalRService/signalR/replicas@2024-08-01-preview"
- parent_id = azapi_resource.signalR.id
- name = var.resource_name
- location = var.replica_location
- body = {
- properties = {
- resourceStopped = "false"
- }
- sku = {
- capacity = 2
- name = "Premium_P1"
- tier = "Premium"
- }
- tags = {
- key1 = "value1"
- }
- }
- schema_validation_enabled = false
-}
-
-resource "azapi_resource" "serverfarm" {
- type = "Microsoft.Web/serverfarms@2022-09-01"
- parent_id = azapi_resource.resourceGroup.id
- name = var.resource_name
- location = "eastus"
- body = {
- properties = {
- hyperV = false
- perSiteScaling = false
- reserved = false
- zoneRedundant = false
- }
- sku = {
- name = "S1"
- }
- }
- schema_validation_enabled = false
- response_export_values = ["*"]
-}
-
-resource "azapi_resource" "site" {
- type = "Microsoft.Web/sites@2022-09-01"
- parent_id = azapi_resource.resourceGroup.id
- name = var.resource_name
- location = "eastus"
- body = {
- identity = {
- type = "None"
- }
- properties = {
- clientAffinityEnabled = false
- clientCertEnabled = false
- clientCertMode = "Required"
- enabled = true
- httpsOnly = false
- publicNetworkAccess = "Enabled"
- serverFarmId = azapi_resource.serverfarm.id
- siteConfig = {
- acrUseManagedIdentityCreds = false
- alwaysOn = true
- autoHealEnabled = false
- ftpsState = "Disabled"
- http20Enabled = false
- loadBalancing = "LeastRequests"
- localMySqlEnabled = false
- managedPipelineMode = "Integrated"
- minTlsVersion = "1.2"
- publicNetworkAccess = "Enabled"
- remoteDebuggingEnabled = false
- scmIpSecurityRestrictionsUseMain = false
- scmMinTlsVersion = "1.2"
- use32BitWorkerProcess = true
- vnetRouteAllEnabled = false
- webSocketsEnabled = false
- windowsFxVersion = ""
- }
- vnetRouteAllEnabled = false
- }
- }
- schema_validation_enabled = false
- response_export_values = ["*"]
-}
-
-// OperationId: SignalRSharedPrivateLinkResources_CreateOrUpdate, SignalRSharedPrivateLinkResources_Get, SignalRSharedPrivateLinkResources_Delete
-// PUT GET DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}
-resource "azapi_resource" "sharedPrivateLinkResource" {
- type = "Microsoft.SignalRService/signalR/sharedPrivateLinkResources@2024-08-01-preview"
- parent_id = azapi_resource.signalR.id
- name = var.resource_name
- body = {
- properties = {
- groupId = "sites"
- privateLinkResourceId = azapi_resource.site.id
- requestMessage = "Please approve"
- }
- }
- schema_validation_enabled = false
-}
-
-data "azapi_resource_list" "listPrivateEndpointConnectionsBySite" {
- type = "Microsoft.Web/sites/privateEndpointConnections@2023-12-01"
- parent_id = azapi_resource.site.id
- response_export_values = ["*"]
- depends_on = [azapi_resource.sharedPrivateLinkResource]
-}
-
-locals {
- privateEndpointConnectionNames = tolist(jsondecode(data.azapi_resource_list.listPrivateEndpointConnectionsBySite.output).value[*].name)
- privateEndpointConnectionName = length(local.privateEndpointConnectionNames) > 0 ? local.privateEndpointConnectionNames[0] : null
-}
-
-resource "azapi_update_resource" "privateEndpointConnection" {
- type = "Microsoft.Web/sites/privateEndpointConnections@2023-12-01"
- parent_id = azapi_resource.site.id
- name = coalesce(local.privateEndpointConnectionName, "dummy")
- body = {
- properties = {
- privateLinkServiceConnectionState = {
- status = "Approved"
- }
- }
- }
-}
-
-resource "time_sleep" "wait" {
- depends_on = [azapi_update_resource.privateEndpointConnection]
- create_duration = "600s"
-}
-
-
-data "azapi_resource_id" "sharedPrivateLinkResource" {
- type = "Microsoft.SignalRService/signalR/replicas/sharedPrivateLinkResources@2023-12-12"
- parent_id = azapi_resource.replica.id
- name = var.resource_name
- depends_on = [azapi_resource.sharedPrivateLinkResource]
-}
-
-// OperationId: SignalRReplicaSharedPrivateLinkResources_CreateOrUpdate
-// PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/replicas/{replicaName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}
-resource "azapi_resource_action" "put_sharedPrivateLinkResource" {
- type = "Microsoft.SignalRService/signalR/replicas/sharedPrivateLinkResources@2024-08-01-preview"
- resource_id = data.azapi_resource_id.sharedPrivateLinkResource.id
- method = "PUT"
- body = {
- properties = {
- groupId = "sites"
- privateLinkResourceId = azapi_resource.site.id
- requestMessage = "Please approve"
- fqdns = []
- }
- }
- depends_on = [azapi_update_resource.privateEndpointConnection, time_sleep.wait]
-}
-
-// OperationId: SignalRReplicaSharedPrivateLinkResources_Get
-// GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/replicas/{replicaName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}
-data "azapi_resource" "sharedPrivateLinkResource" {
- type = "Microsoft.SignalRService/signalR/replicas/sharedPrivateLinkResources@2024-08-01-preview"
- resource_id = azapi_resource_action.put_sharedPrivateLinkResource.id
- depends_on = [azapi_resource_action.put_sharedPrivateLinkResource]
-}
-
-// OperationId: SignalRReplicaSharedPrivateLinkResources_List
-// GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/replicas/{replicaName}/sharedPrivateLinkResources
-data "azapi_resource_list" "listSharedPrivateLinkResourcesByReplica" {
- type = "Microsoft.SignalRService/signalR/replicas/sharedPrivateLinkResources@2024-08-01-preview"
- parent_id = azapi_resource.replica.id
- depends_on = [data.azapi_resource.sharedPrivateLinkResource]
-}
diff --git a/swagger-specs/signalr/resource-manager/Microsoft.SignalRService/preview/2024-08-01-preview/terraform/Microsoft.SignalRService_signalR_sharedPrivateLinkResources/main.tf b/swagger-specs/signalr/resource-manager/Microsoft.SignalRService/preview/2024-08-01-preview/terraform/Microsoft.SignalRService_signalR_sharedPrivateLinkResources/main.tf
deleted file mode 100644
index ffa0dad0d..000000000
--- a/swagger-specs/signalr/resource-manager/Microsoft.SignalRService/preview/2024-08-01-preview/terraform/Microsoft.SignalRService_signalR_sharedPrivateLinkResources/main.tf
+++ /dev/null
@@ -1,148 +0,0 @@
-terraform {
- required_providers {
- azapi = {
- source = "Azure/azapi"
- }
- }
-}
-
-provider "azapi" {
- # This is not needed after the api is completely onboarded
- endpoint = [{
- resource_manager_endpoint = "https://eastus2euap.management.azure.com/"
- resource_manager_audience = "https://management.core.windows.net/"
- active_directory_authority_host = "https://login.microsoftonline.com"
- }]
-}
-
-variable "resource_name" {
- type = string
- default = "acctest59673"
-}
-
-variable "location" {
- type = string
- default = "eastus2euap"
-}
-
-resource "azapi_resource" "resourceGroup" {
- type = "Microsoft.Resources/resourceGroups@2020-06-01"
- name = var.resource_name
- location = var.location
-}
-
-resource "azapi_resource" "signalR" {
- type = "Microsoft.SignalRService/signalR@2023-02-01"
- parent_id = azapi_resource.resourceGroup.id
- name = var.resource_name
- location = var.location
- body = {
- identity = {
- type = "None"
- userAssignedIdentities = null
- }
- properties = {
- disableAadAuth = false
- disableLocalAuth = false
- publicNetworkAccess = "Enabled"
- tls = {
- clientCertEnabled = false
- }
- }
- sku = {
- capacity = 1
- name = "Standard_S1"
- }
- }
- schema_validation_enabled = false
- response_export_values = ["*"]
-}
-
-resource "azapi_resource" "serverfarm" {
- type = "Microsoft.Web/serverfarms@2022-09-01"
- parent_id = azapi_resource.resourceGroup.id
- name = var.resource_name
- location = "eastus"
- body = {
- properties = {
- hyperV = false
- perSiteScaling = false
- reserved = false
- zoneRedundant = false
- }
- sku = {
- name = "S1"
- }
- }
- schema_validation_enabled = false
- response_export_values = ["*"]
-}
-
-resource "azapi_resource" "site" {
- type = "Microsoft.Web/sites@2022-09-01"
- parent_id = azapi_resource.resourceGroup.id
- name = var.resource_name
- location = "eastus"
- body = {
- identity = {
- type = "None"
- }
- properties = {
- clientAffinityEnabled = false
- clientCertEnabled = false
- clientCertMode = "Required"
- enabled = true
- httpsOnly = false
- publicNetworkAccess = "Enabled"
- serverFarmId = azapi_resource.serverfarm.id
- siteConfig = {
- acrUseManagedIdentityCreds = false
- alwaysOn = true
- autoHealEnabled = false
- ftpsState = "Disabled"
- http20Enabled = false
- loadBalancing = "LeastRequests"
- localMySqlEnabled = false
- managedPipelineMode = "Integrated"
- minTlsVersion = "1.2"
- publicNetworkAccess = "Enabled"
- remoteDebuggingEnabled = false
- scmIpSecurityRestrictionsUseMain = false
- scmMinTlsVersion = "1.2"
- use32BitWorkerProcess = true
- vnetRouteAllEnabled = false
- webSocketsEnabled = false
- windowsFxVersion = ""
- }
- vnetRouteAllEnabled = false
- }
- }
- schema_validation_enabled = false
- response_export_values = ["*"]
-}
-
-// OperationId: SignalRSharedPrivateLinkResources_CreateOrUpdate, SignalRSharedPrivateLinkResources_Get, SignalRSharedPrivateLinkResources_Delete
-// PUT GET DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}
-resource "azapi_resource" "sharedPrivateLinkResource" {
- type = "Microsoft.SignalRService/signalR/sharedPrivateLinkResources@2024-08-01-preview"
- parent_id = azapi_resource.signalR.id
- name = var.resource_name
- body = {
- properties = {
- groupId = "sites"
- privateLinkResourceId = azapi_resource.site.id
- requestMessage = "Please approve"
- fqdns = []
- }
- }
- schema_validation_enabled = false
-}
-
-// OperationId: SignalRSharedPrivateLinkResources_List
-// GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/sharedPrivateLinkResources
-data "azapi_resource_list" "listSharedPrivateLinkResourcesBySignalR" {
- type = "Microsoft.SignalRService/signalR/sharedPrivateLinkResources@2024-08-01-preview"
- parent_id = azapi_resource.signalR.id
- depends_on = [azapi_resource.sharedPrivateLinkResource]
-}
-
diff --git a/swagger-specs/signalr/resource-manager/Microsoft.SignalRService/preview/2024-08-01-preview/signalr.json b/swagger-specs/signalr/resource-manager/Microsoft.SignalRService/preview/2024-10-01-preview/signalr.json
similarity index 96%
rename from swagger-specs/signalr/resource-manager/Microsoft.SignalRService/preview/2024-08-01-preview/signalr.json
rename to swagger-specs/signalr/resource-manager/Microsoft.SignalRService/preview/2024-10-01-preview/signalr.json
index ba8b97406..e606e7719 100644
--- a/swagger-specs/signalr/resource-manager/Microsoft.SignalRService/preview/2024-08-01-preview/signalr.json
+++ b/swagger-specs/signalr/resource-manager/Microsoft.SignalRService/preview/2024-10-01-preview/signalr.json
@@ -3,7 +3,7 @@
"info": {
"title": "SignalRManagementClient",
"description": "REST API for Azure SignalR Service",
- "version": "2024-08-01-preview"
+ "version": "2024-10-01-preview"
},
"paths": {
"/providers/Microsoft.SignalRService/operations": {
@@ -59,7 +59,7 @@
{
"in": "path",
"name": "location",
- "description": "the region",
+ "description": "The region",
"required": true,
"type": "string"
},
@@ -2152,6 +2152,15 @@
"$ref": "#/definitions/ClientConnectionCountRule"
},
"x-ms-identifiers": []
+ },
+ "clientTrafficControlRules": {
+ "description": "Rules to control the client traffic",
+ "maxItems": 10,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ClientTrafficControlRule"
+ },
+ "x-ms-identifiers": []
}
}
},
@@ -2177,6 +2186,28 @@
},
"discriminator": "type"
},
+ "ClientTrafficControlRule": {
+ "description": "A base class for client traffic control rules",
+ "required": [
+ "type"
+ ],
+ "type": "object",
+ "properties": {
+ "type": {
+ "enum": [
+ "TrafficThrottleByJwtSignatureRule",
+ "TrafficThrottleByUserIdRule",
+ "TrafficThrottleByJwtCustomClaimRule"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ClientTrafficControlRuleDiscriminator",
+ "modelAsString": true
+ }
+ }
+ },
+ "discriminator": "type"
+ },
"CustomCertificate": {
"description": "A custom certificate.",
"required": [
@@ -3007,6 +3038,13 @@
"maximum": 120,
"minimum": 1,
"type": "integer"
+ },
+ "keepAliveIntervalInSeconds": {
+ "format": "int32",
+ "description": "Gets or sets the Keep-Alive Interval. Optional to set.\r\nValue is in seconds.\r\nThe default value is 15 seconds.\r\nCustomers should set this value to a shorter period if they want the service to send keep-alive messages more frequently, \r\nensuring timely checks of the connection status.\r\nConversely, customers can set this value to a longer period if they want the service to send keep-alive messages less frequently, \r\nreducing network traffic, but note that it may take longer to detect a disconnection.\r\nThis interval ensures that the connection is maintained by sending periodic keep-alive messages to the client.",
+ "maximum": 120,
+ "minimum": 1,
+ "type": "integer"
}
}
},
@@ -3686,6 +3724,91 @@
},
"x-ms-discriminator-value": "ThrottleByUserIdRule"
},
+ "TrafficThrottleByJwtCustomClaimRule": {
+ "description": "Throttle the client traffic by a custom JWT claim",
+ "required": [
+ "claimName"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ClientTrafficControlRule"
+ }
+ ],
+ "properties": {
+ "claimName": {
+ "description": "The name of the claim in the JWT token. The message bytes with the same claim value will be aggregated. If the claim is not found in the token, the rule will be skipped.",
+ "type": "string"
+ },
+ "maxInboundMessageBytes": {
+ "format": "int64",
+ "description": "Maximum accumulated inbound message bytes allowed for the same JWT signature within a time window. Clients with the same JWT claim will get disconnected if the message bytes exceeds this value. Default value is 1GB.",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "aggregationWindowInSeconds": {
+ "format": "int32",
+ "description": "The aggregation window for the message bytes. The message bytes will be aggregated in this window and be reset after the window. Default value is 60 seconds.",
+ "default": 60,
+ "maximum": 3600,
+ "minimum": 10,
+ "type": "integer"
+ }
+ },
+ "x-ms-discriminator-value": "TrafficThrottleByJwtCustomClaimRule"
+ },
+ "TrafficThrottleByJwtSignatureRule": {
+ "description": "Throttle the client traffic by the JWT signature",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ClientTrafficControlRule"
+ }
+ ],
+ "properties": {
+ "maxInboundMessageBytes": {
+ "format": "int64",
+ "description": "Maximum accumulated inbound message bytes allowed for the same JWT signature within a time window. Clients with the same JWT signature will get disconnected if the message bytes exceeds this value. Default value is 1GB.",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "aggregationWindowInSeconds": {
+ "format": "int32",
+ "description": "The aggregation window for the message bytes. The message bytes will be aggregated in this window and be reset after the window. Default value is 60 seconds.",
+ "default": 60,
+ "maximum": 3600,
+ "minimum": 10,
+ "type": "integer"
+ }
+ },
+ "x-ms-discriminator-value": "TrafficThrottleByJwtSignatureRule"
+ },
+ "TrafficThrottleByUserIdRule": {
+ "description": "Throttle the client traffic by the user ID",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ClientTrafficControlRule"
+ }
+ ],
+ "properties": {
+ "maxInboundMessageBytes": {
+ "format": "int64",
+ "description": "Maximum accumulated inbound message bytes allowed for the same user ID within a time window. Clients with the same user ID will get disconnected if the message bytes exceeds this value. Default value is 1GB.",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "aggregationWindowInSeconds": {
+ "format": "int32",
+ "description": "The aggregation window for the message bytes. The message bytes will be aggregated in this window and be reset after the window. Default value is 60 seconds.",
+ "default": 60,
+ "maximum": 3600,
+ "minimum": 10,
+ "type": "integer"
+ }
+ },
+ "x-ms-discriminator-value": "TrafficThrottleByUserIdRule"
+ },
"UpstreamAuthSettings": {
"description": "Upstream auth settings. If not set, no auth is used for upstream messages.",
"type": "object",
diff --git a/swagger-specs/signalr/resource-manager/api-set.json b/swagger-specs/signalr/resource-manager/api-set.json
index 1891ee538..06b638cc1 100644
--- a/swagger-specs/signalr/resource-manager/api-set.json
+++ b/swagger-specs/signalr/resource-manager/api-set.json
@@ -1 +1 @@
-{"addition_input_file_paths": [], "input_files": ["Microsoft.SignalRService/preview/2024-08-01-preview/signalr.json"], "name": "package-2024-08-01-preview"}
\ No newline at end of file
+{"addition_input_file_paths": [], "input_files": ["Microsoft.SignalRService/preview/2024-10-01-preview/signalr.json"], "name": "package-2024-10-01-preview"}
\ No newline at end of file
diff --git a/swagger-specs/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-09-01/storagesync.json b/swagger-specs/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-09-01/storagesync.json
index 395849e33..3867d5848 100644
--- a/swagger-specs/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-09-01/storagesync.json
+++ b/swagger-specs/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-09-01/storagesync.json
@@ -3806,6 +3806,10 @@
"identity": {
"type": "boolean",
"description": "Apply server with newly discovered ApplicationId if available."
+ },
+ "applicationId": {
+ "type": "string",
+ "description": "Apply server with new ServicePrincipal Id"
}
}
},