你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Managed Private Endpoints - Update

Updates a managed private endpoint.

PATCH https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/managedPrivateEndpoints/{managedPrivateEndpointName}?api-version=2023-08-15

URI Parameters

Name In Required Type Description
clusterName
path True

string

The name of the Kusto cluster.

Regex pattern: ^.*$

managedPrivateEndpointName
path True

string

The name of the managed private endpoint.

Regex pattern: ^.*$

resourceGroupName
path True

string

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

subscriptionId
path True

string

The ID of the target subscription.

api-version
query True

string

The API version to use for this operation.

Request Body

Name Required Type Description
properties.groupId True

string

The groupId in which the managed private endpoint is created.

properties.privateLinkResourceId True

string

The ARM resource ID of the resource for which the managed private endpoint is created.

properties.privateLinkResourceRegion

string

The region of the resource to which the managed private endpoint is created.

properties.requestMessage

string

The user request message.

Responses

Name Type Description
200 OK

ManagedPrivateEndpoint

Successfully updated the managed private endpoint.

202 Accepted

ManagedPrivateEndpoint

Accepted the update request of the managed private endpoint.

Headers

  • Location: string
  • Azure-AsyncOperation: string
Other Status Codes

ErrorResponse

Error response describing why the operation failed.

Examples

KustoManagedPrivateEndpointsUpdate

Sample Request

PATCH https://management.azure.com/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/kustoCluster/managedPrivateEndpoints/managedPrivateEndpointTest?api-version=2023-08-15

{
  "properties": {
    "privateLinkResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Storage/storageAccounts/storageAccountTest",
    "groupId": "blob",
    "requestMessage": "Please Approve Managed Private Endpoint Request."
  }
}

Sample Response

{
  "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoCluster/ManagedPrivateEndpoints/managedPrivateEndpointTest",
  "name": "kustoCluster/KustoDatabase8/managedPrivateEndpointTest",
  "type": "Microsoft.Kusto/Clusters/ManagedPrivateEndpoints",
  "properties": {
    "privateLinkResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Storage/storageAccounts/storageAccountTest",
    "groupId": "blob",
    "requestMessage": "Please Approve Managed Private Endpoint Request."
  }
}
Azure-AsyncOperation: https://management.azure.com/subscriptions/12345678-1234-1234-1234-123456789098/providers/Microsoft.Kusto/locations/westus/operationResults/742bef43-608b-4b58-ba96-6f7a32ec5f0f?api-version=2021-02-01
{
  "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoCluster/ManagedPrivateEndpoints/managedPrivateEndpointTest",
  "name": "kustoCluster/KustoDatabase8/managedPrivateEndpointTest",
  "type": "Microsoft.Kusto/Clusters/ManagedPrivateEndpoints",
  "properties": {
    "privateLinkResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Storage/storageAccounts/storageAccountTest",
    "groupId": "blob",
    "requestMessage": "Please Approve Managed Private Endpoint Request."
  }
}

Definitions

Name Description
createdByType

The type of identity that created the resource.

ErrorAdditionalInfo

The resource management error additional info.

ErrorDetail

The error detail.

ErrorResponse

Error response

ManagedPrivateEndpoint

Class representing a managed private endpoint.

ProvisioningState

The provisioned state of the resource.

systemData

Metadata pertaining to creation and last modification of the resource.

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.

ManagedPrivateEndpoint

Class representing a managed private endpoint.

Name Type Description
id

string

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

name

string

The name of the resource

properties.groupId

string

The groupId in which the managed private endpoint is created.

properties.privateLinkResourceId

string

The ARM resource ID of the resource for which the managed private endpoint is created.

properties.privateLinkResourceRegion

string

The region of the resource to which the managed private endpoint is created.

properties.provisioningState

ProvisioningState

The provisioned state of the resource.

properties.requestMessage

string

The user request message.

systemData

systemData

Metadata pertaining to creation and last modification of the resource.

type

string

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

ProvisioningState

The provisioned state of the resource.

Name Type Description
Canceled

string

Creating

string

Deleting

string

Failed

string

Moving

string

Running

string

Succeeded

string

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.