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 |
Naam van de resourcegroep binnen het Azure-abonnement. |
subscription
|
path | True |
string |
Abonnementsreferenties waarmee het Microsoft Azure-abonnement uniek wordt geïdentificeerd. De abonnements-id maakt deel uit van de URI voor elke serviceoproep. |
api-version
|
query | True |
string |
Client-API-versie. |
Aanvraagbody
Name | Type | Description |
---|---|---|
parameters |
Parameters die worden opgegeven om een naamruimteresource te maken. |
Antwoorden
Name | Type | Description |
---|---|---|
200 OK |
De aanvraag voor het maken van een naamruimte is voltooid. |
|
201 Created |
Aanvraag voor maken van naamruimte geaccepteerd. |
|
Other Status Codes |
Relay-foutreactie waarin wordt beschreven waarom de bewerking is mislukt. |
Beveiliging
azure_auth
Azure Active Directory OAuth2-stroom
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
{
"sku": {
"name": "Standard",
"tier": "Standard"
},
"location": "South Central US",
"tags": {
"tag1": "value1",
"tag2": "value2"
}
}
Voorbeeldrespons
{
"sku": {
"name": "Standard",
"tier": "Standard"
},
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/resourcegroup/providers/Microsoft.Relay/namespaces/example-RelayNamespace-5849",
"name": "example-RelayNamespace-5849",
"type": "Microsoft.Relay/Namespaces",
"location": "South Central US",
"tags": {
"tag1": "value1",
"tag2": "value2"
},
"properties": {
"provisioningState": "Created",
"metricId": "ffffffff-ffff-ffff-ffff-ffffffffffff:example-Relaynamespace-5849",
"serviceBusEndpoint": "https://example-RelayNamespace-5849.servicebus.windows-int.net:443/"
}
}
{
"sku": {
"name": "Standard",
"tier": "Standard"
},
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/resourcegroup/providers/Microsoft.Relay/namespaces/example-RelayNamespace-5849",
"name": "example-RelayNamespace-5849",
"type": "Microsoft.Relay/Namespaces",
"location": "South Central US",
"tags": {
"tag1": "value1",
"tag2": "value2"
},
"properties": {
"provisioningState": "Created",
"metricId": "ffffffff-ffff-ffff-ffff-ffffffffffff:example-Relaynamespace-5849",
"serviceBusEndpoint": "https://example-RelayNamespace-5849.servicebus.windows-int.net:443/"
}
}
Definities
Name | Description |
---|---|
Connection |
Details over de status van de verbinding. |
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 |
De privé-eindpuntresource voor deze verbinding. |
Private |
Lijst met privé-eindpuntverbindingen. |
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
Details over de status van de verbinding.
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 |
---|---|
Application | |
Key | |
ManagedIdentity | |
User |
EndPointProvisioningState
Inrichtingsstatus van de privé-eindpuntverbinding.
Waarde | Description |
---|---|
Canceled | |
Creating | |
Deleting | |
Failed | |
Succeeded | |
Updating |
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
De privé-eindpuntresource voor deze verbinding.
Name | Type | Description |
---|---|---|
id |
string |
De ARM-id voor privé-eindpunt. |
PrivateEndpointConnection
Lijst met privé-eindpuntverbindingen.
Name | Type | Description |
---|---|---|
id |
string |
Volledig gekwalificeerde resource-id voor de resource. Ex - /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 |
De systeemmetagegevens met betrekking tot deze resource. |
|
type |
string |
Het type resource. Bijvoorbeeld 'Microsoft.EventHub/Namespaces' of 'Microsoft.EventHub/Namespaces/EventHubs' |
PrivateLinkConnectionStatus
Status van de verbinding.
Waarde | Description |
---|---|
Approved | |
Disconnected | |
Pending | |
Rejected |
PublicNetworkAccess
Hiermee wordt bepaald of verkeer via een openbaar netwerk is toegestaan. Deze functie is standaard ingeschakeld
Waarde | Description |
---|---|
Disabled | |
Enabled | |
SecuredByPerimeter |
RelayNamespace
Beschrijving van een naamruimteresource.
Name | Type | Default value | Description |
---|---|---|---|
id |
string |
Resource-id. |
|
location |
string |
Resourcelocatie. |
|
name |
string |
Resourcenaam. |
|
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 |
De systeemmetagegevens met betrekking tot deze resource. |
||
tags |
object |
Resourcetags. |
|
type |
string |
Resourcetype. |
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. |