diff --git a/specification/quota/Quota.Management/CurrentQuotaLimitBase.tsp b/specification/quota/Quota.Management/CurrentQuotaLimitBase.tsp deleted file mode 100644 index b22ff54330e1..000000000000 --- a/specification/quota/Quota.Management/CurrentQuotaLimitBase.tsp +++ /dev/null @@ -1,111 +0,0 @@ -import "@azure-tools/typespec-azure-core"; -import "@azure-tools/typespec-azure-resource-manager"; -import "@typespec/openapi"; -import "@typespec/rest"; -import "./models.tsp"; - -using TypeSpec.Rest; -using Azure.ResourceManager; -using TypeSpec.Http; -using TypeSpec.OpenAPI; - -namespace Microsoft.Quota; -/** - * Quota limit. - */ -#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-duplicate-base-parameter" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@extensionResource -model CurrentQuotaLimitBase - is Azure.ResourceManager.ExtensionResource { - ...ResourceNameParameter< - Resource = CurrentQuotaLimitBase, - KeyName = "resourceName", - SegmentName = "quotas", - NamePattern = "" - >; -} - -#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-duplicate-base-parameter" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@armResourceOperations -interface CurrentQuotaLimitBases { - /** - * Get the quota limit of a resource. The response can be used to determine the remaining quota to calculate a new quota limit that can be submitted with a PUT request. - */ - get is Extension.Read< - Extension.ScopeParameter, - CurrentQuotaLimitBase, - Response = ArmResponse & { - /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP requests. - */ - @header("ETag") - eTag: string; - }, - Error = ExceptionResponse - >; - - /** - * Create or update the quota limit for the specified resource with the requested value. To update the quota, follow these steps: - * 1. Use the GET operation for quotas and usages to determine how much quota remains for the specific resource and to calculate the new quota limit. These steps are detailed in [this example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670). - * 2. Use this PUT operation to update the quota limit. Please check the URI in location header for the detailed status of the request. - */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - @Azure.Core.useFinalStateVia("original-uri") - createOrUpdate is Extension.CreateOrReplaceAsync< - Extension.ScopeParameter, - CurrentQuotaLimitBase, - Response = CurrentQuotaLimitBase | ArmAcceptedLroResponse & - Azure.Core.Foundations.RetryAfterHeader>, - Error = ExceptionResponse - >; - - /** - * Update the quota limit for a specific resource to the specified value: - * 1. Use the Usages-GET and Quota-GET operations to determine the remaining quota for the specific resource and to calculate the new quota limit. These steps are detailed in [this example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670). - * 2. Use this PUT operation to update the quota limit. Please check the URI in location header for the detailed status of the request. - */ - #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - @patch(#{ implicitOptionality: false }) - update is Extension.CustomPatchAsync< - Extension.ScopeParameter, - CurrentQuotaLimitBase, - PatchModel = CurrentQuotaLimitBase, - Response = CurrentQuotaLimitBase | ArmAcceptedLroResponse, - Error = ExceptionResponse - >; - - /** - * Get a list of current quota limits of all resources for the specified scope. The response from this GET operation can be leveraged to submit requests to update a quota. - */ - list is Extension.ListByTarget< - Extension.ScopeParameter, - CurrentQuotaLimitBase, - Response = ArmResponse & { - /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP requests. - */ - @header("ETag") - eTag: string; - }, - Error = ExceptionResponse - >; -} - -@@doc(CurrentQuotaLimitBase.name, - """ - Resource name for a given resource provider. For example: - - SKU name for Microsoft.Compute - - SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices - For Microsoft.Network PublicIPAddresses. - """ -); -@@doc(CurrentQuotaLimitBase.properties, - "Quota properties for the specified resource, based on the API called, Quotas or Usages." -); -@@doc(CurrentQuotaLimitBases.createOrUpdate::parameters.resource, - "Quota request payload." -); -@@doc(CurrentQuotaLimitBases.update::parameters.properties, - "Quota requests payload." -); diff --git a/specification/quota/Quota.Management/CurrentUsagesBase.tsp b/specification/quota/Quota.Management/CurrentUsagesBase.tsp deleted file mode 100644 index d8c4af0dfd93..000000000000 --- a/specification/quota/Quota.Management/CurrentUsagesBase.tsp +++ /dev/null @@ -1,73 +0,0 @@ -import "@azure-tools/typespec-azure-core"; -import "@azure-tools/typespec-azure-resource-manager"; -import "@typespec/openapi"; -import "@typespec/rest"; -import "./models.tsp"; - -using TypeSpec.Rest; -using Azure.ResourceManager; -using TypeSpec.Http; -using TypeSpec.OpenAPI; - -namespace Microsoft.Quota; -/** - * Resource usage. - */ -#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-duplicate-base-parameter" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@extensionResource -model CurrentUsagesBase - is Azure.ResourceManager.ExtensionResource { - ...ResourceNameParameter< - Resource = CurrentUsagesBase, - KeyName = "resourceName", - SegmentName = "usages", - NamePattern = "" - >; -} - -@armResourceOperations -interface CurrentUsagesBases { - /** - * Get the current usage of a resource. - */ - get is Extension.Read< - Extension.ScopeParameter, - CurrentUsagesBase, - Response = ArmResponse & { - /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP requests. - */ - @header("ETag") - eTag: string; - }, - Error = ExceptionResponse - >; - - /** - * Get a list of current usage for all resources for the scope specified. - */ - list is Extension.ListByTarget< - Extension.ScopeParameter, - CurrentUsagesBase, - Response = ArmResponse & { - /** - * Current entity state version. It should be treated as opaque and used to make conditional HTTP requests. - */ - @header("ETag") - eTag: string; - }, - Error = ExceptionResponse - >; -} - -@@doc(CurrentUsagesBase.name, - """ - Resource name for a given resource provider. For example: - - SKU name for Microsoft.Compute - - SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices - For Microsoft.Network PublicIPAddresses. - """ -); -@@doc(CurrentUsagesBase.properties, - "Usage properties for the specified resource." -); diff --git a/specification/quota/Quota.Management/GroupQuotaLimitList.tsp b/specification/quota/Quota.Management/GroupQuotaLimitList.tsp deleted file mode 100644 index 0f99475ef8a5..000000000000 --- a/specification/quota/Quota.Management/GroupQuotaLimitList.tsp +++ /dev/null @@ -1,127 +0,0 @@ -import "@azure-tools/typespec-azure-core"; -import "@azure-tools/typespec-azure-resource-manager"; -import "@typespec/openapi"; -import "@typespec/rest"; -import "./models.tsp"; -import "./GroupQuotasEntity.tsp"; - -using TypeSpec.Rest; -using Azure.ResourceManager; -using TypeSpec.Http; -using TypeSpec.OpenAPI; - -namespace Microsoft.Quota; -/** - * List of Group Quota Limit details. - */ -@parentResource(GroupQuotasEntity) -model GroupQuotaLimitList - is Azure.ResourceManager.ProxyResource { - ...ResourceNameParameter< - Resource = GroupQuotaLimitList, - KeyName = "location", - SegmentName = "groupQuotaLimits", - NamePattern = "" - >; -} - -/** - * Virtual resource representing a resource provider scope within a group quota. - */ -@parentResource(GroupQuotasEntity) -@armVirtualResource -model Virtual { - /** - * The resource provider name, such as - Microsoft.Compute. Currently only Microsoft.Compute resource provider supports this API. - */ - #suppress "@azure-tools/typespec-azure-core/key-visibility-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - @key - @path - @segment("resourceProviders") - @pattern("^((?!-)[a-zA-Z0-9-]{1,63}(?; - }, - { - ...Extension.ExtensionProviderNamespace; - - /** - * The GroupQuota name. The name should be unique for the provided context tenantId/MgId. - */ - @path - @segment("groupQuotas") - @minLength(3) - @maxLength(63) - @key - @pattern("^[a-z][a-z0-9]*$") - groupQuotaName: string; - - /** - * The resource provider name, such as - Microsoft.Compute. Currently only Microsoft.Compute resource provider supports this API. - */ - @path - @key - @segment("resourceProviders") - @pattern("^((?!-)[a-zA-Z0-9-]{1,63}(?; - -@armResourceOperations -interface GroupQuotaLimitLists { - /** - * Gets the GroupQuotaLimits for the specified resource provider and location for resource names passed in $filter=resourceName eq {SKU}. - */ - list is GroupQuotaLimitListsOps.Read; - - /** - * Create the GroupQuota requests for a specific ResourceProvider/Location/Resource. The resourceName properties are specified in the request body. Only 1 resource quota can be requested. Please note that patch request creates a new groupQuota request. - * Use the polling API - OperationsStatus URI specified in Azure-AsyncOperation header field, with retry-after duration in seconds to check the intermediate status. This API provides the finals status with the request details and status. - */ - @patch(#{ implicitOptionality: false }) - update is GroupQuotaLimitListsOps.CustomPatchAsync< - GroupQuotaLimitList, - PatchModel = GroupQuotaLimitList, - OptionalRequestBody = true, - Response = ArmResponse | ArmAcceptedLroResponse & - Azure.Core.Foundations.RetryAfterHeader> - >; -} - -@@minLength(GroupQuotaLimitList.name, 1); -@@doc(GroupQuotaLimitList.name, "The name of the Azure region."); -@@doc(GroupQuotaLimitList.properties, ""); -@@doc(GroupQuotaLimitLists.update::parameters.properties, - "The GroupQuotaRequest body details for specific resourceProvider/location/resources." -); diff --git a/specification/quota/Quota.Management/GroupQuotaSubscriptionId.tsp b/specification/quota/Quota.Management/GroupQuotaSubscriptionId.tsp deleted file mode 100644 index d124f5958058..000000000000 --- a/specification/quota/Quota.Management/GroupQuotaSubscriptionId.tsp +++ /dev/null @@ -1,91 +0,0 @@ -import "@azure-tools/typespec-azure-core"; -import "@azure-tools/typespec-azure-resource-manager"; -import "@typespec/openapi"; -import "@typespec/rest"; -import "./models.tsp"; -import "./GroupQuotasEntity.tsp"; - -using TypeSpec.Rest; -using Azure.ResourceManager; -using TypeSpec.Http; -using TypeSpec.OpenAPI; - -namespace Microsoft.Quota; -/** - * This represents a Azure subscriptionId that is associated with a GroupQuotasEntity. - */ -@parentResource(GroupQuotasEntity) -model GroupQuotaSubscriptionId - is Azure.ResourceManager.ProxyResource { - ...ResourceNameParameter< - Resource = GroupQuotaSubscriptionId, - KeyName = "subscriptionId", - SegmentName = "subscriptions", - NamePattern = "" - >; -} - -@armResourceOperations -interface GroupQuotaSubscriptionIds { - /** - * Returns the subscriptionIds along with its provisioning state for being associated with the GroupQuota. If the subscription is not a member of GroupQuota, it will return 404, else 200. - */ - get is Extension.Read< - Extension.ManagementGroup<"managementGroupId">, - GroupQuotaSubscriptionId - >; - - /** - * Adds a subscription to GroupQuotas. The subscriptions will be validated based on the additionalAttributes defined in the GroupQuota. The additionalAttributes works as filter for the subscriptions, which can be included in the GroupQuotas. The request's TenantId is validated against the subscription's TenantId. - */ - #suppress "@azure-tools/typespec-azure-core/response-schema-problem" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - createOrUpdate is Azure.ResourceManager.CustomExtension.CreateOrUpdateWithoutBodyAsync< - Extension.ManagementGroup<"managementGroupId">, - GroupQuotaSubscriptionId, - Response = ArmResourceUpdatedResponse | ArmResourceCreatedResponse< - LROResponse, - ArmCombinedLroHeaders & - Azure.Core.Foundations.RetryAfterHeader - > - >; - - /** - * Updates the GroupQuotas with the subscription to add to the subscriptions list. The subscriptions will be validated if additionalAttributes are defined in the GroupQuota. The request's TenantId is validated against the subscription's TenantId. - */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation-response" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-patch" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - @patch(#{ implicitOptionality: false }) - update is Azure.ResourceManager.CustomExtension.CustomPatchWithoutBodyAsync< - Extension.ManagementGroup<"managementGroupId">, - GroupQuotaSubscriptionId, - PatchModel = {}, - Response = ArmResponse | ArmAcceptedLroResponse & - Azure.Core.Foundations.RetryAfterHeader> - >; - - /** - * Removes the subscription from GroupQuotas. The request's TenantId is validated against the subscription's TenantId. - */ - delete is Extension.DeleteWithoutOkAsync< - Extension.ManagementGroup<"managementGroupId">, - GroupQuotaSubscriptionId, - Response = ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse - >; - - /** - * Returns a list of the subscriptionIds associated with the GroupQuotas. - */ - list is Extension.ListByTarget< - Extension.ManagementGroup<"managementGroupId">, - GroupQuotaSubscriptionId, - Response = ArmResponse - >; -} - -#suppress "@azure-tools/typespec-azure-core/no-format" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@@format(GroupQuotaSubscriptionId.name, "uuid"); -@@doc(GroupQuotaSubscriptionId.name, - "The ID of the target subscription. The value must be an UUID." -); -@@doc(GroupQuotaSubscriptionId.properties, ""); diff --git a/specification/quota/Quota.Management/GroupQuotaSubscriptionRequestStatus.tsp b/specification/quota/Quota.Management/GroupQuotaSubscriptionRequestStatus.tsp deleted file mode 100644 index d3fe86be3716..000000000000 --- a/specification/quota/Quota.Management/GroupQuotaSubscriptionRequestStatus.tsp +++ /dev/null @@ -1,49 +0,0 @@ -import "@azure-tools/typespec-azure-core"; -import "@azure-tools/typespec-azure-resource-manager"; -import "@typespec/openapi"; -import "@typespec/rest"; -import "./models.tsp"; -import "./GroupQuotasEntity.tsp"; - -using TypeSpec.Rest; -using Azure.ResourceManager; -using TypeSpec.Http; -using TypeSpec.OpenAPI; - -namespace Microsoft.Quota; -/** - * The new quota limit request status. - */ -@parentResource(GroupQuotasEntity) -model GroupQuotaSubscriptionRequestStatus - is Azure.ResourceManager.ProxyResource { - ...ResourceNameParameter< - Resource = GroupQuotaSubscriptionRequestStatus, - KeyName = "requestId", - SegmentName = "subscriptionRequests", - NamePattern = "" - >; -} - -@armResourceOperations -interface GroupQuotaSubscriptionRequestStatuses { - /** - * Get API to check the status of a subscriptionIds request by requestId. Use the polling API - OperationsStatus URI specified in Azure-AsyncOperation header field, with retry-after duration in seconds to check the intermediate status. This API provides the finals status with the request details and status. - */ - get is Extension.Read< - Extension.ManagementGroup<"managementGroupId">, - GroupQuotaSubscriptionRequestStatus - >; - - /** - * List API to check the status of a subscriptionId requests by requestId. Request history is maintained for 1 year. - */ - list is Extension.ListByTarget< - Extension.ManagementGroup<"managementGroupId">, - GroupQuotaSubscriptionRequestStatus, - Response = ArmResponse - >; -} - -@@doc(GroupQuotaSubscriptionRequestStatus.name, "Request Id."); -@@doc(GroupQuotaSubscriptionRequestStatus.properties, ""); diff --git a/specification/quota/Quota.Management/GroupQuotasEnforcementStatus.tsp b/specification/quota/Quota.Management/GroupQuotasEnforcementStatus.tsp deleted file mode 100644 index 588b6531b6a2..000000000000 --- a/specification/quota/Quota.Management/GroupQuotasEnforcementStatus.tsp +++ /dev/null @@ -1,162 +0,0 @@ -import "@azure-tools/typespec-azure-core"; -import "@azure-tools/typespec-azure-resource-manager"; -import "@typespec/openapi"; -import "@typespec/rest"; -import "./models.tsp"; -import "./GroupQuotasEntity.tsp"; - -using TypeSpec.Rest; -using Azure.ResourceManager; -using TypeSpec.Http; -using TypeSpec.OpenAPI; - -namespace Microsoft.Quota; -/** - * The GroupQuota Enforcement status for a Azure Location/Region. - */ -@parentResource(GroupQuotasEntity) -model GroupQuotasEnforcementStatus - is Azure.ResourceManager.ProxyResource { - ...ResourceNameParameter< - Resource = GroupQuotasEnforcementStatus, - KeyName = "location", - SegmentName = "locationSettings", - NamePattern = "" - >; -} - -alias GroupQuotasEnforcementStatusesOps = Azure.ResourceManager.Legacy.ExtensionOperations< - { - ...ApiVersionParameter; - - /** the provider namespace */ - @path - @segment("providers") - @key - providerNamespace: "Microsoft.Management"; - - /** - * The management group ID. - */ - @path - @segment("managementGroups") - @key - @minLength(3) - @maxLength(63) - managementGroupId: string; - }, - { - ...Extension.ExtensionProviderNamespace; - }, - { - ...Extension.ExtensionProviderNamespace; - - /** - * The GroupQuota name. The name should be unique for the provided context tenantId/MgId. - */ - @path - @segment("groupQuotas") - @minLength(3) - @maxLength(63) - @key - @pattern("^[a-z][a-z0-9]*$") - groupQuotaName: string; - - /** - * The resource provider name, such as - Microsoft.Compute. Currently only Microsoft.Compute resource provider supports this API. - */ - @path - @key - @segment("resourceProviders") - @pattern("^((?!-)[a-zA-Z0-9-]{1,63}(?; - -#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@armResourceOperations -interface GroupQuotasEnforcementStatuses { - /** - * Gets the GroupQuotas enforcement settings for the ResourceProvider/location. The locations, where GroupQuota enforcement is not enabled will return Not Found. - */ - get is GroupQuotasEnforcementStatusesOps.Read; - - /** - * Enables the GroupQuotas enforcement for the resource provider and the location specified. The resource provider will start using the group quotas as the overall quota for the subscriptions included in the GroupQuota. The subscriptions cannot request quota at subscription level since it is now part of an enforced group. - * The subscriptions share the GroupQuotaLimits assigned to the GroupQuota. If the GroupQuotaLimits is used, then submit a groupQuotaLimit request for the specific resource - provider/location/resource. - * Once the GroupQuota Enforcement is enabled then, it cannot be deleted or reverted back. To disable GroupQuota Enforcement - - * 1. Remove all the subscriptions from the groupQuota using the delete API for Subscriptions (Check the example - GroupQuotaSubscriptions_Delete). - * 2. Then delete the GroupQuota (Check the example - GroupQuotas_Delete). - */ - #suppress "@azure-tools/typespec-azure-core/response-schema-problem" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - createOrUpdate is GroupQuotasEnforcementStatusesOps.CreateOrUpdateAsync< - GroupQuotasEnforcementStatus, - Response = ArmResourceUpdatedResponse | ArmResourceCreatedResponse< - LROResponse, - ArmCombinedLroHeaders & - Azure.Core.Foundations.RetryAfterHeader - >, - OptionalRequestBody = true - >; - - /** - * Enables the GroupQuotas enforcement for the resource provider and the location specified. The resource provider will start using the group quotas as the overall quota for the subscriptions included in the GroupQuota. The subscriptions cannot request quota at subscription level since it is now part of an enforced group. - * The subscriptions share the GroupQuotaLimits assigned to the GroupQuota. If the GroupQuotaLimits is used, then submit a groupQuotaLimit request for the specific resource - provider/location/resource. - * Once the GroupQuota Enforcement is enabled then, it cannot be deleted or reverted back. To disable GroupQuota Enforcement - - * 1. Remove all the subscriptions from the groupQuota using the delete API for Subscriptions (Check the example - GroupQuotaSubscriptions_Delete). - * 2. Ten delete the GroupQuota (Check the example - GroupQuotas_Delete). - */ - @patch(#{ implicitOptionality: false }) - update is GroupQuotasEnforcementStatusesOps.CustomPatchAsync< - GroupQuotasEnforcementStatus, - PatchModel = GroupQuotasEnforcementStatus, - Response = ArmResponse | ArmAcceptedLroResponse & - Azure.Core.Foundations.RetryAfterHeader>, - OptionalRequestBody = true - >; - - /** - * Returns only the list of the Azure regions settings, where the GroupQuotas enforcement is enabled. The locations not included in GroupQuota Enforcement will not be listed, the regions in failed status with listed as status Failed. - */ - list is GroupQuotasEnforcementStatusesOps.List< - GroupQuotasEnforcementStatus, - Parameters = { - /** - * The GroupQuota name. The name should be unique for the provided context tenantId/MgId. - */ - @path - @segment("groupQuotas") - @minLength(3) - @maxLength(63) - @pattern("^[a-z][a-z0-9]*$") - groupQuotaName: string; - - /** - * The resource provider name, such as - Microsoft.Compute. Currently only Microsoft.Compute resource provider supports this API. - */ - @path - @segment("resourceProviders") - @pattern("^((?!-)[a-zA-Z0-9-]{1,63}(? - >; -} - -@@minLength(GroupQuotasEnforcementStatus.name, 1); -@@doc(GroupQuotasEnforcementStatus.name, "The name of the Azure region."); -@@doc(GroupQuotasEnforcementStatus.properties, ""); -@@doc(GroupQuotasEnforcementStatuses.createOrUpdate::parameters.resource, - "The GroupQuota body details for creation or update of a GroupQuota entity." -); -@@doc(GroupQuotasEnforcementStatuses.update::parameters.properties, - "The GroupQuota body details for creation or update of a GroupQuota entity." -); diff --git a/specification/quota/Quota.Management/GroupQuotasEntity.tsp b/specification/quota/Quota.Management/GroupQuotasEntity.tsp deleted file mode 100644 index ce8f7bc5b1b1..000000000000 --- a/specification/quota/Quota.Management/GroupQuotasEntity.tsp +++ /dev/null @@ -1,191 +0,0 @@ -import "@azure-tools/typespec-azure-core"; -import "@azure-tools/typespec-azure-resource-manager"; -import "@typespec/openapi"; -import "@typespec/rest"; -import "./models.tsp"; - -using TypeSpec.Rest; -using Azure.ResourceManager; -using TypeSpec.Http; -using TypeSpec.OpenAPI; - -namespace Microsoft.Quota; -/** - * Properties and filters for ShareQuota. The request parameter is optional, if there are no filters specified. - */ -@tenantResource -model GroupQuotasEntity - is Azure.ResourceManager.ProxyResource { - ...ResourceNameParameter< - Resource = GroupQuotasEntity, - KeyName = "groupQuotaName", - SegmentName = "groupQuotas", - NamePattern = "^[a-z][a-z0-9]*$" - >; -} - -alias GroupQuotasEntitiesOps = Azure.ResourceManager.Legacy.ExtensionOperations< - { - ...ApiVersionParameter; - - /** the provider namespace */ - @path - @segment("providers") - @key - providerNamespace: "Microsoft.Management"; - - /** - * The management group ID. - */ - @path - @segment("managementGroups") - @key - @minLength(3) - @maxLength(63) - managementGroupId: string; - }, - { - ...Extension.ExtensionProviderNamespace; - }, - { - ...Extension.ExtensionProviderNamespace; - - /** - * The GroupQuota name. The name should be unique for the provided context tenantId/MgId. - */ - @path - @segment("groupQuotas") - @minLength(3) - @maxLength(63) - @key - @pattern("^[a-z][a-z0-9]*$") - groupQuotaName: string; - } ->; - -@armResourceOperations -interface GroupQuotasEntities { - /** - * Gets the GroupQuotas for the name passed. It will return the GroupQuotas properties only. The details on group quota can be access from the group quota APIs. - */ - get is Extension.Read< - Extension.ManagementGroup<"managementGroupId">, - GroupQuotasEntity - >; - - /** - * Creates a new GroupQuota for the name passed. A RequestId will be returned by the Service. The status can be polled periodically. The status Async polling is using standards defined at - https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/async-api-reference.md#asynchronous-operations. Use the OperationsStatus URI provided in Azure-AsyncOperation header, the duration will be specified in retry-after header. Once the operation gets to terminal state - Succeeded | Failed, then the URI will change to Get URI and full details can be checked. - */ - #suppress "@azure-tools/typespec-azure-core/response-schema-problem" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - createOrUpdate is GroupQuotasEntitiesOps.CreateOrUpdateAsync< - GroupQuotasEntity, - Response = ArmResourceUpdatedResponse | ArmResourceCreatedResponse< - LROResponse, - ArmCombinedLroHeaders & - Azure.Core.Foundations.RetryAfterHeader - >, - OptionalRequestBody = true - >; - - /** - * Updates the GroupQuotas for the name passed. A GroupQuotas RequestId will be returned by the Service. The status can be polled periodically. The status Async polling is using standards defined at - https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/async-api-reference.md#asynchronous-operations. Use the OperationsStatus URI provided in Azure-AsyncOperation header, the duration will be specified in retry-after header. Once the operation gets to terminal state - Succeeded | Failed, then the URI will change to Get URI and full details can be checked. - * Any change in the filters will be applicable to the future quota assignments, existing quota allocated to subscriptions from the GroupQuotas remains unchanged. - */ - @patch(#{ implicitOptionality: false }) - update is GroupQuotasEntitiesOps.CustomPatchAsync< - GroupQuotasEntity, - PatchModel = GroupQuotasEntityPatch, - Response = ArmResponse | ArmAcceptedLroResponse & - Azure.Core.Foundations.RetryAfterHeader>, - OptionalRequestBody = true - >; - - /** - * Deletes the GroupQuotas for the name passed. All the remaining shareQuota in the GroupQuotas will be lost. - */ - delete is Extension.DeleteWithoutOkAsync< - Extension.ManagementGroup<"managementGroupId">, - GroupQuotasEntity, - Response = ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse - >; - - /** - * Lists GroupQuotas for the scope passed. It will return the GroupQuotas QuotaEntity properties only.The details on group quota can be access from the group quota APIs. - */ - list is Extension.ListByTarget< - Extension.ManagementGroup<"managementGroupId">, - GroupQuotasEntity, - Response = ArmResponse - >; - - /** - * Get API to check the status of a GroupQuota request by requestId. - */ - @get - @list - @action("groupQuotaRequests") - groupQuotaLimitsRequestList is Extension.ActionSync< - Extension.ManagementGroup<"managementGroupId">, - GroupQuotasEntity, - void, - ArmResponse, - Parameters = { - /** - * The resource provider name, such as - Microsoft.Compute. Currently only Microsoft.Compute resource provider supports this API. - */ - @path - @segment("resourceProviders") - @pattern("^((?!-)[a-zA-Z0-9-]{1,63}(?; - - /** - * Gets the GroupQuotas usages and limits(quota). Location is required paramter. - */ - @get - @list - groupQuotaUsagesList is Extension.Read< - Extension.ManagementGroup<"managementGroupId">, - GroupQuotasEntity, - Parameters = { - /** - * The resource provider name, such as - Microsoft.Compute. Currently only Microsoft.Compute resource provider supports this API. - */ - @pattern("^((?!-)[a-zA-Z0-9-]{1,63}(? - >; -} - -@@maxLength(GroupQuotasEntity.name, 63); -@@minLength(GroupQuotasEntity.name, 3); -@@doc(GroupQuotasEntity.name, - "The GroupQuota name. The name should be unique for the provided context tenantId/MgId." -); -@@doc(GroupQuotasEntity.properties, "Properties"); -@@doc(GroupQuotasEntities.createOrUpdate::parameters.resource, - "The GroupQuota body details for creation or update of a GroupQuota entity." -); -@@doc(GroupQuotasEntities.update::parameters.properties, - "The GroupQuotas Patch Request." -); diff --git a/specification/quota/Quota.Management/Legacy.tsp b/specification/quota/Quota.Management/Legacy.tsp deleted file mode 100644 index 7fb96a2fbdb1..000000000000 --- a/specification/quota/Quota.Management/Legacy.tsp +++ /dev/null @@ -1,129 +0,0 @@ -import "@azure-tools/typespec-azure-core"; -import "@azure-tools/typespec-azure-resource-manager"; -import "@typespec/openapi"; -import "@typespec/rest"; - -using TypeSpec.Rest; -using TypeSpec.Http; -using Azure.ResourceManager.Foundations; -using Azure.Core; -using Azure.ResourceManager.Private; - -namespace Azure.ResourceManager.CustomExtension; -/** - * A long-running resource CreateOrUpdate (PUT) - * @template TargetResource the target resource, e.g. Extension.Subscription or Extension.ManagementGroup or Extension.ResourceGroup - * @template ExtensionResource the resource being created or updated - * @template LroHeaders Optional. Allows overriding the lro headers returned on resource create - * @template Parameters Optional. Additional parameters after the path parameters - * @template Response Optional. The success response for the createOrUpdate operation - * @template Error Optional. The error response, if non-standard. - */ -#suppress "@azure-tools/typespec-azure-core/response-schema-problem" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -#suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@autoRoute -@doc("Create a {name}", ExtensionResource) -@armResourceCreateOrUpdate(ExtensionResource) -@enforceConstraint(TargetResource, Foundations.Resource) -@enforceConstraint(ExtensionResource, Foundations.Resource) -@Azure.Core.Foundations.Private.defaultFinalStateVia(#[ - "location", - "azure-async-operation" -]) -@put -op CreateOrUpdateWithoutBodyAsync< - TargetResource extends Foundations.SimpleResource, - ExtensionResource extends Foundations.SimpleResource, - LroHeaders extends TypeSpec.Reflection.Model = ArmAsyncOperationHeader & - Azure.Core.Foundations.RetryAfterHeader, - Parameters extends {} = {}, - Response extends {} = ArmResourceUpdatedResponse | ArmResourceCreatedResponse< - ExtensionResource, - LroHeaders - >, - Error extends {} = ErrorResponse -> is ArmCreateOperation< - Azure.ResourceManager.Extension.ExtensionInstanceParameters< - TargetResource, - ExtensionResource - > & - Parameters, - ExtensionResource, - Response, - Error ->; - -/** - * A long-running resource update using a custom PATCH payload (Asynchronous) - * @template TargetResource the target resource, e.g. Extension.Subscription or Extension.ManagementGroup or Extension.ResourceGroup - * @template ExtensionResource the resource being patched - * @template PatchModel The input model for the PATCH request - * @template LroHeaders Optional. Allows overriding the lro headers returned in the Accepted response - * @template Parameters Optional. Additional parameters after the path parameters - * @template Response Optional. The success response for the patch operation - * @template Error Optional. The error response, if non-standard. - */ -#suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@autoRoute -@doc("Update a {name}", ExtensionResource) -@enforceConstraint(TargetResource, Foundations.Resource) -@enforceConstraint(ExtensionResource, Foundations.Resource) -@patch(#{ implicitOptionality: true }) -op CustomPatchWithoutBodyAsync< - TargetResource extends Foundations.SimpleResource, - ExtensionResource extends Foundations.SimpleResource, - PatchModel extends TypeSpec.Reflection.Model = TagsUpdateModel, - LroHeaders extends TypeSpec.Reflection.Model = ArmLroLocationHeader< - Azure.Core.StatusMonitorPollingOptions, - ExtensionResource, - string - > & - Azure.Core.Foundations.RetryAfterHeader, - Parameters extends {} = {}, - Response extends {} = ArmResponse | ArmAcceptedLroResponse< - "Resource update request accepted.", - LroHeaders - >, - Error extends {} = ErrorResponse -> is ArmUpdateOperation< - Azure.ResourceManager.Extension.ExtensionInstanceParameters< - TargetResource, - ExtensionResource - > & - Parameters, - PatchModel, - Response, - Error ->; - -/** - * @dev The base template for Azure Resource Manager PUT Operations. - * @template HttpParameters The parameter object for the operation. - * @template BodyParameter The body parameter - * @template Response The response or union of responses for success. - * @template ErrorResponse The error response. - */ -#suppress "@azure-tools/typespec-azure-core/response-schema-problem" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -#suppress "@typespec/compiler/unused-template-parameter" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -op ArmCreateOperation< - HttpParameters extends {}, - BodyParameter extends {}, - Response extends {}, - ErrorResponse extends {} ->(...HttpParameters): Response | ErrorResponse; - -/** - * @dev The base template for Azure Resource Manager PATCH Operations. - * @template HttpParameters The parameter object for the operation. - * @template BodyParameter The body parameter - * @template Response The response or union of responses for success. - * @template ErrorResponse The error response. - * @template RequestBody Optional. ENables changing the name, documentation, or optionality of the request body parameter - */ -#suppress "@typespec/compiler/unused-template-parameter" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -op ArmUpdateOperation< - HttpParameters extends {}, - BodyParameter extends {}, - Response extends {}, - ErrorResponse extends {} ->(...HttpParameters): Response | ErrorResponse; diff --git a/specification/quota/Quota.Management/QuotaAllocationRequestStatus.tsp b/specification/quota/Quota.Management/QuotaAllocationRequestStatus.tsp deleted file mode 100644 index 332f1ed354be..000000000000 --- a/specification/quota/Quota.Management/QuotaAllocationRequestStatus.tsp +++ /dev/null @@ -1,135 +0,0 @@ -import "@azure-tools/typespec-azure-core"; -import "@azure-tools/typespec-azure-resource-manager"; -import "@typespec/openapi"; -import "@typespec/rest"; -import "./models.tsp"; - -using TypeSpec.Rest; -using Azure.ResourceManager; -using TypeSpec.Http; -using TypeSpec.OpenAPI; - -namespace Microsoft.Quota; -/** - * The subscription quota allocation status. - */ -@tenantResource -model QuotaAllocationRequestStatus - is Azure.ResourceManager.ProxyResource { - ...ResourceNameParameter< - Resource = QuotaAllocationRequestStatus, - KeyName = "allocationId", - SegmentName = "quotaAllocationRequests", - NamePattern = "" - >; -} - -alias QuotaAllocationRequestStatusesOps = Azure.ResourceManager.Legacy.ExtensionOperations< - { - ...ApiVersionParameter; - - /** the provider namespace */ - @path - @segment("providers") - @key - providerNamespace: "Microsoft.Management"; - - /** - * The management group ID. - */ - @path - @segment("managementGroups") - @key - @minLength(3) - @maxLength(63) - managementGroupId: string; - - ...SubscriptionIdParameter; - }, - { - ...Extension.ExtensionProviderNamespace; - }, - { - ...Extension.ExtensionProviderNamespace; - - /** - * The GroupQuota name. The name should be unique for the provided context tenantId/MgId. - */ - @path - @segment("groupQuotas") - @minLength(3) - @maxLength(63) - @key - @pattern("^[a-z][a-z0-9]*$") - groupQuotaName: string; - - /** - * The resource provider name, such as - Microsoft.Compute. Currently only Microsoft.Compute resource provider supports this API. - */ - @path - @key - @segment("resourceProviders") - @pattern("^((?!-)[a-zA-Z0-9-]{1,63}(?; - -#suppress "@azure-tools/typespec-azure-resource-manager/improper-subscription-list-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@armResourceOperations -interface QuotaAllocationRequestStatuses { - /** - * Get the quota allocation request status for the subscriptionId by allocationId. - */ - get is QuotaAllocationRequestStatusesOps.Read< - QuotaAllocationRequestStatus, - Parameters = { - /** - * Request Id. - */ - @path - @segment("quotaAllocationRequests") - allocationId: string; - } - >; - - /** - * Get all the quotaAllocationRequests for a resourceProvider/location. The filter paramter for location is required. - */ - list is QuotaAllocationRequestStatusesOps.List< - QuotaAllocationRequestStatus, - Parameters = { - /** - * The GroupQuota name. The name should be unique for the provided context tenantId/MgId. - */ - @path - @segment("groupQuotas") - @minLength(3) - @maxLength(63) - @pattern("^[a-z][a-z0-9]*$") - groupQuotaName: string; - - /** - * The resource provider name, such as - Microsoft.Compute. Currently only Microsoft.Compute resource provider supports this API. - */ - @path - @segment("resourceProviders") - @pattern("^((?!-)[a-zA-Z0-9-]{1,63}(? - >; -} - -@@doc(QuotaAllocationRequestStatus.name, "Request Id."); -@@doc(QuotaAllocationRequestStatus.properties, ""); diff --git a/specification/quota/Quota.Management/QuotaRequestDetails.tsp b/specification/quota/Quota.Management/QuotaRequestDetails.tsp deleted file mode 100644 index 697608bdc177..000000000000 --- a/specification/quota/Quota.Management/QuotaRequestDetails.tsp +++ /dev/null @@ -1,77 +0,0 @@ -import "@azure-tools/typespec-azure-core"; -import "@azure-tools/typespec-azure-resource-manager"; -import "@typespec/openapi"; -import "@typespec/rest"; -import "./models.tsp"; - -using TypeSpec.Rest; -using Azure.ResourceManager; -using TypeSpec.Http; -using TypeSpec.OpenAPI; - -namespace Microsoft.Quota; -/** - * List of quota requests with details. - */ -#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-duplicate-base-parameter" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@extensionResource -model QuotaRequestDetails - is Azure.ResourceManager.ExtensionResource { - ...ResourceNameParameter< - Resource = QuotaRequestDetails, - KeyName = "id", - SegmentName = "quotaRequests", - NamePattern = "" - >; -} - -@armResourceOperations -interface QuotaRequestStatus { - /** - * Get the quota request details and status by quota request ID for the resources of the resource provider at a specific location. The quota request ID **id** is returned in the response of the PUT operation. - */ - get is Extension.Read< - Extension.ScopeParameter, - QuotaRequestDetails, - Error = ExceptionResponse - >; - - /** - * For the specified scope, get the current quota requests for a one year period ending at the time is made. Use the **oData** filter to select quota requests. - */ - list is Extension.ListByTarget< - Extension.ScopeParameter, - QuotaRequestDetails, - Parameters = { - /** - * | Field | Supported operators - * |---------------------|------------------------ - * - * |requestSubmitTime | ge, le, eq, gt, lt - * |provisioningState eq {QuotaRequestState} - * |resourceName eq {resourceName} - * - */ - @query("$filter") - $filter?: string; - - /** - * Number of records to return. - */ - @minValue(1) - @query("$top") - $top?: int32; - - /** - * The **Skiptoken** parameter is used only if a previous operation returned a partial result. If a previous response contains a **nextLink** element, its value includes a **skiptoken** parameter that specifies a starting point to use for subsequent calls. - */ - @query("$skiptoken") - $skiptoken?: string; - }, - Response = ArmResponse, - Error = ExceptionResponse - >; -} - -@@doc(QuotaRequestDetails.name, "Quota request ID."); -@@doc(QuotaRequestDetails.properties, "Quota request details."); diff --git a/specification/quota/Quota.Management/SubmittedResourceRequestStatus.tsp b/specification/quota/Quota.Management/SubmittedResourceRequestStatus.tsp deleted file mode 100644 index d6dffb98e21b..000000000000 --- a/specification/quota/Quota.Management/SubmittedResourceRequestStatus.tsp +++ /dev/null @@ -1,40 +0,0 @@ -import "@azure-tools/typespec-azure-core"; -import "@azure-tools/typespec-azure-resource-manager"; -import "@typespec/openapi"; -import "@typespec/rest"; -import "./models.tsp"; -import "./GroupQuotasEntity.tsp"; - -using TypeSpec.Rest; -using Azure.ResourceManager; -using TypeSpec.Http; -using TypeSpec.OpenAPI; - -namespace Microsoft.Quota; -/** - * Status of a single GroupQuota request. - */ -@parentResource(GroupQuotasEntity) -model SubmittedResourceRequestStatus - is Azure.ResourceManager.ProxyResource { - ...ResourceNameParameter< - Resource = SubmittedResourceRequestStatus, - KeyName = "requestId", - SegmentName = "groupQuotaRequests", - NamePattern = "" - >; -} - -@armResourceOperations -interface SubmittedResourceRequestStatuses { - /** - * Get API to check the status of a GroupQuota request by requestId. - */ - get is Extension.Read< - Extension.ManagementGroup<"managementGroupId">, - SubmittedResourceRequestStatus - >; -} - -@@doc(SubmittedResourceRequestStatus.name, "Request Id."); -@@doc(SubmittedResourceRequestStatus.properties, ""); diff --git a/specification/quota/Quota.Management/SubscriptionQuotaAllocationsList.tsp b/specification/quota/Quota.Management/SubscriptionQuotaAllocationsList.tsp deleted file mode 100644 index aedbda730d09..000000000000 --- a/specification/quota/Quota.Management/SubscriptionQuotaAllocationsList.tsp +++ /dev/null @@ -1,106 +0,0 @@ -import "@azure-tools/typespec-azure-core"; -import "@azure-tools/typespec-azure-resource-manager"; -import "@typespec/openapi"; -import "@typespec/rest"; -import "./models.tsp"; - -using TypeSpec.Rest; -using Azure.ResourceManager; -using TypeSpec.Http; -using TypeSpec.OpenAPI; - -namespace Microsoft.Quota; -/** - * Subscription quota list. - */ -@tenantResource -model SubscriptionQuotaAllocationsList - is Azure.ResourceManager.ProxyResource { - ...ResourceNameParameter< - Resource = SubscriptionQuotaAllocationsList, - KeyName = "location", - SegmentName = "quotaAllocations", - NamePattern = "" - >; -} - -alias SubscriptionQuotaAllocationsListsOps = Azure.ResourceManager.Legacy.ExtensionOperations< - { - ...ApiVersionParameter; - - /** the provider namespace */ - @path - @segment("providers") - @key - providerNamespace: "Microsoft.Management"; - - /** - * The management group ID. - */ - @path - @segment("managementGroups") - @minLength(3) - @maxLength(63) - managementGroupId: string; - - ...SubscriptionIdParameter; - }, - { - ...Extension.ExtensionProviderNamespace; - }, - { - ...Extension.ExtensionProviderNamespace; - - /** - * The GroupQuota name. The name should be unique for the provided context tenantId/MgId. - */ - @path - @segment("groupQuotas") - @minLength(3) - @maxLength(63) - @pattern("^[a-z][a-z0-9]*$") - groupQuotaName: string; - - /** - * The resource provider name, such as - Microsoft.Compute. Currently only Microsoft.Compute resource provider supports this API. - */ - @path - @segment("resourceProviders") - @pattern("^((?!-)[a-zA-Z0-9-]{1,63}(?; - -@armResourceOperations -interface SubscriptionQuotaAllocationsLists { - /** - * 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. - */ - list is SubscriptionQuotaAllocationsListsOps.Read; - - /** - * 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. - */ - @patch(#{ implicitOptionality: false }) - update is SubscriptionQuotaAllocationsListsOps.CustomPatchAsync< - SubscriptionQuotaAllocationsList, - PatchModel = SubscriptionQuotaAllocationsList, - Response = ArmResponse | ArmAcceptedLroResponse & - Azure.Core.Foundations.RetryAfterHeader> - >; -} - -@@minLength(SubscriptionQuotaAllocationsList.name, 1); -@@doc(SubscriptionQuotaAllocationsList.name, "The name of the Azure region."); -@@doc(SubscriptionQuotaAllocationsList.properties, ""); -@@doc(SubscriptionQuotaAllocationsLists.update::parameters.properties, - "Quota requests payload." -); diff --git a/specification/quota/Quota.Management/back-compatible.tsp b/specification/quota/Quota.Management/back-compatible.tsp deleted file mode 100644 index 84bc0650612f..000000000000 --- a/specification/quota/Quota.Management/back-compatible.tsp +++ /dev/null @@ -1,176 +0,0 @@ -import "@azure-tools/typespec-client-generator-core"; - -using Azure.ClientGenerator.Core; -using Microsoft.Quota; - -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@@flattenProperty(GroupQuotaDetails.name); - -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@@flattenProperty(GroupQuotaRequestBase.properties); - -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@@flattenProperty(GroupQuotaRequestBaseProperties.name); - -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@@flattenProperty(SubscriptionQuotaDetails.name); - -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@@flattenProperty(QuotaAllocationRequestBase.properties); - -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@@flattenProperty(QuotaAllocationRequestBaseProperties.name); - -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@@flattenProperty(GroupQuotaUsagesBase.name); - -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@@flattenProperty(QuotaRequestOneResourceSubmitResponse.properties); - -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@@flattenProperty(QuotaRequestSubmitResponse202.properties); - -@@clientLocation(CurrentUsagesBases.get, "Usages", "!csharp"); -@@clientLocation(CurrentUsagesBases.list, "Usages", "!csharp"); - -@@clientLocation(GroupQuotasEntities.get, "GroupQuotas", "!csharp"); -@@clientLocation(GroupQuotasEntities.createOrUpdate, "GroupQuotas", "!csharp"); -@@clientName(GroupQuotasEntities.createOrUpdate::parameters.resource, - "GroupQuotaPutRequestBody" -); -@@clientLocation(GroupQuotasEntities.update, "GroupQuotas", "!csharp"); -@@clientName(GroupQuotasEntities.update::parameters.properties, - " GroupQuotasPatchRequestBody" -); -@@clientLocation(GroupQuotasEntities.delete, "GroupQuotas", "!csharp"); -@@clientLocation(GroupQuotasEntities.list, "GroupQuotas", "!csharp"); -@@clientLocation(GroupQuotasEntities.groupQuotaLimitsRequestList, - "GroupQuotaLimitsRequest", - "!csharp" -); -@@clientName(GroupQuotasEntities.groupQuotaLimitsRequestList, "List"); -@@clientLocation(GroupQuotasEntities.groupQuotaUsagesList, - "GroupQuotaUsages", - "!csharp" -); -@@clientName(GroupQuotasEntities.groupQuotaUsagesList, "List"); - -@@clientLocation(SubmittedResourceRequestStatuses.get, - "GroupQuotaLimitsRequest", - "!csharp" -); - -@@clientLocation(GroupQuotaLimitLists.list, "GroupQuotaLimits", "!csharp"); -@@clientLocation(GroupQuotaLimitLists.update, - "GroupQuotaLimitsRequest", - "!csharp" -); -@@clientName(GroupQuotaLimitLists.update::parameters.properties, - "groupQuotaRequest" -); - -@@clientName(SubscriptionQuotaAllocationsLists.update::parameters.properties, - "allocateQuotaRequest" -); - -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@@flattenProperty(QuotaAllocationRequestStatus.properties); - -@@clientLocation(GroupQuotasEnforcementStatuses.get, - "GroupQuotaLocationSettings", - "!csharp" -); -@@clientLocation(GroupQuotasEnforcementStatuses.createOrUpdate, - "GroupQuotaLocationSettings", - "!csharp" -); -@@clientName(GroupQuotasEnforcementStatuses.createOrUpdate::parameters.resource, - "LocationSettings" -); -@@clientLocation(GroupQuotasEnforcementStatuses.update, - "GroupQuotaLocationSettings", - "!csharp" -); -@@clientName(GroupQuotasEnforcementStatuses.update::parameters.properties, - "LocationSettings" -); -@@clientLocation(GroupQuotasEnforcementStatuses.list, - "GroupQuotaLocationSettings", - "!csharp" -); - -@@clientLocation(GroupQuotaSubscriptionRequestStatuses.get, - "GroupQuotaSubscriptionRequests", - "!csharp" -); -@@clientLocation(GroupQuotaSubscriptionRequestStatuses.list, - "GroupQuotaSubscriptionRequests", - "!csharp" -); -@@clientLocation(CurrentQuotaLimitBases.get, "Quota", "!csharp"); -@@clientLocation(CurrentQuotaLimitBases.createOrUpdate, "Quota", "!csharp"); -@@clientName(CurrentQuotaLimitBases.createOrUpdate::parameters.resource, - "createQuotaRequest" -); -@@clientLocation(CurrentQuotaLimitBases.update, "Quota", "!csharp"); -@@clientName(CurrentQuotaLimitBases.update::parameters.properties, - "createQuotaRequest" -); -@@clientLocation(CurrentQuotaLimitBases.list, "Quota", "!csharp"); - -@@clientLocation(GroupQuotaSubscriptionIds.get, - "GroupQuotaSubscriptions", - "!csharp" -); -@@clientLocation(GroupQuotaSubscriptionIds.createOrUpdate, - "GroupQuotaSubscriptions", - "!csharp" -); -@@clientLocation(GroupQuotaSubscriptionIds.update, - "GroupQuotaSubscriptions", - "!csharp" -); -@@clientLocation(GroupQuotaSubscriptionIds.delete, - "GroupQuotaSubscriptions", - "!csharp" -); -@@clientLocation(GroupQuotaSubscriptionIds.list, - "GroupQuotaSubscriptions", - "!csharp" -); -@@clientLocation(GroupQuotaSubscriptionIds.update, - "GroupQuotaSubscriptions", - "!csharp" -); -@@clientLocation(GroupQuotaSubscriptionIds.delete, - "GroupQuotaSubscriptions", - "!csharp" -); -@@clientLocation(GroupQuotaSubscriptionIds.list, - "GroupQuotaSubscriptions", - "!csharp" -); - -@@clientLocation(QuotaAllocationRequestStatuses.get, - "GroupQuotaSubscriptionAllocationRequest", - "!csharp" -); -@@clientLocation(QuotaAllocationRequestStatuses.list, - "GroupQuotaSubscriptionAllocationRequest", - "!csharp" -); - -@@clientLocation(SubscriptionQuotaAllocationsLists.list, - "GroupQuotaSubscriptionAllocation", - "!csharp" -); -@@clientLocation(SubscriptionQuotaAllocationsLists.update, - "GroupQuotaSubscriptionAllocationRequest", - "!csharp" -); - -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@@flattenProperty(QuotaRequestDetails.properties); - -@@maxLength(Azure.ResourceManager.Extension.ManagementGroup.name, 63); -@@minLength(Azure.ResourceManager.Extension.ManagementGroup.name, 3); diff --git a/specification/quota/Quota.Management/client.tsp b/specification/quota/Quota.Management/client.tsp deleted file mode 100644 index 7b3e9ea31abd..000000000000 --- a/specification/quota/Quota.Management/client.tsp +++ /dev/null @@ -1,62 +0,0 @@ -import "./main.tsp"; -import "@azure-tools/typespec-client-generator-core"; - -using Azure.ClientGenerator.Core; -using Microsoft.Quota; - -// csharp -@@clientName(LimitJsonObject, "QuotaLimitJsonObject", "csharp"); -@@clientName(LimitObject, "QuotaLimitObject", "csharp"); -@@clientName(OperationList, "QuotaOperationListResult", "csharp"); -@@clientName(OperationResponse, "QuotaOperationResult", "csharp"); -@@clientName(OperationDisplay, "QuotaOperationDisplay", "csharp"); -@@clientName(ResourceName, "QuotaRequestResourceName", "csharp"); -@@clientName(SubRequest, "QuotaSubRequestDetail", "csharp"); -@@alternateType(SubRequest.subRequestId, Azure.Core.uuid, "csharp"); -@@clientName(UsagesObject, "QuotaUsagesObject", "csharp"); -@@clientName(UsagesProperties, "QuotaUsagesProperties", "csharp"); -@@alternateType(UsagesProperties.quotaPeriod, duration, "csharp"); -@@clientName(UsagesTypes, "QuotaUsagesType", "csharp"); -@@clientName(UsagesProperties.resourceType, "ResourceTypeName", "csharp"); -@@clientName(QuotaProperties.resourceType, "ResourceTypeName", "csharp"); -@@alternateType(QuotaProperties.quotaPeriod, duration, "csharp"); -@@clientName(SubRequest.resourceType, "ResourceTypeName", "csharp"); -@@clientName(GroupQuotasEntity, "GroupQuotaEntity", "csharp"); -@@clientName(GroupQuotasEntityBase, "GroupQuotaEntityBase", "csharp"); -@@clientName(GroupQuotaSubscriptionId, "GroupQuotaSubscription", "csharp"); -@@clientName(GroupQuotaSubscriptionIdProperties, - "GroupQuotaSubscriptionProperties", - "csharp" -); -@@clientName(QuotaAllocationRequestStatusProperties.requestSubmitTime, - "RequestSubmittedOn", - "csharp" -); -@@clientName(SubmittedResourceRequestStatus, - "GroupQuotaRequestStatus", - "csharp" -); -@@clientName(SubmittedResourceRequestStatusProperties, - "GroupQuotaRequestStatusProperties", - "csharp" -); -@@clientName(SubmittedResourceRequestStatusProperties.requestSubmitTime, - "RequestSubmittedOn", - "csharp" -); -@@clientName(AllocatedToSubscription, "SubscriptionAllocatedQuota", "csharp"); -@@clientName(RequestState, "QuotaRequestStatus", "csharp"); -@@clientName(ResourceUsages, "GroupQuotaResourceUsages", "csharp"); -@@clientName(GroupQuotasEntities.groupQuotaLimitsRequestList, - "GetGroupQuotaLimitsRequests", - "csharp" -); -@@usage(QuotaAllocationRequestStatus, Usage.input, "csharp"); -@@usage(QuotaAllocationRequestBase, Usage.input, "csharp"); -@@usage(GroupQuotaSubscriptionRequestStatusProperties, Usage.input, "csharp"); -@@usage(GroupQuotaSubscriptionIdProperties, Usage.input, "csharp"); -@@usage(SubmittedResourceRequestStatusProperties, Usage.input, "csharp"); -@@usage(GroupQuotaRequestBase, Usage.input, "csharp"); -@@usage(GroupQuotaSubscriptionRequestStatus, Usage.input, "csharp"); -@@usage(GroupQuotaSubscriptionId, Usage.input, "csharp"); -@@usage(SubmittedResourceRequestStatus, Usage.input, "csharp"); diff --git a/specification/quota/Quota.Management/examples/2025-07-15/GetOperations.json b/specification/quota/Quota.Management/examples/2025-07-15/GetOperations.json deleted file mode 100644 index 0373b4c72ce3..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/GetOperations.json +++ /dev/null @@ -1,159 +0,0 @@ -{ - "parameters": { - "api-version": "2025-07-15" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Microsoft.Quota/quotas/read", - "display": { - "description": "Get the current Service limit or quota of the specified resource", - "operation": "Get resource Quota limit", - "provider": "Microsoft.Quota", - "resource": "Resource Quota limit" - } - }, - { - "name": "Microsoft.Quota/quotas/write", - "display": { - "description": "Creates the service limit or quota request for the specified resource", - "operation": "Creates resource Quota limit request", - "provider": "Microsoft.Quota", - "resource": "Resource Quota limit" - } - }, - { - "name": "Microsoft.Quota/quotaRequests/read", - "display": { - "description": "Get any service limit request for the specified resource", - "operation": "Get Quota limit request", - "provider": "Microsoft.Quota", - "resource": "Resource Quota limit request" - } - }, - { - "name": "Microsoft.Quota/usages/read", - "display": { - "description": "Get the usages for resource providers", - "operation": "Get the usages for providers", - "provider": "Microsoft.Quota", - "resource": "usages information" - } - }, - { - "name": "Microsoft.Quota/operations/read", - "display": { - "description": "Get the Operations supported by Microsoft.Quota", - "operation": "Get the Operations supported by Microsoft.Quota", - "provider": "Microsoft.Quota", - "resource": "Read Operation" - } - }, - { - "name": "Microsoft.Quota/register/action", - "display": { - "description": "Register the subscription with Microsoft.Quota Resource Provider", - "operation": "Register the subscription with Microsoft.Quota Resource Provider", - "provider": "Microsoft.Quota", - "resource": "Subscription registration with Resource provider" - } - }, - { - "name": "Microsoft.Quota/groupQuotas/read", - "display": { - "description": "Get the GroupQuota", - "operation": "Get GroupQuota resource", - "provider": "Microsoft.Quota", - "resource": "GroupQuota resource" - } - }, - { - "name": "Microsoft.Quota/groupQuotas/write", - "display": { - "description": "Creates the GroupQuota resource", - "operation": "Creates GroupQuota resource", - "provider": "Microsoft.Quota", - "resource": "GroupQuota Resource" - } - }, - { - "name": "Microsoft.Quota/groupQuotas/subscriptions/read", - "display": { - "description": "Get the GroupQuota subscriptions", - "operation": "Get GroupQuota subscriptions", - "provider": "Microsoft.Quota", - "resource": "Subscriptions added to GroupQuota resource" - } - }, - { - "name": "Microsoft.Quota/groupQuotas/subscriptions/write", - "display": { - "description": "Add Subscriptions to GroupQuota resource", - "operation": "Adds subscription to GroupQuota resource", - "provider": "Creates request to add subscription to GroupQuota resource", - "resource": "Subscriptions added to GroupQuota resource" - } - }, - { - "name": "Microsoft.Quota/groupQuotas/groupQuotaLimits/read", - "display": { - "description": "Get the current GroupQuota of the specified resource", - "operation": "Get GroupQuota resource Quota limit", - "provider": "Microsoft.Quota", - "resource": "GroupQuota Resource Quota limit" - } - }, - { - "name": "Microsoft.Quota/groupQuotas/groupQuotaLimits/write", - "display": { - "description": "Creates the GroupQuota request for the specified resource", - "operation": "Creates GroupQuota resource Quota limit request", - "provider": "Microsoft.Quota", - "resource": "GroupQuota Resource Quota limit" - } - }, - { - "name": "Microsoft.Quota/groupQuotas/groupQuotaRequests/read", - "display": { - "description": "Get the GroupQuota request status for the specific request", - "operation": "Get GroupQuota request status", - "provider": "Microsoft.Quota", - "resource": "GroupQuota request" - } - }, - { - "name": "Microsoft.Quota/groupQuotas/quotaAllocations/read", - "display": { - "description": "Get the current GroupQuota to Subscription Quota allocation", - "operation": "Get GroupQuota to Subscription Quota allocation", - "provider": "Microsoft.Quota", - "resource": "GroupQuota to Subscription Quota allocation" - } - }, - { - "name": "Microsoft.Quota/groupQuotas/quotaAllocations/write", - "display": { - "description": "Creates the GroupQuota to subscription Quota limit request for the specified resource", - "operation": "Creates GroupQuota to subscription Quota limit request", - "provider": "Microsoft.Quota", - "resource": "GroupQuota to Subscription Quota allocation" - } - }, - { - "name": "Microsoft.Quota/groupQuotas/quotaAllocationRequests/read", - "display": { - "description": "Get the GroupQuota to Subscription Quota allocation request status for the specific request", - "operation": "Get GroupQuota to Subscription Quota allocation request status", - "provider": "Microsoft.Quota", - "resource": "GroupQuota to Subscription Quota allocation request" - } - } - ] - } - } - }, - "operationId": "QuotaOperation_List", - "title": "GetOperations" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotaLimits/ListGroupQuotaLimits-Compute.json b/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotaLimits/ListGroupQuotaLimits-Compute.json deleted file mode 100644 index 572751e3c9c0..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotaLimits/ListGroupQuotaLimits-Compute.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "operationId": "GroupQuotaLimits_List", - "parameters": { - "$filter": "resourceName eq cores", - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", - "location": "westus", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", - "resourceProviderName": "Microsoft.Compute" - }, - "responses": { - "200": { - "body": { - "name": "westus", - "type": "Microsoft.Quota/groupQuotas/groupQuotaLimits", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/groupQuotaLimits/westus", - "properties": { - "nextLink": "https://yourLinkHere.com", - "provisioningState": "Succeeded", - "value": [ - { - "properties": { - "name": { - "localizedValue": "standard DDv4 Family vCPUs", - "value": "standardddv4family" - }, - "allocatedToSubscriptions": { - "value": [ - { - "quotaAllocated": 20, - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - { - "quotaAllocated": 30, - "subscriptionId": "A000000-0000-0000-0000-000000000000" - } - ] - }, - "availableLimit": 50, - "limit": 100, - "resourceName": "standardddv4family", - "unit": "count" - } - }, - { - "properties": { - "name": { - "localizedValue": "Standard AV2 Family vCPUs", - "value": "standardav2family" - }, - "allocatedToSubscriptions": { - "value": [ - { - "quotaAllocated": 20, - "subscriptionId": "00000000-0000-0000-0000-000000000000" - } - ] - }, - "availableLimit": 80, - "limit": 100, - "resourceName": "standardav2family", - "unit": "count" - } - } - ] - } - } - } - }, - "title": "GroupQuotaLimits_Get_Request_ForCompute" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotaLimitsRequests/GroupQuotaLimitsRequests_Get.json b/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotaLimitsRequests/GroupQuotaLimitsRequests_Get.json deleted file mode 100644 index fa328fef9d3b..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotaLimitsRequests/GroupQuotaLimitsRequests_Get.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "operationId": "GroupQuotaLimitsRequest_Get", - "parameters": { - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", - "requestId": "requestId" - }, - "responses": { - "200": { - "body": { - "name": "requestId", - "type": "Microsoft.Quota/groupQuotas/groupQuotaLimitsRequests", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/groupQuotaLimitsRequests/requestId", - "properties": { - "faultCode": "ResourceNotAvailableForOffer", - "provisioningState": "Failed", - "requestSubmitTime": "2024-03-20T05:29:34.144Z", - "requestedResource": { - "properties": { - "name": { - "localizedValue": "standard DDv4 Family vCPUs", - "value": "standardddv4family" - }, - "comments": "", - "limit": 100, - "region": "westus" - } - } - } - } - } - }, - "title": "GroupQuotaLimitsRequests_Get" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotaLimitsRequests/GroupQuotaLimitsRequests_List.json b/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotaLimitsRequests/GroupQuotaLimitsRequests_List.json deleted file mode 100644 index dd64710132d1..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotaLimitsRequests/GroupQuotaLimitsRequests_List.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "operationId": "GroupQuotaLimitsRequest_List", - "parameters": { - "$filter": "location eq westus", - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", - "resourceName": "standardav2family", - "resourceProviderName": "Microsoft.Compute" - }, - "responses": { - "200": { - "body": { - "nextLink": "https://yourLinkHere.com", - "value": [ - { - "name": "requestId1", - "type": "Microsoft.Quota/groupQuotas/groupQuotaLimitsRequests", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/groupQuotaLimitsRequests/requestId1", - "properties": { - "faultCode": "ResourceNotAvailableForOffer", - "provisioningState": "Failed", - "requestSubmitTime": "2023-11-18T00:12:34.004Z", - "requestedResource": { - "properties": { - "name": { - "localizedValue": "standard DDv4 Family vCPUs", - "value": "standardddv4family" - }, - "comments": "Contoso requires more quota.", - "limit": 100, - "region": "westus" - } - } - } - }, - { - "name": "requestId2", - "type": "Microsoft.Quota/groupQuotas/groupQuotaLimitsRequests", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/groupQuotaLimitsRequests/requestId2", - "properties": { - "faultCode": "", - "provisioningState": "Succeeded", - "requestSubmitTime": "2023-11-17T00:57:43.410Z", - "requestedResource": { - "properties": { - "name": { - "localizedValue": "standardav2family", - "value": "standardav2family" - }, - "comments": "Contoso requires more quota.", - "limit": 150, - "region": "westus" - } - } - } - } - ] - } - } - }, - "title": "GroupQuotaLimitsRequest_List" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotaLimitsRequests/PatchGroupQuotaLimitsRequests-Compute.json b/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotaLimitsRequests/PatchGroupQuotaLimitsRequests-Compute.json deleted file mode 100644 index 5a772c2bc160..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotaLimitsRequests/PatchGroupQuotaLimitsRequests-Compute.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "operationId": "GroupQuotaLimitsRequest_Update", - "parameters": { - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", - "groupQuotaRequest": { - "properties": { - "value": [ - { - "properties": { - "comment": "Contoso requires more quota.", - "limit": 110, - "resourceName": "standardddv4family" - } - }, - { - "properties": { - "comment": "Contoso requires more quota.", - "limit": 110, - "resourceName": "standardav2family" - } - } - ] - } - }, - "location": "westus", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", - "resourceProviderName": "Microsoft.Compute" - }, - "responses": { - "200": { - "body": { - "name": "westus", - "type": "Microsoft.Quota/groupQuotas/groupQuotaLimits", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/groupQuotaLimits/westus", - "properties": { - "nextLink": "https://yourLinkHere.com", - "provisioningState": "Succeeded", - "value": [ - { - "properties": { - "name": { - "localizedValue": "standard DDv4 Family vCPUs", - "value": "standardddv4family" - }, - "allocatedToSubscriptions": { - "value": [ - { - "quotaAllocated": 20, - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - { - "quotaAllocated": 30, - "subscriptionId": "A000000-0000-0000-0000-000000000000" - } - ] - }, - "availableLimit": 50, - "limit": 100, - "resourceName": "standardddv4family", - "unit": "count" - } - }, - { - "properties": { - "name": { - "localizedValue": "Standard AV2 Family vCPUs", - "value": "standardav2family" - }, - "allocatedToSubscriptions": { - "value": [ - { - "quotaAllocated": 20, - "subscriptionId": "00000000-0000-0000-0000-000000000000" - } - ] - }, - "availableLimit": 80, - "limit": 100, - "resourceName": "standardav2family", - "unit": "count" - } - } - ] - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus", - "Operation-Location": "https://contoso.com/operationstatus", - "location": "https://contoso.com/operationstatus", - "retry-after": "30" - } - } - }, - "title": "GroupQuotaLimitsRequests_Update" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotaUsages/GetGroupQuotaUsages.json b/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotaUsages/GetGroupQuotaUsages.json deleted file mode 100644 index ad70b8a0802a..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotaUsages/GetGroupQuotaUsages.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "operationId": "GroupQuotaUsages_List", - "parameters": { - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", - "location": "westus", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", - "resourceProviderName": "Microsoft.Compute" - }, - "responses": { - "200": { - "body": { - "nextLink": "https://yourLinkHere.com", - "value": [ - { - "name": "standardddv4family", - "type": "Microsoft.Quota/groupQuotas/locationSUsages", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/locationSUsages/eastus/resources/standardddv4family", - "properties": { - "name": { - "localizedValue": "standard DDv4 Family vCPUs", - "value": "standardddv4family" - }, - "limit": 100, - "unit": "count", - "usages": 30 - } - }, - { - "name": "standardav2family", - "type": "Microsoft.Quota/groupQuotas/locationSUsages", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/locationSUsages/eastus/resources/standardav2family", - "properties": { - "name": { - "localizedValue": "standard Av2 Family vCPUs", - "value": "standardav2family" - }, - "limit": 150, - "unit": "count", - "usages": 70 - } - } - ] - } - } - }, - "title": "GroupQuotasUsages_List" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotas/DeleteGroupQuotas.json b/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotas/DeleteGroupQuotas.json deleted file mode 100644 index 2e46b90a6615..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotas/DeleteGroupQuotas.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "operationId": "GroupQuotas_Delete", - "parameters": { - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09" - }, - "responses": { - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus", - "Operation-Location": "https://contoso.com/operationstatus", - "location": "https://contoso.com/operationstatus", - "retry-after": "30" - } - }, - "204": {} - }, - "title": "GroupQuotas_Delete_Request_ForCompute" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotas/GetGroupQuotas.json b/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotas/GetGroupQuotas.json deleted file mode 100644 index 91eea1d66be8..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotas/GetGroupQuotas.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "operationId": "GroupQuotas_Get", - "parameters": { - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09" - }, - "responses": { - "200": { - "body": { - "name": "groupquota1", - "type": "Microsoft.Quota/groupQuotas", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1", - "properties": { - "displayName": "GroupQuota1", - "provisioningState": "Accepted" - } - } - } - }, - "title": "GroupQuotas_Get_Request_ForCompute" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotas/GetGroupQuotasList.json b/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotas/GetGroupQuotasList.json deleted file mode 100644 index 0912174a1633..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotas/GetGroupQuotasList.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "operationId": "GroupQuotas_List", - "parameters": { - "api-version": "2025-07-15", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09" - }, - "responses": { - "200": { - "body": { - "nextLink": "https://yourLinkHere.com", - "value": [ - { - "name": "groupquota1", - "type": "Microsoft.Quota/groupQuotas", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1", - "properties": { - "displayName": "GroupQuota1", - "provisioningState": "Accepted" - } - } - ] - } - } - }, - "title": "GroupQuotas_List_Request_ForCompute" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotas/PatchGroupQuotas.json b/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotas/PatchGroupQuotas.json deleted file mode 100644 index 8c8ead24256d..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotas/PatchGroupQuotas.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "operationId": "GroupQuotas_Update", - "parameters": { - "GroupQuotasPatchRequestBody": { - "properties": { - "displayName": "UpdatedGroupQuota1" - } - }, - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09" - }, - "responses": { - "200": { - "body": { - "name": "groupquota1", - "type": "Microsoft.Quota/groupQuotas", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1", - "properties": { - "displayName": "UpdatedGroupQuota1", - "provisioningState": "Accepted" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus", - "Operation-Location": "https://contoso.com/operationstatus", - "location": "https://contoso.com/operationstatus", - "retry-after": "30" - } - } - }, - "title": "GroupQuotas_Patch_Request_ForCompute" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotas/PutGroupQuotas.json b/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotas/PutGroupQuotas.json deleted file mode 100644 index 439ef07ec2c8..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotas/PutGroupQuotas.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "operationId": "GroupQuotas_CreateOrUpdate", - "parameters": { - "GroupQuotaPutRequestBody": { - "properties": { - "displayName": "GroupQuota1" - } - }, - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09" - }, - "responses": { - "200": { - "body": { - "name": "groupquota1", - "type": "Microsoft.Quota/groupQuotas", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1", - "properties": { - "displayName": "GroupQuota1", - "provisioningState": "Accepted" - } - } - }, - "201": { - "body": { - "name": "groupquota1", - "type": "Microsoft.Quota/groupQuotas", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1", - "properties": { - "provisioningState": "Accepted" - } - }, - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus", - "Operation-Location": "https://contoso.com/operationstatus", - "location": "https://contoso.com/operationstatus", - "retry-after": "30" - } - } - }, - "title": "GroupQuotas_Put_Request_ForCompute" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotasEnforcement/GetGroupQuotaEnforcement.json b/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotasEnforcement/GetGroupQuotaEnforcement.json deleted file mode 100644 index 9a39d988cb0e..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotasEnforcement/GetGroupQuotaEnforcement.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "operationId": "GroupQuotaLocationSettings_Get", - "parameters": { - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", - "location": "eastus", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", - "resourceProviderName": "Microsoft.Compute" - }, - "responses": { - "200": { - "body": { - "name": "eastus", - "type": "Microsoft.Quota/groupQuotas/locationSettings", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/locationSettings/eastus", - "properties": { - "enforcementEnabled": "Enabled", - "provisioningState": "Succeeded" - } - } - } - }, - "title": "GroupQuotasEnforcement_Get" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotasEnforcement/ListGroupQuotaEnforcement.json b/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotasEnforcement/ListGroupQuotaEnforcement.json deleted file mode 100644 index b0f3b5e15b54..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotasEnforcement/ListGroupQuotaEnforcement.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "operationId": "GroupQuotaLocationSettings_List", - "parameters": { - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", - "resourceProviderName": "Microsoft.Compute" - }, - "responses": { - "200": { - "body": { - "nextLink": "https://yourLinkHere.com", - "value": [ - { - "name": "eastus", - "type": "Microsoft.Quota/groupQuotas/locationSettings", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/locationSettings/eastus", - "properties": { - "enforcementEnabled": "Enabled", - "provisioningState": "Succeeded" - } - }, - { - "name": "westus", - "type": "Microsoft.Quota/groupQuotas/locationSettings", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/locationSettings/westus", - "properties": { - "enforcementEnabled": "Enabled", - "provisioningState": "Succeeded" - } - }, - { - "name": "westus2", - "type": "Microsoft.Quota/groupQuotas/locationSettings", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/locationSettings/westus2", - "properties": { - "enforcementEnabled": "Enabled", - "provisioningState": "InProgress" - } - }, - { - "name": "eastasia", - "type": "Microsoft.Quota/groupQuotas/groupQlocationSettingsuotasEnforcement", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/locationSettings/eastasia", - "properties": { - "enforcementEnabled": "Enabled", - "faultCode": "RegionNotSupported", - "provisioningState": "Failed" - } - } - ] - } - } - }, - "title": "GroupQuotaEnforcement_List" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotasEnforcement/PatchGroupQuotaEnforcement.json b/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotasEnforcement/PatchGroupQuotaEnforcement.json deleted file mode 100644 index 190adb24701b..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotasEnforcement/PatchGroupQuotaEnforcement.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "operationId": "GroupQuotaLocationSettings_Update", - "parameters": { - "LocationSettings": { - "properties": { - "enforcementEnabled": "Enabled" - } - }, - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", - "location": "eastus", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", - "resourceProviderName": "Microsoft.Compute" - }, - "responses": { - "200": { - "body": { - "name": "eastus", - "type": "Microsoft.Quota/groupQuotas/locationSettings", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/locationSettings/eastus", - "properties": { - "enforcementEnabled": "Enabled", - "provisioningState": "Succeeded" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus", - "Operation-Location": "https://contoso.com/operationstatus", - "location": "https://contoso.com/operationstatus", - "retry-after": "30" - } - } - }, - "title": "GroupQuotaLocationSettings_Patch" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotasEnforcement/PutGroupQuotaEnforcement.json b/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotasEnforcement/PutGroupQuotaEnforcement.json deleted file mode 100644 index d418f430888e..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotasEnforcement/PutGroupQuotaEnforcement.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "operationId": "GroupQuotaLocationSettings_CreateOrUpdate", - "parameters": { - "LocationSettings": { - "properties": { - "enforcementEnabled": "Enabled" - } - }, - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", - "location": "eastus", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", - "resourceProviderName": "Microsoft.Compute" - }, - "responses": { - "200": { - "body": { - "name": "eastus", - "type": "Microsoft.Quota/groupQuotas/locationSettings", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/locationSettings/eastus", - "properties": { - "enforcementEnabled": "Enabled", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "name": "eastus", - "type": "Microsoft.Quota/groupQuotas/locationSettings", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/locationSettings/eastus", - "properties": { - "provisioningState": "InProgress" - } - }, - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus", - "Operation-Location": "https://contoso.com/operationstatus", - "location": "https://contoso.com/operationstatus", - "retry-after": "30" - } - } - }, - "title": "GroupQuotaLocationSettings_CreateOrUpdate" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotasEnforcement/PutGroupQuotaEnforcementFailed.json b/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotasEnforcement/PutGroupQuotaEnforcementFailed.json deleted file mode 100644 index b4b74af12f36..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotasEnforcement/PutGroupQuotaEnforcementFailed.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "operationId": "GroupQuotaLocationSettings_CreateOrUpdate", - "parameters": { - "LocationSettings": { - "properties": { - "enforcementEnabled": "Enabled" - } - }, - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", - "location": "eastus", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", - "resourceProviderName": "Microsoft.Compute" - }, - "responses": { - "200": { - "body": { - "name": "eastus", - "type": "Microsoft.Quota/groupQuotas/locationSettings", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/locationSettings/eastus", - "properties": { - "enforcementEnabled": "Enabled", - "faultCode": "RegionNotSupported", - "provisioningState": "Failed" - } - } - }, - "201": { - "body": { - "name": "eastus", - "type": "Microsoft.Quota/groupQuotas/locationSettings", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/locationSettings/eastus", - "properties": { - "provisioningState": "InProgress" - } - }, - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus", - "Operation-Location": "https://contoso.com/operationstatus", - "location": "https://contoso.com/operationstatus", - "retry-after": "30" - } - } - }, - "title": "GroupQuotaLocationSettings_CreateOrUpdate_Failed" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotasSubscriptions/DeleteGroupQuotaSubscriptions.json b/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotasSubscriptions/DeleteGroupQuotaSubscriptions.json deleted file mode 100644 index 6f9c8303e2d1..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotasSubscriptions/DeleteGroupQuotaSubscriptions.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "operationId": "GroupQuotaSubscriptions_Delete", - "parameters": { - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus", - "Operation-Location": "https://contoso.com/operationstatus", - "location": "https://contoso.com/operationstatus", - "retry-after": "30" - } - }, - "204": {} - }, - "title": "GroupQuotaSubscriptions_Delete_Subscriptions" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotasSubscriptions/GetGroupQuotaSubscriptions.json b/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotasSubscriptions/GetGroupQuotaSubscriptions.json deleted file mode 100644 index 91dbc495cec8..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotasSubscriptions/GetGroupQuotaSubscriptions.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "operationId": "GroupQuotaSubscriptions_Get", - "parameters": { - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "00000000-0000-0000-0000-000000000000", - "type": "Microsoft.Quota/groupQuotas/subscriptions", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/subscriptions/00000000-0000-0000-0000-000000000000", - "properties": { - "provisioningState": "Succeeded", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - } - } - } - }, - "title": "GroupQuotaSubscriptions_Get_Subscriptions" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotasSubscriptions/ListGroupQuotaSubscriptions.json b/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotasSubscriptions/ListGroupQuotaSubscriptions.json deleted file mode 100644 index 462ce3085307..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotasSubscriptions/ListGroupQuotaSubscriptions.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "operationId": "GroupQuotaSubscriptions_List", - "parameters": { - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09" - }, - "responses": { - "200": { - "body": { - "nextLink": "https://yourLinkHere.com", - "value": [ - { - "name": "00000000-0000-0000-0000-000000000000", - "type": "Microsoft.Quota/groupQuotas/subscriptions", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/subscriptions/00000000-0000-0000-0000-000000000000", - "properties": { - "provisioningState": "Succeeded", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - } - }, - { - "name": "11111111-1111-1111-1111-111111111111", - "type": "Microsoft.Quota/groupQuotas/subscriptions", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/subscriptions/11111111-1111-1111-1111-111111111111", - "properties": { - "provisioningState": "Succeeded", - "subscriptionId": "11111111-1111-1111-1111-111111111111" - } - } - ] - } - } - }, - "title": "GroupQuotaSubscriptions_List_Subscriptions" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotasSubscriptions/PatchGroupQuotasSubscription.json b/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotasSubscriptions/PatchGroupQuotasSubscription.json deleted file mode 100644 index c18e4f88f638..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotasSubscriptions/PatchGroupQuotasSubscription.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "operationId": "GroupQuotaSubscriptions_Update", - "parameters": { - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "00000000-0000-0000-0000-000000000000", - "type": "Microsoft.Quota/groupQuotas/subscriptions", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/subscriptions/00000000-0000-0000-0000-000000000000", - "properties": { - "provisioningState": "Accepted", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - } - }, - "headers": { - "location": "https://contoso.com/operationstatus" - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus", - "Operation-Location": "https://contoso.com/operationstatus", - "location": "https://contoso.com/operationstatus", - "retry-after": "30" - } - } - }, - "title": "GroupQuotaSubscriptions_Patch_Subscriptions" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotasSubscriptions/PutGroupQuotasSubscription.json b/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotasSubscriptions/PutGroupQuotasSubscription.json deleted file mode 100644 index 7a95ff88c1fb..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/GroupQuotasSubscriptions/PutGroupQuotasSubscription.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "operationId": "GroupQuotaSubscriptions_CreateOrUpdate", - "parameters": { - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "00000000-0000-0000-0000-000000000000", - "type": "Microsoft.Quota/groupQuotas/subscriptions", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/subscriptions/00000000-0000-0000-0000-000000000000", - "properties": { - "provisioningState": "Accepted", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - } - } - }, - "201": { - "body": { - "name": "00000000-0000-0000-0000-000000000000", - "type": "Microsoft.Quota/groupQuotas/subscriptions", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/subscriptions/00000000-0000-0000-0000-000000000000", - "properties": { - "provisioningState": "Accepted" - } - }, - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus", - "Operation-Location": "https://contoso.com/operationstatus", - "location": "https://contoso.com/operationstatus", - "retry-after": "30" - } - } - }, - "title": "GroupQuotaSubscriptions_Put_Subscriptions" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/SubscriptionQuotaAllocation/SubscriptionQuotaAllocation_List-Compute.json b/specification/quota/Quota.Management/examples/2025-07-15/SubscriptionQuotaAllocation/SubscriptionQuotaAllocation_List-Compute.json deleted file mode 100644 index 3ce23d906c3c..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/SubscriptionQuotaAllocation/SubscriptionQuotaAllocation_List-Compute.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "operationId": "GroupQuotaSubscriptionAllocation_List", - "parameters": { - "$filter": "resourceName eq cores", - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", - "location": "westus", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", - "resourceProviderName": "Microsoft.Compute", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "westus", - "type": "Microsoft.Quota/groupQuotas/quotaAllocations", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/quotaAllocations/westus", - "properties": { - "nextLink": "https://yourLinkHere.com", - "provisioningState": "Succeeded", - "value": [ - { - "properties": { - "name": { - "localizedValue": "standard DDv4 Family vCPUs", - "value": "standardddv4family" - }, - "limit": 25, - "resourceName": "standardddv4family", - "shareableQuota": 15 - } - }, - { - "properties": { - "name": { - "localizedValue": "standard Av2 Family vCPUs", - "value": "standardav2family" - }, - "limit": 30, - "resourceName": "standardav2family", - "shareableQuota": 0 - } - } - ] - } - } - } - }, - "title": "SubscriptionQuotaAllocation_List_ForCompute" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/SubscriptionQuotaAllocationRequests/PatchSubscriptionQuotaAllocationRequest-Compute.json b/specification/quota/Quota.Management/examples/2025-07-15/SubscriptionQuotaAllocationRequests/PatchSubscriptionQuotaAllocationRequest-Compute.json deleted file mode 100644 index d5f4a5f87ed9..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/SubscriptionQuotaAllocationRequests/PatchSubscriptionQuotaAllocationRequest-Compute.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "operationId": "GroupQuotaSubscriptionAllocationRequest_Update", - "parameters": { - "allocateQuotaRequest": { - "properties": { - "value": [ - { - "properties": { - "limit": 110, - "resourceName": "standardddv4family" - } - }, - { - "properties": { - "limit": 110, - "resourceName": "standardav2family" - } - } - ] - } - }, - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", - "location": "westus", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", - "resourceProviderName": "Microsoft.Compute", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "westus", - "type": "Microsoft.Quota/groupQuotas/quotaAllocations", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/quotaAllocations/westus", - "properties": { - "nextLink": "https://yourLinkHere.com", - "provisioningState": "Succeeded", - "value": [ - { - "properties": { - "name": { - "localizedValue": "standard DDv4 Family vCPUs", - "value": "standardddv4family" - }, - "limit": 25, - "resourceName": "standardddv4family", - "shareableQuota": 15 - } - }, - { - "properties": { - "name": { - "localizedValue": "standard Av2 Family vCPUs", - "value": "standardav2family" - }, - "limit": 30, - "resourceName": "standardav2family", - "shareableQuota": 0 - } - } - ] - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus", - "Operation-Location": "https://contoso.com/operationstatus", - "location": "https://contoso.com/operationstatus", - "retry-after": "30" - } - } - }, - "title": "SubscriptionQuotaAllocation_Patch_Request_ForCompute" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/SubscriptionQuotaAllocationRequests/SubscriptionQuotaAllocationRequests_Get-Compute.json b/specification/quota/Quota.Management/examples/2025-07-15/SubscriptionQuotaAllocationRequests/SubscriptionQuotaAllocationRequests_Get-Compute.json deleted file mode 100644 index 15009e433d71..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/SubscriptionQuotaAllocationRequests/SubscriptionQuotaAllocationRequests_Get-Compute.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "operationId": "GroupQuotaSubscriptionAllocationRequest_Get", - "parameters": { - "$filter": "provider eq Microsoft.Compute & location eq westus", - "allocationId": "AE000000-0000-0000-0000-00000000000A", - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", - "resourceProviderName": "Microsoft.Compute", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "AE000000-0000-0000-0000-00000000000A", - "type": "Microsoft.Quota/groupQuotas/quotaAllocationRequests", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Quota/groupQuotas/groupquota1/quotaAllocationRequests/AE000000-0000-0000-0000-00000000000A", - "properties": { - "faultCode": "ContactSupport", - "provisioningState": "Failed", - "requestSubmitTime": "2023-11-17T01:06:02.191Z", - "requestedResource": { - "properties": { - "name": { - "localizedValue": "standard Av2 Family vCPUs", - "value": "standardav2family" - }, - "limit": 75, - "region": "westus" - } - } - } - } - } - }, - "title": "SubscriptionQuotaAllocationRequests_Get_Request_ForCompute" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/SubscriptionQuotaAllocationRequests/SubscriptionQuotaAllocationRequests_List-Compute.json b/specification/quota/Quota.Management/examples/2025-07-15/SubscriptionQuotaAllocationRequests/SubscriptionQuotaAllocationRequests_List-Compute.json deleted file mode 100644 index 96c0c351106e..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/SubscriptionQuotaAllocationRequests/SubscriptionQuotaAllocationRequests_List-Compute.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "operationId": "GroupQuotaSubscriptionAllocationRequest_List", - "parameters": { - "$filter": "location eq westus", - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", - "resourceProviderName": "Microsoft.Compute", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "nextLink": "https://yourLinkHere.com", - "value": [ - { - "name": "AE000000-0000-0000-0000-00000000000A", - "type": "Microsoft.Quota/groupQuotas/quotaAllocationRequests", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/quotaAllocationRequests/AE000000-0000-0000-0000-00000000000A", - "properties": { - "faultCode": "ContactSupport", - "provisioningState": "Failed", - "requestSubmitTime": "2024-03-20T06:18:59.913Z", - "requestedResource": { - "properties": { - "name": { - "localizedValue": "standard Av2 Family vCPUs", - "value": "standardav2family" - }, - "limit": 75, - "region": "westus" - } - } - } - } - ] - } - } - }, - "title": "SubscriptionQuotaAllocation_List_Request_ForCompute" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/SubscriptionRequests/SubscriptionRequests_Get.json b/specification/quota/Quota.Management/examples/2025-07-15/SubscriptionRequests/SubscriptionRequests_Get.json deleted file mode 100644 index dbcf6cdc31da..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/SubscriptionRequests/SubscriptionRequests_Get.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "operationId": "GroupQuotaSubscriptionRequests_Get", - "parameters": { - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", - "requestId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "11111111-1111-1111-1111-111111111111", - "type": "Microsoft.Quota/groupQuotas/SubscriptionRequest", - "id": "/subscriptions/11111111-1111-1111-1111-111111111111", - "properties": { - "provisioningState": "Accepted", - "requestSubmitTime": "2023-11-17T00:56:45.009Z", - "subscriptionId": "11111111-1111-1111-1111-111111111111" - } - } - } - }, - "title": "GroupQuotaSubscriptionRequests_Get" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/SubscriptionRequests/SubscriptionRequests_List.json b/specification/quota/Quota.Management/examples/2025-07-15/SubscriptionRequests/SubscriptionRequests_List.json deleted file mode 100644 index 8bb1777c5d0f..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/SubscriptionRequests/SubscriptionRequests_List.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "operationId": "GroupQuotaSubscriptionRequests_List", - "parameters": { - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09" - }, - "responses": { - "200": { - "body": { - "nextLink": "https://yourLinkHere.com", - "value": [ - { - "name": "11111111-1111-1111-1111-111111111111", - "type": "Microsoft.Quota/groupQuotas/SubscriptionRequest", - "id": "/subscriptions/11111111-1111-1111-1111-111111111111", - "properties": { - "provisioningState": "Accepted", - "requestSubmitTime": "2023-11-17T00:56:45.009Z", - "subscriptionId": "11111111-1111-1111-1111-111111111111" - } - } - ] - } - } - }, - "title": "GroupQuotaSubscriptionRequests_List" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/getComputeOneSkuQuotaLimit.json b/specification/quota/Quota.Management/examples/2025-07-15/getComputeOneSkuQuotaLimit.json deleted file mode 100644 index fbffc5510ff2..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/getComputeOneSkuQuotaLimit.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "parameters": { - "api-version": "2025-07-15", - "resourceName": "standardNDSFamily", - "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus" - }, - "responses": { - "200": { - "body": { - "name": "standardNDSFamily", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardNDSFamily", - "properties": { - "name": { - "localizedValue": "Standard NDS Family vCPUs", - "value": "standardNDSFamily" - }, - "isQuotaApplicable": true, - "limit": { - "limitObjectType": "LimitValue", - "limitType": "Independent", - "value": 100 - }, - "unit": "Count" - } - } - } - }, - "operationId": "Quota_Get", - "title": "Quotas_Get_Request_ForCompute" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/getComputeOneSkuUsages.json b/specification/quota/Quota.Management/examples/2025-07-15/getComputeOneSkuUsages.json deleted file mode 100644 index c42c3c699f4e..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/getComputeOneSkuUsages.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "parameters": { - "api-version": "2025-07-15", - "resourceName": "standardNDSFamily", - "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus" - }, - "responses": { - "200": { - "body": { - "name": "standardNDSFamily", - "type": "Microsoft.Quota/Usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardNDSFamily", - "properties": { - "name": { - "localizedValue": "Standard NDS Family vCPUs", - "value": "standardNDSFamily" - }, - "isQuotaApplicable": true, - "unit": "Count", - "usages": { - "usagesType": "Individual", - "value": 10 - } - } - } - } - }, - "operationId": "Usages_Get", - "title": "Quotas_UsagesRequest_ForCompute" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/getComputeQuotaLimits.json b/specification/quota/Quota.Management/examples/2025-07-15/getComputeQuotaLimits.json deleted file mode 100644 index d449d4f5c807..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/getComputeQuotaLimits.json +++ /dev/null @@ -1,221 +0,0 @@ -{ - "parameters": { - "api-version": "2025-07-15", - "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus" - }, - "responses": { - "200": { - "body": { - "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotas?api-version=2025-07-15&$skiptoken=eyJuZXh0UGFydGl0aW9uS2V5IjoiMSE4IVEwTTJNVGMtIiwibmV4dFJvd0tleSI6IjEhMTMyIU5rUTRSVEU1UXpJelFUWXdORGd4UmpoRlFrSXhNVGhFUXpNd01EZERSRGhGVkVkT1RDMU5TVU5TVDFOUFJsUTZNa1ZMUlZsV1FWVk1WRG95UmxaQlZVeFVVeTFUVTFKSExVcEpUVG95UkZSRlUxUTZNa1JXUVZWTVZDMVhSVk5UVlZNdVRXRnVaVzRpVVVGZyJ9", - "value": [ - { - "name": "standardFSv2Family", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardFSv2Family", - "properties": { - "name": { - "localizedValue": "Standard FSv2 Family vCPUs", - "value": "standardFSv2Family" - }, - "isQuotaApplicable": true, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "unit": "Count" - } - }, - { - "name": "standardNDSFamily", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardNDSFamily", - "properties": { - "name": { - "localizedValue": "Standard NDS Family vCPUs", - "value": "standardNDSFamily" - }, - "isQuotaApplicable": true, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "unit": "Count" - } - }, - { - "name": "standardNCSv2Family", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardNCSv2Family", - "properties": { - "name": { - "localizedValue": "Standard NCSv2 Family vCPUs", - "value": "standardNCSv2Family" - }, - "isQuotaApplicable": true, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "unit": "Count" - } - }, - { - "name": "standardNCSv3Family", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardNCSv3Family", - "properties": { - "name": { - "localizedValue": "Standard NCSv3 Family vCPUs", - "value": "standardNCSv3Family" - }, - "isQuotaApplicable": true, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "unit": "Count" - } - }, - { - "name": "standardLSv2Family", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardLSv2Family", - "properties": { - "name": { - "localizedValue": "Standard LSv2 Family vCPUs", - "value": "standardLSv2Family" - }, - "isQuotaApplicable": true, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "unit": "Count" - } - }, - { - "name": "standardPBSFamily", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardPBSFamily", - "properties": { - "name": { - "localizedValue": "Standard PBS Family vCPUs", - "value": "standardPBSFamily" - }, - "isQuotaApplicable": true, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "unit": "Count" - } - }, - { - "name": "standardEIv3Family", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardEIv3Family", - "properties": { - "name": { - "localizedValue": "Standard EIv3 Family vCPUs", - "value": "standardEIv3Family" - }, - "isQuotaApplicable": true, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "unit": "Count" - } - }, - { - "name": "standardEISv3Family", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardEISv3Family", - "properties": { - "name": { - "localizedValue": "Standard EISv3 Family vCPUs", - "value": "standardEISv3Family" - }, - "isQuotaApplicable": true, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "unit": "Count" - } - }, - { - "name": "standardDCSFamily", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardDCSFamily", - "properties": { - "name": { - "localizedValue": "Standard DCS Family vCPUs", - "value": "standardDCSFamily" - }, - "isQuotaApplicable": true, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "unit": "Count" - } - }, - { - "name": "standardNVSv2Family", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardNVSv2Family", - "properties": { - "name": { - "localizedValue": "Standard NVSv2 Family vCPUs", - "value": "standardNVSv2Family" - }, - "isQuotaApplicable": true, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "unit": "Count" - } - }, - { - "name": "standardMSv2Family", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardMSv2Family", - "properties": { - "name": { - "localizedValue": "Standard MSv2 Family vCPUs", - "value": "standardMSv2Family" - }, - "isQuotaApplicable": true, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "unit": "Count" - } - }, - { - "name": "availabilitySets", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/availabilitySets", - "properties": { - "name": { - "localizedValue": "Availability Sets", - "value": "availabilitySets" - }, - "isQuotaApplicable": false, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "unit": "Count" - } - } - ] - } - } - }, - "operationId": "Quota_List", - "title": "Quotas_listQuotaLimitsForCompute" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/getComputeUsages.json b/specification/quota/Quota.Management/examples/2025-07-15/getComputeUsages.json deleted file mode 100644 index c7057788a658..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/getComputeUsages.json +++ /dev/null @@ -1,209 +0,0 @@ -{ - "parameters": { - "api-version": "2025-07-15", - "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus" - }, - "responses": { - "200": { - "body": { - "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/usages?api-version=2025-07-15&$skipToken=eyJDb250aW51YXRpb25Ub2tlbiI6eyJUb2tlbiI6IitSSUQiOiIxMiIsIlBLUmFuZ2UiOnsibWluIjoiIiwibWF4IjoiRkYifX19", - "value": [ - { - "name": "standardFSv2Family", - "type": "Microsoft.Quota/Usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardFSv2Family", - "properties": { - "name": { - "localizedValue": "Standard FSv2 Family vCPUs", - "value": "standardFSv2Family" - }, - "isQuotaApplicable": true, - "unit": "Count", - "usages": { - "value": 10 - } - } - }, - { - "name": "standardNDSFamily", - "type": "Microsoft.Quota/Usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardNDSFamily", - "properties": { - "name": { - "localizedValue": "Standard NDS Family vCPUs", - "value": "standardNDSFamily" - }, - "isQuotaApplicable": true, - "unit": "Count", - "usages": { - "value": 10 - } - } - }, - { - "name": "standardNCSv2Family", - "type": "Microsoft.Quota/Usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardNCSv2Family", - "properties": { - "name": { - "localizedValue": "Standard NCSv2 Family vCPUs", - "value": "standardNCSv2Family" - }, - "isQuotaApplicable": true, - "unit": "Count", - "usages": { - "value": 10 - } - } - }, - { - "name": "standardNCSv3Family", - "type": "Microsoft.Quota/Usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardNCSv3Family", - "properties": { - "name": { - "localizedValue": "Standard NCSv3 Family vCPUs", - "value": "standardNCSv3Family" - }, - "isQuotaApplicable": true, - "unit": "Count", - "usages": { - "value": 10 - } - } - }, - { - "name": "standardLSv2Family", - "type": "Microsoft.Quota/Usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardLSv2Family", - "properties": { - "name": { - "localizedValue": "Standard LSv2 Family vCPUs", - "value": "standardLSv2Family" - }, - "isQuotaApplicable": true, - "unit": "Count", - "usages": { - "value": 10 - } - } - }, - { - "name": "standardPBSFamily", - "type": "Microsoft.Quota/Usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardPBSFamily", - "properties": { - "name": { - "localizedValue": "Standard PBS Family vCPUs", - "value": "standardPBSFamily" - }, - "isQuotaApplicable": true, - "unit": "Count", - "usages": { - "value": 10 - } - } - }, - { - "name": "standardEIv3Family", - "type": "Microsoft.Quota/Usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardEIv3Family", - "properties": { - "name": { - "localizedValue": "Standard EIv3 Family vCPUs", - "value": "standardEIv3Family" - }, - "isQuotaApplicable": true, - "unit": "Count", - "usages": { - "value": 10 - } - } - }, - { - "name": "standardEISv3Family", - "type": "Microsoft.Quota/Usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardEISv3Family", - "properties": { - "name": { - "localizedValue": "Standard EISv3 Family vCPUs", - "value": "standardEISv3Family" - }, - "isQuotaApplicable": true, - "unit": "Count", - "usages": { - "value": 10 - } - } - }, - { - "name": "standardDCSFamily", - "type": "Microsoft.Quota/Usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardDCSFamily", - "properties": { - "name": { - "localizedValue": "Standard DCS Family vCPUs", - "value": "standardDCSFamily" - }, - "isQuotaApplicable": true, - "unit": "Count", - "usages": { - "value": 10 - } - } - }, - { - "name": "standardNVSv2Family", - "type": "Microsoft.Quota/Usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardNVSv2Family", - "properties": { - "name": { - "localizedValue": "Standard NVSv2 Family vCPUs", - "value": "standardNVSv2Family" - }, - "isQuotaApplicable": true, - "unit": "Count", - "usages": { - "value": 10 - } - } - }, - { - "name": "standardMSv2Family", - "type": "Microsoft.Quota/Usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardMSv2Family", - "properties": { - "name": { - "localizedValue": "Standard MSv2 Family vCPUs", - "value": "standardMSv2Family" - }, - "isQuotaApplicable": true, - "unit": "Count", - "usages": { - "value": 10 - } - } - }, - { - "name": "availabilitySets", - "type": "Microsoft.Quota/Usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/availabilitySets", - "properties": { - "name": { - "localizedValue": "Availability Sets", - "value": "availabilitySets" - }, - "isQuotaApplicable": false, - "unit": "Count", - "usages": { - "value": 10 - } - } - } - ] - } - } - }, - "operationId": "Usages_List", - "title": "Quotas_listUsagesForCompute" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/getMachineLearningServicesQuotaLimits.json b/specification/quota/Quota.Management/examples/2025-07-15/getMachineLearningServicesQuotaLimits.json deleted file mode 100644 index e31d6037f8e9..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/getMachineLearningServicesQuotaLimits.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "parameters": { - "api-version": "2025-07-15", - "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.MachineLearningServices/locations/eastus" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "standardDv2Family", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.MachineLearningServices/locations/eastus/providers/Microsoft.Quota/Quotas/standardDv2Family", - "properties": { - "name": { - "localizedValue": "Standard Dv2 Family vCPUs", - "value": "standardDv2Family" - }, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "resourceType": "dedicated", - "unit": "Count" - } - }, - { - "name": "totalLowPriorityCores", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.MachineLearningServices/locations/eastus/providers/Microsoft.Quota/Quotas/totalLowPriorityCores", - "properties": { - "name": { - "localizedValue": "Total Regional Low-priority vCPUs", - "value": "totalLowPriorityCores" - }, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "resourceType": "lowPriority", - "unit": "Count" - } - } - ] - } - } - }, - "operationId": "Quota_List", - "title": "Quotas_listQuotaLimitsMachineLearningServices" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/getMachineLearningServicesUsages.json b/specification/quota/Quota.Management/examples/2025-07-15/getMachineLearningServicesUsages.json deleted file mode 100644 index 79b3e78a8fe8..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/getMachineLearningServicesUsages.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "parameters": { - "api-version": "2025-07-15", - "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.MachineLearningServices/locations/eastus" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "standardDv2Family", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.MachineLearningServices/locations/eastus/providers/Microsoft.Quota/usages/standardDv2Family", - "properties": { - "name": { - "localizedValue": "Standard Dv2 Family vCPUs", - "value": "standardDv2Family" - }, - "resourceType": "dedicated", - "unit": "Count", - "usages": { - "value": 10 - } - } - }, - { - "name": "totalLowPriorityCores", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.MachineLearningServices/locations/eastus/providers/Microsoft.Quota/usages/totalLowPriorityCores", - "properties": { - "name": { - "localizedValue": "Total Regional Low-priority vCPUs", - "value": "totalLowPriorityCores" - }, - "resourceType": "lowPriority", - "unit": "Count", - "usages": { - "value": 10 - } - } - } - ] - } - } - }, - "operationId": "Usages_List", - "title": "Quotas_listUsagesMachineLearningServices" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/getNetworkOneSkuQuotaLimit.json b/specification/quota/Quota.Management/examples/2025-07-15/getNetworkOneSkuQuotaLimit.json deleted file mode 100644 index 61ced6badc39..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/getNetworkOneSkuQuotaLimit.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "parameters": { - "api-version": "2025-07-15", - "resourceName": "MinPublicIpInterNetworkPrefixLength", - "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus" - }, - "responses": { - "200": { - "body": { - "name": "MinPublicIpInterNetworkPrefixLength", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/MinPublicIpInterNetworkPrefixLength", - "properties": { - "name": { - "localizedValue": "Min Public Ip InterNetwork Prefix Length", - "value": "MinPublicIpInterNetworkPrefixLength" - }, - "isQuotaApplicable": true, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "resourceType": "MinPublicIpInterNetworkPrefixLength", - "unit": "Count" - } - } - } - }, - "operationId": "Quota_Get", - "title": "Quotas_UsagesRequest_ForNetwork" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/getNetworkOneSkuUsages.json b/specification/quota/Quota.Management/examples/2025-07-15/getNetworkOneSkuUsages.json deleted file mode 100644 index 48dbc694701b..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/getNetworkOneSkuUsages.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "parameters": { - "api-version": "2025-07-15", - "resourceName": "MinPublicIpInterNetworkPrefixLength", - "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus" - }, - "responses": { - "200": { - "body": { - "name": "MinPublicIpInterNetworkPrefixLength", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/MinPublicIpInterNetworkPrefixLength", - "properties": { - "name": { - "localizedValue": "Min Public Ip InterNetwork Prefix Length", - "value": "MinPublicIpInterNetworkPrefixLength" - }, - "isQuotaApplicable": true, - "resourceType": "MinPublicIpInterNetworkPrefixLength", - "unit": "Count", - "usages": { - "value": 10 - } - } - } - } - }, - "operationId": "Usages_Get", - "title": "Quotas_UsagesRequest_ForNetwork" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/getNetworkQuotaLimits.json b/specification/quota/Quota.Management/examples/2025-07-15/getNetworkQuotaLimits.json deleted file mode 100644 index eac3df2430cb..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/getNetworkQuotaLimits.json +++ /dev/null @@ -1,701 +0,0 @@ -{ - "parameters": { - "api-version": "2025-07-15", - "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "VirtualNetworks", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/VirtualNetworks", - "properties": { - "name": { - "localizedValue": "Virtual Networks", - "value": "VirtualNetworks" - }, - "isQuotaApplicable": false, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "properties": {}, - "unit": "Count" - } - }, - { - "name": "StaticPublicIPAddresses", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/StaticPublicIPAddresses", - "properties": { - "name": { - "localizedValue": "Static Public IP Addresses", - "value": "StaticPublicIPAddresses" - }, - "isQuotaApplicable": false, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "properties": {}, - "unit": "Count" - } - }, - { - "name": "NetworkSecurityGroups", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/NetworkSecurityGroups", - "properties": { - "name": { - "localizedValue": "Network Security Groups", - "value": "NetworkSecurityGroups" - }, - "isQuotaApplicable": false, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "properties": {}, - "unit": "Count" - } - }, - { - "name": "PublicIPAddresses", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/PublicIPAddresses", - "properties": { - "name": { - "localizedValue": "Public IP Addresses - Basic", - "value": "PublicIPAddresses" - }, - "isQuotaApplicable": true, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "properties": {}, - "unit": "Count" - } - }, - { - "name": "PublicIpPrefixes", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/PublicIpPrefixes", - "properties": { - "name": { - "localizedValue": "Public Ip Prefixes", - "value": "PublicIpPrefixes" - }, - "isQuotaApplicable": false, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "properties": {}, - "unit": "Count" - } - }, - { - "name": "NatGateways", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/NatGateways", - "properties": { - "name": { - "localizedValue": "Nat Gateways", - "value": "NatGateways" - }, - "isQuotaApplicable": false, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "properties": {}, - "unit": "Count" - } - }, - { - "name": "NetworkInterfaces", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/NetworkInterfaces", - "properties": { - "name": { - "localizedValue": "Network Interfaces", - "value": "NetworkInterfaces" - }, - "isQuotaApplicable": false, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "properties": {}, - "unit": "Count" - } - }, - { - "name": "PrivateEndpoints", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/PrivateEndpoints", - "properties": { - "name": { - "localizedValue": "Private Endpoints", - "value": "PrivateEndpoints" - }, - "isQuotaApplicable": false, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "properties": {}, - "unit": "Count" - } - }, - { - "name": "PrivateEndpointRedirectMaps", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/PrivateEndpointRedirectMaps", - "properties": { - "name": { - "localizedValue": "Private Endpoint Redirect Maps", - "value": "PrivateEndpointRedirectMaps" - }, - "isQuotaApplicable": false, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "properties": {}, - "unit": "Count" - } - }, - { - "name": "LoadBalancers", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/LoadBalancers", - "properties": { - "name": { - "localizedValue": "Load Balancers", - "value": "LoadBalancers" - }, - "isQuotaApplicable": false, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "properties": {}, - "unit": "Count" - } - }, - { - "name": "PrivateLinkServices", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/PrivateLinkServices", - "properties": { - "name": { - "localizedValue": "Private Link Services", - "value": "PrivateLinkServices" - }, - "isQuotaApplicable": false, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "properties": {}, - "unit": "Count" - } - }, - { - "name": "ApplicationGateways", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/ApplicationGateways", - "properties": { - "name": { - "localizedValue": "Application Gateways", - "value": "ApplicationGateways" - }, - "isQuotaApplicable": false, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "properties": {}, - "unit": "Count" - } - }, - { - "name": "RouteTables", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/RouteTables", - "properties": { - "name": { - "localizedValue": "Route Tables", - "value": "RouteTables" - }, - "isQuotaApplicable": false, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "properties": {}, - "unit": "Count" - } - }, - { - "name": "RouteFilters", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/RouteFilters", - "properties": { - "name": { - "localizedValue": "Route Filters", - "value": "RouteFilters" - }, - "isQuotaApplicable": false, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "properties": {}, - "unit": "Count" - } - }, - { - "name": "NetworkWatchers", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/NetworkWatchers", - "properties": { - "name": { - "localizedValue": "Network Watchers", - "value": "NetworkWatchers" - }, - "isQuotaApplicable": false, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "properties": {}, - "unit": "Count" - } - }, - { - "name": "PacketCaptures", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/PacketCaptures", - "properties": { - "name": { - "localizedValue": "Packet Captures", - "value": "PacketCaptures" - }, - "isQuotaApplicable": false, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "properties": {}, - "unit": "Count" - } - }, - { - "name": "ApplicationSecurityGroups", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/ApplicationSecurityGroups", - "properties": { - "name": { - "localizedValue": "Application Security Groups.", - "value": "ApplicationSecurityGroups" - }, - "isQuotaApplicable": false, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "properties": {}, - "unit": "Count" - } - }, - { - "name": "DdosProtectionPlans", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/DdosProtectionPlans", - "properties": { - "name": { - "localizedValue": "DDoS Protection Plans.", - "value": "DdosProtectionPlans" - }, - "isQuotaApplicable": false, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "properties": {}, - "unit": "Count" - } - }, - { - "name": "DdosCustomPolicies", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/DdosCustomPolicies", - "properties": { - "name": { - "localizedValue": "DDoS customized policies", - "value": "DdosCustomPolicies" - }, - "isQuotaApplicable": false, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "properties": {}, - "unit": "Count" - } - }, - { - "name": "ServiceEndpointPolicies", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/ServiceEndpointPolicies", - "properties": { - "name": { - "localizedValue": "Service Endpoint Policies", - "value": "ServiceEndpointPolicies" - }, - "isQuotaApplicable": false, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "properties": {}, - "unit": "Count" - } - }, - { - "name": "NetworkIntentPolicies", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/NetworkIntentPolicies", - "properties": { - "name": { - "localizedValue": "Network Intent Policies", - "value": "NetworkIntentPolicies" - }, - "isQuotaApplicable": false, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "properties": {}, - "unit": "Count" - } - }, - { - "name": "StandardSkuLoadBalancers", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/StandardSkuLoadBalancers", - "properties": { - "name": { - "localizedValue": "Standard Sku Load Balancers", - "value": "StandardSkuLoadBalancers" - }, - "isQuotaApplicable": false, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "properties": {}, - "unit": "Count" - } - }, - { - "name": "StandardSkuPublicIpAddresses", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/StandardSkuPublicIpAddresses", - "properties": { - "name": { - "localizedValue": "Public IP Addresses - Standard", - "value": "StandardSkuPublicIpAddresses" - }, - "isQuotaApplicable": true, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "properties": {}, - "unit": "Count" - } - }, - { - "name": "DnsServersPerVirtualNetwork", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/DnsServersPerVirtualNetwork", - "properties": { - "name": { - "localizedValue": "DNS servers per Virtual Network", - "value": "DnsServersPerVirtualNetwork" - }, - "isQuotaApplicable": false, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "properties": {}, - "unit": "Count" - } - }, - { - "name": "CustomDnsServersPerP2SVpnGateway", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/CustomDnsServersPerP2SVpnGateway", - "properties": { - "name": { - "localizedValue": "Custom DNS servers per P2SVpnGateway", - "value": "CustomDnsServersPerP2SVpnGateway" - }, - "isQuotaApplicable": false, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "properties": {}, - "unit": "Count" - } - }, - { - "name": "SubnetsPerVirtualNetwork", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/SubnetsPerVirtualNetwork", - "properties": { - "name": { - "localizedValue": "Subnets per Virtual Network", - "value": "SubnetsPerVirtualNetwork" - }, - "isQuotaApplicable": false, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "properties": {}, - "unit": "Count" - } - }, - { - "name": "IPConfigurationsPerVirtualNetwork", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/IPConfigurationsPerVirtualNetwork", - "properties": { - "name": { - "localizedValue": "IP Configurations per Virtual Network", - "value": "IPConfigurationsPerVirtualNetwork" - }, - "isQuotaApplicable": false, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "properties": {}, - "unit": "Count" - } - }, - { - "name": "PeeringsPerVirtualNetwork", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/PeeringsPerVirtualNetwork", - "properties": { - "name": { - "localizedValue": "Peerings per Virtual Network", - "value": "PeeringsPerVirtualNetwork" - }, - "isQuotaApplicable": false, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "properties": {}, - "unit": "Count" - } - }, - { - "name": "SecurityRulesPerNetworkSecurityGroup", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/SecurityRulesPerNetworkSecurityGroup", - "properties": { - "name": { - "localizedValue": "Security rules per Network Security Group", - "value": "SecurityRulesPerNetworkSecurityGroup" - }, - "isQuotaApplicable": false, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "properties": {}, - "unit": "Count" - } - }, - { - "name": "SecurityRulesPerNetworkIntentPolicy", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/SecurityRulesPerNetworkIntentPolicy", - "properties": { - "name": { - "localizedValue": "Security rules per Network Intent Policy", - "value": "SecurityRulesPerNetworkIntentPolicy" - }, - "isQuotaApplicable": false, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "properties": {}, - "unit": "Count" - } - }, - { - "name": "RoutesPerNetworkIntentPolicy", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/RoutesPerNetworkIntentPolicy", - "properties": { - "name": { - "localizedValue": "Routes per Network Intent Policy", - "value": "RoutesPerNetworkIntentPolicy" - }, - "isQuotaApplicable": false, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "properties": {}, - "unit": "Count" - } - }, - { - "name": "SecurityRuleAddressesOrPortsPerNetworkSecurityGroup", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/SecurityRuleAddressesOrPortsPerNetworkSecurityGroup", - "properties": { - "name": { - "localizedValue": "Security rules addresses or ports per Network Security Group", - "value": "SecurityRuleAddressesOrPortsPerNetworkSecurityGroup" - }, - "isQuotaApplicable": false, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "properties": {}, - "unit": "Count" - } - }, - { - "name": "InboundRulesPerLoadBalancer", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/InboundRulesPerLoadBalancer", - "properties": { - "name": { - "localizedValue": "Inbound Rules per Load Balancer", - "value": "InboundRulesPerLoadBalancer" - }, - "isQuotaApplicable": false, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "properties": {}, - "unit": "Count" - } - }, - { - "name": "FrontendIPConfigurationPerLoadBalancer", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/FrontendIPConfigurationPerLoadBalancer", - "properties": { - "name": { - "localizedValue": "Frontend IP Configurations per Load Balancer", - "value": "FrontendIPConfigurationPerLoadBalancer" - }, - "isQuotaApplicable": false, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "properties": {}, - "unit": "Count" - } - }, - { - "name": "OutboundRulesPerLoadBalancer", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/OutboundRulesPerLoadBalancer", - "properties": { - "name": { - "localizedValue": "Outbound Rules per Load Balancer", - "value": "OutboundRulesPerLoadBalancer" - }, - "isQuotaApplicable": false, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "properties": {}, - "unit": "Count" - } - }, - { - "name": "RoutesPerRouteTable", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/RoutesPerRouteTable", - "properties": { - "name": { - "localizedValue": "Routes per Route Table", - "value": "RoutesPerRouteTable" - }, - "isQuotaApplicable": false, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "properties": {}, - "unit": "Count" - } - }, - { - "name": "RoutesWithServiceTagPerRouteTable", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/RoutesWithServiceTagPerRouteTable", - "properties": { - "name": { - "localizedValue": "Routes with service tag per Route Table", - "value": "RoutesWithServiceTagPerRouteTable" - }, - "isQuotaApplicable": false, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "properties": {}, - "unit": "Count" - } - }, - { - "name": "MinPublicIpInterNetworkPrefixLength", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/MinPublicIpInterNetworkPrefixLength", - "properties": { - "name": { - "localizedValue": "Min Public Ip InterNetwork Prefix Length", - "value": "MinPublicIpInterNetworkPrefixLength" - }, - "isQuotaApplicable": true, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "properties": {}, - "resourceType": "MinPublicIpInterNetworkPrefixLength", - "unit": "Count" - } - } - ] - } - } - }, - "operationId": "Quota_List", - "title": "Quotas_listQuotaLimitsForNetwork" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/getNetworkUsages.json b/specification/quota/Quota.Management/examples/2025-07-15/getNetworkUsages.json deleted file mode 100644 index 8fd170d2e169..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/getNetworkUsages.json +++ /dev/null @@ -1,374 +0,0 @@ -{ - "parameters": { - "api-version": "2025-07-15", - "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "VirtualNetworks", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/VirtualNetworks", - "properties": { - "name": { - "localizedValue": "Virtual Networks", - "value": "VirtualNetworks" - }, - "isQuotaApplicable": false, - "properties": {}, - "unit": "Count", - "usages": { - "value": 10 - } - } - }, - { - "name": "StaticPublicIPAddresses", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/StaticPublicIPAddresses", - "properties": { - "name": { - "localizedValue": "Static Public IP Addresses", - "value": "StaticPublicIPAddresses" - }, - "isQuotaApplicable": false, - "properties": {}, - "unit": "Count", - "usages": { - "value": 10 - } - } - }, - { - "name": "NetworkSecurityGroups", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/NetworkSecurityGroups", - "properties": { - "name": { - "localizedValue": "Network Security Groups", - "value": "NetworkSecurityGroups" - }, - "isQuotaApplicable": false, - "properties": {}, - "unit": "Count", - "usages": { - "value": 10 - } - } - }, - { - "name": "PublicIPAddresses", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/PublicIPAddresses", - "properties": { - "name": { - "localizedValue": "Public IP Addresses - Basic", - "value": "PublicIPAddresses" - }, - "isQuotaApplicable": true, - "properties": {}, - "resourceType": "PublicIpAddresses", - "unit": "Count", - "usages": { - "value": 10 - } - } - }, - { - "name": "PublicIpPrefixes", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/PublicIpPrefixes", - "properties": { - "name": { - "localizedValue": "Public Ip Prefixes", - "value": "PublicIpPrefixes" - }, - "isQuotaApplicable": false, - "properties": {}, - "unit": "Count", - "usages": { - "value": 10 - } - } - }, - { - "name": "NatGateways", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/NatGateways", - "properties": { - "name": { - "localizedValue": "Nat Gateways", - "value": "NatGateways" - }, - "isQuotaApplicable": false, - "properties": {}, - "unit": "Count", - "usages": { - "value": 10 - } - } - }, - { - "name": "NetworkInterfaces", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/NetworkInterfaces", - "properties": { - "name": { - "localizedValue": "Network Interfaces", - "value": "NetworkInterfaces" - }, - "isQuotaApplicable": false, - "properties": {}, - "unit": "Count", - "usages": { - "value": 10 - } - } - }, - { - "name": "PrivateEndpoints", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/PrivateEndpoints", - "properties": { - "name": { - "localizedValue": "Private Endpoints", - "value": "PrivateEndpoints" - }, - "isQuotaApplicable": false, - "properties": {}, - "unit": "Count", - "usages": { - "value": 10 - } - } - }, - { - "name": "PrivateEndpointRedirectMaps", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/PrivateEndpointRedirectMaps", - "properties": { - "name": { - "localizedValue": "Private Endpoint Redirect Maps", - "value": "PrivateEndpointRedirectMaps" - }, - "isQuotaApplicable": false, - "properties": {}, - "unit": "Count", - "usages": { - "value": 10 - } - } - }, - { - "name": "LoadBalancers", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/LoadBalancers", - "properties": { - "name": { - "localizedValue": "Load Balancers", - "value": "LoadBalancers" - }, - "isQuotaApplicable": false, - "properties": {}, - "unit": "Count", - "usages": { - "value": 10 - } - } - }, - { - "name": "PrivateLinkServices", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/PrivateLinkServices", - "properties": { - "name": { - "localizedValue": "Private Link Services", - "value": "PrivateLinkServices" - }, - "isQuotaApplicable": false, - "properties": {}, - "unit": "Count", - "usages": { - "value": 10 - } - } - }, - { - "name": "ApplicationGateways", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/ApplicationGateways", - "properties": { - "name": { - "localizedValue": "Application Gateways", - "value": "ApplicationGateways" - }, - "isQuotaApplicable": false, - "properties": {}, - "unit": "Count", - "usages": { - "value": 10 - } - } - }, - { - "name": "RouteTables", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/RouteTables", - "properties": { - "name": { - "localizedValue": "Route Tables", - "value": "RouteTables" - }, - "isQuotaApplicable": false, - "properties": {}, - "unit": "Count", - "usages": { - "value": 10 - } - } - }, - { - "name": "RouteFilters", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/RouteFilters", - "properties": { - "name": { - "localizedValue": "Route Filters", - "value": "RouteFilters" - }, - "isQuotaApplicable": false, - "properties": {}, - "unit": "Count", - "usages": { - "value": 10 - } - } - }, - { - "name": "NetworkWatchers", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/NetworkWatchers", - "properties": { - "name": { - "localizedValue": "Network Watchers", - "value": "NetworkWatchers" - }, - "isQuotaApplicable": false, - "properties": {}, - "unit": "Count", - "usages": { - "value": 10 - } - } - }, - { - "name": "PacketCaptures", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/PacketCaptures", - "properties": { - "name": { - "localizedValue": "Packet Captures", - "value": "PacketCaptures" - }, - "isQuotaApplicable": false, - "properties": {}, - "unit": "Count", - "usages": { - "value": 10 - } - } - }, - { - "name": "ApplicationSecurityGroups", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/ApplicationSecurityGroups", - "properties": { - "name": { - "localizedValue": "Application Security Groups.", - "value": "ApplicationSecurityGroups" - }, - "isQuotaApplicable": false, - "properties": {}, - "unit": "Count", - "usages": { - "value": 10 - } - } - }, - { - "name": "StandardSkuLoadBalancers", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/StandardSkuLoadBalancers", - "properties": { - "name": { - "localizedValue": "Standard Sku Load Balancers", - "value": "StandardSkuLoadBalancers" - }, - "isQuotaApplicable": false, - "properties": {}, - "unit": "Count", - "usages": { - "value": 10 - } - } - }, - { - "name": "StandardSkuPublicIpAddresses", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/StandardSkuPublicIpAddresses", - "properties": { - "name": { - "localizedValue": "Public IP Addresses - Standard", - "value": "StandardSkuPublicIpAddresses" - }, - "isQuotaApplicable": true, - "resourceType": "PublicIpAddresses", - "unit": "Count", - "usages": { - "value": 10 - } - } - }, - { - "name": "DnsServersPerVirtualNetwork", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/DnsServersPerVirtualNetwork", - "properties": { - "name": { - "localizedValue": "DNS servers per Virtual Network", - "value": "DnsServersPerVirtualNetwork" - }, - "isQuotaApplicable": false, - "properties": {}, - "unit": "Count", - "usages": { - "value": 10 - } - } - }, - { - "name": "MinPublicIpInterNetworkPrefixLength", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/MinPublicIpInterNetworkPrefixLength", - "properties": { - "name": { - "localizedValue": "Min Public Ip InterNetwork Prefix Length", - "value": "MinPublicIpInterNetworkPrefixLength" - }, - "isQuotaApplicable": true, - "properties": {}, - "unit": "Count", - "usages": { - "value": 10 - } - } - } - ] - } - } - }, - "operationId": "Usages_List", - "title": "Quotas_listUsagesForNetwork" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/getQuotaRequestStatusById.json b/specification/quota/Quota.Management/examples/2025-07-15/getQuotaRequestStatusById.json deleted file mode 100644 index d9726b725a8e..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/getQuotaRequestStatusById.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "parameters": { - "api-version": "2025-07-15", - "id": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "scope": "subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus" - }, - "responses": { - "200": { - "body": { - "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "type": "Microsoft.Quota/quotaRequests", - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "properties": { - "message": "Request completed", - "provisioningState": "Succeeded", - "requestSubmitTime": "2019-08-19T19:23:17.904Z", - "value": [ - { - "name": { - "localizedValue": "Standard NC Promo Family vCPUs", - "value": "standardNCPromoFamily" - }, - "limit": { - "limitObjectType": "LimitValue", - "value": 50 - }, - "message": "Request completed", - "provisioningState": "Succeeded", - "unit": "Count" - } - ] - } - } - } - }, - "operationId": "QuotaRequestStatus_Get", - "title": "QuotaRequestStatus" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/getQuotaRequestStatusFailed.json b/specification/quota/Quota.Management/examples/2025-07-15/getQuotaRequestStatusFailed.json deleted file mode 100644 index 899f85c4ac80..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/getQuotaRequestStatusFailed.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "parameters": { - "api-version": "2025-07-15", - "id": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus" - }, - "responses": { - "200": { - "body": { - "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "type": "Microsoft.Quota/quotaRequests", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "properties": { - "error": { - "code": "ContactSupport", - "message": "Request failed, please contact support." - }, - "message": "Request failed, please contact support.", - "provisioningState": "Failed", - "requestSubmitTime": "2019-08-19T19:23:17.904Z", - "value": [ - { - "name": { - "localizedValue": "Standard NC Promo Family vCPUs", - "value": "standardNCPromoFamily" - }, - "limit": { - "limitObjectType": "LimitValue", - "value": 50 - }, - "message": "Request failed, please contact support.", - "provisioningState": "Failed", - "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C" - } - ] - } - } - } - }, - "operationId": "QuotaRequestStatus_Get", - "title": "QuotaRequestFailed" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/getQuotaRequestStatusInProgress.json b/specification/quota/Quota.Management/examples/2025-07-15/getQuotaRequestStatusInProgress.json deleted file mode 100644 index c9da0fad6ef0..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/getQuotaRequestStatusInProgress.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "parameters": { - "api-version": "2025-07-15", - "id": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus" - }, - "responses": { - "200": { - "body": { - "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "type": "Microsoft.Quota/quotaRequests", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "properties": { - "message": "Request processing", - "provisioningState": "InProgress", - "requestSubmitTime": "2019-08-19T19:23:17.904Z", - "value": [ - { - "name": { - "localizedValue": "Standard HCS Family vCPUs", - "value": "standardHCSFamily" - }, - "limit": { - "limitObjectType": "LimitValue", - "value": 50 - }, - "message": "Request completed", - "provisioningState": "Succeeded", - "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C" - }, - { - "name": { - "localizedValue": "Standard NC Promo Family vCPUs", - "value": "standardNCPromoFamily" - }, - "limit": { - "limitObjectType": "LimitValue", - "value": 50 - }, - "message": "Request processing", - "provisioningState": "InProgress", - "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C" - } - ] - } - } - } - }, - "operationId": "QuotaRequestStatus_Get", - "title": "QuotaRequestInProgress" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/getQuotaRequestsHistory.json b/specification/quota/Quota.Management/examples/2025-07-15/getQuotaRequestsHistory.json deleted file mode 100644 index 9b076f028ed8..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/getQuotaRequestsHistory.json +++ /dev/null @@ -1,96 +0,0 @@ -{ - "parameters": { - "api-version": "2025-07-15", - "scope": "subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus" - }, - "responses": { - "200": { - "body": { - "nextLink": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/microsoft.Quota/resourceProviders/Microsoft.Compute/locations/eastus/quotaRequests?api-version=2021-03-15&$top=3", - "value": [ - { - "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "type": "Microsoft.Quota/quotaRequests", - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "properties": { - "message": "Request completed", - "provisioningState": "Success", - "requestSubmitTime": "2019-08-19T19:23:17.904Z", - "value": [ - { - "name": { - "localizedValue": "Standard NC Promo Family vCPUs", - "value": "standardNCPromoFamily" - }, - "limit": { - "limitObjectType": "LimitValue", - "value": 50 - }, - "message": "Request completed", - "provisioningState": "Success", - "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C" - } - ] - } - }, - { - "name": "7E73A85C-83BB-4DE4-903F-076F1A2B91D6", - "type": "Microsoft.Quota/quotaRequests", - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaRequests/7E73A85C-83BB-4DE4-903F-076F1A2B91D6", - "properties": { - "message": "Request completed", - "provisioningState": "Succeeded", - "requestSubmitTime": "2019-08-18T19:23:17.904Z", - "value": [ - { - "name": { - "localizedValue": "Standard NV Promo Family vCPUs", - "value": "standardNVPromoFamily" - }, - "limit": { - "limitObjectType": "LimitValue", - "value": 150 - }, - "message": "Request completed", - "provisioningState": "Succeeded", - "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C" - } - ] - } - }, - { - "name": "5E460077-AB53-4802-8997-A6940E0B7649", - "type": "Microsoft.Quota/quotaRequests", - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaRequests/5E460077-AB53-4802-8997-A6940E0B7649", - "properties": { - "error": { - "code": "ResourceNotAvailableForOffer", - "message": "The resource is currently unavailable in the location for the offer type." - }, - "message": "The resource is currently unavailable in the location for the offer type.", - "provisioningState": "Failed", - "requestSubmitTime": "2019-08-17T19:23:17.904Z", - "value": [ - { - "name": { - "localizedValue": "Standard HBS Family vCPUs", - "value": "standardHBSFamily" - }, - "limit": { - "limitObjectType": "LimitValue", - "value": 52 - }, - "message": "Request failed, please contact support.", - "provisioningState": "Failed", - "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C" - } - ] - } - } - ] - } - } - }, - "operationId": "QuotaRequestStatus_List", - "title": "QuotaRequestHistory" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/patchComputeQuotaRequest.json b/specification/quota/Quota.Management/examples/2025-07-15/patchComputeQuotaRequest.json deleted file mode 100644 index ad58164b9b7f..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/patchComputeQuotaRequest.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "parameters": { - "api-version": "2025-07-15", - "createQuotaRequest": { - "properties": { - "name": { - "value": "standardFSv2Family" - }, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - } - } - }, - "resourceName": "standardFSv2Family", - "scope": "subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus" - }, - "responses": { - "200": { - "body": { - "name": "standardFSv2Family", - "type": "Microsoft.Quota/quotas", - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotas/standardFSv2Family", - "properties": { - "name": { - "localizedValue": "Standard FSv2 Family vCPUs", - "value": "standardFSv2Family" - }, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - } - } - }, - "headers": { - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2023-02-01" - } - }, - "202": { - "headers": { - "Retry-After": "30", - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2023-02-01" - } - } - }, - "operationId": "Quota_Update", - "title": "Quotas_Request_PatchForCompute" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/patchNetworkOneSkuQuotaRequest.json b/specification/quota/Quota.Management/examples/2025-07-15/patchNetworkOneSkuQuotaRequest.json deleted file mode 100644 index 480fdec8a227..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/patchNetworkOneSkuQuotaRequest.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "parameters": { - "api-version": "2025-07-15", - "createQuotaRequest": { - "properties": { - "name": { - "value": "MinPublicIpInterNetworkPrefixLength" - }, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "resourceType": "MinPublicIpInterNetworkPrefixLength" - } - }, - "resourceName": "MinPublicIpInterNetworkPrefixLength", - "scope": "subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus" - }, - "responses": { - "200": { - "body": { - "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "type": "Microsoft.Quota/quotas", - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "properties": { - "name": { - "value": "MinPublicIpInterNetworkPrefixLength" - }, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "resourceType": "MinPublicIpInterNetworkPrefixLength" - } - }, - "headers": { - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2023-02-01" - } - }, - "202": { - "headers": { - "Retry-After": "30", - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2023-02-01" - } - } - }, - "operationId": "Quota_Update", - "title": "Quotas_Request_PatchForNetwork" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/putComputeOneSkuQuotaRequest.json b/specification/quota/Quota.Management/examples/2025-07-15/putComputeOneSkuQuotaRequest.json deleted file mode 100644 index 34875f011d98..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/putComputeOneSkuQuotaRequest.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "parameters": { - "api-version": "2025-07-15", - "createQuotaRequest": { - "properties": { - "name": { - "value": "standardFSv2Family" - }, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - } - } - }, - "resourceName": "standardFSv2Family", - "scope": "subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus" - }, - "responses": { - "200": { - "body": { - "name": "standardFSv2Family", - "type": "Microsoft.Quota/quotas", - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotas/standardFSv2Family", - "properties": { - "name": { - "value": "standardFSv2Family" - }, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - } - } - }, - "headers": { - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2023-02-01" - } - }, - "202": { - "headers": { - "Retry-After": "30", - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2023-02-01" - } - } - }, - "operationId": "Quota_CreateOrUpdate", - "title": "Quotas_Put_Request_ForCompute" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/putMachineLearningServicesQuotaRequestLowPriority.json b/specification/quota/Quota.Management/examples/2025-07-15/putMachineLearningServicesQuotaRequestLowPriority.json deleted file mode 100644 index 3e1cf4e18391..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/putMachineLearningServicesQuotaRequestLowPriority.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "parameters": { - "api-version": "2025-07-15", - "createQuotaRequest": { - "properties": { - "name": { - "value": "TotalLowPriorityCores" - }, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "resourceType": "lowPriority" - } - }, - "resourceName": "TotalLowPriorityCores", - "scope": "subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.MachineLearningServices/locations/eastus" - }, - "responses": { - "200": { - "body": { - "name": "TotalLowPriorityCores", - "type": "Microsoft.Quota/quotas", - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.MachineLearningServices/locations/eastus/providers/Microsoft.Quota/quotas/TotalLowPriorityCores", - "properties": { - "name": { - "value": "TotalLowPriorityCores" - }, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "resourceType": "lowPriority" - } - }, - "headers": { - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2023-02-01" - } - }, - "202": { - "headers": { - "Retry-After": "30", - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2023-02-01" - } - } - }, - "operationId": "Quota_CreateOrUpdate", - "title": "Quotas_Request_ForMachineLearningServices_LowPriorityResource" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/putNetworkOneSkuQuotaRequest.json b/specification/quota/Quota.Management/examples/2025-07-15/putNetworkOneSkuQuotaRequest.json deleted file mode 100644 index 23eedbdd47fb..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/putNetworkOneSkuQuotaRequest.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "parameters": { - "api-version": "2025-07-15", - "createQuotaRequest": { - "properties": { - "name": { - "value": "MinPublicIpInterNetworkPrefixLength" - }, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "resourceType": "MinPublicIpInterNetworkPrefixLength" - } - }, - "resourceName": "MinPublicIpInterNetworkPrefixLength", - "scope": "subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus" - }, - "responses": { - "200": { - "body": { - "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "type": "Microsoft.Quota/quotas", - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "properties": { - "name": { - "value": "MinPublicIpInterNetworkPrefixLength" - }, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "resourceType": "MinPublicIpInterNetworkPrefixLength" - } - }, - "headers": { - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2023-02-01" - } - }, - "202": { - "headers": { - "Retry-After": "30", - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2023-02-01" - } - } - }, - "operationId": "Quota_CreateOrUpdate", - "title": "Quotas_PutRequest_ForNetwork" -} diff --git a/specification/quota/Quota.Management/examples/2025-07-15/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json b/specification/quota/Quota.Management/examples/2025-07-15/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json deleted file mode 100644 index 1c4ff61eefb3..000000000000 --- a/specification/quota/Quota.Management/examples/2025-07-15/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "parameters": { - "api-version": "2025-07-15", - "createQuotaRequest": { - "properties": { - "name": { - "value": "StandardSkuPublicIpAddresses" - }, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "resourceType": "PublicIpAddresses" - } - }, - "resourceName": "StandardSkuPublicIpAddresses", - "scope": "subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus" - }, - "responses": { - "200": { - "body": { - "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "type": "Microsoft.Quota/quotas", - "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "properties": { - "name": { - "value": "StandardSkuPublicIpAddresses" - }, - "limit": { - "limitObjectType": "LimitValue", - "value": 10 - }, - "resourceType": "PublicIpAddresses" - } - }, - "headers": { - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequest/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2023-02-01" - } - }, - "202": { - "headers": { - "Retry-After": "30", - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2023-02-01" - } - } - }, - "operationId": "Quota_CreateOrUpdate", - "title": "Quotas_PutRequest_ForNetwork_StandardSkuPublicIpAddressesResource" -} diff --git a/specification/quota/Quota.Management/main.tsp b/specification/quota/Quota.Management/main.tsp deleted file mode 100644 index b61b0e7290d6..000000000000 --- a/specification/quota/Quota.Management/main.tsp +++ /dev/null @@ -1,62 +0,0 @@ -/** - * PLEASE DO NOT REMOVE - USED FOR CONVERTER METRICS - * Generated by package: @autorest/openapi-to-typespec - * Parameters used: - * isFullCompatible: true - * guessResourceKey: false - * Version: 0.11.2 - * Date: 2025-07-22T02:43:23.334Z - */ -import "@typespec/rest"; -import "@typespec/versioning"; -import "@azure-tools/typespec-azure-core"; -import "@azure-tools/typespec-azure-resource-manager"; -import "./models.tsp"; -import "./back-compatible.tsp"; -import "./GroupQuotasEntity.tsp"; -import "./GroupQuotaSubscriptionId.tsp"; -import "./GroupQuotaSubscriptionRequestStatus.tsp"; -import "./GroupQuotaLimitList.tsp"; -import "./SubmittedResourceRequestStatus.tsp"; -import "./SubscriptionQuotaAllocationsList.tsp"; -import "./QuotaAllocationRequestStatus.tsp"; -import "./GroupQuotasEnforcementStatus.tsp"; -import "./CurrentUsagesBase.tsp"; -import "./CurrentQuotaLimitBase.tsp"; -import "./QuotaRequestDetails.tsp"; -import "./Legacy.tsp"; - -using TypeSpec.Rest; -using TypeSpec.Http; -using Azure.ResourceManager.Foundations; -using Azure.Core; -using Azure.ResourceManager; -using TypeSpec.Versioning; -/** - * Microsoft Azure Quota Resource Provider - */ -#suppress "@azure-tools/typespec-azure-resource-manager/missing-operations-endpoint" "For backward compatibility" -@armProviderNamespace -@service(#{ title: "Azure Quota Extension API" }) -@versioned(Versions) -@armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5) -namespace Microsoft.Quota; - -/** - * The available API versions. - */ -enum Versions { - /** - * The 2025-07-15 API version. - */ - @useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) - @useDependency(Azure.Core.Versions.v1_0_Preview_1) - v2025_07_15: "2025-07-15", -} - -@armResourceOperations -interface QuotaOperation - extends Azure.ResourceManager.Legacy.Operations< - Response = ArmResponse, - Error = ExceptionResponse - > {} diff --git a/specification/quota/Quota.Management/models.tsp b/specification/quota/Quota.Management/models.tsp deleted file mode 100644 index dbf5c9b39350..000000000000 --- a/specification/quota/Quota.Management/models.tsp +++ /dev/null @@ -1,1384 +0,0 @@ -import "@typespec/rest"; -import "@typespec/http"; -import "@azure-tools/typespec-azure-core"; -import "@azure-tools/typespec-azure-resource-manager"; - -using TypeSpec.Rest; -using TypeSpec.Http; -using Azure.ResourceManager; -using Azure.ResourceManager.Foundations; - -namespace Microsoft.Quota; - -/** - * Request status. - */ -union RequestState { - string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - Accepted: "Accepted", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - Created: "Created", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - Invalid: "Invalid", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - Succeeded: "Succeeded", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - Failed: "Failed", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - InProgress: "InProgress", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - Canceled: "Canceled", -} - -/** - * The type of identity that created the resource. - */ -union CreatedByType { - string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - User: "User", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - Application: "Application", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - ManagedIdentity: "ManagedIdentity", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - Key: "Key", -} - -/** - * Enforcement status. - */ -union EnforcementState { - string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - Enabled: "Enabled", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - Disabled: "Disabled", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - NotAvailable: "NotAvailable", -} - -/** - * The quota or usages limit types. - */ -union UsagesTypes { - string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - Individual: "Individual", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - Combined: "Combined", -} - -/** - * The limit object type. - */ -union LimitType { - string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - LimitValue: "LimitValue", -} - -/** - * Quota request status. - */ -#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -union QuotaRequestState { - string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - Accepted: "Accepted", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - Invalid: "Invalid", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - Succeeded: "Succeeded", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - Failed: "Failed", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - InProgress: "InProgress", -} - -/** - * The quota or usages limit types. - */ -union QuotaLimitTypes { - string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - Independent: "Independent", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - Shared: "Shared", -} - -/** - * Properties - */ -#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -#suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -model GroupQuotasEntityProperties extends GroupQuotasEntityBase {} - -/** - * Properties and filters for ShareQuota. The request parameter is optional, if there are no filters specified. - */ -model GroupQuotasEntityBase { - /** - * Display name of the GroupQuota entity. - */ - displayName?: string; - - /** - * Provisioning state of the operation. - */ - @visibility(Lifecycle.Read) - provisioningState?: RequestState; -} - -/** - * The provisioning state for the operation. - */ -#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -model LROResponse extends Azure.ResourceManager.CommonTypes.ProxyResource { - #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - properties?: LROResponseProperties; -} - -#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -model LROResponseProperties { - /** - * Request status. - */ - @visibility(Lifecycle.Read) - provisioningState?: RequestState; -} - -/** - * Properties and filters for ShareQuota. The request parameter is optional, if there are no filters specified. - */ -#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -model GroupQuotasEntityPatch - extends Azure.ResourceManager.CommonTypes.ProxyResource { - /** - * Properties - */ - properties?: GroupQuotasEntityPatchProperties; -} - -/** - * Properties - */ -#suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -model GroupQuotasEntityPatchProperties extends GroupQuotasEntityBasePatch {} - -/** - * Properties and filters for ShareQuota. The request parameter is optional, if there are no filters specified. - */ -model GroupQuotasEntityBasePatch { - /** - * Display name of the GroupQuota entity. - */ - displayName?: string; - - /** - * Provisioning state of the operation. - */ - @visibility(Lifecycle.Read) - provisioningState?: RequestState; -} - -/** - * List of Group Quotas at MG level. - */ -model GroupQuotaList is Azure.Core.Page; - -#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -model GroupQuotaSubscriptionIdProperties { - /** - * An Azure subscriptionId. - */ - subscriptionId?: string; - - /** - * Status of this subscriptionId being associated with the GroupQuotasEntity. - */ - @visibility(Lifecycle.Read) - provisioningState?: RequestState; -} - -/** - * List of GroupQuotaSubscriptionIds - */ -model GroupQuotaSubscriptionIdList is Azure.Core.Page; - -/** - * List of GroupQuotaSubscriptionRequests Status - */ -model GroupQuotaSubscriptionRequestStatusList - is Azure.Core.Page; - -#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -model GroupQuotaSubscriptionRequestStatusProperties { - /** - * The subscription Id - */ - subscriptionId?: string; - - /** - * The request submission time. The date conforms to the following format specified by the ISO 8601 standard: yyyy-MM-ddTHH:mm:ssZ - */ - requestSubmitTime?: utcDateTime; - - /** - * Status of this subscriptionId being associated with the GroupQuotasEntity. - */ - @visibility(Lifecycle.Read) - provisioningState?: RequestState; -} - -#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -model GroupQuotaLimitListProperties { - /** - * Request status. - */ - @visibility(Lifecycle.Read) - provisioningState?: RequestState; - - /** - * List of Group Quota Limit details. - */ - #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - value?: GroupQuotaLimit[]; - - /** - * The URL to use for getting the next set of results. - */ - @visibility(Lifecycle.Read) - nextLink?: string; -} - -/** - * Group Quota limit. - */ -model GroupQuotaLimit { - /** - * Group Quota properties for the specified resource. - */ - properties?: GroupQuotaLimitProperties; -} - -/** - * Group Quota properties for the specified resource. - */ -#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -#suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -model GroupQuotaLimitProperties extends GroupQuotaDetails {} - -/** - * Group Quota details. - */ -model GroupQuotaDetails { - /** - * The resource name, such as SKU name. - */ - resourceName?: string; - - /** - * The current Group Quota Limit at the parentId level. - */ - limit?: int64; - - /** - * Any comment related to quota request. - */ - comment?: string; - - /** - * 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. - */ - @visibility(Lifecycle.Read) - unit?: string; - - /** - * Name of the resource provided by the resource provider. This property is already included in the request URI, so it is a readonly property returned in the response. - */ - #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - @visibility(Lifecycle.Read) - name?: GroupQuotaDetailsName; - - /** - * The available Group Quota Limit at the MG level. This Group quota can be allocated to subscription(s). - */ - @visibility(Lifecycle.Read) - availableLimit?: int64; - - /** - * Quota allocated to subscriptions - */ - @visibility(Lifecycle.Read) - allocatedToSubscriptions?: AllocatedQuotaToSubscriptionList; -} - -/** - * Name of the resource provided by the resource provider. This property is already included in the request URI, so it is a readonly property returned in the response. - */ -model GroupQuotaDetailsName { - /** - * Resource name. - */ - @visibility(Lifecycle.Read) - value?: string; - - /** - * Resource display name. - */ - @visibility(Lifecycle.Read) - localizedValue?: string; -} - -/** - * Quota allocated to subscriptions - */ -model AllocatedQuotaToSubscriptionList { - /** - * List of Group Quota Limit allocated to subscriptions. - */ - #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - value?: AllocatedToSubscription[]; -} - -/** - * SubscriptionIds and quota allocated to subscriptions from the GroupQuota. - */ -model AllocatedToSubscription { - /** - * An Azure subscriptionId. - */ - subscriptionId?: string; - - /** - * The amount of quota allocated to this subscriptionId from the GroupQuotasEntity. - */ - quotaAllocated?: int64; -} - -#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -model SubmittedResourceRequestStatusProperties { - /** - * Requested Resource. - */ - requestedResource?: GroupQuotaRequestBase; - - /** - * The request submission time. The date conforms to the following format specified by the ISO 8601 standard: yyyy-MM-ddTHH:mm:ssZ - */ - @visibility(Lifecycle.Read) - requestSubmitTime?: utcDateTime; - - /** - * Request status. - */ - @visibility(Lifecycle.Read) - provisioningState?: RequestState; - - /** - * Details of the failure. - */ - @visibility(Lifecycle.Read) - faultCode?: string; -} - -/** - * The new GroupQuota limit requested. - */ -model GroupQuotaRequestBase { - #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - properties?: GroupQuotaRequestBaseProperties; -} - -#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -model GroupQuotaRequestBaseProperties { - /** - * The new quota limit for the subscription. The incremental quota will be allocated from pre-approved group quota. - */ - limit?: int64; - - /** - * Name of the resource provided by the resource provider. This property is already included in the request URI, so it is a readonly property returned in the response. - */ - #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - @visibility(Lifecycle.Read) - name?: GroupQuotaRequestBasePropertiesName; - - /** - * Location/Azure region for the quota requested for resource. - */ - region?: string; - - /** - * GroupQuota Request comments and details for request. This is optional paramter to provide more details related to the requested resource. - */ - comments?: string; -} - -/** - * Name of the resource provided by the resource provider. This property is already included in the request URI, so it is a readonly property returned in the response. - */ -model GroupQuotaRequestBasePropertiesName { - /** - * Resource name. - */ - @visibility(Lifecycle.Read) - value?: string; - - /** - * Resource display name. - */ - @visibility(Lifecycle.Read) - localizedValue?: string; -} - -/** - * Share Quota Entity list. - */ -model SubmittedResourceRequestStatusList - is Azure.Core.Page; - -#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -model SubscriptionQuotaAllocationsListProperties { - /** - * Request status. - */ - @visibility(Lifecycle.Read) - provisioningState?: RequestState; - - /** - * Subscription quota list. - */ - #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - value?: SubscriptionQuotaAllocations[]; - - /** - * The URL to use for getting the next set of results. - */ - @visibility(Lifecycle.Read) - nextLink?: string; -} - -/** - * 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. - */ -model SubscriptionQuotaAllocations { - /** - * Quota properties for the specified resource. - */ - properties?: SubscriptionQuotaAllocationsProperties; -} - -/** - * Quota properties for the specified resource. - */ -#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -#suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -model SubscriptionQuotaAllocationsProperties extends SubscriptionQuotaDetails {} - -/** - * Subscription Quota details. - */ -model SubscriptionQuotaDetails { - /** - * The resource name, such as SKU name. - */ - resourceName?: string; - - /** - * The total quota limit for the subscription. - */ - limit?: int64; - - /** - * The shareable quota for the subscription. - */ - @visibility(Lifecycle.Read) - shareableQuota?: int64; - - /** - * Name of the resource provided by the resource provider. This property is already included in the request URI, so it is a readonly property returned in the response. - */ - #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - @visibility(Lifecycle.Read) - name?: SubscriptionQuotaDetailsName; -} - -/** - * Name of the resource provided by the resource provider. This property is already included in the request URI, so it is a readonly property returned in the response. - */ -model SubscriptionQuotaDetailsName { - /** - * Resource name. - */ - @visibility(Lifecycle.Read) - value?: string; - - /** - * Resource display name. - */ - @visibility(Lifecycle.Read) - localizedValue?: string; -} - -#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -model QuotaAllocationRequestStatusProperties { - /** - * The new quota request allocated to subscription. - */ - requestedResource?: QuotaAllocationRequestBase; - - /** - * The request submission time. The date conforms to the following format specified by the ISO 8601 standard: yyyy-MM-ddTHH:mm:ssZ - */ - @visibility(Lifecycle.Read) - requestSubmitTime?: utcDateTime; - - /** - * Request status. - */ - @visibility(Lifecycle.Read) - provisioningState?: RequestState; - - /** - * Details of the failure. - */ - @visibility(Lifecycle.Read) - faultCode?: string; -} - -/** - * The new quota request allocated to subscription. - */ -model QuotaAllocationRequestBase { - #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - properties?: QuotaAllocationRequestBaseProperties; -} - -#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -model QuotaAllocationRequestBaseProperties { - /** - * The new quota limit for the subscription. The incremental quota will be allocated from pre-approved group quota. - */ - limit?: int64; - - /** - * Name of the resource provided by the resource provider. This property is already included in the request URI, so it is a readonly property returned in the response. - */ - #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - @visibility(Lifecycle.Read) - name?: QuotaAllocationRequestBasePropertiesName; - - /** - * The location for which the subscription is allocated - */ - region?: string; -} - -/** - * Name of the resource provided by the resource provider. This property is already included in the request URI, so it is a readonly property returned in the response. - */ -model QuotaAllocationRequestBasePropertiesName { - /** - * Resource name. - */ - @visibility(Lifecycle.Read) - value?: string; - - /** - * Resource display name. - */ - @visibility(Lifecycle.Read) - localizedValue?: string; -} - -/** - * List of QuotaAllocation Request Status - */ -model QuotaAllocationRequestStatusList - is Azure.Core.Page; - -/** - * List of resource usages and quotas for GroupQuota. - */ -model ResourceUsageList is Azure.Core.Page; - -/** - * Resource details with usages and GroupQuota. - */ -#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -model ResourceUsages extends Azure.ResourceManager.CommonTypes.ProxyResource { - /** - * Resource details with usages and GroupQuota. - */ - properties?: GroupQuotaUsagesBase; -} - -/** - * Resource details with usages and GroupQuota. - */ -model GroupQuotaUsagesBase { - /** - * Name of the resource provided by the resource provider. This property is already included in the request URI, so it is a readonly property returned in the response. - */ - #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - name?: GroupQuotaUsagesBaseName; - - /** - * Quota/limits for the resource. - */ - limit?: int64; - - /** - * Usages for the resource. - */ - usages?: int64; - - /** - * Representing the units of the usage quota. Possible values are: Count, Bytes, Seconds, Percent, CountPerSecond, BytesPerSecond. Based on - https://armwiki.azurewebsites.net/api_contracts/UsagesAPIContract.html?q=usages . Different RPs may have different units, Count, type as int64 should work for most of the integer values. - */ - @visibility(Lifecycle.Read) - unit?: string; -} - -/** - * Name of the resource provided by the resource provider. This property is already included in the request URI, so it is a readonly property returned in the response. - */ -model GroupQuotaUsagesBaseName { - /** - * Resource name. - */ - value?: string; - - /** - * Resource display name. - */ - @visibility(Lifecycle.Read) - localizedValue?: string; -} - -#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -model GroupQuotasEnforcementStatusProperties { - /** - * Is the GroupQuota Enforcement enabled for the Azure region. - */ - enforcementEnabled?: EnforcementState; - - /** - * Request status. - */ - @visibility(Lifecycle.Read) - provisioningState?: RequestState; - - /** - * Details of the failure. - */ - @visibility(Lifecycle.Read) - faultCode?: string; -} - -/** - * List of Azure regions, where the group quotas is enabled for enforcement. - */ -model GroupQuotasEnforcementListResponse - is Azure.Core.Page; - -/** - * Usage properties for the specified resource. - */ -#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -model UsagesProperties { - /** - * The quota limit properties for this resource. - */ - usages?: UsagesObject; - - /** - * The units for the quota usage, 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. - */ - @visibility(Lifecycle.Read) - unit?: string; - - /** - * Resource name provided by the resource provider. Use this property name when requesting quota. - */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-duplicate-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - name?: ResourceName; - - /** - * The name of the resource type. Optional field. - */ - resourceType?: string; - - /** - * The time period for the summary of the quota usage values. For example: - * *P1D (per one day) - * *PT1M (per one minute) - * *PT1S (per one second). - * This parameter is optional because it is not relevant for all resources such as compute. - */ - @visibility(Lifecycle.Read) - quotaPeriod?: string; - - /** - * States if quota can be requested for this resource. - */ - @visibility(Lifecycle.Read) - isQuotaApplicable?: boolean; - - /** - * Additional properties for the specific resource provider. - */ - #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-duplicate-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - properties?: unknown; -} - -/** - * The resource usages value. - */ -model UsagesObject { - /** - * The usages value. - */ - value: int32; - - /** - * The quota or usages limit types. - */ - usagesType?: UsagesTypes; -} - -/** - * Name of the resource provided by the resource Provider. When requesting quota, use this property name. - */ -model ResourceName { - /** - * Resource name. - */ - value?: string; - - /** - * Resource display name. - */ - @visibility(Lifecycle.Read) - localizedValue?: string; -} - -/** - * Error. - */ -@error -model ExceptionResponse { - /** - * API error details. - */ - error?: ServiceError; -} - -/** - * API error details. - */ -model ServiceError { - /** - * Error code. - */ - code?: string; - - /** - * Error message. - */ - message?: string; - - /** - * List of error details. - */ - @visibility(Lifecycle.Read) - @OpenAPI.extension("x-ms-identifiers", #["code"]) - details?: ServiceErrorDetail[]; -} - -/** - * Error details. - */ -model ServiceErrorDetail { - /** - * Error code. - */ - @visibility(Lifecycle.Read) - code?: string; - - /** - * Error message. - */ - @visibility(Lifecycle.Read) - message?: string; -} - -/** - * Quota limits. - */ -model UsagesLimits is Azure.Core.Page; - -/** - * Quota properties for the specified resource. - */ -#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -model QuotaProperties { - /** - * Resource quota limit properties. - */ - limit?: LimitJsonObject; - - /** - * The quota 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. - */ - @visibility(Lifecycle.Read) - unit?: string; - - /** - * Resource name provided by the resource provider. Use this property name when requesting quota. - */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-duplicate-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - name?: ResourceName; - - /** - * The name of the resource type. Optional field. - */ - resourceType?: string; - - /** - * The time period over which the quota usage values are summarized. For example: - * *P1D (per one day) - * *PT1M (per one minute) - * *PT1S (per one second). - * This parameter is optional because, for some resources like compute, the period is irrelevant. - */ - @visibility(Lifecycle.Read) - quotaPeriod?: string; - - /** - * States if quota can be requested for this resource. - */ - @visibility(Lifecycle.Read) - isQuotaApplicable?: boolean; - - /** - * Additional properties for the specific resource provider. - */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-duplicate-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - properties?: unknown; -} - -/** - * LimitJson abstract class. - */ -@discriminator("limitObjectType") -model LimitJsonObject { - /** - * The limit object type. - */ - limitObjectType: LimitType; -} - -/** - * Quota limits. - */ -model QuotaLimits is Azure.Core.Page; - -/** - * Quota request properties. - */ -model QuotaRequestProperties { - /** - * The quota request status. - */ - @visibility(Lifecycle.Read) - provisioningState?: QuotaRequestState; - - /** - * User-friendly status message. - */ - @visibility(Lifecycle.Read) - message?: string; - - /** - * Error details of the quota request. - */ - error?: ServiceErrorDetail; - - /** - * The quota request submission time. The date conforms to the following format specified by the ISO 8601 standard: yyyy-MM-ddTHH:mm:ssZ - */ - @visibility(Lifecycle.Read) - requestSubmitTime?: utcDateTime; - - /** - * Quota request details. - */ - @OpenAPI.extension("x-ms-identifiers", #["subRequestId"]) - value?: SubRequest[]; -} - -/** - * Request property. - */ -model SubRequest { - /** - * Resource name. - */ - name?: ResourceName; - - /** - * Resource type for which the quota properties were requested. - */ - @visibility(Lifecycle.Read) - resourceType?: string; - - /** - * Quota limit 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. - */ - unit?: string; - - /** - * The quota request status. - */ - @visibility(Lifecycle.Read) - provisioningState?: QuotaRequestState; - - /** - * User-friendly status message. - */ - @visibility(Lifecycle.Read) - message?: string; - - /** - * Quota request ID. - */ - @visibility(Lifecycle.Read) - subRequestId?: string; - - /** - * Resource quota limit properties. - */ - limit?: LimitJsonObject; -} - -/** - * Quota request information. - */ -model QuotaRequestDetailsList is Azure.Core.Page; - -#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -model OperationResponse { - #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - name?: string; - #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - display?: OperationDisplay; - #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - origin?: string; -} - -#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -model OperationDisplay { - /** - * Provider name. - */ - provider?: string; - - /** - * Resource name. - */ - resource?: string; - - /** - * Operation name. - */ - operation?: string; - - /** - * Operation description. - */ - description?: string; -} - -/** - * List of Allocated Group Quota to the subscriptions. - */ -model SubscriptionQuotaAllocationRequestList { - /** - * Allocated Group Quota to subscriptions. - */ - @OpenAPI.extension("x-ms-identifiers", #[]) - value?: QuotaAllocationRequestStatus[]; - - /** - * The URL to use for getting the next set of results. - */ - @visibility(Lifecycle.Read) - nextLink?: string; -} - -/** - * MGId the source of group quota. - */ -model SubscriptionGroupQuotaAssignment { - /** - * The group quota id of the quota source. - */ - groupQuotaId?: string; - - /** - * The amount of quota allocated to this subscriptionId from the quota source. - */ - quotaAllocated?: int64; -} - -/** - * Subscription quota allocation requests status list. - */ -model SubscriptionQuotaAllocationsStatusList { - /** - * Subscription quota allocation status list. - */ - value?: SubmittedResourceRequestStatus[]; - - /** - * The URL to use for getting the next set of results. - */ - @visibility(Lifecycle.Read) - nextLink?: string; -} - -/** - * Resource definition with the requested quota. - */ -model ResourceBaseRequest { - /** - * The resource name, such as SKU name. - */ - @visibility(Lifecycle.Read) - resourceName?: string; - - /** - * Quota requested for the resource. - */ - limit?: int64; - - /** - * Representing the units of the usage quota. Possible values are: Count, Bytes, Seconds, Percent, CountPerSecond, BytesPerSecond. Based on - https://armwiki.azurewebsites.net/api_contracts/UsagesAPIContract.html?q=usages . Different RPs may have different units, Count, type as int64 should work for most of the integer values. - */ - @visibility(Lifecycle.Read) - unit?: string; -} - -/** - * Resource properties. - */ -model CommonResourceProperties { - /** - * Resource ID - */ - @visibility(Lifecycle.Read) - id?: string; - - /** - * Resource name. - */ - @visibility(Lifecycle.Read) - name?: string; - - /** - * Resource type. Example: "Microsoft.Quota/quotas" - */ - @visibility(Lifecycle.Read) - type?: string; -} - -/** - * Quota limits request response. - */ -model QuotaLimitsResponse { - /** - * List of quota limits with the quota request status. - */ - value?: CurrentQuotaLimitBase[]; - - /** - * The URI used to fetch the next page of quota limits. When there are no more pages, this is null. - */ - nextLink?: string; -} - -/** - * Quota change requests information. - */ -model CreateGenericQuotaRequestParameters { - /** - * Quota change requests. - */ - value?: CurrentQuotaLimitBase[]; -} - -/** - * The resource quota limit value. - */ -model LimitObject extends LimitJsonObject { - /** - * The quota/limit value - */ - value: int32; - - /** - * The quota or usages limit types. - */ - limitType?: QuotaLimitTypes; - - /** - * The limit object type. - */ - limitObjectType: "LimitValue"; -} - -/** - * Quota request response. - */ -model QuotaRequestOneResourceSubmitResponse { - /** - * Quota request ID. - */ - @visibility(Lifecycle.Read) - id?: string; - - /** - * The name of the quota request. - */ - @visibility(Lifecycle.Read) - name?: string; - - /** - * Resource type. "Microsoft.Quota/ServiceLimitRequests" - */ - @visibility(Lifecycle.Read) - type?: string; - - /** - * Quota request details. - */ - #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - properties?: QuotaRequestOneResourceProperties; -} - -/** - * Quota request. - */ -model QuotaRequestOneResourceProperties { - /** - * Quota request status. - */ - @visibility(Lifecycle.Read) - provisioningState?: QuotaRequestState; - - /** - * User-friendly status message. - */ - @visibility(Lifecycle.Read) - message?: string; - - /** - * Quota request submission time. The date conforms to the following ISO 8601 standard format: yyyy-MM-ddTHH:mm:ssZ. - */ - @visibility(Lifecycle.Read) - requestSubmitTime?: utcDateTime; - - /** - * Resource quota limit properties. - */ - limit?: LimitObject; - - /** - * Usage information for the current resource. - */ - @visibility(Lifecycle.Read) - currentValue?: int32; - - /** - * The quota limit 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. - */ - unit?: string; - - /** - * Resource name provided by the resource provider. Use this property name when requesting quota. - */ - name?: ResourceName; - - /** - * The name of the resource type. Optional field. - */ - resourceType?: string; - - /** - * The time period over which the quota usage values are summarized. For example: - * *P1D (per one day) - * *PT1M (per one minute) - * *PT1S (per one second). - * This parameter is optional because, for some resources like compute, the period is irrelevant. - */ - @visibility(Lifecycle.Read) - quotaPeriod?: string; - - /** - * States if quota can be requested for this resource. - */ - @visibility(Lifecycle.Read) - isQuotaApplicable?: boolean; - - /** - * Error details of the quota request. - */ - error?: ServiceErrorDetail; - - /** - * Additional properties for the specific resource provider. - */ - #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-duplicate-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - properties?: unknown; -} - -/** - * Quota request response. - */ -model QuotaRequestSubmitResponse { - /** - * Quota request ID. - */ - @visibility(Lifecycle.Read) - id?: string; - - /** - * Quota request name. - */ - @visibility(Lifecycle.Read) - name?: string; - - /** - * Quota request details. - */ - properties?: QuotaRequestProperties; - - /** - * Resource type. "Microsoft.Quota/quotas". - */ - @visibility(Lifecycle.Read) - type?: string; -} - -/** - * The quota request response with the quota request ID. - */ -model QuotaRequestSubmitResponse202 { - /** - * The quota request ID. To check the request status, use the **id** value in a [Quota Request Status](https://docs.microsoft.com/en-us/rest/api/reserved-vm-instances/quotarequeststatus/get) GET operation. - */ - @visibility(Lifecycle.Read) - id?: string; - - /** - * Operation ID. - */ - @visibility(Lifecycle.Read) - name?: string; - - /** - * Resource type. - */ - @visibility(Lifecycle.Read) - type?: string; - - /** - * Quota request status. - */ - #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - properties?: QuotaRequestStatusDetails; -} - -/** - * Quota request status details. - */ -model QuotaRequestStatusDetails { - /** - * Quota request status. - */ - @visibility(Lifecycle.Read) - provisioningState?: QuotaRequestState; - - /** - * User-friendly message. - */ - @visibility(Lifecycle.Read) - message?: string; - - /** - * Resource quota limit properties. - */ - limit?: LimitObject; - - /** - * The quota limit 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. - */ - unit?: string; - - /** - * Resource name provided by the resource provider. Use this property name when requesting quota. - */ - name?: ResourceName; - - /** - * The name of the resource type. Optional field. - */ - resourceType?: string; - - /** - * The time period over which the quota usage values are summarized. For example: - * *P1D (per one day) - * *PT1M (per one minute) - * *PT1S (per one second). - * This parameter is optional because, for some resources like compute, the period is irrelevant. - */ - @visibility(Lifecycle.Read) - quotaPeriod?: string; - - /** - * Additional properties for the specific resource provider. - */ - #suppress "@azure-tools/typespec-azure-core/no-unknown" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-duplicate-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - properties?: unknown; -} - -/** - * The paginated list of connected cluster API operations. - */ -model OperationList { - /** - * The list of connected cluster API operations. - */ - @pageItems - @OpenAPI.extension("x-ms-identifiers", #["name"]) - value: OperationResponse[]; - - /** - * The link to fetch the next page of connected cluster API operations. - */ - @nextLink - nextLink?: string; -} diff --git a/specification/quota/Quota.Management/tspconfig.yaml b/specification/quota/Quota.Management/tspconfig.yaml deleted file mode 100644 index 0994ad2e3a20..000000000000 --- a/specification/quota/Quota.Management/tspconfig.yaml +++ /dev/null @@ -1,51 +0,0 @@ -parameters: - "service-dir": - default: "sdk/quota" -emit: - - "@azure-tools/typespec-autorest" -options: - "@azure-tools/typespec-autorest": - emitter-output-dir: "{project-root}/.." - azure-resource-provider-folder: "resource-manager" - output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/openapi.json" - examples-dir: "{project-root}/examples" - emit-lro-options: "all" - "@azure-tools/typespec-csharp": - flavor: azure - package-dir: "Azure.ResourceManager.Quota" - clear-output-folder: true - model-namespace: true - namespace: "{package-dir}" - enable-bicep-serialization: true - "@azure-tools/typespec-python": - package-dir: "azure-mgmt-quota" - namespace: "azure.mgmt.quota" - generate-test: true - generate-sample: true - flavor: "azure" - "@azure-tools/typespec-java": - package-dir: "azure-resourcemanager-quota" - namespace: "com.azure.resourcemanager.quota" - service-name: "Quota" # human-readable service name, whitespace allowed - flavor: azure - "@azure-tools/typespec-ts": - package-dir: "arm-quota" - flavor: azure - typespec-title-map: - QuotaClient: "AzureQuotaExtensionAPI" - experimental-extensible-enums: true - package-details: - name: "@azure/arm-quota" - "@azure-tools/typespec-go": - service-dir: "sdk/resourcemanager/quota" - package-dir: "armquota" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" - fix-const-stuttering: false - flavor: "azure" - generate-samples: true - generate-fakes: true - head-as-boolean: true - inject-spans: true -linter: - extends: - - "@azure-tools/typespec-azure-rulesets/resource-manager" diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GetOperations.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GetOperations.json index 0373b4c72ce3..e368cc253503 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GetOperations.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GetOperations.json @@ -9,151 +9,149 @@ { "name": "Microsoft.Quota/quotas/read", "display": { - "description": "Get the current Service limit or quota of the specified resource", - "operation": "Get resource Quota limit", "provider": "Microsoft.Quota", - "resource": "Resource Quota limit" + "resource": "Resource Quota limit", + "operation": "Get resource Quota limit", + "description": "Get the current Service limit or quota of the specified resource" } }, { "name": "Microsoft.Quota/quotas/write", "display": { - "description": "Creates the service limit or quota request for the specified resource", - "operation": "Creates resource Quota limit request", "provider": "Microsoft.Quota", - "resource": "Resource Quota limit" + "resource": "Resource Quota limit", + "operation": "Creates resource Quota limit request", + "description": "Creates the service limit or quota request for the specified resource" } }, { "name": "Microsoft.Quota/quotaRequests/read", "display": { - "description": "Get any service limit request for the specified resource", - "operation": "Get Quota limit request", "provider": "Microsoft.Quota", - "resource": "Resource Quota limit request" + "resource": "Resource Quota limit request", + "operation": "Get Quota limit request", + "description": "Get any service limit request for the specified resource" } }, { "name": "Microsoft.Quota/usages/read", "display": { - "description": "Get the usages for resource providers", - "operation": "Get the usages for providers", "provider": "Microsoft.Quota", - "resource": "usages information" + "resource": "usages information", + "operation": "Get the usages for providers", + "description": "Get the usages for resource providers" } }, { "name": "Microsoft.Quota/operations/read", "display": { - "description": "Get the Operations supported by Microsoft.Quota", - "operation": "Get the Operations supported by Microsoft.Quota", "provider": "Microsoft.Quota", - "resource": "Read Operation" + "resource": "Read Operation", + "operation": "Get the Operations supported by Microsoft.Quota", + "description": "Get the Operations supported by Microsoft.Quota" } }, { "name": "Microsoft.Quota/register/action", "display": { - "description": "Register the subscription with Microsoft.Quota Resource Provider", - "operation": "Register the subscription with Microsoft.Quota Resource Provider", "provider": "Microsoft.Quota", - "resource": "Subscription registration with Resource provider" + "resource": "Subscription registration with Resource provider", + "operation": "Register the subscription with Microsoft.Quota Resource Provider", + "description": "Register the subscription with Microsoft.Quota Resource Provider" } }, { "name": "Microsoft.Quota/groupQuotas/read", "display": { - "description": "Get the GroupQuota", - "operation": "Get GroupQuota resource", "provider": "Microsoft.Quota", - "resource": "GroupQuota resource" + "resource": "GroupQuota resource", + "operation": "Get GroupQuota resource", + "description": "Get the GroupQuota" } }, { "name": "Microsoft.Quota/groupQuotas/write", "display": { - "description": "Creates the GroupQuota resource", - "operation": "Creates GroupQuota resource", "provider": "Microsoft.Quota", - "resource": "GroupQuota Resource" + "resource": "GroupQuota Resource", + "operation": "Creates GroupQuota resource", + "description": "Creates the GroupQuota resource" } }, { "name": "Microsoft.Quota/groupQuotas/subscriptions/read", "display": { - "description": "Get the GroupQuota subscriptions", - "operation": "Get GroupQuota subscriptions", "provider": "Microsoft.Quota", - "resource": "Subscriptions added to GroupQuota resource" + "resource": "Subscriptions added to GroupQuota resource", + "operation": "Get GroupQuota subscriptions", + "description": "Get the GroupQuota subscriptions" } }, { "name": "Microsoft.Quota/groupQuotas/subscriptions/write", "display": { - "description": "Add Subscriptions to GroupQuota resource", - "operation": "Adds subscription to GroupQuota resource", "provider": "Creates request to add subscription to GroupQuota resource", - "resource": "Subscriptions added to GroupQuota resource" + "resource": "Subscriptions added to GroupQuota resource", + "operation": "Adds subscription to GroupQuota resource", + "description": "Add Subscriptions to GroupQuota resource" } }, { "name": "Microsoft.Quota/groupQuotas/groupQuotaLimits/read", "display": { - "description": "Get the current GroupQuota of the specified resource", - "operation": "Get GroupQuota resource Quota limit", "provider": "Microsoft.Quota", - "resource": "GroupQuota Resource Quota limit" + "resource": "GroupQuota Resource Quota limit", + "operation": "Get GroupQuota resource Quota limit", + "description": "Get the current GroupQuota of the specified resource" } }, { "name": "Microsoft.Quota/groupQuotas/groupQuotaLimits/write", "display": { - "description": "Creates the GroupQuota request for the specified resource", - "operation": "Creates GroupQuota resource Quota limit request", "provider": "Microsoft.Quota", - "resource": "GroupQuota Resource Quota limit" + "resource": "GroupQuota Resource Quota limit", + "operation": "Creates GroupQuota resource Quota limit request", + "description": "Creates the GroupQuota request for the specified resource" } }, { "name": "Microsoft.Quota/groupQuotas/groupQuotaRequests/read", "display": { - "description": "Get the GroupQuota request status for the specific request", - "operation": "Get GroupQuota request status", "provider": "Microsoft.Quota", - "resource": "GroupQuota request" + "resource": "GroupQuota request", + "operation": "Get GroupQuota request status", + "description": "Get the GroupQuota request status for the specific request" } }, { "name": "Microsoft.Quota/groupQuotas/quotaAllocations/read", "display": { - "description": "Get the current GroupQuota to Subscription Quota allocation", - "operation": "Get GroupQuota to Subscription Quota allocation", "provider": "Microsoft.Quota", - "resource": "GroupQuota to Subscription Quota allocation" + "resource": "GroupQuota to Subscription Quota allocation", + "operation": "Get GroupQuota to Subscription Quota allocation", + "description": "Get the current GroupQuota to Subscription Quota allocation" } }, { "name": "Microsoft.Quota/groupQuotas/quotaAllocations/write", "display": { - "description": "Creates the GroupQuota to subscription Quota limit request for the specified resource", - "operation": "Creates GroupQuota to subscription Quota limit request", "provider": "Microsoft.Quota", - "resource": "GroupQuota to Subscription Quota allocation" + "resource": "GroupQuota to Subscription Quota allocation", + "operation": "Creates GroupQuota to subscription Quota limit request", + "description": "Creates the GroupQuota to subscription Quota limit request for the specified resource" } }, { "name": "Microsoft.Quota/groupQuotas/quotaAllocationRequests/read", "display": { - "description": "Get the GroupQuota to Subscription Quota allocation request status for the specific request", - "operation": "Get GroupQuota to Subscription Quota allocation request status", "provider": "Microsoft.Quota", - "resource": "GroupQuota to Subscription Quota allocation request" + "resource": "GroupQuota to Subscription Quota allocation request", + "operation": "Get GroupQuota to Subscription Quota allocation request status", + "description": "Get the GroupQuota to Subscription Quota allocation request status for the specific request" } } ] } } - }, - "operationId": "QuotaOperation_List", - "title": "GetOperations" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotaLimits/ListGroupQuotaLimits-Compute.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotaLimits/ListGroupQuotaLimits-Compute.json index 572751e3c9c0..cad2f46cd93c 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotaLimits/ListGroupQuotaLimits-Compute.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotaLimits/ListGroupQuotaLimits-Compute.json @@ -1,71 +1,70 @@ { "operationId": "GroupQuotaLimits_List", "parameters": { - "$filter": "resourceName eq cores", - "api-version": "2025-07-15", + "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", "groupQuotaName": "groupquota1", + "api-version": "2025-07-15", + "resourceProviderName": "Microsoft.Compute", "location": "westus", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", - "resourceProviderName": "Microsoft.Compute" + "$filter": "resourceName eq cores" }, "responses": { "200": { "body": { + "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/groupQuotaLimits/westus", "name": "westus", "type": "Microsoft.Quota/groupQuotas/groupQuotaLimits", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/groupQuotaLimits/westus", "properties": { - "nextLink": "https://yourLinkHere.com", "provisioningState": "Succeeded", "value": [ { "properties": { + "limit": 100, + "resourceName": "standardddv4family", "name": { - "localizedValue": "standard DDv4 Family vCPUs", - "value": "standardddv4family" + "value": "standardddv4family", + "localizedValue": "standard DDv4 Family vCPUs" }, + "unit": "count", + "availableLimit": 50, "allocatedToSubscriptions": { "value": [ { - "quotaAllocated": 20, - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "quotaAllocated": 20 }, { - "quotaAllocated": 30, - "subscriptionId": "A000000-0000-0000-0000-000000000000" + "subscriptionId": "A000000-0000-0000-0000-000000000000", + "quotaAllocated": 30 } ] - }, - "availableLimit": 50, - "limit": 100, - "resourceName": "standardddv4family", - "unit": "count" + } } }, { "properties": { + "limit": 100, + "resourceName": "standardav2family", "name": { - "localizedValue": "Standard AV2 Family vCPUs", - "value": "standardav2family" + "value": "standardav2family", + "localizedValue": "Standard AV2 Family vCPUs" }, + "unit": "count", + "availableLimit": 80, "allocatedToSubscriptions": { "value": [ { - "quotaAllocated": 20, - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "quotaAllocated": 20 } ] - }, - "availableLimit": 80, - "limit": 100, - "resourceName": "standardav2family", - "unit": "count" + } } } - ] + ], + "nextLink": "https://yourLinkHere.com" } } } - }, - "title": "GroupQuotaLimits_Get_Request_ForCompute" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotaLimitsRequests/GroupQuotaLimitsRequests_Get.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotaLimitsRequests/GroupQuotaLimitsRequests_Get.json index fa328fef9d3b..b4804dd599d9 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotaLimitsRequests/GroupQuotaLimitsRequests_Get.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotaLimitsRequests/GroupQuotaLimitsRequests_Get.json @@ -1,35 +1,34 @@ { - "operationId": "GroupQuotaLimitsRequest_Get", + "operationId": "GroupQuotaLimitsRequests_Get", "parameters": { - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", - "requestId": "requestId" + "groupQuotaName": "groupquota1", + "requestId": "requestId", + "api-version": "2025-07-15" }, "responses": { "200": { "body": { - "name": "requestId", - "type": "Microsoft.Quota/groupQuotas/groupQuotaLimitsRequests", "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/groupQuotaLimitsRequests/requestId", + "type": "Microsoft.Quota/groupQuotas/groupQuotaLimitsRequests", + "name": "requestId", "properties": { - "faultCode": "ResourceNotAvailableForOffer", - "provisioningState": "Failed", - "requestSubmitTime": "2024-03-20T05:29:34.144Z", "requestedResource": { "properties": { + "limit": 100, "name": { - "localizedValue": "standard DDv4 Family vCPUs", - "value": "standardddv4family" + "value": "standardddv4family", + "localizedValue": "standard DDv4 Family vCPUs" }, - "comments": "", - "limit": 100, - "region": "westus" + "region": "westus", + "comments": "" } - } + }, + "requestSubmitTime": "2024-03-20T05:29:34.144Z", + "provisioningState": "Failed", + "faultCode": "ResourceNotAvailableForOffer" } } } - }, - "title": "GroupQuotaLimitsRequests_Get" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotaLimitsRequests/GroupQuotaLimitsRequests_List.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotaLimitsRequests/GroupQuotaLimitsRequests_List.json index dd64710132d1..b0f5457638b9 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotaLimitsRequests/GroupQuotaLimitsRequests_List.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotaLimitsRequests/GroupQuotaLimitsRequests_List.json @@ -1,63 +1,62 @@ { - "operationId": "GroupQuotaLimitsRequest_List", + "operationId": "GroupQuotaLimitsRequests_List", "parameters": { - "$filter": "location eq westus", - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", + "groupQuotaName": "groupquota1", + "resourceProviderName": "Microsoft.Compute", "resourceName": "standardav2family", - "resourceProviderName": "Microsoft.Compute" + "api-version": "2025-07-15", + "$filter": "location eq westus" }, "responses": { "200": { "body": { - "nextLink": "https://yourLinkHere.com", "value": [ { - "name": "requestId1", - "type": "Microsoft.Quota/groupQuotas/groupQuotaLimitsRequests", "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/groupQuotaLimitsRequests/requestId1", + "type": "Microsoft.Quota/groupQuotas/groupQuotaLimitsRequests", + "name": "requestId1", "properties": { - "faultCode": "ResourceNotAvailableForOffer", - "provisioningState": "Failed", - "requestSubmitTime": "2023-11-18T00:12:34.004Z", "requestedResource": { "properties": { + "limit": 100, "name": { - "localizedValue": "standard DDv4 Family vCPUs", - "value": "standardddv4family" + "value": "standardddv4family", + "localizedValue": "standard DDv4 Family vCPUs" }, - "comments": "Contoso requires more quota.", - "limit": 100, - "region": "westus" + "region": "westus", + "comments": "Contoso requires more quota." } - } + }, + "requestSubmitTime": "2023-11-18T00:12:34.004Z", + "provisioningState": "Failed", + "faultCode": "ResourceNotAvailableForOffer" } }, { - "name": "requestId2", - "type": "Microsoft.Quota/groupQuotas/groupQuotaLimitsRequests", "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/groupQuotaLimitsRequests/requestId2", + "type": "Microsoft.Quota/groupQuotas/groupQuotaLimitsRequests", + "name": "requestId2", "properties": { - "faultCode": "", - "provisioningState": "Succeeded", - "requestSubmitTime": "2023-11-17T00:57:43.410Z", "requestedResource": { "properties": { + "region": "westus", + "comments": "Contoso requires more quota.", "name": { - "localizedValue": "standardav2family", - "value": "standardav2family" + "value": "standardav2family", + "localizedValue": "standardav2family" }, - "comments": "Contoso requires more quota.", - "limit": 150, - "region": "westus" + "limit": 150 } - } + }, + "requestSubmitTime": "2023-11-17T00:57:43.410Z", + "provisioningState": "Succeeded", + "faultCode": "" } } - ] + ], + "nextLink": "https://yourLinkHere.com" } } - }, - "title": "GroupQuotaLimitsRequest_List" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotaLimitsRequests/PatchGroupQuotaLimitsRequests-Compute.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotaLimitsRequests/PatchGroupQuotaLimitsRequests-Compute.json index 5a772c2bc160..07c1549d07fc 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotaLimitsRequests/PatchGroupQuotaLimitsRequests-Compute.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotaLimitsRequests/PatchGroupQuotaLimitsRequests-Compute.json @@ -1,98 +1,97 @@ { - "operationId": "GroupQuotaLimitsRequest_Update", + "operationId": "GroupQuotaLimitRequests_Update", "parameters": { - "api-version": "2025-07-15", + "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", "groupQuotaName": "groupquota1", + "resourceProviderName": "Microsoft.Compute", + "location": "westus", + "api-version": "2025-07-15", "groupQuotaRequest": { "properties": { "value": [ { "properties": { - "comment": "Contoso requires more quota.", "limit": 110, - "resourceName": "standardddv4family" + "resourceName": "standardddv4family", + "comment": "Contoso requires more quota." } }, { "properties": { - "comment": "Contoso requires more quota.", "limit": 110, - "resourceName": "standardav2family" + "resourceName": "standardav2family", + "comment": "Contoso requires more quota." } } ] } - }, - "location": "westus", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", - "resourceProviderName": "Microsoft.Compute" + } }, "responses": { "200": { "body": { + "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/groupQuotaLimits/westus", "name": "westus", "type": "Microsoft.Quota/groupQuotas/groupQuotaLimits", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/groupQuotaLimits/westus", "properties": { - "nextLink": "https://yourLinkHere.com", "provisioningState": "Succeeded", "value": [ { "properties": { + "limit": 100, + "resourceName": "standardddv4family", "name": { - "localizedValue": "standard DDv4 Family vCPUs", - "value": "standardddv4family" + "value": "standardddv4family", + "localizedValue": "standard DDv4 Family vCPUs" }, + "unit": "count", + "availableLimit": 50, "allocatedToSubscriptions": { "value": [ { - "quotaAllocated": 20, - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "quotaAllocated": 20 }, { - "quotaAllocated": 30, - "subscriptionId": "A000000-0000-0000-0000-000000000000" + "subscriptionId": "A000000-0000-0000-0000-000000000000", + "quotaAllocated": 30 } ] - }, - "availableLimit": 50, - "limit": 100, - "resourceName": "standardddv4family", - "unit": "count" + } } }, { "properties": { + "limit": 100, + "resourceName": "standardav2family", "name": { - "localizedValue": "Standard AV2 Family vCPUs", - "value": "standardav2family" + "value": "standardav2family", + "localizedValue": "Standard AV2 Family vCPUs" }, + "unit": "count", + "availableLimit": 80, "allocatedToSubscriptions": { "value": [ { - "quotaAllocated": 20, - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "quotaAllocated": 20 } ] - }, - "availableLimit": 80, - "limit": 100, - "resourceName": "standardav2family", - "unit": "count" + } } } - ] + ], + "nextLink": "https://yourLinkHere.com" } } }, "202": { "headers": { + "location": "https://contoso.com/operationstatus", "Azure-AsyncOperation": "https://contoso.com/operationstatus", "Operation-Location": "https://contoso.com/operationstatus", - "location": "https://contoso.com/operationstatus", "retry-after": "30" } } - }, - "title": "GroupQuotaLimitsRequests_Update" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotaUsages/GetGroupQuotaUsages.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotaUsages/GetGroupQuotaUsages.json index ad70b8a0802a..70d52df64735 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotaUsages/GetGroupQuotaUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotaUsages/GetGroupQuotaUsages.json @@ -1,48 +1,47 @@ { "operationId": "GroupQuotaUsages_List", "parameters": { - "api-version": "2025-07-15", + "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", "groupQuotaName": "groupquota1", + "resourceProviderName": "Microsoft.Compute", "location": "westus", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", - "resourceProviderName": "Microsoft.Compute" + "api-version": "2025-07-15" }, "responses": { "200": { "body": { - "nextLink": "https://yourLinkHere.com", "value": [ { - "name": "standardddv4family", - "type": "Microsoft.Quota/groupQuotas/locationSUsages", "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/locationSUsages/eastus/resources/standardddv4family", + "type": "Microsoft.Quota/groupQuotas/locationSUsages", + "name": "standardddv4family", "properties": { - "name": { - "localizedValue": "standard DDv4 Family vCPUs", - "value": "standardddv4family" - }, "limit": 100, + "usages": 30, "unit": "count", - "usages": 30 + "name": { + "value": "standardddv4family", + "localizedValue": "standard DDv4 Family vCPUs" + } } }, { - "name": "standardav2family", - "type": "Microsoft.Quota/groupQuotas/locationSUsages", "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/locationSUsages/eastus/resources/standardav2family", + "type": "Microsoft.Quota/groupQuotas/locationSUsages", + "name": "standardav2family", "properties": { - "name": { - "localizedValue": "standard Av2 Family vCPUs", - "value": "standardav2family" - }, "limit": 150, + "usages": 70, "unit": "count", - "usages": 70 + "name": { + "value": "standardav2family", + "localizedValue": "standard Av2 Family vCPUs" + } } } - ] + ], + "nextLink": "https://yourLinkHere.com" } } - }, - "title": "GroupQuotasUsages_List" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotas/DeleteGroupQuotas.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotas/DeleteGroupQuotas.json index 2e46b90a6615..9b61f5787f39 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotas/DeleteGroupQuotas.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotas/DeleteGroupQuotas.json @@ -1,20 +1,19 @@ { "operationId": "GroupQuotas_Delete", "parameters": { - "api-version": "2025-07-15", + "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", "groupQuotaName": "groupquota1", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09" + "api-version": "2025-07-15" }, "responses": { + "204": {}, "202": { "headers": { + "location": "https://contoso.com/operationstatus", "Azure-AsyncOperation": "https://contoso.com/operationstatus", "Operation-Location": "https://contoso.com/operationstatus", - "location": "https://contoso.com/operationstatus", "retry-after": "30" } - }, - "204": {} - }, - "title": "GroupQuotas_Delete_Request_ForCompute" + } + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotas/GetGroupQuotas.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotas/GetGroupQuotas.json index 91eea1d66be8..674021012330 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotas/GetGroupQuotas.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotas/GetGroupQuotas.json @@ -1,22 +1,21 @@ { - "operationId": "GroupQuotas_Get", + "operationId": " GroupQuotas_Get", "parameters": { - "api-version": "2025-07-15", + "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", "groupQuotaName": "groupquota1", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09" + "api-version": "2025-07-15" }, "responses": { "200": { "body": { - "name": "groupquota1", - "type": "Microsoft.Quota/groupQuotas", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1", "properties": { "displayName": "GroupQuota1", "provisioningState": "Accepted" - } + }, + "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1", + "type": "Microsoft.Quota/groupQuotas", + "name": "groupquota1" } } - }, - "title": "GroupQuotas_Get_Request_ForCompute" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotas/GetGroupQuotasList.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotas/GetGroupQuotasList.json index 0912174a1633..aba6f88efa75 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotas/GetGroupQuotasList.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotas/GetGroupQuotasList.json @@ -1,26 +1,25 @@ { "operationId": "GroupQuotas_List", "parameters": { - "api-version": "2025-07-15", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09" + "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", + "api-version": "2025-07-15" }, "responses": { "200": { "body": { - "nextLink": "https://yourLinkHere.com", "value": [ { - "name": "groupquota1", - "type": "Microsoft.Quota/groupQuotas", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1", "properties": { "displayName": "GroupQuota1", "provisioningState": "Accepted" - } + }, + "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1", + "type": "Microsoft.Quota/groupQuotas", + "name": "groupquota1" } - ] + ], + "nextLink": "https://yourLinkHere.com" } } - }, - "title": "GroupQuotas_List_Request_ForCompute" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotas/PatchGroupQuotas.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotas/PatchGroupQuotas.json index 8c8ead24256d..30dc84122cad 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotas/PatchGroupQuotas.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotas/PatchGroupQuotas.json @@ -1,35 +1,34 @@ { "operationId": "GroupQuotas_Update", "parameters": { + "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", + "groupQuotaName": "groupquota1", + "api-version": "2025-07-15", "GroupQuotasPatchRequestBody": { "properties": { "displayName": "UpdatedGroupQuota1" } - }, - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09" + } }, "responses": { "200": { "body": { - "name": "groupquota1", - "type": "Microsoft.Quota/groupQuotas", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1", "properties": { "displayName": "UpdatedGroupQuota1", "provisioningState": "Accepted" - } + }, + "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1", + "type": "Microsoft.Quota/groupQuotas", + "name": "groupquota1" } }, "202": { "headers": { + "location": "https://contoso.com/operationstatus", "Azure-AsyncOperation": "https://contoso.com/operationstatus", "Operation-Location": "https://contoso.com/operationstatus", - "location": "https://contoso.com/operationstatus", "retry-after": "30" } } - }, - "title": "GroupQuotas_Patch_Request_ForCompute" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotas/PutGroupQuotas.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotas/PutGroupQuotas.json index 439ef07ec2c8..2e4c202f5d2f 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotas/PutGroupQuotas.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotas/PutGroupQuotas.json @@ -1,21 +1,21 @@ { "operationId": "GroupQuotas_CreateOrUpdate", "parameters": { + "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", + "groupQuotaName": "groupquota1", + "api-version": "2025-07-15", "GroupQuotaPutRequestBody": { "properties": { "displayName": "GroupQuota1" } - }, - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09" + } }, "responses": { "200": { "body": { - "name": "groupquota1", - "type": "Microsoft.Quota/groupQuotas", "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1", + "type": "Microsoft.Quota/groupQuotas", + "name": "groupquota1", "properties": { "displayName": "GroupQuota1", "provisioningState": "Accepted" @@ -23,21 +23,20 @@ } }, "201": { + "headers": { + "location": "https://contoso.com/operationstatus", + "Azure-AsyncOperation": "https://contoso.com/operationstatus", + "Operation-Location": "https://contoso.com/operationstatus", + "retry-after": "30" + }, "body": { - "name": "groupquota1", - "type": "Microsoft.Quota/groupQuotas", "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1", + "type": "Microsoft.Quota/groupQuotas", + "name": "groupquota1", "properties": { "provisioningState": "Accepted" } - }, - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus", - "Operation-Location": "https://contoso.com/operationstatus", - "location": "https://contoso.com/operationstatus", - "retry-after": "30" } } - }, - "title": "GroupQuotas_Put_Request_ForCompute" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasEnforcement/GetGroupQuotaEnforcement.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasEnforcement/GetGroupQuotaEnforcement.json index 9a39d988cb0e..14fff1a233e2 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasEnforcement/GetGroupQuotaEnforcement.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasEnforcement/GetGroupQuotaEnforcement.json @@ -1,24 +1,23 @@ { "operationId": "GroupQuotaLocationSettings_Get", "parameters": { - "api-version": "2025-07-15", + "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", "groupQuotaName": "groupquota1", + "resourceProviderName": "Microsoft.Compute", "location": "eastus", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", - "resourceProviderName": "Microsoft.Compute" + "api-version": "2025-07-15" }, "responses": { "200": { "body": { - "name": "eastus", - "type": "Microsoft.Quota/groupQuotas/locationSettings", "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/locationSettings/eastus", + "type": "Microsoft.Quota/groupQuotas/locationSettings", + "name": "eastus", "properties": { "enforcementEnabled": "Enabled", "provisioningState": "Succeeded" } } } - }, - "title": "GroupQuotasEnforcement_Get" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasEnforcement/ListGroupQuotaEnforcement.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasEnforcement/ListGroupQuotaEnforcement.json index b0f3b5e15b54..6df166ab88c9 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasEnforcement/ListGroupQuotaEnforcement.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasEnforcement/ListGroupQuotaEnforcement.json @@ -1,56 +1,55 @@ { "operationId": "GroupQuotaLocationSettings_List", "parameters": { - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", - "resourceProviderName": "Microsoft.Compute" + "groupQuotaName": "groupquota1", + "resourceProviderName": "Microsoft.Compute", + "api-version": "2025-07-15" }, "responses": { "200": { "body": { - "nextLink": "https://yourLinkHere.com", "value": [ { - "name": "eastus", - "type": "Microsoft.Quota/groupQuotas/locationSettings", "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/locationSettings/eastus", + "type": "Microsoft.Quota/groupQuotas/locationSettings", + "name": "eastus", "properties": { "enforcementEnabled": "Enabled", "provisioningState": "Succeeded" } }, { - "name": "westus", - "type": "Microsoft.Quota/groupQuotas/locationSettings", "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/locationSettings/westus", + "type": "Microsoft.Quota/groupQuotas/locationSettings", + "name": "westus", "properties": { "enforcementEnabled": "Enabled", "provisioningState": "Succeeded" } }, { - "name": "westus2", - "type": "Microsoft.Quota/groupQuotas/locationSettings", "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/locationSettings/westus2", + "type": "Microsoft.Quota/groupQuotas/locationSettings", + "name": "westus2", "properties": { "enforcementEnabled": "Enabled", "provisioningState": "InProgress" } }, { - "name": "eastasia", - "type": "Microsoft.Quota/groupQuotas/groupQlocationSettingsuotasEnforcement", "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/locationSettings/eastasia", + "type": "Microsoft.Quota/groupQuotas/groupQlocationSettingsuotasEnforcement", + "name": "eastasia", "properties": { "enforcementEnabled": "Enabled", - "faultCode": "RegionNotSupported", - "provisioningState": "Failed" + "provisioningState": "Failed", + "faultCode": "RegionNotSupported" } } - ] + ], + "nextLink": "https://yourLinkHere.com" } } - }, - "title": "GroupQuotaEnforcement_List" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasEnforcement/PatchGroupQuotaEnforcement.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasEnforcement/PatchGroupQuotaEnforcement.json index 190adb24701b..bee3e5b8ebd7 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasEnforcement/PatchGroupQuotaEnforcement.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasEnforcement/PatchGroupQuotaEnforcement.json @@ -1,23 +1,23 @@ { "operationId": "GroupQuotaLocationSettings_Update", "parameters": { + "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", + "groupQuotaName": "groupquota1", + "resourceProviderName": "Microsoft.Compute", + "location": "eastus", + "api-version": "2025-07-15", "LocationSettings": { "properties": { "enforcementEnabled": "Enabled" } - }, - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", - "location": "eastus", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", - "resourceProviderName": "Microsoft.Compute" + } }, "responses": { "200": { "body": { - "name": "eastus", - "type": "Microsoft.Quota/groupQuotas/locationSettings", "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/locationSettings/eastus", + "type": "Microsoft.Quota/groupQuotas/locationSettings", + "name": "eastus", "properties": { "enforcementEnabled": "Enabled", "provisioningState": "Succeeded" @@ -26,12 +26,11 @@ }, "202": { "headers": { + "location": "https://contoso.com/operationstatus", "Azure-AsyncOperation": "https://contoso.com/operationstatus", "Operation-Location": "https://contoso.com/operationstatus", - "location": "https://contoso.com/operationstatus", "retry-after": "30" } } - }, - "title": "GroupQuotaLocationSettings_Patch" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasEnforcement/PutGroupQuotaEnforcement.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasEnforcement/PutGroupQuotaEnforcement.json index d418f430888e..dedc8d54eeac 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasEnforcement/PutGroupQuotaEnforcement.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasEnforcement/PutGroupQuotaEnforcement.json @@ -1,23 +1,23 @@ { "operationId": "GroupQuotaLocationSettings_CreateOrUpdate", "parameters": { + "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", + "groupQuotaName": "groupquota1", + "resourceProviderName": "Microsoft.Compute", + "location": "eastus", + "api-version": "2025-07-15", "LocationSettings": { "properties": { "enforcementEnabled": "Enabled" } - }, - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", - "location": "eastus", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", - "resourceProviderName": "Microsoft.Compute" + } }, "responses": { "200": { "body": { - "name": "eastus", - "type": "Microsoft.Quota/groupQuotas/locationSettings", "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/locationSettings/eastus", + "type": "Microsoft.Quota/groupQuotas/locationSettings", + "name": "eastus", "properties": { "enforcementEnabled": "Enabled", "provisioningState": "Succeeded" @@ -25,21 +25,20 @@ } }, "201": { + "headers": { + "location": "https://contoso.com/operationstatus", + "Azure-AsyncOperation": "https://contoso.com/operationstatus", + "Operation-Location": "https://contoso.com/operationstatus", + "retry-after": "30" + }, "body": { - "name": "eastus", - "type": "Microsoft.Quota/groupQuotas/locationSettings", "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/locationSettings/eastus", + "type": "Microsoft.Quota/groupQuotas/locationSettings", + "name": "eastus", "properties": { "provisioningState": "InProgress" } - }, - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus", - "Operation-Location": "https://contoso.com/operationstatus", - "location": "https://contoso.com/operationstatus", - "retry-after": "30" } } - }, - "title": "GroupQuotaLocationSettings_CreateOrUpdate" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasEnforcement/PutGroupQuotaEnforcementFailed.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasEnforcement/PutGroupQuotaEnforcementFailed.json index b4b74af12f36..aeaa4c337a2d 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasEnforcement/PutGroupQuotaEnforcementFailed.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasEnforcement/PutGroupQuotaEnforcementFailed.json @@ -1,46 +1,45 @@ { - "operationId": "GroupQuotaLocationSettings_CreateOrUpdate", + "operationId": "GroupQuotaLocationSettings_CreateOrUpdate_Failed", "parameters": { + "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", + "groupQuotaName": "groupquota1", + "resourceProviderName": "Microsoft.Compute", + "location": "eastus", + "api-version": "2025-07-15", "LocationSettings": { "properties": { "enforcementEnabled": "Enabled" } - }, - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", - "location": "eastus", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", - "resourceProviderName": "Microsoft.Compute" + } }, "responses": { "200": { "body": { - "name": "eastus", - "type": "Microsoft.Quota/groupQuotas/locationSettings", "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/locationSettings/eastus", + "type": "Microsoft.Quota/groupQuotas/locationSettings", + "name": "eastus", "properties": { "enforcementEnabled": "Enabled", - "faultCode": "RegionNotSupported", - "provisioningState": "Failed" + "provisioningState": "Failed", + "faultCode": "RegionNotSupported" } } }, "201": { + "headers": { + "location": "https://contoso.com/operationstatus", + "Azure-AsyncOperation": "https://contoso.com/operationstatus", + "Operation-Location": "https://contoso.com/operationstatus", + "retry-after": "30" + }, "body": { - "name": "eastus", - "type": "Microsoft.Quota/groupQuotas/locationSettings", "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/locationSettings/eastus", + "type": "Microsoft.Quota/groupQuotas/locationSettings", + "name": "eastus", "properties": { "provisioningState": "InProgress" } - }, - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus", - "Operation-Location": "https://contoso.com/operationstatus", - "location": "https://contoso.com/operationstatus", - "retry-after": "30" } } - }, - "title": "GroupQuotaLocationSettings_CreateOrUpdate_Failed" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasSubscriptions/DeleteGroupQuotaSubscriptions.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasSubscriptions/DeleteGroupQuotaSubscriptions.json index 6f9c8303e2d1..0b6a79d8cc3f 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasSubscriptions/DeleteGroupQuotaSubscriptions.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasSubscriptions/DeleteGroupQuotaSubscriptions.json @@ -1,21 +1,20 @@ { "operationId": "GroupQuotaSubscriptions_Delete", "parameters": { - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", + "groupQuotaName": "groupquota1", + "api-version": "2025-07-15", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { + "204": {}, "202": { "headers": { + "location": "https://contoso.com/operationstatus", "Azure-AsyncOperation": "https://contoso.com/operationstatus", "Operation-Location": "https://contoso.com/operationstatus", - "location": "https://contoso.com/operationstatus", "retry-after": "30" } - }, - "204": {} - }, - "title": "GroupQuotaSubscriptions_Delete_Subscriptions" + } + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasSubscriptions/GetGroupQuotaSubscriptions.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasSubscriptions/GetGroupQuotaSubscriptions.json index 91dbc495cec8..a14e7b61a15b 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasSubscriptions/GetGroupQuotaSubscriptions.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasSubscriptions/GetGroupQuotaSubscriptions.json @@ -1,23 +1,22 @@ { - "operationId": "GroupQuotaSubscriptions_Get", + "operationId": "GroupQuotaSubscription_Get", "parameters": { - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "groupQuotaName": "groupquota1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2025-07-15" }, "responses": { "200": { "body": { - "name": "00000000-0000-0000-0000-000000000000", - "type": "Microsoft.Quota/groupQuotas/subscriptions", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/subscriptions/00000000-0000-0000-0000-000000000000", "properties": { - "provisioningState": "Succeeded", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - } + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded" + }, + "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/subscriptions/00000000-0000-0000-0000-000000000000", + "type": "Microsoft.Quota/groupQuotas/subscriptions", + "name": "00000000-0000-0000-0000-000000000000" } } - }, - "title": "GroupQuotaSubscriptions_Get_Subscriptions" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasSubscriptions/ListGroupQuotaSubscriptions.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasSubscriptions/ListGroupQuotaSubscriptions.json index 462ce3085307..30f44c8435ca 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasSubscriptions/ListGroupQuotaSubscriptions.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasSubscriptions/ListGroupQuotaSubscriptions.json @@ -1,36 +1,35 @@ { - "operationId": "GroupQuotaSubscriptions_List", + "operationId": "GroupQuotaSubscription_List", "parameters": { - "api-version": "2025-07-15", + "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", "groupQuotaName": "groupquota1", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09" + "api-version": "2025-07-15" }, "responses": { "200": { "body": { - "nextLink": "https://yourLinkHere.com", "value": [ { - "name": "00000000-0000-0000-0000-000000000000", - "type": "Microsoft.Quota/groupQuotas/subscriptions", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/subscriptions/00000000-0000-0000-0000-000000000000", "properties": { - "provisioningState": "Succeeded", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - } + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded" + }, + "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/subscriptions/00000000-0000-0000-0000-000000000000", + "type": "Microsoft.Quota/groupQuotas/subscriptions", + "name": "00000000-0000-0000-0000-000000000000" }, { - "name": "11111111-1111-1111-1111-111111111111", - "type": "Microsoft.Quota/groupQuotas/subscriptions", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/subscriptions/11111111-1111-1111-1111-111111111111", "properties": { - "provisioningState": "Succeeded", - "subscriptionId": "11111111-1111-1111-1111-111111111111" - } + "subscriptionId": "11111111-1111-1111-1111-111111111111", + "provisioningState": "Succeeded" + }, + "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/subscriptions/11111111-1111-1111-1111-111111111111", + "type": "Microsoft.Quota/groupQuotas/subscriptions", + "name": "11111111-1111-1111-1111-111111111111" } - ] + ], + "nextLink": "https://yourLinkHere.com" } } - }, - "title": "GroupQuotaSubscriptions_List_Subscriptions" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasSubscriptions/PatchGroupQuotasSubscription.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasSubscriptions/PatchGroupQuotasSubscription.json index c18e4f88f638..09c1f1f4e82d 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasSubscriptions/PatchGroupQuotasSubscription.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasSubscriptions/PatchGroupQuotasSubscription.json @@ -1,34 +1,33 @@ { "operationId": "GroupQuotaSubscriptions_Update", "parameters": { - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", + "groupQuotaName": "groupquota1", + "api-version": "2025-07-15", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { - "body": { - "name": "00000000-0000-0000-0000-000000000000", - "type": "Microsoft.Quota/groupQuotas/subscriptions", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/subscriptions/00000000-0000-0000-0000-000000000000", - "properties": { - "provisioningState": "Accepted", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - } - }, "headers": { "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Accepted" + }, + "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/subscriptions/00000000-0000-0000-0000-000000000000", + "type": "Microsoft.Quota/groupQuotas/subscriptions", + "name": "00000000-0000-0000-0000-000000000000" } }, "202": { "headers": { + "location": "https://contoso.com/operationstatus", "Azure-AsyncOperation": "https://contoso.com/operationstatus", "Operation-Location": "https://contoso.com/operationstatus", - "location": "https://contoso.com/operationstatus", "retry-after": "30" } } - }, - "title": "GroupQuotaSubscriptions_Patch_Subscriptions" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasSubscriptions/PutGroupQuotasSubscription.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasSubscriptions/PutGroupQuotasSubscription.json index 7a95ff88c1fb..19f7374e27a5 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasSubscriptions/PutGroupQuotasSubscription.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/GroupQuotasSubscriptions/PutGroupQuotasSubscription.json @@ -1,39 +1,38 @@ { "operationId": "GroupQuotaSubscriptions_CreateOrUpdate", "parameters": { - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", + "groupQuotaName": "groupquota1", + "api-version": "2025-07-15", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "name": "00000000-0000-0000-0000-000000000000", - "type": "Microsoft.Quota/groupQuotas/subscriptions", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/subscriptions/00000000-0000-0000-0000-000000000000", "properties": { - "provisioningState": "Accepted", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - } + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Accepted" + }, + "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/subscriptions/00000000-0000-0000-0000-000000000000", + "type": "Microsoft.Quota/groupQuotas/subscriptions", + "name": "00000000-0000-0000-0000-000000000000" } }, "201": { + "headers": { + "location": "https://contoso.com/operationstatus", + "Azure-AsyncOperation": "https://contoso.com/operationstatus", + "Operation-Location": "https://contoso.com/operationstatus", + "retry-after": "30" + }, "body": { - "name": "00000000-0000-0000-0000-000000000000", - "type": "Microsoft.Quota/groupQuotas/subscriptions", "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/subscriptions/00000000-0000-0000-0000-000000000000", + "type": "Microsoft.Quota/groupQuotas/subscriptions", + "name": "00000000-0000-0000-0000-000000000000", "properties": { "provisioningState": "Accepted" } - }, - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus", - "Operation-Location": "https://contoso.com/operationstatus", - "location": "https://contoso.com/operationstatus", - "retry-after": "30" } } - }, - "title": "GroupQuotaSubscriptions_Put_Subscriptions" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/SubscriptionQuotaAllocation/SubscriptionQuotaAllocation_List-Compute.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/SubscriptionQuotaAllocation/SubscriptionQuotaAllocation_List-Compute.json index 3ce23d906c3c..72756b4659cf 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/SubscriptionQuotaAllocation/SubscriptionQuotaAllocation_List-Compute.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/SubscriptionQuotaAllocation/SubscriptionQuotaAllocation_List-Compute.json @@ -1,50 +1,49 @@ { "operationId": "GroupQuotaSubscriptionAllocation_List", "parameters": { - "$filter": "resourceName eq cores", - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", - "location": "westus", "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "groupQuotaName": "groupquota1", "resourceProviderName": "Microsoft.Compute", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "location": "westus", + "api-version": "2025-07-15", + "$filter": "resourceName eq cores" }, "responses": { "200": { "body": { + "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/quotaAllocations/westus", "name": "westus", "type": "Microsoft.Quota/groupQuotas/quotaAllocations", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/quotaAllocations/westus", "properties": { - "nextLink": "https://yourLinkHere.com", "provisioningState": "Succeeded", "value": [ { "properties": { - "name": { - "localizedValue": "standard DDv4 Family vCPUs", - "value": "standardddv4family" - }, - "limit": 25, "resourceName": "standardddv4family", - "shareableQuota": 15 + "limit": 25, + "shareableQuota": 15, + "name": { + "value": "standardddv4family", + "localizedValue": "standard DDv4 Family vCPUs" + } } }, { "properties": { - "name": { - "localizedValue": "standard Av2 Family vCPUs", - "value": "standardav2family" - }, "limit": 30, "resourceName": "standardav2family", - "shareableQuota": 0 + "shareableQuota": 0, + "name": { + "value": "standardav2family", + "localizedValue": "standard Av2 Family vCPUs" + } } } - ] + ], + "nextLink": "https://yourLinkHere.com" } } } - }, - "title": "SubscriptionQuotaAllocation_List_ForCompute" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/SubscriptionQuotaAllocationRequests/PatchSubscriptionQuotaAllocationRequest-Compute.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/SubscriptionQuotaAllocationRequests/PatchSubscriptionQuotaAllocationRequest-Compute.json index d5f4a5f87ed9..9f6d36efc2ee 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/SubscriptionQuotaAllocationRequests/PatchSubscriptionQuotaAllocationRequest-Compute.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/SubscriptionQuotaAllocationRequests/PatchSubscriptionQuotaAllocationRequest-Compute.json @@ -1,6 +1,12 @@ { "operationId": "GroupQuotaSubscriptionAllocationRequest_Update", "parameters": { + "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "groupQuotaName": "groupquota1", + "resourceProviderName": "Microsoft.Compute", + "location": "westus", + "api-version": "2025-07-15", "allocateQuotaRequest": { "properties": { "value": [ @@ -18,58 +24,51 @@ } ] } - }, - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", - "location": "westus", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", - "resourceProviderName": "Microsoft.Compute", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { + "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/quotaAllocations/westus", "name": "westus", "type": "Microsoft.Quota/groupQuotas/quotaAllocations", - "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/quotaAllocations/westus", "properties": { - "nextLink": "https://yourLinkHere.com", "provisioningState": "Succeeded", "value": [ { "properties": { - "name": { - "localizedValue": "standard DDv4 Family vCPUs", - "value": "standardddv4family" - }, - "limit": 25, "resourceName": "standardddv4family", - "shareableQuota": 15 + "limit": 25, + "shareableQuota": 15, + "name": { + "value": "standardddv4family", + "localizedValue": "standard DDv4 Family vCPUs" + } } }, { "properties": { - "name": { - "localizedValue": "standard Av2 Family vCPUs", - "value": "standardav2family" - }, "limit": 30, "resourceName": "standardav2family", - "shareableQuota": 0 + "shareableQuota": 0, + "name": { + "value": "standardav2family", + "localizedValue": "standard Av2 Family vCPUs" + } } } - ] + ], + "nextLink": "https://yourLinkHere.com" } } }, "202": { "headers": { + "location": "https://contoso.com/operationstatus", "Azure-AsyncOperation": "https://contoso.com/operationstatus", "Operation-Location": "https://contoso.com/operationstatus", - "location": "https://contoso.com/operationstatus", "retry-after": "30" } } - }, - "title": "SubscriptionQuotaAllocation_Patch_Request_ForCompute" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/SubscriptionQuotaAllocationRequests/SubscriptionQuotaAllocationRequests_Get-Compute.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/SubscriptionQuotaAllocationRequests/SubscriptionQuotaAllocationRequests_Get-Compute.json index 15009e433d71..8d269979f986 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/SubscriptionQuotaAllocationRequests/SubscriptionQuotaAllocationRequests_Get-Compute.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/SubscriptionQuotaAllocationRequests/SubscriptionQuotaAllocationRequests_Get-Compute.json @@ -1,37 +1,36 @@ { - "operationId": "GroupQuotaSubscriptionAllocationRequest_Get", + "operationId": "GroupQuotaSubscriptionAllocationRequests_Get", "parameters": { - "$filter": "provider eq Microsoft.Compute & location eq westus", - "allocationId": "AE000000-0000-0000-0000-00000000000A", - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "groupQuotaName": "groupquota1", "resourceProviderName": "Microsoft.Compute", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "allocationId": "AE000000-0000-0000-0000-00000000000A", + "api-version": "2025-07-15", + "$filter": "provider eq Microsoft.Compute & location eq westus" }, "responses": { "200": { "body": { - "name": "AE000000-0000-0000-0000-00000000000A", - "type": "Microsoft.Quota/groupQuotas/quotaAllocationRequests", "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Quota/groupQuotas/groupquota1/quotaAllocationRequests/AE000000-0000-0000-0000-00000000000A", + "type": "Microsoft.Quota/groupQuotas/quotaAllocationRequests", + "name": "AE000000-0000-0000-0000-00000000000A", "properties": { - "faultCode": "ContactSupport", - "provisioningState": "Failed", - "requestSubmitTime": "2023-11-17T01:06:02.191Z", "requestedResource": { "properties": { - "name": { - "localizedValue": "standard Av2 Family vCPUs", - "value": "standardav2family" - }, + "region": "westus", "limit": 75, - "region": "westus" + "name": { + "value": "standardav2family", + "localizedValue": "standard Av2 Family vCPUs" + } } - } + }, + "requestSubmitTime": "2023-11-17T01:06:02.191Z", + "provisioningState": "Failed", + "faultCode": "ContactSupport" } } } - }, - "title": "SubscriptionQuotaAllocationRequests_Get_Request_ForCompute" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/SubscriptionQuotaAllocationRequests/SubscriptionQuotaAllocationRequests_List-Compute.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/SubscriptionQuotaAllocationRequests/SubscriptionQuotaAllocationRequests_List-Compute.json index 96c0c351106e..ee77c633f2ec 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/SubscriptionQuotaAllocationRequests/SubscriptionQuotaAllocationRequests_List-Compute.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/SubscriptionQuotaAllocationRequests/SubscriptionQuotaAllocationRequests_List-Compute.json @@ -1,41 +1,40 @@ { - "operationId": "GroupQuotaSubscriptionAllocationRequest_List", + "operationId": "GroupQuotaSubscriptionAllocationRequests_List", "parameters": { - "$filter": "location eq westus", - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "groupQuotaName": "groupquota1", "resourceProviderName": "Microsoft.Compute", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "api-version": "2025-07-15", + "$filter": "location eq westus" }, "responses": { "200": { "body": { - "nextLink": "https://yourLinkHere.com", "value": [ { - "name": "AE000000-0000-0000-0000-00000000000A", - "type": "Microsoft.Quota/groupQuotas/quotaAllocationRequests", "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/quotaAllocationRequests/AE000000-0000-0000-0000-00000000000A", + "type": "Microsoft.Quota/groupQuotas/quotaAllocationRequests", + "name": "AE000000-0000-0000-0000-00000000000A", "properties": { - "faultCode": "ContactSupport", - "provisioningState": "Failed", - "requestSubmitTime": "2024-03-20T06:18:59.913Z", "requestedResource": { "properties": { + "limit": 75, "name": { - "localizedValue": "standard Av2 Family vCPUs", - "value": "standardav2family" + "value": "standardav2family", + "localizedValue": "standard Av2 Family vCPUs" }, - "limit": 75, "region": "westus" } - } + }, + "requestSubmitTime": "2024-03-20T06:18:59.913Z", + "provisioningState": "Failed", + "faultCode": "ContactSupport" } } - ] + ], + "nextLink": "https://yourLinkHere.com" } } - }, - "title": "SubscriptionQuotaAllocation_List_Request_ForCompute" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/SubscriptionRequests/SubscriptionRequests_Get.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/SubscriptionRequests/SubscriptionRequests_Get.json index dbcf6cdc31da..d31dbaadac7e 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/SubscriptionRequests/SubscriptionRequests_Get.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/SubscriptionRequests/SubscriptionRequests_Get.json @@ -1,24 +1,23 @@ { "operationId": "GroupQuotaSubscriptionRequests_Get", "parameters": { - "api-version": "2025-07-15", - "groupQuotaName": "groupquota1", "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", - "requestId": "00000000-0000-0000-0000-000000000000" + "groupQuotaName": "groupquota1", + "requestId": "00000000-0000-0000-0000-000000000000", + "api-version": "2025-07-15" }, "responses": { "200": { "body": { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111", "name": "11111111-1111-1111-1111-111111111111", "type": "Microsoft.Quota/groupQuotas/SubscriptionRequest", - "id": "/subscriptions/11111111-1111-1111-1111-111111111111", "properties": { + "subscriptionId": "11111111-1111-1111-1111-111111111111", "provisioningState": "Accepted", - "requestSubmitTime": "2023-11-17T00:56:45.009Z", - "subscriptionId": "11111111-1111-1111-1111-111111111111" + "requestSubmitTime": "2023-11-17T00:56:45.009Z" } } } - }, - "title": "GroupQuotaSubscriptionRequests_Get" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/SubscriptionRequests/SubscriptionRequests_List.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/SubscriptionRequests/SubscriptionRequests_List.json index 8bb1777c5d0f..b99fead06873 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/SubscriptionRequests/SubscriptionRequests_List.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/SubscriptionRequests/SubscriptionRequests_List.json @@ -1,28 +1,27 @@ { "operationId": "GroupQuotaSubscriptionRequests_List", "parameters": { - "api-version": "2025-07-15", + "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09", "groupQuotaName": "groupquota1", - "managementGroupId": "E7EC67B3-7657-4966-BFFC-41EFD36BAA09" + "api-version": "2025-07-15" }, "responses": { "200": { "body": { - "nextLink": "https://yourLinkHere.com", "value": [ { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111", "name": "11111111-1111-1111-1111-111111111111", "type": "Microsoft.Quota/groupQuotas/SubscriptionRequest", - "id": "/subscriptions/11111111-1111-1111-1111-111111111111", "properties": { + "subscriptionId": "11111111-1111-1111-1111-111111111111", "provisioningState": "Accepted", - "requestSubmitTime": "2023-11-17T00:56:45.009Z", - "subscriptionId": "11111111-1111-1111-1111-111111111111" + "requestSubmitTime": "2023-11-17T00:56:45.009Z" } } - ] + ], + "nextLink": "https://yourLinkHere.com" } } - }, - "title": "GroupQuotaSubscriptionRequests_List" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getComputeOneSkuQuotaLimit.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getComputeOneSkuQuotaLimit.json index fbffc5510ff2..9c40ba16ed9d 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getComputeOneSkuQuotaLimit.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getComputeOneSkuQuotaLimit.json @@ -1,31 +1,29 @@ { "parameters": { - "api-version": "2025-07-15", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus", "resourceName": "standardNDSFamily", - "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus" + "api-version": "2025-07-15" }, "responses": { "200": { "body": { - "name": "standardNDSFamily", - "type": "Microsoft.Quota/Quotas", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardNDSFamily", + "type": "Microsoft.Quota/Quotas", + "name": "standardNDSFamily", "properties": { - "name": { - "localizedValue": "Standard NDS Family vCPUs", - "value": "standardNDSFamily" - }, - "isQuotaApplicable": true, "limit": { "limitObjectType": "LimitValue", - "limitType": "Independent", - "value": 100 + "value": 100, + "limitType": "Independent" + }, + "unit": "Count", + "name": { + "value": "standardNDSFamily", + "localizedValue": "Standard NDS Family vCPUs" }, - "unit": "Count" + "isQuotaApplicable": true } } } - }, - "operationId": "Quota_Get", - "title": "Quotas_Get_Request_ForCompute" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getComputeOneSkuUsages.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getComputeOneSkuUsages.json index c42c3c699f4e..53e729ba8a23 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getComputeOneSkuUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getComputeOneSkuUsages.json @@ -1,30 +1,28 @@ { "parameters": { - "api-version": "2025-07-15", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus", "resourceName": "standardNDSFamily", - "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus" + "api-version": "2025-07-15" }, "responses": { "200": { "body": { - "name": "standardNDSFamily", - "type": "Microsoft.Quota/Usages", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardNDSFamily", + "type": "Microsoft.Quota/Usages", + "name": "standardNDSFamily", "properties": { - "name": { - "localizedValue": "Standard NDS Family vCPUs", - "value": "standardNDSFamily" - }, - "isQuotaApplicable": true, - "unit": "Count", "usages": { "usagesType": "Individual", "value": 10 - } + }, + "unit": "Count", + "name": { + "value": "standardNDSFamily", + "localizedValue": "Standard NDS Family vCPUs" + }, + "isQuotaApplicable": true } } } - }, - "operationId": "Usages_Get", - "title": "Quotas_UsagesRequest_ForCompute" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getComputeQuotaLimits.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getComputeQuotaLimits.json index d449d4f5c807..685d1262e61a 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getComputeQuotaLimits.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getComputeQuotaLimits.json @@ -1,221 +1,219 @@ { "parameters": { - "api-version": "2025-07-15", - "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus" + "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus", + "api-version": "2025-07-15" }, "responses": { "200": { "body": { - "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotas?api-version=2025-07-15&$skiptoken=eyJuZXh0UGFydGl0aW9uS2V5IjoiMSE4IVEwTTJNVGMtIiwibmV4dFJvd0tleSI6IjEhMTMyIU5rUTRSVEU1UXpJelFUWXdORGd4UmpoRlFrSXhNVGhFUXpNd01EZERSRGhGVkVkT1RDMU5TVU5TVDFOUFJsUTZNa1ZMUlZsV1FWVk1WRG95UmxaQlZVeFVVeTFUVTFKSExVcEpUVG95UkZSRlUxUTZNa1JXUVZWTVZDMVhSVk5UVlZNdVRXRnVaVzRpVVVGZyJ9", "value": [ { - "name": "standardFSv2Family", - "type": "Microsoft.Quota/Quotas", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardFSv2Family", + "type": "Microsoft.Quota/Quotas", + "name": "standardFSv2Family", "properties": { - "name": { - "localizedValue": "Standard FSv2 Family vCPUs", - "value": "standardFSv2Family" - }, - "isQuotaApplicable": true, "limit": { "limitObjectType": "LimitValue", "value": 10 }, - "unit": "Count" + "unit": "Count", + "isQuotaApplicable": true, + "name": { + "value": "standardFSv2Family", + "localizedValue": "Standard FSv2 Family vCPUs" + } } }, { - "name": "standardNDSFamily", - "type": "Microsoft.Quota/Quotas", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardNDSFamily", + "type": "Microsoft.Quota/Quotas", + "name": "standardNDSFamily", "properties": { - "name": { - "localizedValue": "Standard NDS Family vCPUs", - "value": "standardNDSFamily" - }, - "isQuotaApplicable": true, "limit": { "limitObjectType": "LimitValue", "value": 10 }, - "unit": "Count" + "unit": "Count", + "isQuotaApplicable": true, + "name": { + "value": "standardNDSFamily", + "localizedValue": "Standard NDS Family vCPUs" + } } }, { - "name": "standardNCSv2Family", - "type": "Microsoft.Quota/Quotas", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardNCSv2Family", + "type": "Microsoft.Quota/Quotas", + "name": "standardNCSv2Family", "properties": { - "name": { - "localizedValue": "Standard NCSv2 Family vCPUs", - "value": "standardNCSv2Family" - }, - "isQuotaApplicable": true, "limit": { "limitObjectType": "LimitValue", "value": 10 }, - "unit": "Count" + "unit": "Count", + "isQuotaApplicable": true, + "name": { + "value": "standardNCSv2Family", + "localizedValue": "Standard NCSv2 Family vCPUs" + } } }, { - "name": "standardNCSv3Family", - "type": "Microsoft.Quota/Quotas", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardNCSv3Family", + "type": "Microsoft.Quota/Quotas", + "name": "standardNCSv3Family", "properties": { - "name": { - "localizedValue": "Standard NCSv3 Family vCPUs", - "value": "standardNCSv3Family" - }, - "isQuotaApplicable": true, "limit": { "limitObjectType": "LimitValue", "value": 10 }, - "unit": "Count" + "unit": "Count", + "isQuotaApplicable": true, + "name": { + "value": "standardNCSv3Family", + "localizedValue": "Standard NCSv3 Family vCPUs" + } } }, { - "name": "standardLSv2Family", - "type": "Microsoft.Quota/Quotas", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardLSv2Family", + "type": "Microsoft.Quota/Quotas", + "name": "standardLSv2Family", "properties": { - "name": { - "localizedValue": "Standard LSv2 Family vCPUs", - "value": "standardLSv2Family" - }, - "isQuotaApplicable": true, "limit": { "limitObjectType": "LimitValue", "value": 10 }, - "unit": "Count" + "unit": "Count", + "isQuotaApplicable": true, + "name": { + "value": "standardLSv2Family", + "localizedValue": "Standard LSv2 Family vCPUs" + } } }, { - "name": "standardPBSFamily", - "type": "Microsoft.Quota/Quotas", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardPBSFamily", + "type": "Microsoft.Quota/Quotas", + "name": "standardPBSFamily", "properties": { - "name": { - "localizedValue": "Standard PBS Family vCPUs", - "value": "standardPBSFamily" - }, - "isQuotaApplicable": true, "limit": { "limitObjectType": "LimitValue", "value": 10 }, - "unit": "Count" + "unit": "Count", + "isQuotaApplicable": true, + "name": { + "value": "standardPBSFamily", + "localizedValue": "Standard PBS Family vCPUs" + } } }, { - "name": "standardEIv3Family", - "type": "Microsoft.Quota/Quotas", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardEIv3Family", + "type": "Microsoft.Quota/Quotas", + "name": "standardEIv3Family", "properties": { - "name": { - "localizedValue": "Standard EIv3 Family vCPUs", - "value": "standardEIv3Family" - }, - "isQuotaApplicable": true, "limit": { "limitObjectType": "LimitValue", "value": 10 }, - "unit": "Count" + "unit": "Count", + "isQuotaApplicable": true, + "name": { + "value": "standardEIv3Family", + "localizedValue": "Standard EIv3 Family vCPUs" + } } }, { - "name": "standardEISv3Family", - "type": "Microsoft.Quota/Quotas", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardEISv3Family", + "type": "Microsoft.Quota/Quotas", + "name": "standardEISv3Family", "properties": { - "name": { - "localizedValue": "Standard EISv3 Family vCPUs", - "value": "standardEISv3Family" - }, - "isQuotaApplicable": true, "limit": { "limitObjectType": "LimitValue", "value": 10 }, - "unit": "Count" + "unit": "Count", + "isQuotaApplicable": true, + "name": { + "value": "standardEISv3Family", + "localizedValue": "Standard EISv3 Family vCPUs" + } } }, { - "name": "standardDCSFamily", - "type": "Microsoft.Quota/Quotas", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardDCSFamily", + "type": "Microsoft.Quota/Quotas", + "name": "standardDCSFamily", "properties": { - "name": { - "localizedValue": "Standard DCS Family vCPUs", - "value": "standardDCSFamily" - }, - "isQuotaApplicable": true, "limit": { "limitObjectType": "LimitValue", "value": 10 }, - "unit": "Count" + "unit": "Count", + "isQuotaApplicable": true, + "name": { + "value": "standardDCSFamily", + "localizedValue": "Standard DCS Family vCPUs" + } } }, { - "name": "standardNVSv2Family", - "type": "Microsoft.Quota/Quotas", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardNVSv2Family", + "type": "Microsoft.Quota/Quotas", + "name": "standardNVSv2Family", "properties": { - "name": { - "localizedValue": "Standard NVSv2 Family vCPUs", - "value": "standardNVSv2Family" - }, - "isQuotaApplicable": true, "limit": { "limitObjectType": "LimitValue", "value": 10 }, - "unit": "Count" + "unit": "Count", + "isQuotaApplicable": true, + "name": { + "value": "standardNVSv2Family", + "localizedValue": "Standard NVSv2 Family vCPUs" + } } }, { - "name": "standardMSv2Family", - "type": "Microsoft.Quota/Quotas", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/standardMSv2Family", + "type": "Microsoft.Quota/Quotas", + "name": "standardMSv2Family", "properties": { - "name": { - "localizedValue": "Standard MSv2 Family vCPUs", - "value": "standardMSv2Family" - }, - "isQuotaApplicable": true, "limit": { "limitObjectType": "LimitValue", "value": 10 }, - "unit": "Count" + "unit": "Count", + "isQuotaApplicable": true, + "name": { + "value": "standardMSv2Family", + "localizedValue": "Standard MSv2 Family vCPUs" + } } }, { - "name": "availabilitySets", - "type": "Microsoft.Quota/Quotas", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Quotas/availabilitySets", + "type": "Microsoft.Quota/Quotas", + "name": "availabilitySets", "properties": { - "name": { - "localizedValue": "Availability Sets", - "value": "availabilitySets" - }, - "isQuotaApplicable": false, "limit": { "limitObjectType": "LimitValue", "value": 10 }, - "unit": "Count" + "unit": "Count", + "isQuotaApplicable": false, + "name": { + "value": "availabilitySets", + "localizedValue": "Availability Sets" + } } } - ] + ], + "nextLink": "" } } - }, - "operationId": "Quota_List", - "title": "Quotas_listQuotaLimitsForCompute" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getComputeUsages.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getComputeUsages.json index c7057788a658..e9fe944d50d4 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getComputeUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getComputeUsages.json @@ -1,209 +1,207 @@ { "parameters": { - "api-version": "2025-07-15", - "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus" + "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus", + "api-version": "2025-07-15" }, "responses": { "200": { "body": { - "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/usages?api-version=2025-07-15&$skipToken=eyJDb250aW51YXRpb25Ub2tlbiI6eyJUb2tlbiI6IitSSUQiOiIxMiIsIlBLUmFuZ2UiOnsibWluIjoiIiwibWF4IjoiRkYifX19", "value": [ { - "name": "standardFSv2Family", - "type": "Microsoft.Quota/Usages", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardFSv2Family", + "type": "Microsoft.Quota/Usages", + "name": "standardFSv2Family", "properties": { - "name": { - "localizedValue": "Standard FSv2 Family vCPUs", - "value": "standardFSv2Family" - }, - "isQuotaApplicable": true, - "unit": "Count", "usages": { "value": 10 + }, + "unit": "Count", + "isQuotaApplicable": true, + "name": { + "value": "standardFSv2Family", + "localizedValue": "Standard FSv2 Family vCPUs" } } }, { - "name": "standardNDSFamily", - "type": "Microsoft.Quota/Usages", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardNDSFamily", + "type": "Microsoft.Quota/Usages", + "name": "standardNDSFamily", "properties": { - "name": { - "localizedValue": "Standard NDS Family vCPUs", - "value": "standardNDSFamily" - }, - "isQuotaApplicable": true, - "unit": "Count", "usages": { "value": 10 + }, + "unit": "Count", + "isQuotaApplicable": true, + "name": { + "value": "standardNDSFamily", + "localizedValue": "Standard NDS Family vCPUs" } } }, { - "name": "standardNCSv2Family", - "type": "Microsoft.Quota/Usages", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardNCSv2Family", + "type": "Microsoft.Quota/Usages", + "name": "standardNCSv2Family", "properties": { - "name": { - "localizedValue": "Standard NCSv2 Family vCPUs", - "value": "standardNCSv2Family" - }, - "isQuotaApplicable": true, - "unit": "Count", "usages": { "value": 10 + }, + "unit": "Count", + "isQuotaApplicable": true, + "name": { + "value": "standardNCSv2Family", + "localizedValue": "Standard NCSv2 Family vCPUs" } } }, { - "name": "standardNCSv3Family", - "type": "Microsoft.Quota/Usages", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardNCSv3Family", + "type": "Microsoft.Quota/Usages", + "name": "standardNCSv3Family", "properties": { - "name": { - "localizedValue": "Standard NCSv3 Family vCPUs", - "value": "standardNCSv3Family" - }, - "isQuotaApplicable": true, - "unit": "Count", "usages": { "value": 10 + }, + "unit": "Count", + "isQuotaApplicable": true, + "name": { + "value": "standardNCSv3Family", + "localizedValue": "Standard NCSv3 Family vCPUs" } } }, { - "name": "standardLSv2Family", - "type": "Microsoft.Quota/Usages", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardLSv2Family", + "type": "Microsoft.Quota/Usages", + "name": "standardLSv2Family", "properties": { - "name": { - "localizedValue": "Standard LSv2 Family vCPUs", - "value": "standardLSv2Family" - }, - "isQuotaApplicable": true, - "unit": "Count", "usages": { "value": 10 + }, + "unit": "Count", + "isQuotaApplicable": true, + "name": { + "value": "standardLSv2Family", + "localizedValue": "Standard LSv2 Family vCPUs" } } }, { - "name": "standardPBSFamily", - "type": "Microsoft.Quota/Usages", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardPBSFamily", + "type": "Microsoft.Quota/Usages", + "name": "standardPBSFamily", "properties": { - "name": { - "localizedValue": "Standard PBS Family vCPUs", - "value": "standardPBSFamily" - }, - "isQuotaApplicable": true, - "unit": "Count", "usages": { "value": 10 + }, + "unit": "Count", + "isQuotaApplicable": true, + "name": { + "value": "standardPBSFamily", + "localizedValue": "Standard PBS Family vCPUs" } } }, { - "name": "standardEIv3Family", - "type": "Microsoft.Quota/Usages", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardEIv3Family", + "type": "Microsoft.Quota/Usages", + "name": "standardEIv3Family", "properties": { - "name": { - "localizedValue": "Standard EIv3 Family vCPUs", - "value": "standardEIv3Family" - }, - "isQuotaApplicable": true, - "unit": "Count", "usages": { "value": 10 + }, + "unit": "Count", + "isQuotaApplicable": true, + "name": { + "value": "standardEIv3Family", + "localizedValue": "Standard EIv3 Family vCPUs" } } }, { - "name": "standardEISv3Family", - "type": "Microsoft.Quota/Usages", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardEISv3Family", + "type": "Microsoft.Quota/Usages", + "name": "standardEISv3Family", "properties": { - "name": { - "localizedValue": "Standard EISv3 Family vCPUs", - "value": "standardEISv3Family" - }, - "isQuotaApplicable": true, - "unit": "Count", "usages": { "value": 10 + }, + "unit": "Count", + "isQuotaApplicable": true, + "name": { + "value": "standardEISv3Family", + "localizedValue": "Standard EISv3 Family vCPUs" } } }, { - "name": "standardDCSFamily", - "type": "Microsoft.Quota/Usages", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardDCSFamily", + "type": "Microsoft.Quota/Usages", + "name": "standardDCSFamily", "properties": { - "name": { - "localizedValue": "Standard DCS Family vCPUs", - "value": "standardDCSFamily" - }, - "isQuotaApplicable": true, - "unit": "Count", "usages": { "value": 10 + }, + "unit": "Count", + "isQuotaApplicable": true, + "name": { + "value": "standardDCSFamily", + "localizedValue": "Standard DCS Family vCPUs" } } }, { - "name": "standardNVSv2Family", - "type": "Microsoft.Quota/Usages", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardNVSv2Family", + "type": "Microsoft.Quota/Usages", + "name": "standardNVSv2Family", "properties": { - "name": { - "localizedValue": "Standard NVSv2 Family vCPUs", - "value": "standardNVSv2Family" - }, - "isQuotaApplicable": true, - "unit": "Count", "usages": { "value": 10 + }, + "unit": "Count", + "isQuotaApplicable": true, + "name": { + "value": "standardNVSv2Family", + "localizedValue": "Standard NVSv2 Family vCPUs" } } }, { - "name": "standardMSv2Family", - "type": "Microsoft.Quota/Usages", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/standardMSv2Family", + "type": "Microsoft.Quota/Usages", + "name": "standardMSv2Family", "properties": { - "name": { - "localizedValue": "Standard MSv2 Family vCPUs", - "value": "standardMSv2Family" - }, - "isQuotaApplicable": true, - "unit": "Count", "usages": { "value": 10 + }, + "unit": "Count", + "isQuotaApplicable": true, + "name": { + "value": "standardMSv2Family", + "localizedValue": "Standard MSv2 Family vCPUs" } } }, { - "name": "availabilitySets", - "type": "Microsoft.Quota/Usages", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/Usages/availabilitySets", + "type": "Microsoft.Quota/Usages", + "name": "availabilitySets", "properties": { - "name": { - "localizedValue": "Availability Sets", - "value": "availabilitySets" - }, - "isQuotaApplicable": false, - "unit": "Count", "usages": { "value": 10 + }, + "unit": "Count", + "isQuotaApplicable": false, + "name": { + "value": "availabilitySets", + "localizedValue": "Availability Sets" } } } - ] + ], + "nextLink": "" } } - }, - "operationId": "Usages_List", - "title": "Quotas_listUsagesForCompute" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getMachineLearningServicesQuotaLimits.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getMachineLearningServicesQuotaLimits.json index e31d6037f8e9..3003c88e92c3 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getMachineLearningServicesQuotaLimits.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getMachineLearningServicesQuotaLimits.json @@ -1,50 +1,48 @@ { "parameters": { - "api-version": "2025-07-15", - "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.MachineLearningServices/locations/eastus" + "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.MachineLearningServices/locations/eastus", + "api-version": "2025-07-15" }, "responses": { "200": { "body": { "value": [ { - "name": "standardDv2Family", - "type": "Microsoft.Quota/Quotas", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.MachineLearningServices/locations/eastus/providers/Microsoft.Quota/Quotas/standardDv2Family", + "type": "Microsoft.Quota/Quotas", + "name": "standardDv2Family", "properties": { - "name": { - "localizedValue": "Standard Dv2 Family vCPUs", - "value": "standardDv2Family" - }, "limit": { "limitObjectType": "LimitValue", "value": 10 }, - "resourceType": "dedicated", - "unit": "Count" + "unit": "Count", + "name": { + "value": "standardDv2Family", + "localizedValue": "Standard Dv2 Family vCPUs" + }, + "resourceType": "dedicated" } }, { - "name": "totalLowPriorityCores", - "type": "Microsoft.Quota/Quotas", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.MachineLearningServices/locations/eastus/providers/Microsoft.Quota/Quotas/totalLowPriorityCores", + "type": "Microsoft.Quota/Quotas", + "name": "totalLowPriorityCores", "properties": { - "name": { - "localizedValue": "Total Regional Low-priority vCPUs", - "value": "totalLowPriorityCores" - }, "limit": { "limitObjectType": "LimitValue", "value": 10 }, - "resourceType": "lowPriority", - "unit": "Count" + "unit": "Count", + "name": { + "value": "totalLowPriorityCores", + "localizedValue": "Total Regional Low-priority vCPUs" + }, + "resourceType": "lowPriority" } } ] } } - }, - "operationId": "Quota_List", - "title": "Quotas_listQuotaLimitsMachineLearningServices" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getMachineLearningServicesUsages.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getMachineLearningServicesUsages.json index 79b3e78a8fe8..49bba75568c5 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getMachineLearningServicesUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getMachineLearningServicesUsages.json @@ -1,48 +1,46 @@ { "parameters": { - "api-version": "2025-07-15", - "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.MachineLearningServices/locations/eastus" + "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.MachineLearningServices/locations/eastus", + "api-version": "2025-07-15" }, "responses": { "200": { "body": { "value": [ { - "name": "standardDv2Family", - "type": "Microsoft.Quota/usages", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.MachineLearningServices/locations/eastus/providers/Microsoft.Quota/usages/standardDv2Family", + "type": "Microsoft.Quota/usages", + "name": "standardDv2Family", "properties": { - "name": { - "localizedValue": "Standard Dv2 Family vCPUs", - "value": "standardDv2Family" - }, - "resourceType": "dedicated", - "unit": "Count", "usages": { "value": 10 - } + }, + "unit": "Count", + "name": { + "value": "standardDv2Family", + "localizedValue": "Standard Dv2 Family vCPUs" + }, + "resourceType": "dedicated" } }, { - "name": "totalLowPriorityCores", - "type": "Microsoft.Quota/usages", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.MachineLearningServices/locations/eastus/providers/Microsoft.Quota/usages/totalLowPriorityCores", + "type": "Microsoft.Quota/usages", + "name": "totalLowPriorityCores", "properties": { - "name": { - "localizedValue": "Total Regional Low-priority vCPUs", - "value": "totalLowPriorityCores" - }, - "resourceType": "lowPriority", - "unit": "Count", "usages": { "value": 10 - } + }, + "unit": "Count", + "name": { + "value": "totalLowPriorityCores", + "localizedValue": "Total Regional Low-priority vCPUs" + }, + "resourceType": "lowPriority" } } ] } } - }, - "operationId": "Usages_List", - "title": "Quotas_listUsagesMachineLearningServices" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getNetworkOneSkuQuotaLimit.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getNetworkOneSkuQuotaLimit.json index 61ced6badc39..f17d917fe86f 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getNetworkOneSkuQuotaLimit.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getNetworkOneSkuQuotaLimit.json @@ -1,31 +1,29 @@ { "parameters": { - "api-version": "2025-07-15", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus", "resourceName": "MinPublicIpInterNetworkPrefixLength", - "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus" + "api-version": "2025-07-15" }, "responses": { "200": { "body": { - "name": "MinPublicIpInterNetworkPrefixLength", - "type": "Microsoft.Quota/Quotas", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/MinPublicIpInterNetworkPrefixLength", + "type": "Microsoft.Quota/Quotas", + "name": "MinPublicIpInterNetworkPrefixLength", "properties": { - "name": { - "localizedValue": "Min Public Ip InterNetwork Prefix Length", - "value": "MinPublicIpInterNetworkPrefixLength" - }, - "isQuotaApplicable": true, "limit": { "limitObjectType": "LimitValue", "value": 10 }, - "resourceType": "MinPublicIpInterNetworkPrefixLength", - "unit": "Count" + "name": { + "value": "MinPublicIpInterNetworkPrefixLength", + "localizedValue": "Min Public Ip InterNetwork Prefix Length" + }, + "unit": "Count", + "isQuotaApplicable": true, + "resourceType": "MinPublicIpInterNetworkPrefixLength" } } } - }, - "operationId": "Quota_Get", - "title": "Quotas_UsagesRequest_ForNetwork" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getNetworkOneSkuUsages.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getNetworkOneSkuUsages.json index 48dbc694701b..12a0ba28ab24 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getNetworkOneSkuUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getNetworkOneSkuUsages.json @@ -1,30 +1,28 @@ { "parameters": { - "api-version": "2025-07-15", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus", "resourceName": "MinPublicIpInterNetworkPrefixLength", - "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus" + "api-version": "2025-07-15" }, "responses": { "200": { "body": { - "name": "MinPublicIpInterNetworkPrefixLength", - "type": "Microsoft.Quota/usages", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/MinPublicIpInterNetworkPrefixLength", + "type": "Microsoft.Quota/usages", + "name": "MinPublicIpInterNetworkPrefixLength", "properties": { + "usages": { + "value": 10 + }, "name": { - "localizedValue": "Min Public Ip InterNetwork Prefix Length", - "value": "MinPublicIpInterNetworkPrefixLength" + "value": "MinPublicIpInterNetworkPrefixLength", + "localizedValue": "Min Public Ip InterNetwork Prefix Length" }, - "isQuotaApplicable": true, - "resourceType": "MinPublicIpInterNetworkPrefixLength", "unit": "Count", - "usages": { - "value": 10 - } + "isQuotaApplicable": true, + "resourceType": "MinPublicIpInterNetworkPrefixLength" } } } - }, - "operationId": "Usages_Get", - "title": "Quotas_UsagesRequest_ForNetwork" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getNetworkQuotaLimits.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getNetworkQuotaLimits.json index eac3df2430cb..202f76245f76 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getNetworkQuotaLimits.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getNetworkQuotaLimits.json @@ -1,701 +1,699 @@ { "parameters": { - "api-version": "2025-07-15", - "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus" + "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus", + "api-version": "2025-07-15" }, "responses": { "200": { "body": { "value": [ { - "name": "VirtualNetworks", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/VirtualNetworks", "properties": { - "name": { - "localizedValue": "Virtual Networks", - "value": "VirtualNetworks" - }, - "isQuotaApplicable": false, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "unit": "Count", + "name": { + "value": "VirtualNetworks", + "localizedValue": "Virtual Networks" + }, "properties": {}, - "unit": "Count" - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", + "name": "VirtualNetworks" }, { - "name": "StaticPublicIPAddresses", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/StaticPublicIPAddresses", "properties": { - "name": { - "localizedValue": "Static Public IP Addresses", - "value": "StaticPublicIPAddresses" - }, - "isQuotaApplicable": false, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "unit": "Count", + "name": { + "value": "StaticPublicIPAddresses", + "localizedValue": "Static Public IP Addresses" + }, "properties": {}, - "unit": "Count" - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", + "name": "StaticPublicIPAddresses" }, { - "name": "NetworkSecurityGroups", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/NetworkSecurityGroups", "properties": { - "name": { - "localizedValue": "Network Security Groups", - "value": "NetworkSecurityGroups" - }, - "isQuotaApplicable": false, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "unit": "Count", + "name": { + "value": "NetworkSecurityGroups", + "localizedValue": "Network Security Groups" + }, "properties": {}, - "unit": "Count" - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", + "name": "NetworkSecurityGroups" }, { - "name": "PublicIPAddresses", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/PublicIPAddresses", "properties": { - "name": { - "localizedValue": "Public IP Addresses - Basic", - "value": "PublicIPAddresses" - }, - "isQuotaApplicable": true, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "unit": "Count", + "name": { + "value": "PublicIPAddresses", + "localizedValue": "Public IP Addresses - Basic" + }, "properties": {}, - "unit": "Count" - } + "isQuotaApplicable": true + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", + "name": "PublicIPAddresses" }, { - "name": "PublicIpPrefixes", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/PublicIpPrefixes", "properties": { - "name": { - "localizedValue": "Public Ip Prefixes", - "value": "PublicIpPrefixes" - }, - "isQuotaApplicable": false, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "unit": "Count", + "name": { + "value": "PublicIpPrefixes", + "localizedValue": "Public Ip Prefixes" + }, "properties": {}, - "unit": "Count" - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", + "name": "PublicIpPrefixes" }, { - "name": "NatGateways", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/NatGateways", "properties": { - "name": { - "localizedValue": "Nat Gateways", - "value": "NatGateways" - }, - "isQuotaApplicable": false, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "unit": "Count", + "name": { + "value": "NatGateways", + "localizedValue": "Nat Gateways" + }, "properties": {}, - "unit": "Count" - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", + "name": "NatGateways" }, { - "name": "NetworkInterfaces", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/NetworkInterfaces", "properties": { - "name": { - "localizedValue": "Network Interfaces", - "value": "NetworkInterfaces" - }, - "isQuotaApplicable": false, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "unit": "Count", + "name": { + "value": "NetworkInterfaces", + "localizedValue": "Network Interfaces" + }, "properties": {}, - "unit": "Count" - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", + "name": "NetworkInterfaces" }, { - "name": "PrivateEndpoints", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/PrivateEndpoints", "properties": { - "name": { - "localizedValue": "Private Endpoints", - "value": "PrivateEndpoints" - }, - "isQuotaApplicable": false, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "unit": "Count", + "name": { + "value": "PrivateEndpoints", + "localizedValue": "Private Endpoints" + }, "properties": {}, - "unit": "Count" - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", + "name": "PrivateEndpoints" }, { - "name": "PrivateEndpointRedirectMaps", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/PrivateEndpointRedirectMaps", "properties": { - "name": { - "localizedValue": "Private Endpoint Redirect Maps", - "value": "PrivateEndpointRedirectMaps" - }, - "isQuotaApplicable": false, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "unit": "Count", + "name": { + "value": "PrivateEndpointRedirectMaps", + "localizedValue": "Private Endpoint Redirect Maps" + }, "properties": {}, - "unit": "Count" - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", + "name": "PrivateEndpointRedirectMaps" }, { - "name": "LoadBalancers", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/LoadBalancers", "properties": { - "name": { - "localizedValue": "Load Balancers", - "value": "LoadBalancers" - }, - "isQuotaApplicable": false, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "unit": "Count", + "name": { + "value": "LoadBalancers", + "localizedValue": "Load Balancers" + }, "properties": {}, - "unit": "Count" - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", + "name": "LoadBalancers" }, { - "name": "PrivateLinkServices", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/PrivateLinkServices", "properties": { - "name": { - "localizedValue": "Private Link Services", - "value": "PrivateLinkServices" - }, - "isQuotaApplicable": false, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "unit": "Count", + "name": { + "value": "PrivateLinkServices", + "localizedValue": "Private Link Services" + }, "properties": {}, - "unit": "Count" - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", + "name": "PrivateLinkServices" }, { - "name": "ApplicationGateways", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/ApplicationGateways", "properties": { - "name": { - "localizedValue": "Application Gateways", - "value": "ApplicationGateways" - }, - "isQuotaApplicable": false, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "unit": "Count", + "name": { + "value": "ApplicationGateways", + "localizedValue": "Application Gateways" + }, "properties": {}, - "unit": "Count" - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", + "name": "ApplicationGateways" }, { - "name": "RouteTables", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/RouteTables", "properties": { - "name": { - "localizedValue": "Route Tables", - "value": "RouteTables" - }, - "isQuotaApplicable": false, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "unit": "Count", + "name": { + "value": "RouteTables", + "localizedValue": "Route Tables" + }, "properties": {}, - "unit": "Count" - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", + "name": "RouteTables" }, { - "name": "RouteFilters", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/RouteFilters", "properties": { - "name": { - "localizedValue": "Route Filters", - "value": "RouteFilters" - }, - "isQuotaApplicable": false, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "unit": "Count", + "name": { + "value": "RouteFilters", + "localizedValue": "Route Filters" + }, "properties": {}, - "unit": "Count" - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", + "name": "RouteFilters" }, { - "name": "NetworkWatchers", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/NetworkWatchers", "properties": { - "name": { - "localizedValue": "Network Watchers", - "value": "NetworkWatchers" - }, - "isQuotaApplicable": false, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "unit": "Count", + "name": { + "value": "NetworkWatchers", + "localizedValue": "Network Watchers" + }, "properties": {}, - "unit": "Count" - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", + "name": "NetworkWatchers" }, { - "name": "PacketCaptures", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/PacketCaptures", "properties": { - "name": { - "localizedValue": "Packet Captures", - "value": "PacketCaptures" - }, - "isQuotaApplicable": false, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "unit": "Count", + "name": { + "value": "PacketCaptures", + "localizedValue": "Packet Captures" + }, "properties": {}, - "unit": "Count" - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", + "name": "PacketCaptures" }, { - "name": "ApplicationSecurityGroups", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/ApplicationSecurityGroups", "properties": { - "name": { - "localizedValue": "Application Security Groups.", - "value": "ApplicationSecurityGroups" - }, - "isQuotaApplicable": false, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "unit": "Count", + "name": { + "value": "ApplicationSecurityGroups", + "localizedValue": "Application Security Groups." + }, "properties": {}, - "unit": "Count" - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", + "name": "ApplicationSecurityGroups" }, { - "name": "DdosProtectionPlans", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/DdosProtectionPlans", "properties": { - "name": { - "localizedValue": "DDoS Protection Plans.", - "value": "DdosProtectionPlans" - }, - "isQuotaApplicable": false, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "unit": "Count", + "name": { + "value": "DdosProtectionPlans", + "localizedValue": "DDoS Protection Plans." + }, "properties": {}, - "unit": "Count" - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", + "name": "DdosProtectionPlans" }, { - "name": "DdosCustomPolicies", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/DdosCustomPolicies", "properties": { - "name": { - "localizedValue": "DDoS customized policies", - "value": "DdosCustomPolicies" - }, - "isQuotaApplicable": false, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "unit": "Count", + "name": { + "value": "DdosCustomPolicies", + "localizedValue": "DDoS customized policies" + }, "properties": {}, - "unit": "Count" - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", + "name": "DdosCustomPolicies" }, { - "name": "ServiceEndpointPolicies", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/ServiceEndpointPolicies", "properties": { - "name": { - "localizedValue": "Service Endpoint Policies", - "value": "ServiceEndpointPolicies" - }, - "isQuotaApplicable": false, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "unit": "Count", + "name": { + "value": "ServiceEndpointPolicies", + "localizedValue": "Service Endpoint Policies" + }, "properties": {}, - "unit": "Count" - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", + "name": "ServiceEndpointPolicies" }, { - "name": "NetworkIntentPolicies", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/NetworkIntentPolicies", "properties": { - "name": { - "localizedValue": "Network Intent Policies", - "value": "NetworkIntentPolicies" - }, - "isQuotaApplicable": false, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "unit": "Count", + "name": { + "value": "NetworkIntentPolicies", + "localizedValue": "Network Intent Policies" + }, "properties": {}, - "unit": "Count" - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", + "name": "NetworkIntentPolicies" }, { - "name": "StandardSkuLoadBalancers", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/StandardSkuLoadBalancers", "properties": { - "name": { - "localizedValue": "Standard Sku Load Balancers", - "value": "StandardSkuLoadBalancers" - }, - "isQuotaApplicable": false, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "unit": "Count", + "name": { + "value": "StandardSkuLoadBalancers", + "localizedValue": "Standard Sku Load Balancers" + }, "properties": {}, - "unit": "Count" - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", + "name": "StandardSkuLoadBalancers" }, { - "name": "StandardSkuPublicIpAddresses", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/StandardSkuPublicIpAddresses", "properties": { - "name": { - "localizedValue": "Public IP Addresses - Standard", - "value": "StandardSkuPublicIpAddresses" - }, - "isQuotaApplicable": true, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "unit": "Count", + "name": { + "value": "StandardSkuPublicIpAddresses", + "localizedValue": "Public IP Addresses - Standard" + }, "properties": {}, - "unit": "Count" - } + "isQuotaApplicable": true + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", + "name": "StandardSkuPublicIpAddresses" }, { - "name": "DnsServersPerVirtualNetwork", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/DnsServersPerVirtualNetwork", "properties": { - "name": { - "localizedValue": "DNS servers per Virtual Network", - "value": "DnsServersPerVirtualNetwork" - }, - "isQuotaApplicable": false, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "unit": "Count", + "name": { + "value": "DnsServersPerVirtualNetwork", + "localizedValue": "DNS servers per Virtual Network" + }, "properties": {}, - "unit": "Count" - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", + "name": "DnsServersPerVirtualNetwork" }, { - "name": "CustomDnsServersPerP2SVpnGateway", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/CustomDnsServersPerP2SVpnGateway", "properties": { - "name": { - "localizedValue": "Custom DNS servers per P2SVpnGateway", - "value": "CustomDnsServersPerP2SVpnGateway" - }, - "isQuotaApplicable": false, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "unit": "Count", + "name": { + "value": "CustomDnsServersPerP2SVpnGateway", + "localizedValue": "Custom DNS servers per P2SVpnGateway" + }, "properties": {}, - "unit": "Count" - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", + "name": "CustomDnsServersPerP2SVpnGateway" }, { - "name": "SubnetsPerVirtualNetwork", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/SubnetsPerVirtualNetwork", "properties": { - "name": { - "localizedValue": "Subnets per Virtual Network", - "value": "SubnetsPerVirtualNetwork" - }, - "isQuotaApplicable": false, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "unit": "Count", + "name": { + "value": "SubnetsPerVirtualNetwork", + "localizedValue": "Subnets per Virtual Network" + }, "properties": {}, - "unit": "Count" - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", + "name": "SubnetsPerVirtualNetwork" }, { - "name": "IPConfigurationsPerVirtualNetwork", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/IPConfigurationsPerVirtualNetwork", "properties": { - "name": { - "localizedValue": "IP Configurations per Virtual Network", - "value": "IPConfigurationsPerVirtualNetwork" - }, - "isQuotaApplicable": false, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "unit": "Count", + "name": { + "value": "IPConfigurationsPerVirtualNetwork", + "localizedValue": "IP Configurations per Virtual Network" + }, "properties": {}, - "unit": "Count" - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", + "name": "IPConfigurationsPerVirtualNetwork" }, { - "name": "PeeringsPerVirtualNetwork", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/PeeringsPerVirtualNetwork", "properties": { - "name": { - "localizedValue": "Peerings per Virtual Network", - "value": "PeeringsPerVirtualNetwork" - }, - "isQuotaApplicable": false, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "unit": "Count", + "name": { + "value": "PeeringsPerVirtualNetwork", + "localizedValue": "Peerings per Virtual Network" + }, "properties": {}, - "unit": "Count" - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", + "name": "PeeringsPerVirtualNetwork" }, { - "name": "SecurityRulesPerNetworkSecurityGroup", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/SecurityRulesPerNetworkSecurityGroup", "properties": { - "name": { - "localizedValue": "Security rules per Network Security Group", - "value": "SecurityRulesPerNetworkSecurityGroup" - }, - "isQuotaApplicable": false, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "unit": "Count", + "name": { + "value": "SecurityRulesPerNetworkSecurityGroup", + "localizedValue": "Security rules per Network Security Group" + }, "properties": {}, - "unit": "Count" - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", + "name": "SecurityRulesPerNetworkSecurityGroup" }, { - "name": "SecurityRulesPerNetworkIntentPolicy", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/SecurityRulesPerNetworkIntentPolicy", "properties": { - "name": { - "localizedValue": "Security rules per Network Intent Policy", - "value": "SecurityRulesPerNetworkIntentPolicy" - }, - "isQuotaApplicable": false, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "unit": "Count", + "name": { + "value": "SecurityRulesPerNetworkIntentPolicy", + "localizedValue": "Security rules per Network Intent Policy" + }, "properties": {}, - "unit": "Count" - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", + "name": "SecurityRulesPerNetworkIntentPolicy" }, { - "name": "RoutesPerNetworkIntentPolicy", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/RoutesPerNetworkIntentPolicy", "properties": { - "name": { - "localizedValue": "Routes per Network Intent Policy", - "value": "RoutesPerNetworkIntentPolicy" - }, - "isQuotaApplicable": false, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "unit": "Count", + "name": { + "value": "RoutesPerNetworkIntentPolicy", + "localizedValue": "Routes per Network Intent Policy" + }, "properties": {}, - "unit": "Count" - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", + "name": "RoutesPerNetworkIntentPolicy" }, { - "name": "SecurityRuleAddressesOrPortsPerNetworkSecurityGroup", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/SecurityRuleAddressesOrPortsPerNetworkSecurityGroup", "properties": { - "name": { - "localizedValue": "Security rules addresses or ports per Network Security Group", - "value": "SecurityRuleAddressesOrPortsPerNetworkSecurityGroup" - }, - "isQuotaApplicable": false, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "unit": "Count", + "name": { + "value": "SecurityRuleAddressesOrPortsPerNetworkSecurityGroup", + "localizedValue": "Security rules addresses or ports per Network Security Group" + }, "properties": {}, - "unit": "Count" - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", + "name": "SecurityRuleAddressesOrPortsPerNetworkSecurityGroup" }, { - "name": "InboundRulesPerLoadBalancer", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/InboundRulesPerLoadBalancer", "properties": { - "name": { - "localizedValue": "Inbound Rules per Load Balancer", - "value": "InboundRulesPerLoadBalancer" - }, - "isQuotaApplicable": false, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "unit": "Count", + "name": { + "value": "InboundRulesPerLoadBalancer", + "localizedValue": "Inbound Rules per Load Balancer" + }, "properties": {}, - "unit": "Count" - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", + "name": "InboundRulesPerLoadBalancer" }, { - "name": "FrontendIPConfigurationPerLoadBalancer", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/FrontendIPConfigurationPerLoadBalancer", "properties": { - "name": { - "localizedValue": "Frontend IP Configurations per Load Balancer", - "value": "FrontendIPConfigurationPerLoadBalancer" - }, - "isQuotaApplicable": false, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "unit": "Count", + "name": { + "value": "FrontendIPConfigurationPerLoadBalancer", + "localizedValue": "Frontend IP Configurations per Load Balancer" + }, "properties": {}, - "unit": "Count" - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", + "name": "FrontendIPConfigurationPerLoadBalancer" }, { - "name": "OutboundRulesPerLoadBalancer", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/OutboundRulesPerLoadBalancer", "properties": { - "name": { - "localizedValue": "Outbound Rules per Load Balancer", - "value": "OutboundRulesPerLoadBalancer" - }, - "isQuotaApplicable": false, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "unit": "Count", + "name": { + "value": "OutboundRulesPerLoadBalancer", + "localizedValue": "Outbound Rules per Load Balancer" + }, "properties": {}, - "unit": "Count" - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", + "name": "OutboundRulesPerLoadBalancer" }, { - "name": "RoutesPerRouteTable", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/RoutesPerRouteTable", "properties": { - "name": { - "localizedValue": "Routes per Route Table", - "value": "RoutesPerRouteTable" - }, - "isQuotaApplicable": false, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "unit": "Count", + "name": { + "value": "RoutesPerRouteTable", + "localizedValue": "Routes per Route Table" + }, "properties": {}, - "unit": "Count" - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", + "name": "RoutesPerRouteTable" }, { - "name": "RoutesWithServiceTagPerRouteTable", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/RoutesWithServiceTagPerRouteTable", "properties": { - "name": { - "localizedValue": "Routes with service tag per Route Table", - "value": "RoutesWithServiceTagPerRouteTable" - }, - "isQuotaApplicable": false, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "unit": "Count", + "name": { + "value": "RoutesWithServiceTagPerRouteTable", + "localizedValue": "Routes with service tag per Route Table" + }, "properties": {}, - "unit": "Count" - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", + "name": "RoutesWithServiceTagPerRouteTable" }, { - "name": "MinPublicIpInterNetworkPrefixLength", - "type": "Microsoft.Quota/Quotas", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/MinPublicIpInterNetworkPrefixLength", "properties": { - "name": { - "localizedValue": "Min Public Ip InterNetwork Prefix Length", - "value": "MinPublicIpInterNetworkPrefixLength" - }, - "isQuotaApplicable": true, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "unit": "Count", + "name": { + "value": "MinPublicIpInterNetworkPrefixLength", + "localizedValue": "Min Public Ip InterNetwork Prefix Length" + }, "properties": {}, - "resourceType": "MinPublicIpInterNetworkPrefixLength", - "unit": "Count" - } + "isQuotaApplicable": true, + "resourceType": "MinPublicIpInterNetworkPrefixLength" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/Quotas/", + "type": "Microsoft.Quota/Quotas", + "name": "MinPublicIpInterNetworkPrefixLength" } ] } } - }, - "operationId": "Quota_List", - "title": "Quotas_listQuotaLimitsForNetwork" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getNetworkUsages.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getNetworkUsages.json index 8fd170d2e169..ab8d27051f6e 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getNetworkUsages.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getNetworkUsages.json @@ -1,374 +1,372 @@ { "parameters": { - "api-version": "2025-07-15", - "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus" + "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus", + "api-version": "2025-07-15" }, "responses": { "200": { "body": { "value": [ { - "name": "VirtualNetworks", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/VirtualNetworks", "properties": { + "usages": { + "value": 10 + }, + "unit": "Count", "name": { - "localizedValue": "Virtual Networks", - "value": "VirtualNetworks" + "value": "VirtualNetworks", + "localizedValue": "Virtual Networks" }, - "isQuotaApplicable": false, "properties": {}, - "unit": "Count", - "usages": { - "value": 10 - } - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", + "name": "VirtualNetworks" }, { - "name": "StaticPublicIPAddresses", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/StaticPublicIPAddresses", "properties": { + "usages": { + "value": 10 + }, + "unit": "Count", "name": { - "localizedValue": "Static Public IP Addresses", - "value": "StaticPublicIPAddresses" + "value": "StaticPublicIPAddresses", + "localizedValue": "Static Public IP Addresses" }, - "isQuotaApplicable": false, "properties": {}, - "unit": "Count", - "usages": { - "value": 10 - } - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", + "name": "StaticPublicIPAddresses" }, { - "name": "NetworkSecurityGroups", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/NetworkSecurityGroups", "properties": { + "usages": { + "value": 10 + }, + "unit": "Count", "name": { - "localizedValue": "Network Security Groups", - "value": "NetworkSecurityGroups" + "value": "NetworkSecurityGroups", + "localizedValue": "Network Security Groups" }, - "isQuotaApplicable": false, "properties": {}, - "unit": "Count", - "usages": { - "value": 10 - } - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", + "name": "NetworkSecurityGroups" }, { - "name": "PublicIPAddresses", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/PublicIPAddresses", "properties": { + "usages": { + "value": 10 + }, + "unit": "Count", "name": { - "localizedValue": "Public IP Addresses - Basic", - "value": "PublicIPAddresses" + "value": "PublicIPAddresses", + "localizedValue": "Public IP Addresses - Basic" }, "isQuotaApplicable": true, - "properties": {}, "resourceType": "PublicIpAddresses", - "unit": "Count", - "usages": { - "value": 10 - } - } + "properties": {} + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", + "name": "PublicIPAddresses" }, { - "name": "PublicIpPrefixes", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/PublicIpPrefixes", "properties": { + "usages": { + "value": 10 + }, + "unit": "Count", "name": { - "localizedValue": "Public Ip Prefixes", - "value": "PublicIpPrefixes" + "value": "PublicIpPrefixes", + "localizedValue": "Public Ip Prefixes" }, - "isQuotaApplicable": false, "properties": {}, - "unit": "Count", - "usages": { - "value": 10 - } - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", + "name": "PublicIpPrefixes" }, { - "name": "NatGateways", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/NatGateways", "properties": { + "usages": { + "value": 10 + }, + "unit": "Count", "name": { - "localizedValue": "Nat Gateways", - "value": "NatGateways" + "value": "NatGateways", + "localizedValue": "Nat Gateways" }, - "isQuotaApplicable": false, "properties": {}, - "unit": "Count", - "usages": { - "value": 10 - } - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", + "name": "NatGateways" }, { - "name": "NetworkInterfaces", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/NetworkInterfaces", "properties": { + "usages": { + "value": 10 + }, + "unit": "Count", "name": { - "localizedValue": "Network Interfaces", - "value": "NetworkInterfaces" + "value": "NetworkInterfaces", + "localizedValue": "Network Interfaces" }, - "isQuotaApplicable": false, "properties": {}, - "unit": "Count", - "usages": { - "value": 10 - } - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", + "name": "NetworkInterfaces" }, { - "name": "PrivateEndpoints", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/PrivateEndpoints", "properties": { + "usages": { + "value": 10 + }, + "unit": "Count", "name": { - "localizedValue": "Private Endpoints", - "value": "PrivateEndpoints" + "value": "PrivateEndpoints", + "localizedValue": "Private Endpoints" }, - "isQuotaApplicable": false, "properties": {}, - "unit": "Count", - "usages": { - "value": 10 - } - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", + "name": "PrivateEndpoints" }, { - "name": "PrivateEndpointRedirectMaps", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/PrivateEndpointRedirectMaps", "properties": { + "usages": { + "value": 10 + }, + "unit": "Count", "name": { - "localizedValue": "Private Endpoint Redirect Maps", - "value": "PrivateEndpointRedirectMaps" + "value": "PrivateEndpointRedirectMaps", + "localizedValue": "Private Endpoint Redirect Maps" }, - "isQuotaApplicable": false, "properties": {}, - "unit": "Count", - "usages": { - "value": 10 - } - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", + "name": "PrivateEndpointRedirectMaps" }, { - "name": "LoadBalancers", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/LoadBalancers", "properties": { + "usages": { + "value": 10 + }, + "unit": "Count", "name": { - "localizedValue": "Load Balancers", - "value": "LoadBalancers" + "value": "LoadBalancers", + "localizedValue": "Load Balancers" }, - "isQuotaApplicable": false, "properties": {}, - "unit": "Count", - "usages": { - "value": 10 - } - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", + "name": "LoadBalancers" }, { - "name": "PrivateLinkServices", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/PrivateLinkServices", "properties": { + "usages": { + "value": 10 + }, + "unit": "Count", "name": { - "localizedValue": "Private Link Services", - "value": "PrivateLinkServices" + "value": "PrivateLinkServices", + "localizedValue": "Private Link Services" }, - "isQuotaApplicable": false, "properties": {}, - "unit": "Count", - "usages": { - "value": 10 - } - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", + "name": "PrivateLinkServices" }, { - "name": "ApplicationGateways", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/ApplicationGateways", "properties": { + "usages": { + "value": 10 + }, + "unit": "Count", "name": { - "localizedValue": "Application Gateways", - "value": "ApplicationGateways" + "value": "ApplicationGateways", + "localizedValue": "Application Gateways" }, - "isQuotaApplicable": false, "properties": {}, - "unit": "Count", - "usages": { - "value": 10 - } - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", + "name": "ApplicationGateways" }, { - "name": "RouteTables", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/RouteTables", "properties": { + "usages": { + "value": 10 + }, + "unit": "Count", "name": { - "localizedValue": "Route Tables", - "value": "RouteTables" + "value": "RouteTables", + "localizedValue": "Route Tables" }, - "isQuotaApplicable": false, "properties": {}, - "unit": "Count", - "usages": { - "value": 10 - } - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", + "name": "RouteTables" }, { - "name": "RouteFilters", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/RouteFilters", "properties": { + "usages": { + "value": 10 + }, + "unit": "Count", "name": { - "localizedValue": "Route Filters", - "value": "RouteFilters" + "value": "RouteFilters", + "localizedValue": "Route Filters" }, - "isQuotaApplicable": false, "properties": {}, - "unit": "Count", - "usages": { - "value": 10 - } - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", + "name": "RouteFilters" }, { - "name": "NetworkWatchers", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/NetworkWatchers", "properties": { + "usages": { + "value": 10 + }, + "unit": "Count", "name": { - "localizedValue": "Network Watchers", - "value": "NetworkWatchers" + "value": "NetworkWatchers", + "localizedValue": "Network Watchers" }, - "isQuotaApplicable": false, "properties": {}, - "unit": "Count", - "usages": { - "value": 10 - } - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", + "name": "NetworkWatchers" }, { - "name": "PacketCaptures", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/PacketCaptures", "properties": { + "usages": { + "value": 10 + }, + "unit": "Count", "name": { - "localizedValue": "Packet Captures", - "value": "PacketCaptures" + "value": "PacketCaptures", + "localizedValue": "Packet Captures" }, - "isQuotaApplicable": false, "properties": {}, - "unit": "Count", - "usages": { - "value": 10 - } - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", + "name": "PacketCaptures" }, { - "name": "ApplicationSecurityGroups", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/ApplicationSecurityGroups", "properties": { + "usages": { + "value": 10 + }, + "unit": "Count", "name": { - "localizedValue": "Application Security Groups.", - "value": "ApplicationSecurityGroups" + "value": "ApplicationSecurityGroups", + "localizedValue": "Application Security Groups." }, - "isQuotaApplicable": false, "properties": {}, - "unit": "Count", - "usages": { - "value": 10 - } - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", + "name": "ApplicationSecurityGroups" }, { - "name": "StandardSkuLoadBalancers", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/StandardSkuLoadBalancers", "properties": { + "usages": { + "value": 10 + }, + "unit": "Count", "name": { - "localizedValue": "Standard Sku Load Balancers", - "value": "StandardSkuLoadBalancers" + "value": "StandardSkuLoadBalancers", + "localizedValue": "Standard Sku Load Balancers" }, - "isQuotaApplicable": false, "properties": {}, - "unit": "Count", - "usages": { - "value": 10 - } - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", + "name": "StandardSkuLoadBalancers" }, { - "name": "StandardSkuPublicIpAddresses", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/StandardSkuPublicIpAddresses", "properties": { + "usages": { + "value": 10 + }, + "unit": "Count", "name": { - "localizedValue": "Public IP Addresses - Standard", - "value": "StandardSkuPublicIpAddresses" + "value": "StandardSkuPublicIpAddresses", + "localizedValue": "Public IP Addresses - Standard" }, "isQuotaApplicable": true, - "resourceType": "PublicIpAddresses", - "unit": "Count", - "usages": { - "value": 10 - } - } + "resourceType": "PublicIpAddresses" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", + "name": "StandardSkuPublicIpAddresses" }, { - "name": "DnsServersPerVirtualNetwork", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/DnsServersPerVirtualNetwork", "properties": { + "usages": { + "value": 10 + }, + "unit": "Count", "name": { - "localizedValue": "DNS servers per Virtual Network", - "value": "DnsServersPerVirtualNetwork" + "value": "DnsServersPerVirtualNetwork", + "localizedValue": "DNS servers per Virtual Network" }, - "isQuotaApplicable": false, "properties": {}, - "unit": "Count", - "usages": { - "value": 10 - } - } + "isQuotaApplicable": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", + "name": "DnsServersPerVirtualNetwork" }, { - "name": "MinPublicIpInterNetworkPrefixLength", - "type": "Microsoft.Quota/usages", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/MinPublicIpInterNetworkPrefixLength", "properties": { + "usages": { + "value": 10 + }, + "unit": "Count", "name": { - "localizedValue": "Min Public Ip InterNetwork Prefix Length", - "value": "MinPublicIpInterNetworkPrefixLength" + "value": "MinPublicIpInterNetworkPrefixLength", + "localizedValue": "Min Public Ip InterNetwork Prefix Length" }, - "isQuotaApplicable": true, "properties": {}, - "unit": "Count", - "usages": { - "value": 10 - } - } + "isQuotaApplicable": true + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/usages/", + "type": "Microsoft.Quota/usages", + "name": "MinPublicIpInterNetworkPrefixLength" } ] } } - }, - "operationId": "Usages_List", - "title": "Quotas_listUsagesForNetwork" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getQuotaRequestStatusById.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getQuotaRequestStatusById.json index d9726b725a8e..2b923888b39f 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getQuotaRequestStatusById.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getQuotaRequestStatusById.json @@ -1,38 +1,36 @@ { "parameters": { - "api-version": "2025-07-15", + "scope": "subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus", "id": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "scope": "subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus" + "api-version": "2025-07-15" }, "responses": { "200": { "body": { - "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "type": "Microsoft.Quota/quotaRequests", "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "type": "Microsoft.Quota/quotaRequests", + "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", "properties": { + "requestSubmitTime": "2019-08-19T19:23:17.904Z", "message": "Request completed", "provisioningState": "Succeeded", - "requestSubmitTime": "2019-08-19T19:23:17.904Z", "value": [ { - "name": { - "localizedValue": "Standard NC Promo Family vCPUs", - "value": "standardNCPromoFamily" - }, "limit": { "limitObjectType": "LimitValue", "value": 50 }, + "unit": "Count", + "name": { + "value": "standardNCPromoFamily", + "localizedValue": "Standard NC Promo Family vCPUs" + }, "message": "Request completed", - "provisioningState": "Succeeded", - "unit": "Count" + "provisioningState": "Succeeded" } ] } } } - }, - "operationId": "QuotaRequestStatus_Get", - "title": "QuotaRequestStatus" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getQuotaRequestStatusFailed.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getQuotaRequestStatusFailed.json index 899f85c4ac80..b9e659f0962d 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getQuotaRequestStatusFailed.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getQuotaRequestStatusFailed.json @@ -1,42 +1,40 @@ { "parameters": { - "api-version": "2025-07-15", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus", "id": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus" + "api-version": "2025-07-15" }, "responses": { "200": { "body": { - "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "type": "Microsoft.Quota/quotaRequests", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "type": "Microsoft.Quota/quotaRequests", + "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", "properties": { + "requestSubmitTime": "2019-08-19T19:23:17.904Z", + "message": "Request failed, please contact support.", + "provisioningState": "Failed", "error": { "code": "ContactSupport", "message": "Request failed, please contact support." }, - "message": "Request failed, please contact support.", - "provisioningState": "Failed", - "requestSubmitTime": "2019-08-19T19:23:17.904Z", "value": [ { - "name": { - "localizedValue": "Standard NC Promo Family vCPUs", - "value": "standardNCPromoFamily" - }, "limit": { "limitObjectType": "LimitValue", "value": 50 }, + "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", + "name": { + "value": "standardNCPromoFamily", + "localizedValue": "Standard NC Promo Family vCPUs" + }, "message": "Request failed, please contact support.", - "provisioningState": "Failed", - "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C" + "provisioningState": "Failed" } ] } } } - }, - "operationId": "QuotaRequestStatus_Get", - "title": "QuotaRequestFailed" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getQuotaRequestStatusInProgress.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getQuotaRequestStatusInProgress.json index c9da0fad6ef0..e76099e415dd 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getQuotaRequestStatusInProgress.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getQuotaRequestStatusInProgress.json @@ -1,51 +1,49 @@ { "parameters": { - "api-version": "2025-07-15", + "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus", "id": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "scope": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus" + "api-version": "2025-07-15" }, "responses": { "200": { "body": { - "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "type": "Microsoft.Quota/quotaRequests", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "type": "Microsoft.Quota/quotaRequests", + "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", "properties": { + "requestSubmitTime": "2019-08-19T19:23:17.904Z", "message": "Request processing", "provisioningState": "InProgress", - "requestSubmitTime": "2019-08-19T19:23:17.904Z", "value": [ { - "name": { - "localizedValue": "Standard HCS Family vCPUs", - "value": "standardHCSFamily" - }, "limit": { "limitObjectType": "LimitValue", "value": 50 }, + "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", + "name": { + "value": "standardHCSFamily", + "localizedValue": "Standard HCS Family vCPUs" + }, "message": "Request completed", - "provisioningState": "Succeeded", - "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C" + "provisioningState": "Succeeded" }, { - "name": { - "localizedValue": "Standard NC Promo Family vCPUs", - "value": "standardNCPromoFamily" - }, "limit": { "limitObjectType": "LimitValue", "value": 50 }, + "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", + "name": { + "value": "standardNCPromoFamily", + "localizedValue": "Standard NC Promo Family vCPUs" + }, "message": "Request processing", - "provisioningState": "InProgress", - "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C" + "provisioningState": "InProgress" } ] } } } - }, - "operationId": "QuotaRequestStatus_Get", - "title": "QuotaRequestInProgress" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getQuotaRequestsHistory.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getQuotaRequestsHistory.json index 9b076f028ed8..f9c2da63bbcf 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getQuotaRequestsHistory.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/getQuotaRequestsHistory.json @@ -1,7 +1,7 @@ { "parameters": { - "api-version": "2025-07-15", - "scope": "subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus" + "scope": "subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus", + "api-version": "2025-07-15" }, "responses": { "200": { @@ -9,80 +9,80 @@ "nextLink": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/microsoft.Quota/resourceProviders/Microsoft.Compute/locations/eastus/quotaRequests?api-version=2021-03-15&$top=3", "value": [ { - "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "type": "Microsoft.Quota/quotaRequests", "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "type": "Microsoft.Quota/quotaRequests", + "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", "properties": { + "requestSubmitTime": "2019-08-19T19:23:17.904Z", "message": "Request completed", "provisioningState": "Success", - "requestSubmitTime": "2019-08-19T19:23:17.904Z", "value": [ { - "name": { - "localizedValue": "Standard NC Promo Family vCPUs", - "value": "standardNCPromoFamily" - }, "limit": { "limitObjectType": "LimitValue", "value": 50 }, + "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", + "name": { + "value": "standardNCPromoFamily", + "localizedValue": "Standard NC Promo Family vCPUs" + }, "message": "Request completed", - "provisioningState": "Success", - "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C" + "provisioningState": "Success" } ] } }, { - "name": "7E73A85C-83BB-4DE4-903F-076F1A2B91D6", - "type": "Microsoft.Quota/quotaRequests", "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaRequests/7E73A85C-83BB-4DE4-903F-076F1A2B91D6", + "type": "Microsoft.Quota/quotaRequests", + "name": "7E73A85C-83BB-4DE4-903F-076F1A2B91D6", "properties": { + "requestSubmitTime": "2019-08-18T19:23:17.904Z", "message": "Request completed", "provisioningState": "Succeeded", - "requestSubmitTime": "2019-08-18T19:23:17.904Z", "value": [ { - "name": { - "localizedValue": "Standard NV Promo Family vCPUs", - "value": "standardNVPromoFamily" - }, "limit": { "limitObjectType": "LimitValue", "value": 150 }, + "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", + "name": { + "value": "standardNVPromoFamily", + "localizedValue": "Standard NV Promo Family vCPUs" + }, "message": "Request completed", - "provisioningState": "Succeeded", - "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C" + "provisioningState": "Succeeded" } ] } }, { - "name": "5E460077-AB53-4802-8997-A6940E0B7649", - "type": "Microsoft.Quota/quotaRequests", "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaRequests/5E460077-AB53-4802-8997-A6940E0B7649", + "type": "Microsoft.Quota/quotaRequests", + "name": "5E460077-AB53-4802-8997-A6940E0B7649", "properties": { + "requestSubmitTime": "2019-08-17T19:23:17.904Z", + "message": "The resource is currently unavailable in the location for the offer type.", + "provisioningState": "Failed", "error": { "code": "ResourceNotAvailableForOffer", "message": "The resource is currently unavailable in the location for the offer type." }, - "message": "The resource is currently unavailable in the location for the offer type.", - "provisioningState": "Failed", - "requestSubmitTime": "2019-08-17T19:23:17.904Z", "value": [ { - "name": { - "localizedValue": "Standard HBS Family vCPUs", - "value": "standardHBSFamily" - }, "limit": { "limitObjectType": "LimitValue", "value": 52 }, + "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C", + "name": { + "value": "standardHBSFamily", + "localizedValue": "Standard HBS Family vCPUs" + }, "message": "Request failed, please contact support.", - "provisioningState": "Failed", - "subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C" + "provisioningState": "Failed" } ] } @@ -90,7 +90,5 @@ ] } } - }, - "operationId": "QuotaRequestStatus_List", - "title": "QuotaRequestHistory" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/patchComputeQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/patchComputeQuotaRequest.json index ad58164b9b7f..f4da936284fe 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/patchComputeQuotaRequest.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/patchComputeQuotaRequest.json @@ -1,48 +1,46 @@ { "parameters": { + "scope": "subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus", + "resourceName": "standardFSv2Family", "api-version": "2025-07-15", "createQuotaRequest": { "properties": { - "name": { - "value": "standardFSv2Family" - }, "limit": { "limitObjectType": "LimitValue", "value": 10 + }, + "name": { + "value": "standardFSv2Family" } } - }, - "resourceName": "standardFSv2Family", - "scope": "subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus" + } }, "responses": { + "202": { + "headers": { + "Retry-After": "30", + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2023-02-01" + } + }, "200": { + "headers": { + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2023-02-01" + }, "body": { - "name": "standardFSv2Family", - "type": "Microsoft.Quota/quotas", "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotas/standardFSv2Family", + "type": "Microsoft.Quota/quotas", + "name": "standardFSv2Family", "properties": { - "name": { - "localizedValue": "Standard FSv2 Family vCPUs", - "value": "standardFSv2Family" - }, "limit": { "limitObjectType": "LimitValue", "value": 10 + }, + "name": { + "value": "standardFSv2Family", + "localizedValue": "Standard FSv2 Family vCPUs" } } - }, - "headers": { - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2023-02-01" - } - }, - "202": { - "headers": { - "Retry-After": "30", - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2023-02-01" } } - }, - "operationId": "Quota_Update", - "title": "Quotas_Request_PatchForCompute" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/patchNetworkOneSkuQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/patchNetworkOneSkuQuotaRequest.json index 480fdec8a227..1a8bf70a8faa 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/patchNetworkOneSkuQuotaRequest.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/patchNetworkOneSkuQuotaRequest.json @@ -1,49 +1,47 @@ { "parameters": { + "scope": "subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus", + "resourceName": "MinPublicIpInterNetworkPrefixLength", "api-version": "2025-07-15", "createQuotaRequest": { "properties": { - "name": { - "value": "MinPublicIpInterNetworkPrefixLength" - }, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "name": { + "value": "MinPublicIpInterNetworkPrefixLength" + }, "resourceType": "MinPublicIpInterNetworkPrefixLength" } - }, - "resourceName": "MinPublicIpInterNetworkPrefixLength", - "scope": "subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus" + } }, "responses": { + "202": { + "headers": { + "Retry-After": "30", + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2023-02-01" + } + }, "200": { + "headers": { + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2023-02-01" + }, "body": { - "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "type": "Microsoft.Quota/quotas", "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "type": "Microsoft.Quota/quotas", + "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", "properties": { - "name": { - "value": "MinPublicIpInterNetworkPrefixLength" - }, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "name": { + "value": "MinPublicIpInterNetworkPrefixLength" + }, "resourceType": "MinPublicIpInterNetworkPrefixLength" } - }, - "headers": { - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2023-02-01" - } - }, - "202": { - "headers": { - "Retry-After": "30", - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2023-02-01" } } - }, - "operationId": "Quota_Update", - "title": "Quotas_Request_PatchForNetwork" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/putComputeOneSkuQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/putComputeOneSkuQuotaRequest.json index 34875f011d98..5422fee6d060 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/putComputeOneSkuQuotaRequest.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/putComputeOneSkuQuotaRequest.json @@ -1,47 +1,45 @@ { "parameters": { + "scope": "subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus", + "resourceName": "standardFSv2Family", "api-version": "2025-07-15", "createQuotaRequest": { "properties": { - "name": { - "value": "standardFSv2Family" - }, "limit": { "limitObjectType": "LimitValue", "value": 10 + }, + "name": { + "value": "standardFSv2Family" } } - }, - "resourceName": "standardFSv2Family", - "scope": "subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus" + } }, "responses": { + "202": { + "headers": { + "Retry-After": "30", + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2023-02-01" + } + }, "200": { + "headers": { + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2023-02-01" + }, "body": { - "name": "standardFSv2Family", - "type": "Microsoft.Quota/quotas", "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotas/standardFSv2Family", + "type": "Microsoft.Quota/quotas", + "name": "standardFSv2Family", "properties": { - "name": { - "value": "standardFSv2Family" - }, "limit": { "limitObjectType": "LimitValue", "value": 10 + }, + "name": { + "value": "standardFSv2Family" } } - }, - "headers": { - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2023-02-01" - } - }, - "202": { - "headers": { - "Retry-After": "30", - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2023-02-01" } } - }, - "operationId": "Quota_CreateOrUpdate", - "title": "Quotas_Put_Request_ForCompute" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/putMachineLearningServicesQuotaRequestLowPriority.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/putMachineLearningServicesQuotaRequestLowPriority.json index 3e1cf4e18391..ce5c29eb095a 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/putMachineLearningServicesQuotaRequestLowPriority.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/putMachineLearningServicesQuotaRequestLowPriority.json @@ -1,49 +1,47 @@ { "parameters": { + "scope": "subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.MachineLearningServices/locations/eastus", + "resourceName": "TotalLowPriorityCores", "api-version": "2025-07-15", "createQuotaRequest": { "properties": { - "name": { - "value": "TotalLowPriorityCores" - }, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "name": { + "value": "TotalLowPriorityCores" + }, "resourceType": "lowPriority" } - }, - "resourceName": "TotalLowPriorityCores", - "scope": "subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.MachineLearningServices/locations/eastus" + } }, "responses": { + "202": { + "headers": { + "Retry-After": "30", + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2023-02-01" + } + }, "200": { + "headers": { + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2023-02-01" + }, "body": { - "name": "TotalLowPriorityCores", - "type": "Microsoft.Quota/quotas", "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.MachineLearningServices/locations/eastus/providers/Microsoft.Quota/quotas/TotalLowPriorityCores", + "type": "Microsoft.Quota/quotas", + "name": "TotalLowPriorityCores", "properties": { - "name": { - "value": "TotalLowPriorityCores" - }, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "name": { + "value": "TotalLowPriorityCores" + }, "resourceType": "lowPriority" } - }, - "headers": { - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2023-02-01" - } - }, - "202": { - "headers": { - "Retry-After": "30", - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Compute/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2023-02-01" } } - }, - "operationId": "Quota_CreateOrUpdate", - "title": "Quotas_Request_ForMachineLearningServices_LowPriorityResource" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/putNetworkOneSkuQuotaRequest.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/putNetworkOneSkuQuotaRequest.json index 23eedbdd47fb..1a8bf70a8faa 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/putNetworkOneSkuQuotaRequest.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/putNetworkOneSkuQuotaRequest.json @@ -1,49 +1,47 @@ { "parameters": { + "scope": "subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus", + "resourceName": "MinPublicIpInterNetworkPrefixLength", "api-version": "2025-07-15", "createQuotaRequest": { "properties": { - "name": { - "value": "MinPublicIpInterNetworkPrefixLength" - }, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "name": { + "value": "MinPublicIpInterNetworkPrefixLength" + }, "resourceType": "MinPublicIpInterNetworkPrefixLength" } - }, - "resourceName": "MinPublicIpInterNetworkPrefixLength", - "scope": "subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus" + } }, "responses": { + "202": { + "headers": { + "Retry-After": "30", + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2023-02-01" + } + }, "200": { + "headers": { + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2023-02-01" + }, "body": { - "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "type": "Microsoft.Quota/quotas", "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "type": "Microsoft.Quota/quotas", + "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", "properties": { - "name": { - "value": "MinPublicIpInterNetworkPrefixLength" - }, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "name": { + "value": "MinPublicIpInterNetworkPrefixLength" + }, "resourceType": "MinPublicIpInterNetworkPrefixLength" } - }, - "headers": { - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2023-02-01" - } - }, - "202": { - "headers": { - "Retry-After": "30", - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2023-02-01" } } - }, - "operationId": "Quota_CreateOrUpdate", - "title": "Quotas_PutRequest_ForNetwork" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json index 1c4ff61eefb3..269ad19b947b 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json @@ -1,49 +1,47 @@ { "parameters": { + "scope": "subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus", + "resourceName": "StandardSkuPublicIpAddresses", "api-version": "2025-07-15", "createQuotaRequest": { "properties": { - "name": { - "value": "StandardSkuPublicIpAddresses" - }, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "name": { + "value": "StandardSkuPublicIpAddresses" + }, "resourceType": "PublicIpAddresses" } - }, - "resourceName": "StandardSkuPublicIpAddresses", - "scope": "subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus" + } }, "responses": { + "202": { + "headers": { + "Retry-After": "30", + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2023-02-01" + } + }, "200": { + "headers": { + "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequest/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2023-02-01" + }, "body": { - "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", - "type": "Microsoft.Quota/quotas", "id": "/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequests/2B5C8515-37D8-4B6A-879B-CD641A2CF605", + "type": "Microsoft.Quota/quotas", + "name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605", "properties": { - "name": { - "value": "StandardSkuPublicIpAddresses" - }, "limit": { "limitObjectType": "LimitValue", "value": 10 }, + "name": { + "value": "StandardSkuPublicIpAddresses" + }, "resourceType": "PublicIpAddresses" } - }, - "headers": { - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/quotaRequest/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2023-02-01" - } - }, - "202": { - "headers": { - "Retry-After": "30", - "location": "https://management.azure.com/subscriptions/D7EC67B3-7657-4966-BFFC-41EFD36BAAB3/providers/Microsoft.Network/locations/eastus/providers/Microsoft.Quota/operationsStatus/2B5C8515-37D8-4B6A-879B-CD641A2CF605?api-version=2023-02-01" } } - }, - "operationId": "Quota_CreateOrUpdate", - "title": "Quotas_PutRequest_ForNetwork_StandardSkuPublicIpAddressesResource" + } } diff --git a/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/groupquota.json b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/groupquota.json new file mode 100644 index 000000000000..22d05e345d63 --- /dev/null +++ b/specification/quota/resource-manager/Microsoft.Quota/stable/2025-07-15/groupquota.json @@ -0,0 +1,2311 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Quota Extension API", + "version": "2025-07-15", + "description": "Microsoft Azure Quota Resource Provider. This Swagger is for Azure Group Quota using GroupQuota Entity." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + }, + "type": "oauth2", + "description": "Azure Active Directory OAuth 2.0 authorization" + } + }, + "paths": { + "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}": { + "put": { + "tags": [ + "GroupQuotas" + ], + "summary": "Creates a new GroupQuota for the name passed.", + "description": "Creates a new GroupQuota for the name passed. A RequestId will be returned by the Service. The status can be polled periodically. The status Async polling is using standards defined at - https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/async-api-reference.md#asynchronous-operations. Use the OperationsStatus URI provided in Azure-AsyncOperation header, the duration will be specified in retry-after header. Once the operation gets to terminal state - Succeeded | Failed, then the URI will change to Get URI and full details can be checked.", + "operationId": "GroupQuotas_CreateOrUpdate", + "x-ms-examples": { + "GroupQuotas_Put_Request_ForCompute": { + "$ref": "./examples/GroupQuotas/PutGroupQuotas.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "parameters": [ + { + "$ref": "#/parameters/ManagementGroupId" + }, + { + "$ref": "#/parameters/GroupQuotaName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "GroupQuotaPutRequestBody", + "in": "body", + "description": "The GroupQuota body details for creation or update of a GroupQuota entity.", + "schema": { + "$ref": "#/definitions/GroupQuotasEntity" + } + } + ], + "responses": { + "200": { + "description": "OK, Create or Update", + "schema": { + "$ref": "#/definitions/GroupQuotasEntity" + } + }, + "201": { + "description": "Request Accepted, 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. New guidelines - https://github.com/microsoft/api-guidelines/blob/vNext/Guidelines.md#131-resource-based-long-running-operations-relo", + "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": [ + "GroupQuotas" + ], + "summary": "Updates a new GroupQuotas for the name passed.", + "description": "Updates the GroupQuotas for the name passed. A GroupQuotas RequestId will be returned by the Service. The status can be polled periodically. The status Async polling is using standards defined at - https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/async-api-reference.md#asynchronous-operations. Use the OperationsStatus URI provided in Azure-AsyncOperation header, the duration will be specified in retry-after header. Once the operation gets to terminal state - Succeeded | Failed, then the URI will change to Get URI and full details can be checked. \n Any change in the filters will be applicable to the future quota assignments, existing quota allocated to subscriptions from the GroupQuotas remains unchanged.", + "operationId": "GroupQuotas_Update", + "x-ms-examples": { + "GroupQuotas_Patch_Request_ForCompute": { + "$ref": "./examples/GroupQuotas/PatchGroupQuotas.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "parameters": [ + { + "$ref": "#/parameters/ManagementGroupId" + }, + { + "$ref": "#/parameters/GroupQuotaName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "name": " GroupQuotasPatchRequestBody", + "in": "body", + "description": "The GroupQuotas Patch Request.", + "schema": { + "$ref": "#/definitions/GroupQuotasEntityPatch" + } + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/GroupQuotasEntity" + } + }, + "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": "Bad Request", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "GroupQuotas" + ], + "summary": "Gets GroupQuotas for the name passed.", + "description": "Gets the GroupQuotas for the name passed. It will return the GroupQuotas properties only. The details on group quota can be access from the group quota APIs.", + "operationId": "GroupQuotas_Get", + "x-ms-examples": { + "GroupQuotas_Get_Request_ForCompute": { + "$ref": "./examples/GroupQuotas/GetGroupQuotas.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ManagementGroupId" + }, + { + "$ref": "#/parameters/GroupQuotaName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/GroupQuotasEntity" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "GroupQuotas" + ], + "summary": "Deletes GroupQuotas for the name passed.", + "description": "Deletes the GroupQuotas for the name passed. All the remaining shareQuota in the GroupQuotas will be lost.", + "operationId": "GroupQuotas_Delete", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "GroupQuotas_Delete_Request_ForCompute": { + "$ref": "./examples/GroupQuotas/DeleteGroupQuotas.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ManagementGroupId" + }, + { + "$ref": "#/parameters/GroupQuotaName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "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" + } + } + }, + "204": { + "description": "No Content." + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas": { + "get": { + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "tags": [ + "GroupQuotas" + ], + "summary": "Lists GroupQuotas for the scope passed.", + "description": "Lists GroupQuotas for the scope passed. It will return the GroupQuotas QuotaEntity properties only.The details on group quota can be access from the group quota APIs.", + "operationId": "GroupQuotas_List", + "x-ms-examples": { + "GroupQuotas_List_Request_ForCompute": { + "$ref": "./examples/GroupQuotas/GetGroupQuotasList.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ManagementGroupId" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/GroupQuotaList" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/subscriptions/{subscriptionId}": { + "put": { + "tags": [ + "GroupQuotasSubscriptions" + ], + "summary": "Adds subscription to the GroupQuotas.", + "description": "Adds a subscription to GroupQuotas. The subscriptions will be validated based on the additionalAttributes defined in the GroupQuota. The additionalAttributes works as filter for the subscriptions, which can be included in the GroupQuotas. The request's TenantId is validated against the subscription's TenantId.", + "operationId": "GroupQuotaSubscriptions_CreateOrUpdate", + "x-ms-examples": { + "GroupQuotaSubscriptions_Put_Subscriptions": { + "$ref": "./examples/GroupQuotasSubscriptions/PutGroupQuotasSubscription.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "parameters": [ + { + "$ref": "#/parameters/ManagementGroupId" + }, + { + "$ref": "#/parameters/GroupQuotaName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK, Create or Update", + "schema": { + "$ref": "#/definitions/GroupQuotaSubscriptionId" + } + }, + "201": { + "description": "Request Accepted, 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. New guidelines - https://github.com/microsoft/api-guidelines/blob/vNext/Guidelines.md#131-resource-based-long-running-operations-relo", + "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": [ + "GroupQuotasSubscriptions" + ], + "summary": "Updates the GroupQuotas with the subscription to add to the subscriptions list.", + "description": "Updates the GroupQuotas with the subscription to add to the subscriptions list. The subscriptions will be validated if additionalAttributes are defined in the GroupQuota. The request's TenantId is validated against the subscription's TenantId.", + "operationId": "GroupQuotaSubscriptions_Update", + "x-ms-examples": { + "GroupQuotaSubscriptions_Patch_Subscriptions": { + "$ref": "./examples/GroupQuotasSubscriptions/PatchGroupQuotasSubscription.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "parameters": [ + { + "$ref": "#/parameters/ManagementGroupId" + }, + { + "$ref": "#/parameters/GroupQuotaName" + }, + { + "$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/GroupQuotaSubscriptionId" + } + }, + "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 response", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "GroupQuotasSubscriptions" + ], + "summary": "Removes the subscription from GroupQuotas.", + "description": "Removes the subscription from GroupQuotas. The request's TenantId is validated against the subscription's TenantId.", + "operationId": "GroupQuotaSubscriptions_Delete", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "GroupQuotaSubscriptions_Delete_Subscriptions": { + "$ref": "./examples/GroupQuotasSubscriptions/DeleteGroupQuotaSubscriptions.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ManagementGroupId" + }, + { + "$ref": "#/parameters/GroupQuotaName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "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" + } + } + }, + "204": { + "description": "No Content." + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "GroupQuotasSubscriptions" + ], + "summary": "Returns the subscriptionId along with its provisioning state for being associated with the GroupQuotas.", + "description": "Returns the subscriptionIds along with its provisioning state for being associated with the GroupQuota. If the subscription is not a member of GroupQuota, it will return 404, else 200.", + "operationId": "GroupQuotaSubscriptions_Get", + "x-ms-examples": { + "GroupQuotaSubscriptions_Get_Subscriptions": { + "$ref": "./examples/GroupQuotasSubscriptions/GetGroupQuotaSubscriptions.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ManagementGroupId" + }, + { + "$ref": "#/parameters/GroupQuotaName" + }, + { + "$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/GroupQuotaSubscriptionId" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/subscriptions": { + "get": { + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "tags": [ + "GroupQuotasSubscriptions" + ], + "summary": "Returns a list of the subscriptionIds for the GroupQuotas.", + "description": "Returns a list of the subscriptionIds associated with the GroupQuotas.", + "operationId": "GroupQuotaSubscriptions_List", + "x-ms-examples": { + "GroupQuotaSubscriptions_List_Subscriptions": { + "$ref": "./examples/GroupQuotasSubscriptions/ListGroupQuotaSubscriptions.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ManagementGroupId" + }, + { + "$ref": "#/parameters/GroupQuotaName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/GroupQuotaSubscriptionIdList" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/subscriptionRequests": { + "get": { + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "tags": [ + "GroupQuotaSubscriptionRequests" + ], + "summary": "List the status of all requests to add subscriptionIds to the GroupQuotasEntity.", + "description": "List API to check the status of a subscriptionId requests by requestId. Request history is maintained for 1 year.", + "operationId": "GroupQuotaSubscriptionRequests_List", + "x-ms-examples": { + "GroupQuotaSubscriptionRequests_List": { + "$ref": "./examples/SubscriptionRequests/SubscriptionRequests_List.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ManagementGroupId" + }, + { + "$ref": "#/parameters/GroupQuotaName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success, with the details of the subscriptionId request.", + "schema": { + "$ref": "#/definitions/GroupQuotaSubscriptionRequestStatusList" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/subscriptionRequests/{requestId}": { + "get": { + "tags": [ + "GroupQuotaSubscriptionRequests" + ], + "summary": "Get the status of a single subscriptionId request by requestId. The Async pattern will be used, if we determine the request is taking longer, else it can return 200 response as response to the subscription add API call.", + "description": "Get API to check the status of a subscriptionIds request by requestId. Use the polling API - OperationsStatus URI specified in Azure-AsyncOperation header field, with retry-after duration in seconds to check the intermediate status. This API provides the finals status with the request details and status.", + "operationId": "GroupQuotaSubscriptionRequests_Get", + "x-ms-examples": { + "GroupQuotaSubscriptionRequests_Get": { + "$ref": "./examples/SubscriptionRequests/SubscriptionRequests_Get.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ManagementGroupId" + }, + { + "$ref": "#/parameters/GroupQuotaName" + }, + { + "$ref": "#/parameters/RequestId" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success, with the details of the subscriptionId request.", + "schema": { + "$ref": "#/definitions/GroupQuotaSubscriptionRequestStatus" + } + }, + "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}/groupQuotaLimits/{location}": { + "patch": { + "tags": [ + "GroupQuotaLimits" + ], + "summary": "Create the GroupQuota requests for a specific ResourceProvider/Location/Resource.", + "description": "Create the GroupQuota requests for a specific ResourceProvider/Location/Resource. The resourceName properties are specified in the request body. Only 1 resource quota can be requested. Please note that patch request creates a new groupQuota request.\nUse the polling API - OperationsStatus URI specified in Azure-AsyncOperation header field, with retry-after duration in seconds to check the intermediate status. This API provides the finals status with the request details and status.", + "operationId": "GroupQuotaLimitsRequest_Update", + "x-ms-examples": { + "GroupQuotaLimitsRequests_Update": { + "$ref": "./examples/GroupQuotaLimitsRequests/PatchGroupQuotaLimitsRequests-Compute.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "parameters": [ + { + "$ref": "#/parameters/ManagementGroupId" + }, + { + "$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" + }, + { + "name": "groupQuotaRequest", + "in": "body", + "description": "The GroupQuotaRequest body details for specific resourceProvider/location/resources.", + "schema": { + "$ref": "#/definitions/GroupQuotaLimitList" + } + } + ], + "responses": { + "200": { + "description": "Success, with the details of the group quota request.", + "schema": { + "$ref": "#/definitions/GroupQuotaLimitList" + } + }, + "202": { + "description": "Request Accepted, 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. New guidelines - https://github.com/microsoft/api-guidelines/blob/vNext/Guidelines.md#131-resource-based-long-running-operations-relo", + "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" + } + } + } + }, + "get": { + "tags": [ + "GroupQuotaLimits" + ], + "summary": "Gets the GroupQuotaLimits for the specified resource provider and location for resource names passed in $filter=resourceName eq {SKU}.", + "description": "Gets the GroupQuotaLimits for the specified resource provider and location for resource names passed in $filter=resourceName eq {SKU}.", + "operationId": "GroupQuotaLimits_List", + "x-ms-examples": { + "GroupQuotaLimits_Get_Request_ForCompute": { + "$ref": "./examples/GroupQuotaLimits/ListGroupQuotaLimits-Compute.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ManagementGroupId" + }, + { + "$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" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/GroupQuotaLimitList" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/groupQuotaRequests/{requestId}": { + "get": { + "tags": [ + "GroupQuotaLimitRequest" + ], + "summary": "Get the status of a single GroupQuota request by requestId.", + "description": "Get API to check the status of a GroupQuota request by requestId.", + "operationId": "GroupQuotaLimitsRequest_Get", + "x-ms-examples": { + "GroupQuotaLimitsRequests_Get": { + "$ref": "./examples/GroupQuotaLimitsRequests/GroupQuotaLimitsRequests_Get.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ManagementGroupId" + }, + { + "$ref": "#/parameters/GroupQuotaName" + }, + { + "$ref": "#/parameters/RequestId" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success, with the details of the group quota request.", + "schema": { + "$ref": "#/definitions/SubmittedResourceRequestStatus" + } + }, + "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}/groupQuotaRequests": { + "get": { + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "tags": [ + "GroupQuotaLimitRequest" + ], + "summary": "Get the status of a single GroupQuota request by requestId.", + "description": "Get API to check the status of a GroupQuota request by requestId.", + "operationId": "GroupQuotaLimitsRequest_List", + "x-ms-examples": { + "GroupQuotaLimitsRequest_List": { + "$ref": "./examples/GroupQuotaLimitsRequests/GroupQuotaLimitsRequests_List.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ManagementGroupId" + }, + { + "$ref": "#/parameters/GroupQuotaName" + }, + { + "$ref": "#/parameters/ResourceProviderName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterResourceAndLocationInQuery" + } + ], + "responses": { + "200": { + "description": "Success, with the details of the group quota request.", + "schema": { + "$ref": "#/definitions/SubmittedResourceRequestStatusList" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Management/managementGroups/{managementGroupId}/subscriptions/{subscriptionId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/quotaAllocations/{location}": { + "patch": { + "tags": [ + "SubscriptionQuotaAllocation" + ], + "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "allocateQuotaRequest", + "in": "body", + "description": "Quota requests payload.", + "required": true, + "schema": { + "$ref": "#/definitions/SubscriptionQuotaAllocationsList" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$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": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "SubscriptionQuotaAllocation" + ], + "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_List_ForCompute": { + "$ref": "./examples/SubscriptionQuotaAllocation/SubscriptionQuotaAllocation_List-Compute.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ManagementGroupId" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$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" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/SubscriptionQuotaAllocationsList" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Management/managementGroups/{managementGroupId}/subscriptions/{subscriptionId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/quotaAllocationRequests/{allocationId}": { + "get": { + "tags": [ + "SubscriptionQuotaAllocationRequest" + ], + "operationId": "GroupQuotaSubscriptionAllocationRequest_Get", + "summary": "Get the status of the quota allocation request for the subscriptionId.", + "description": "Get the quota allocation request status for the subscriptionId by allocationId.", + "x-ms-examples": { + "SubscriptionQuotaAllocationRequests_Get_Request_ForCompute": { + "$ref": "./examples/SubscriptionQuotaAllocationRequests/SubscriptionQuotaAllocationRequests_Get-Compute.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ManagementGroupId" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/GroupQuotaName" + }, + { + "$ref": "#/parameters/ResourceProviderName" + }, + { + "$ref": "#/parameters/AllocationId" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/QuotaAllocationRequestStatus" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Management/managementGroups/{managementGroupId}/subscriptions/{subscriptionId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/quotaAllocationRequests": { + "get": { + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "tags": [ + "SubscriptionQuotaAllocationRequest" + ], + "summary": "Get all the quotaAllocationRequests for a resourceProvider/location.", + "description": "Get all the quotaAllocationRequests for a resourceProvider/location. The filter paramter for location is required.", + "operationId": "GroupQuotaSubscriptionAllocationRequest_List", + "x-ms-examples": { + "SubscriptionQuotaAllocation_List_Request_ForCompute": { + "$ref": "./examples/SubscriptionQuotaAllocationRequests/SubscriptionQuotaAllocationRequests_List-Compute.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ManagementGroupId" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/GroupQuotaName" + }, + { + "$ref": "#/parameters/ResourceProviderName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterLocationInQuery" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/QuotaAllocationRequestStatusList" + } + }, + "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": { + "nextLinkName": "nextLink" + }, + "tags": [ + "GroupQuotaUsages" + ], + "summary": "Gets the GroupQuotas usages and limits(quota) for the resourceProvider/location.", + "description": "Gets the GroupQuotas usages and limits(quota). Location is required paramter.", + "operationId": "GroupQuotaUsages_List", + "x-ms-examples": { + "GroupQuotasUsages_List": { + "$ref": "./examples/GroupQuotaUsages/GetGroupQuotaUsages.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ManagementGroupId" + }, + { + "$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" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/ResourceUsageList" + } + }, + "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}/locationSettings/{location}": { + "put": { + "tags": [ + "GroupQuotaLocationSettings" + ], + "summary": "Enables the GroupQuotas enforcement settings for the resource provider and the location specified.", + "description": "Enables the GroupQuotas enforcement for the resource provider and the location specified. The resource provider will start using the group quotas as the overall quota for the subscriptions included in the GroupQuota. The subscriptions cannot request quota at subscription level since it is now part of an enforced group.\nThe subscriptions share the GroupQuotaLimits assigned to the GroupQuota. If the GroupQuotaLimits is used, then submit a groupQuotaLimit request for the specific resource - provider/location/resource.\nOnce the GroupQuota Enforcement is enabled then, it cannot be deleted or reverted back. To disable GroupQuota Enforcement -\n 1. Remove all the subscriptions from the groupQuota using the delete API for Subscriptions (Check the example - GroupQuotaSubscriptions_Delete).\n 2. Then delete the GroupQuota (Check the example - GroupQuotas_Delete).", + "operationId": "GroupQuotaLocationSettings_CreateOrUpdate", + "x-ms-examples": { + "GroupQuotaLocationSettings_CreateOrUpdate": { + "$ref": "./examples/GroupQuotasEnforcement/PutGroupQuotaEnforcement.json" + }, + "GroupQuotaLocationSettings_CreateOrUpdate_Failed": { + "$ref": "./examples/GroupQuotasEnforcement/PutGroupQuotaEnforcementFailed.json" + } + }, + "x-ms-long-running-operation": true, + "parameters": [ + { + "$ref": "#/parameters/ManagementGroupId" + }, + { + "$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" + }, + { + "name": "LocationSettings", + "in": "body", + "description": "The GroupQuota body details for creation or update of a GroupQuota entity.", + "schema": { + "$ref": "#/definitions/GroupQuotasEnforcementStatus" + } + } + ], + "responses": { + "200": { + "description": "OK, Create or Update", + "schema": { + "$ref": "#/definitions/GroupQuotasEnforcementStatus" + } + }, + "201": { + "description": "Request Accepted, 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. New guidelines - https://github.com/microsoft/api-guidelines/blob/vNext/Guidelines.md#131-resource-based-long-running-operations-relo", + "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": [ + "GroupQuotaLocationSettings" + ], + "summary": "Enables the GroupQuotas enforcement settings for the resource provider and the location specified.", + "description": "Enables the GroupQuotas enforcement for the resource provider and the location specified. The resource provider will start using the group quotas as the overall quota for the subscriptions included in the GroupQuota. The subscriptions cannot request quota at subscription level since it is now part of an enforced group.\nThe subscriptions share the GroupQuotaLimits assigned to the GroupQuota. If the GroupQuotaLimits is used, then submit a groupQuotaLimit request for the specific resource - provider/location/resource.\nOnce the GroupQuota Enforcement is enabled then, it cannot be deleted or reverted back. To disable GroupQuota Enforcement -\n 1. Remove all the subscriptions from the groupQuota using the delete API for Subscriptions (Check the example - GroupQuotaSubscriptions_Delete).\n 2. Ten delete the GroupQuota (Check the example - GroupQuotas_Delete).", + "operationId": "GroupQuotaLocationSettings_Update", + "x-ms-examples": { + "GroupQuotaLocationSettings_Patch": { + "$ref": "./examples/GroupQuotasEnforcement/PatchGroupQuotaEnforcement.json" + } + }, + "x-ms-long-running-operation": true, + "parameters": [ + { + "$ref": "#/parameters/ManagementGroupId" + }, + { + "$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" + }, + { + "name": "LocationSettings", + "in": "body", + "description": "The GroupQuota body details for creation or update of a GroupQuota entity.", + "schema": { + "$ref": "#/definitions/GroupQuotasEnforcementStatus" + } + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/GroupQuotasEnforcementStatus" + } + }, + "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": "Bad Request", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "GroupQuotaLocationSettings" + ], + "summary": "Gets the GroupQuotas enforcement settings for the resource provider/location.", + "description": "Gets the GroupQuotas enforcement settings for the ResourceProvider/location. The locations, where GroupQuota enforcement is not enabled will return Not Found.", + "operationId": "GroupQuotaLocationSettings_Get", + "x-ms-examples": { + "GroupQuotasEnforcement_Get": { + "$ref": "./examples/GroupQuotasEnforcement/GetGroupQuotaEnforcement.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ManagementGroupId" + }, + { + "$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" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/GroupQuotasEnforcementStatus" + } + }, + "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}/locationSettings": { + "get": { + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "tags": [ + "GroupQuotaLocationSettings" + ], + "summary": "Returns a list of the Azure regions settings, where the GroupQuotas enforcement is enabled.", + "description": "Returns only the list of the Azure regions settings, where the GroupQuotas enforcement is enabled. The locations not included in GroupQuota Enforcement will not be listed, the regions in failed status with listed as status Failed.", + "operationId": "GroupQuotaLocationSettings_List", + "x-ms-examples": { + "GroupQuotaEnforcement_List": { + "$ref": "./examples/GroupQuotasEnforcement/ListGroupQuotaEnforcement.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ManagementGroupId" + }, + { + "$ref": "#/parameters/GroupQuotaName" + }, + { + "$ref": "#/parameters/ResourceProviderName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/GroupQuotasEnforcementListResponse" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "RequestState": { + "description": "Request status.", + "enum": [ + "Accepted", + "Created", + "Invalid", + "Succeeded", + "Failed", + "InProgress", + "Canceled" + ], + "readOnly": true, + "type": "string", + "x-ms-enum": { + "name": "RequestState", + "modelAsString": true + } + }, + "QuotaAllocationRequestStatus": { + "type": "object", + "description": "The subscription quota allocation status.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "type": "object", + "x-ms-client-flatten": true, + "properties": { + "requestedResource": { + "$ref": "#/definitions/QuotaAllocationRequestBase" + }, + "requestSubmitTime": { + "description": "The request submission time. The date conforms to the following format specified by the ISO 8601 standard: yyyy-MM-ddTHH:mm:ssZ", + "type": "string", + "readOnly": true, + "format": "date-time" + }, + "provisioningState": { + "readOnly": true, + "$ref": "#/definitions/RequestState" + }, + "faultCode": { + "type": "string", + "description": "Details of the failure.", + "readOnly": true + } + } + } + } + }, + "QuotaAllocationRequestStatusList": { + "type": "object", + "description": "List of QuotaAllocation Request Status", + "properties": { + "value": { + "type": "array", + "description": "List of QuotaAllocation Request Status", + "items": { + "$ref": "#/definitions/QuotaAllocationRequestStatus" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "description": "The URL to use for getting the next set of results.", + "type": "string", + "readOnly": true + } + } + }, + "LROResponse": { + "type": "object", + "description": "The provisioning state for the operation.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "type": "object", + "properties": { + "provisioningState": { + "readOnly": true, + "$ref": "#/definitions/RequestState" + } + } + } + } + }, + "GroupQuotaRequestBase": { + "type": "object", + "description": "The new GroupQuota limit requested.", + "properties": { + "properties": { + "type": "object", + "x-ms-client-flatten": true, + "properties": { + "limit": { + "type": "integer", + "format": "int64", + "description": "The new quota limit for the subscription. The incremental quota will be allocated from pre-approved group quota." + }, + "name": { + "type": "object", + "x-ms-client-flatten": true, + "readOnly": true, + "description": "Name of the resource provided by the resource provider. This property is already included in the request URI, so it is a readonly property returned in the response.", + "properties": { + "value": { + "description": "Resource name.", + "type": "string", + "readOnly": true + }, + "localizedValue": { + "description": "Resource display name.", + "type": "string", + "readOnly": true + } + } + }, + "region": { + "$ref": "#/definitions/RegionScope" + }, + "comments": { + "description": "GroupQuota Request comments and details for request. This is optional paramter to provide more details related to the requested resource.", + "type": "string" + } + } + } + } + }, + "QuotaAllocationRequestBase": { + "type": "object", + "description": "The new quota request allocated to subscription.", + "properties": { + "properties": { + "type": "object", + "x-ms-client-flatten": true, + "properties": { + "limit": { + "type": "integer", + "format": "int64", + "description": "The new quota limit for the subscription. The incremental quota will be allocated from pre-approved group quota." + }, + "name": { + "type": "object", + "x-ms-client-flatten": true, + "description": "Name of the resource provided by the resource provider. This property is already included in the request URI, so it is a readonly property returned in the response.", + "readOnly": true, + "properties": { + "value": { + "description": "Resource name.", + "type": "string", + "readOnly": true + }, + "localizedValue": { + "description": "Resource display name.", + "type": "string", + "readOnly": true + } + } + }, + "region": { + "type": "string", + "description": "The location for which the subscription is allocated" + } + } + } + } + }, + "AllocatedToSubscription": { + "type": "object", + "description": "SubscriptionIds and quota allocated to subscriptions from the GroupQuota.", + "properties": { + "subscriptionId": { + "type": "string", + "description": "An Azure subscriptionId." + }, + "quotaAllocated": { + "type": "integer", + "format": "int64", + "description": "The amount of quota allocated to this subscriptionId from the GroupQuotasEntity." + } + } + }, + "AllocatedQuotaToSubscriptionList": { + "type": "object", + "description": "Quota allocated to subscriptions", + "properties": { + "value": { + "type": "array", + "description": "List of Group Quota Limit allocated to subscriptions.", + "items": { + "$ref": "#/definitions/AllocatedToSubscription" + } + } + } + }, + "GroupQuotaLimit": { + "type": "object", + "description": "Group Quota limit.", + "properties": { + "properties": { + "description": "Group Quota properties for the specified resource.", + "allOf": [ + { + "$ref": "#/definitions/GroupQuotaDetails" + } + ] + } + } + }, + "RegionScope": { + "description": "Location/Azure region for the quota requested for resource.", + "type": "string" + }, + "GroupQuotaDetails": { + "type": "object", + "description": "Group Quota details.", + "properties": { + "resourceName": { + "type": "string", + "description": "The resource name, such as SKU name." + }, + "limit": { + "type": "integer", + "format": "int64", + "description": "The current Group Quota Limit at the parentId level." + }, + "comment": { + "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, + "readOnly": true, + "description": "Name of the resource provided by the resource provider. This property is already included in the request URI, so it is a readonly property returned in the response.", + "properties": { + "value": { + "description": "Resource name.", + "type": "string", + "readOnly": true + }, + "localizedValue": { + "description": "Resource display name.", + "type": "string", + "readOnly": true + } + } + }, + "availableLimit": { + "type": "integer", + "format": "int64", + "readOnly": true, + "description": "The available Group Quota Limit at the MG level. This Group quota can be allocated to subscription(s)." + }, + "allocatedToSubscriptions": { + "readOnly": true, + "$ref": "#/definitions/AllocatedQuotaToSubscriptionList" + } + } + }, + "GroupQuotaLimitList": { + "type": "object", + "description": "List of Group Quota Limit details.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "type": "object", + "properties": { + "provisioningState": { + "readOnly": true, + "$ref": "#/definitions/RequestState" + }, + "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 + } + } + } + } + }, + "GroupQuotaSubscriptionRequestStatus": { + "type": "object", + "description": "The new quota limit request status.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "type": "object", + "properties": { + "subscriptionId": { + "type": "string", + "description": "The subscription Id" + }, + "requestSubmitTime": { + "description": "The request submission time. The date conforms to the following format specified by the ISO 8601 standard: yyyy-MM-ddTHH:mm:ssZ", + "type": "string", + "format": "date-time" + }, + "provisioningState": { + "description": "Status of this subscriptionId being associated with the GroupQuotasEntity.", + "readOnly": true, + "$ref": "#/definitions/RequestState" + } + } + } + } + }, + "GroupQuotaSubscriptionRequestStatusList": { + "type": "object", + "description": "List of GroupQuotaSubscriptionRequests Status", + "properties": { + "value": { + "type": "array", + "description": "List of GroupQuotaSubscriptionRequests Status", + "items": { + "$ref": "#/definitions/GroupQuotaSubscriptionRequestStatus" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "description": "The URL to use for getting the next set of results.", + "type": "string", + "readOnly": true + } + } + }, + "GroupQuotaSubscriptionId": { + "type": "object", + "description": "This represents a Azure subscriptionId that is associated with a GroupQuotasEntity.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "type": "object", + "properties": { + "subscriptionId": { + "description": "An Azure subscriptionId.", + "type": "string" + }, + "provisioningState": { + "description": "Status of this subscriptionId being associated with the GroupQuotasEntity.", + "readOnly": true, + "$ref": "#/definitions/RequestState" + } + } + } + } + }, + "GroupQuotaSubscriptionIdList": { + "type": "object", + "description": "List of GroupQuotaSubscriptionIds", + "properties": { + "value": { + "type": "array", + "description": "List of GroupQuotaSubscriptionIds", + "items": { + "$ref": "#/definitions/GroupQuotaSubscriptionId" + } + }, + "nextLink": { + "description": "The URL to use for getting the next set of results.", + "type": "string", + "readOnly": true + } + } + }, + "SubscriptionQuotaAllocationRequestList": { + "type": "object", + "description": "List of Allocated Group Quota to the subscriptions.", + "properties": { + "value": { + "type": "array", + "description": "Allocated Group Quota to subscriptions.", + "items": { + "$ref": "#/definitions/QuotaAllocationRequestStatus" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "description": "The URL to use for getting the next set of results.", + "type": "string", + "readOnly": true + } + } + }, + "SubscriptionGroupQuotaAssignment": { + "type": "object", + "description": "MGId the source of group quota.", + "properties": { + "groupQuotaId": { + "type": "string", + "description": "The group quota id of the quota source." + }, + "quotaAllocated": { + "type": "integer", + "format": "int64", + "description": "The amount of quota allocated to this subscriptionId from the quota source." + } + } + }, + "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.", + "properties": { + "properties": { + "description": "Quota properties for the specified resource.", + "allOf": [ + { + "$ref": "#/definitions/SubscriptionQuotaDetails" + } + ] + } + } + }, + "SubscriptionQuotaDetails": { + "type": "object", + "description": "Subscription Quota details.", + "properties": { + "resourceName": { + "type": "string", + "description": "The resource name, such as SKU name." + }, + "limit": { + "type": "integer", + "format": "int64", + "description": "The total quota limit for the subscription.", + "readOnly": false + }, + "shareableQuota": { + "type": "integer", + "format": "int64", + "description": "The shareable quota for the subscription.", + "readOnly": true + }, + "name": { + "type": "object", + "x-ms-client-flatten": true, + "readOnly": true, + "description": "Name of the resource provided by the resource provider. This property is already included in the request URI, so it is a readonly property returned in the response.", + "properties": { + "value": { + "description": "Resource name.", + "type": "string", + "readOnly": true + }, + "localizedValue": { + "description": "Resource display name.", + "type": "string", + "readOnly": true + } + } + } + } + }, + "SubmittedResourceRequestStatus": { + "type": "object", + "description": "Status of a single GroupQuota request.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "type": "object", + "properties": { + "requestedResource": { + "description": "Requested Resource.", + "$ref": "#/definitions/GroupQuotaRequestBase" + }, + "requestSubmitTime": { + "description": "The request submission time. The date conforms to the following format specified by the ISO 8601 standard: yyyy-MM-ddTHH:mm:ssZ", + "type": "string", + "readOnly": true, + "format": "date-time" + }, + "provisioningState": { + "readOnly": true, + "$ref": "#/definitions/RequestState" + }, + "faultCode": { + "type": "string", + "description": "Details of the failure.", + "readOnly": true + } + } + } + } + }, + "SubmittedResourceRequestStatusList": { + "type": "object", + "description": "Share Quota Entity list.", + "properties": { + "value": { + "type": "array", + "description": "Subscription groupQuotaRequests list.", + "items": { + "$ref": "#/definitions/SubmittedResourceRequestStatus" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "description": "The URL to use for getting the next set of results.", + "type": "string", + "readOnly": true + } + } + }, + "SubscriptionQuotaAllocationsStatusList": { + "type": "object", + "description": "Subscription quota allocation requests status list.", + "properties": { + "value": { + "type": "array", + "description": "Subscription quota allocation status list.", + "items": { + "$ref": "#/definitions/SubmittedResourceRequestStatus" + } + }, + "nextLink": { + "description": "The URL to use for getting the next set of results.", + "type": "string", + "readOnly": true + } + } + }, + "SubscriptionQuotaAllocationsList": { + "type": "object", + "description": "Subscription quota list.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "type": "object", + "properties": { + "provisioningState": { + "readOnly": true, + "$ref": "#/definitions/RequestState" + }, + "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 + } + } + } + } + }, + "ResourceBaseRequest": { + "type": "object", + "description": "Resource definition with the requested quota.", + "properties": { + "resourceName": { + "type": "string", + "description": "The resource name, such as SKU name.", + "readOnly": true + }, + "limit": { + "type": "integer", + "description": "Quota requested for the resource.", + "format": "int64" + }, + "unit": { + "type": "string", + "readOnly": true, + "description": "Representing the units of the usage quota. Possible values are: Count, Bytes, Seconds, Percent, CountPerSecond, BytesPerSecond. Based on - https://armwiki.azurewebsites.net/api_contracts/UsagesAPIContract.html?q=usages . Different RPs may have different units, Count, type as int64 should work for most of the integer values." + } + } + }, + "ResourceUsageList": { + "type": "object", + "description": "List of resource usages and quotas for GroupQuota.", + "properties": { + "value": { + "type": "array", + "description": "List of resource usages at Group Quotas.", + "items": { + "$ref": "#/definitions/ResourceUsages" + } + }, + "nextLink": { + "description": "The URL to use for getting the next set of results.", + "type": "string", + "readOnly": true + } + } + }, + "ResourceUsages": { + "type": "object", + "description": "Resource details with usages and GroupQuota.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/GroupQuotaUsagesBase" + } + } + }, + "GroupQuotaUsagesBase": { + "type": "object", + "description": "Resource details with usages and GroupQuota.", + "properties": { + "name": { + "type": "object", + "x-ms-client-flatten": true, + "description": "Name of the resource provided by the resource provider. This property is already included in the request URI, so it is a readonly property returned in the response.", + "properties": { + "value": { + "description": "Resource name.", + "type": "string" + }, + "localizedValue": { + "description": "Resource display name.", + "type": "string", + "readOnly": true + } + } + }, + "limit": { + "type": "integer", + "description": "Quota/limits for the resource.", + "format": "int64" + }, + "usages": { + "type": "integer", + "description": "Usages for the resource.", + "format": "int64" + }, + "unit": { + "type": "string", + "readOnly": true, + "description": "Representing the units of the usage quota. Possible values are: Count, Bytes, Seconds, Percent, CountPerSecond, BytesPerSecond. Based on - https://armwiki.azurewebsites.net/api_contracts/UsagesAPIContract.html?q=usages . Different RPs may have different units, Count, type as int64 should work for most of the integer values." + } + } + }, + "GroupQuotasEntityBase": { + "type": "object", + "description": "Properties and filters for ShareQuota. The request parameter is optional, if there are no filters specified.", + "properties": { + "displayName": { + "description": "Display name of the GroupQuota entity.", + "type": "string" + }, + "provisioningState": { + "description": "Provisioning state of the operation.", + "readOnly": true, + "$ref": "#/definitions/RequestState" + } + } + }, + "GroupQuotasEntityBasePatch": { + "type": "object", + "description": "Properties and filters for ShareQuota. The request parameter is optional, if there are no filters specified.", + "properties": { + "displayName": { + "description": "Display name of the GroupQuota entity.", + "type": "string" + }, + "provisioningState": { + "description": "Provisioning state of the operation.", + "readOnly": true, + "$ref": "#/definitions/RequestState" + } + } + }, + "GroupQuotasEntityPatch": { + "type": "object", + "description": "Properties and filters for ShareQuota. The request parameter is optional, if there are no filters specified.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "title": "Properties", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/GroupQuotasEntityBasePatch" + } + ] + } + } + }, + "GroupQuotasEntity": { + "type": "object", + "description": "Properties and filters for ShareQuota. The request parameter is optional, if there are no filters specified.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + }, + { + "type": "object", + "properties": { + "properties": { + "title": "Properties", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/GroupQuotasEntityBase" + } + ] + } + } + } + ] + }, + "GroupQuotaList": { + "type": "object", + "description": "List of Group Quotas at MG level.", + "properties": { + "value": { + "type": "array", + "description": "List of Group Quotas at MG level.", + "items": { + "$ref": "#/definitions/GroupQuotasEntity" + } + }, + "nextLink": { + "description": "The URL to use for getting the next set of results.", + "type": "string", + "readOnly": true + } + } + }, + "GroupQuotasEnforcementListResponse": { + "type": "object", + "description": "List of Azure regions, where the group quotas is enabled for enforcement.", + "properties": { + "value": { + "type": "array", + "description": "List of Azure Regions.", + "items": { + "$ref": "#/definitions/GroupQuotasEnforcementStatus" + } + }, + "nextLink": { + "description": "The URL to use for getting the next set of results.", + "type": "string", + "readOnly": true + } + } + }, + "EnforcementState": { + "description": "Enforcement status.", + "enum": [ + "Enabled", + "Disabled", + "NotAvailable" + ], + "type": "string", + "x-ms-enum": { + "name": "EnforcementState", + "modelAsString": true + } + }, + "GroupQuotasEnforcementStatus": { + "type": "object", + "description": "The GroupQuota Enforcement status for a Azure Location/Region.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "type": "object", + "properties": { + "enforcementEnabled": { + "$ref": "#/definitions/EnforcementState", + "description": "Is the GroupQuota Enforcement enabled for the Azure region." + }, + "provisioningState": { + "$ref": "#/definitions/RequestState", + "readOnly": true + }, + "faultCode": { + "type": "string", + "description": "Details of the failure.", + "readOnly": true + } + } + } + } + } + }, + "parameters": { + "RequestId": { + "name": "requestId", + "in": "path", + "required": true, + "type": "string", + "description": "Request Id.", + "x-ms-parameter-location": "method" + }, + "ResourceName": { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-z][a-z0-9]*$", + "minLength": 3, + "maxLength": 63, + "description": "Resource name.", + "x-ms-parameter-location": "method" + }, + "AllocationId": { + "name": "allocationId", + "in": "path", + "required": true, + "type": "string", + "description": "Request Id.", + "x-ms-parameter-location": "method" + }, + "ManagementGroupId": { + "name": "managementGroupId", + "in": "path", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "description": "Management Group Id.", + "x-ms-parameter-location": "method" + }, + "GroupQuotaName": { + "name": "groupQuotaName", + "in": "path", + "required": true, + "pattern": "^[a-z][a-z0-9]*$", + "minLength": 3, + "maxLength": 63, + "type": "string", + "description": "The GroupQuota name. The name should be unique for the provided context tenantId/MgId.", + "x-ms-parameter-location": "method" + }, + "ResourceProviderName": { + "name": "resourceProviderName", + "in": "path", + "pattern": "^((?!-)[a-zA-Z0-9-]{1,63}(?= 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.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "name": "managementGroupId", - "in": "path", - "description": "The management group ID.", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "groupQuotaName", - "in": "path", - "description": "The GroupQuota name. The name should be unique for the provided context tenantId/MgId.", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 63, - "pattern": "^[a-z][a-z0-9]*$" - }, - { - "name": "resourceProviderName", - "in": "path", - "description": "The resource provider name, such as - Microsoft.Compute. Currently only Microsoft.Compute resource provider supports this API.", - "required": true, - "type": "string", - "pattern": "^((?!-)[a-zA-Z0-9-]{1,63}(?