CognitiveServicesAccounts

PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}

Changed on

Create Cognitive Services Account. Accounts is a resource group wide resource type. It holds the keys for developer to access intelligent APIs. It's also the resource type for billing.

Request

  • Base URL
    https://management.azure.com
  • Auth
    OAuth 2
    Implicithttps://login.microsoftonline.com/common/oauth2/authorize
    Scopesuser_impersonation

Path parameters

subscriptionIdstring required

The ID of the target subscription.

resourceGroupNamestring required

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

accountNamestring required

The name of Cognitive Services account.

Query parameters

api-versionstring required

The API version to use for this operation.

Request body

idstring

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

namestring

The name of the resource

typestring

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

tagsobject

Resource tags.

locationstring

The geo-location where the resource lives

etagstring

Resource Etag.

kindstring

The kind (type) of cognitive service account.

Response

Resource 'Account' update operation succeeded

idstring

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

namestring

The name of the resource

typestring

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

tagsobject

Resource tags.

locationstring

The geo-location where the resource lives

etagstring

Resource Etag.

kindstring

The kind (type) of cognitive service account.

Changes

  • 2016-02-01-previewd0eb21b3d2a7Revision changes
    • breaking

      added the new path request parameter resourceGroupName

    • breaking

      added the new path request parameter subscriptionId

    • breaking

      added the new required query request parameter api-version