Fabric Capacities - Create Or Update

Create a FabricCapacity

PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric/capacities/{capacityName}?api-version=2023-11-01

URI Parameters

Name In Required Type Description
capacityName
path True

string

The name of the Microsoft Fabric capacity. It must be a minimum of 3 characters, and a maximum of 63.

Regex pattern: ^[a-z][a-z0-9]*$

resourceGroupName
path True

string

The name of the resource group. The name is case insensitive.

subscriptionId
path True

string

uuid

The ID of the target subscription. The value must be an UUID.

api-version
query True

string

The API version to use for this operation.

Request Body

Name Required Type Description
location True

string

The geo-location where the resource lives

properties.administration True

CapacityAdministration

The capacity administration

sku True

RpSku

The SKU details

tags

object

Resource tags.

Responses

Name Type Description
200 OK

FabricCapacity

Resource 'FabricCapacity' update operation succeeded

201 Created

FabricCapacity

Resource 'FabricCapacity' create operation succeeded

Headers

  • Azure-AsyncOperation: string
  • Retry-After: integer
Other Status Codes

ErrorResponse

An unexpected error response.

Security

azure_auth

Azure Active Directory OAuth2 Flow.

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

Create or update a capacity

Sample request

PUT https://management.azure.com/subscriptions/548B7FB7-3B2A-4F46-BB02-66473F1FC22C/resourceGroups/TestRG/providers/Microsoft.Fabric/capacities/azsdktest?api-version=2023-11-01

{
  "properties": {
    "administration": {
      "members": [
        "azsdktest@microsoft.com",
        "azsdktest2@microsoft.com"
      ]
    }
  },
  "sku": {
    "name": "F2",
    "tier": "Fabric"
  },
  "location": "westcentralus"
}

Sample response

Location: https://management.azure.com/subscriptions/548B7FB7-3B2A-4F46-BB02-66473F1FC22C/providers/Microsoft.Fabric/locations/westcentralus/operationresults/946B9C42-0D6C-4A42-94AE-1156A1EC8534?api-version=2023-11-01&t=638525901413778740&c=MIIH5zCCBs-
Azure-AsyncOperation: https://management.azure.com/subscriptions/548B7FB7-3B2A-4F46-BB02-66473F1FC22C/providers/Microsoft.Fabric/locations/westcentralus/operationstatuses/946B9C42-0D6C-4A42-94AE-1156A1EC8534?api-version=2023-11-01&t=638525901413778740&c=MIIH5zCCBs-
{
  "properties": {
    "provisioningState": "Updating",
    "state": "Preparing",
    "administration": {
      "members": [
        "azsdktest@microsoft.com",
        "azsdktest2@microsoft.com"
      ]
    }
  },
  "sku": {
    "name": "F2",
    "tier": "Fabric"
  },
  "tags": {
    "testKey": "testValue"
  },
  "location": "westcentralus",
  "id": "/subscriptions/548B7FB7-3B2A-4F46-BB02-66473F1FC22C/resourceGroups/TestRG/providers/Microsoft.Fabric/capacities/azsdktest",
  "name": "azsdktest",
  "type": "Microsoft.Fabric/capacities"
}
Location: https://management.azure.com/subscriptions/548B7FB7-3B2A-4F46-BB02-66473F1FC22C/providers/Microsoft.Fabric/locations/westcentralus/operationresults/946B9C42-0D6C-4A42-94AE-1156A1EC8534?api-version=2023-11-01&t=638525901413778740&c=MIIH5zCCBs-
Azure-AsyncOperation: https://management.azure.com/subscriptions/548B7FB7-3B2A-4F46-BB02-66473F1FC22C/providers/Microsoft.Fabric/locations/westcentralus/operationstatuses/946B9C42-0D6C-4A42-94AE-1156A1EC8534?api-version=2023-11-01&t=638525901413778740&c=MIIH5zCCBs-
{
  "properties": {
    "provisioningState": "Provisioning",
    "state": "Provisioning",
    "administration": {
      "members": [
        "azsdktest@microsoft.com",
        "azsdktest2@microsoft.com"
      ]
    }
  },
  "sku": {
    "name": "F2",
    "tier": "Fabric"
  },
  "tags": {
    "testKey": "testValue"
  },
  "location": "westcentralus",
  "id": "/subscriptions/548B7FB7-3B2A-4F46-BB02-66473F1FC22C/resourceGroups/TestRG/providers/Microsoft.Fabric/capacities/azsdktest",
  "name": "azsdktest",
  "type": "Microsoft.Fabric/capacities"
}

Definitions

Name Description
CapacityAdministration

The administration properties of the Fabric capacity resource

createdByType

The type of identity that created the resource.

ErrorAdditionalInfo

The resource management error additional info.

ErrorDetail

The error detail.

ErrorResponse

Error response

FabricCapacity

Fabric Capacity resource

ProvisioningState

The provisioning state of the Fabric capacity resource.

ResourceState

The state of the Fabric capacity resource.

RpSku

Represents the SKU name and Azure pricing tier for Microsoft Fabric capacity resource.

RpSkuTier

The name of the Azure pricing tier to which the SKU applies.

systemData

Metadata pertaining to creation and last modification of the resource.

CapacityAdministration

The administration properties of the Fabric capacity resource

Name Type Description
members

string[]

An array of administrator user identities.

createdByType

The type of identity that created the resource.

Name Type Description
Application

string

Key

string

ManagedIdentity

string

User

string

ErrorAdditionalInfo

The resource management error additional info.

Name Type Description
info

object

The additional info.

type

string

The additional info type.

ErrorDetail

The error detail.

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

The error additional info.

code

string

The error code.

details

ErrorDetail[]

The error details.

message

string

The error message.

target

string

The error target.

ErrorResponse

Error response

Name Type Description
error

ErrorDetail

The error object.

FabricCapacity

Fabric Capacity resource

Name Type Description
id

string

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

location

string

The geo-location where the resource lives

name

string

The name of the resource

properties.administration

CapacityAdministration

The capacity administration

properties.provisioningState

ProvisioningState

The current deployment state of Microsoft Fabric resource. The provisioningState is to indicate states for resource provisioning.

properties.state

ResourceState

The current state of Microsoft Fabric resource. The state is to indicate more states outside of resource provisioning.

sku

RpSku

The SKU details

systemData

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

tags

object

Resource tags.

type

string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

ProvisioningState

The provisioning state of the Fabric capacity resource.

Name Type Description
Canceled

string

Resource creation was canceled.

Deleting

string

Resource is deleting

Failed

string

Resource creation failed.

Provisioning

string

Resource is provisioning

Succeeded

string

Resource has been created.

Updating

string

Resource is updating

ResourceState

The state of the Fabric capacity resource.

Name Type Description
Active

string

Resource is active

Deleting

string

Resource is deleting

Failed

string

Resource is failed

Paused

string

Resource is paused

Pausing

string

Resource is pausing

Preparing

string

Resource is preparing

Provisioning

string

Resource is provisioning

Resuming

string

Resource is resuming

Scaling

string

Resource is scaling

Suspended

string

Resource is suspended

Suspending

string

Resource is suspending

Updating

string

Resource is updating

RpSku

Represents the SKU name and Azure pricing tier for Microsoft Fabric capacity resource.

Name Type Description
name

string

The name of the SKU level.

tier

RpSkuTier

The name of the Azure pricing tier to which the SKU applies.

RpSkuTier

The name of the Azure pricing tier to which the SKU applies.

Name Type Description
Fabric

string

Fabric tier

systemData

Metadata pertaining to creation and last modification of the resource.

Name Type Description
createdAt

string

The timestamp of resource creation (UTC).

createdBy

string

The identity that created the resource.

createdByType

createdByType

The type of identity that created the resource.

lastModifiedAt

string

The timestamp of resource last modification (UTC)

lastModifiedBy

string

The identity that last modified the resource.

lastModifiedByType

createdByType

The type of identity that last modified the resource.