Namespaces - Create Or Update
Maak een Azure Relay-naamruimte.
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}?api-version=2024-01-01
URI-parameters
| Name | In | Vereist | Type | Description |
|---|---|---|---|---|
|
namespace
|
path | True |
string minLength: 6maxLength: 50 |
De naamruimtenaam |
|
resource
|
path | True |
string minLength: 1maxLength: 90 |
De naam van de resourcegroep. De naam is hoofdletterongevoelig. |
|
subscription
|
path | True |
string minLength: 1 |
De id van het doelabonnement. |
|
api-version
|
query | True |
string minLength: 1 |
De API-versie die voor deze bewerking moet worden gebruikt. |
Aanvraagbody
| Name | Vereist | Type | Description |
|---|---|---|---|
| location | True |
string |
De geografische locatie waar de resource zich bevindt |
| properties.privateEndpointConnections |
Lijst met privé-eindpuntverbindingen. |
||
| properties.publicNetworkAccess |
Hiermee wordt bepaald of verkeer via een openbaar netwerk is toegestaan. Deze functie is standaard ingeschakeld. |
||
| sku |
SKU van de naamruimte. |
||
| tags |
object |
Resourcetags. |
Antwoorden
| Name | Type | Description |
|---|---|---|
| 200 OK |
De updatebewerking van de bron 'RelayNamespace' is geslaagd |
|
| 201 Created |
Resource 'RelayNamespace' create bewerking geslaagd Kopteksten
|
|
| Other Status Codes |
Een onverwachte foutreactie. |
Beveiliging
azure_auth
OAuth2-stroom voor Azure Active Directory.
Type:
oauth2
Stroom:
implicit
Autorisatie-URL:
https://login.microsoftonline.com/common/oauth2/authorize
Bereiken
| Name | Description |
|---|---|
| user_impersonation | Uw gebruikersaccount imiteren |
Voorbeelden
RelayNamespaceCreate
Voorbeeldaanvraag
PUT https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/resourcegroup/providers/Microsoft.Relay/namespaces/example-RelayNamespace-5849?api-version=2024-01-01
{
"location": "South Central US",
"sku": {
"name": "Standard",
"tier": "Standard"
},
"tags": {
"tag1": "value1",
"tag2": "value2"
}
}
Voorbeeldrespons
{
"name": "example-RelayNamespace-5849",
"type": "Microsoft.Relay/Namespaces",
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/resourcegroup/providers/Microsoft.Relay/namespaces/example-RelayNamespace-5849",
"location": "South Central US",
"properties": {
"metricId": "ffffffff-ffff-ffff-ffff-ffffffffffff:example-Relaynamespace-5849",
"provisioningState": "Created",
"serviceBusEndpoint": "https://example-RelayNamespace-5849.servicebus.windows-int.net:443/"
},
"sku": {
"name": "Standard",
"tier": "Standard"
},
"tags": {
"tag1": "value1",
"tag2": "value2"
}
}
{
"name": "example-RelayNamespace-5849",
"type": "Microsoft.Relay/Namespaces",
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/resourcegroup/providers/Microsoft.Relay/namespaces/example-RelayNamespace-5849",
"location": "South Central US",
"properties": {
"metricId": "ffffffff-ffff-ffff-ffff-ffffffffffff:example-Relaynamespace-5849",
"provisioningState": "Created",
"serviceBusEndpoint": "https://example-RelayNamespace-5849.servicebus.windows-int.net:443/"
},
"sku": {
"name": "Standard",
"tier": "Standard"
},
"tags": {
"tag1": "value1",
"tag2": "value2"
}
}
Definities
| Name | Description |
|---|---|
|
Connection |
Informatie over de verbindingsstatus. |
|
created |
Het type identiteit waarmee de resource is gemaakt. |
|
End |
Inrichtingsstatus van de privé-eindpuntverbinding. |
|
Error |
Aanvullende informatie over de resourcebeheerfout. |
|
Error |
De foutdetails. |
|
Error |
Foutreactie |
|
Private |
PrivateEndpoint-gegevens. |
|
Private |
Eigenschappen van de PrivateEndpointConnection. |
|
Private |
Status van de verbinding. |
|
Public |
Hiermee wordt bepaald of verkeer via een openbaar netwerk is toegestaan. Deze functie is standaard ingeschakeld. |
|
Relay |
Beschrijving van een naamruimteresource. |
| Sku |
SKU van de naamruimte. |
|
Sku |
Naam van deze SKU. |
|
Sku |
De laag van deze SKU. |
|
system |
Metagegevens met betrekking tot het maken en de laatste wijziging van de resource. |
ConnectionState
Informatie over de verbindingsstatus.
| Name | Type | Description |
|---|---|---|
| description |
string |
Beschrijving van de verbindingsstatus. |
| status |
Status van de verbinding. |
createdByType
Het type identiteit waarmee de resource is gemaakt.
| Waarde | Description |
|---|---|
| User | |
| Application | |
| ManagedIdentity | |
| Key |
EndPointProvisioningState
Inrichtingsstatus van de privé-eindpuntverbinding.
| Waarde | Description |
|---|---|
| Creating | |
| Updating | |
| Deleting | |
| Succeeded | |
| Canceled | |
| Failed |
ErrorAdditionalInfo
Aanvullende informatie over de resourcebeheerfout.
| Name | Type | Description |
|---|---|---|
| info |
object |
De aanvullende informatie. |
| type |
string |
Het extra informatietype. |
ErrorDetail
De foutdetails.
| Name | Type | Description |
|---|---|---|
| additionalInfo |
De fout bevat aanvullende informatie. |
|
| code |
string |
De foutcode. |
| details |
De foutdetails. |
|
| message |
string |
Het foutbericht. |
| target |
string |
Het foutdoel. |
ErrorResponse
Foutreactie
| Name | Type | Description |
|---|---|---|
| error |
Het foutobject. |
PrivateEndpoint
PrivateEndpoint-gegevens.
| Name | Type | Description |
|---|---|---|
| id |
string |
De ARM-id voor privé-eindpunt. |
PrivateEndpointConnection
Eigenschappen van de PrivateEndpointConnection.
| Name | Type | Description |
|---|---|---|
| id |
string |
Volledig gekwalificeerde resource-id voor de resource. Vb.: - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
| location |
string |
De geografische locatie waar de resource zich bevindt |
| name |
string |
De naam van de resource |
| properties.privateEndpoint |
De privé-eindpuntresource voor deze verbinding. |
|
| properties.privateLinkServiceConnectionState |
Details over de status van de verbinding. |
|
| properties.provisioningState |
Inrichtingsstatus van de privé-eindpuntverbinding. |
|
| systemData |
Azure Resource Manager-metagegevens met createdBy- en modifiedBy-gegevens. |
|
| type |
string |
Het type resource. Bijvoorbeeld 'Microsoft.Compute/virtualMachines' of 'Microsoft.Storage/storageAccounts' |
PrivateLinkConnectionStatus
Status van de verbinding.
| Waarde | Description |
|---|---|
| Pending | |
| Approved | |
| Rejected | |
| Disconnected |
PublicNetworkAccess
Hiermee wordt bepaald of verkeer via een openbaar netwerk is toegestaan. Deze functie is standaard ingeschakeld.
| Waarde | Description |
|---|---|
| Enabled | |
| Disabled | |
| SecuredByPerimeter |
RelayNamespace
Beschrijving van een naamruimteresource.
| Name | Type | Default value | Description |
|---|---|---|---|
| id |
string |
Volledig gekwalificeerde resource-id voor de resource. Vb.: - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
|
| location |
string |
De geografische locatie waar de resource zich bevindt |
|
| name |
string |
De naam van de resource |
|
| properties.createdAt |
string (date-time) |
Het tijdstip waarop de naamruimte is gemaakt. |
|
| properties.metricId |
string |
Id voor metrische gegevens van Azure Insights. |
|
| properties.privateEndpointConnections |
Lijst met privé-eindpuntverbindingen. |
||
| properties.provisioningState |
string |
Inrichtingsstatus van de naamruimte. |
|
| properties.publicNetworkAccess | Enabled |
Hiermee wordt bepaald of verkeer via een openbaar netwerk is toegestaan. Deze functie is standaard ingeschakeld. |
|
| properties.serviceBusEndpoint |
string |
Eindpunt dat u kunt gebruiken om Service Bus-bewerkingen uit te voeren. |
|
| properties.status |
string |
Status van de naamruimte. |
|
| properties.updatedAt |
string (date-time) |
Het tijdstip waarop de naamruimte is bijgewerkt. |
|
| sku |
SKU van de naamruimte. |
||
| systemData |
Azure Resource Manager-metagegevens met createdBy- en modifiedBy-gegevens. |
||
| tags |
object |
Resourcetags. |
|
| type |
string |
Het type resource. Bijvoorbeeld 'Microsoft.Compute/virtualMachines' of 'Microsoft.Storage/storageAccounts' |
Sku
SKU van de naamruimte.
| Name | Type | Description |
|---|---|---|
| name |
Naam van deze SKU. |
|
| tier |
De laag van deze SKU. |
SkuName
Naam van deze SKU.
| Waarde | Description |
|---|---|
| Standard |
SkuTier
De laag van deze SKU.
| Waarde | Description |
|---|---|
| Standard |
systemData
Metagegevens met betrekking tot het maken en de laatste wijziging van de resource.
| Name | Type | Description |
|---|---|---|
| createdAt |
string (date-time) |
De tijdstempel van het maken van resources (UTC). |
| createdBy |
string |
De identiteit waarmee de resource is gemaakt. |
| createdByType |
Het type identiteit waarmee de resource is gemaakt. |
|
| lastModifiedAt |
string (date-time) |
De tijdstempel van de laatste wijziging van de resource (UTC) |
| lastModifiedBy |
string |
De identiteit die de resource voor het laatst heeft gewijzigd. |
| lastModifiedByType |
Het type identiteit dat de resource voor het laatst heeft gewijzigd. |