Share via


Namespaces - Create Or Update

Azure Relay-naamruimte maken.

PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}?api-version=2021-11-01

URI-parameters

Name In Vereist Type Description
namespaceName
path True

string

De naam van de naamruimte

resourceGroupName
path True

string

Naam van de resourcegroep binnen het Azure-abonnement.

subscriptionId
path True

string

Abonnementsreferenties waarmee het Microsoft Azure-abonnement uniek wordt geïdentificeerd. De abonnements-id maakt deel uit van de URI voor elke service-aanroep.

api-version
query True

string

Client-API-versie.

Aanvraagbody

Name Type Description
parameters

RelayNamespace

Parameters die zijn opgegeven om een naamruimteresource te maken.

Antwoorden

Name Type Description
200 OK

RelayNamespace

Aanvraag voor het maken van de naamruimte is voltooid.

201 Created

RelayNamespace

Aanvraag voor het maken van de naamruimte is geaccepteerd.

Other Status Codes

ErrorResponse

Relay-foutreactie waarin wordt beschreven waarom de bewerking is mislukt.

Beveiliging

azure_auth

Azure Active Directory OAuth2-stroom

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

Scopes

Name Description
user_impersonation uw gebruikersaccount imiteren

Voorbeelden

RelayNamespaceCreate

Sample Request

PUT https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/resourcegroup/providers/Microsoft.Relay/namespaces/example-RelayNamespace-5849?api-version=2021-11-01

{
  "sku": {
    "name": "Standard",
    "tier": "Standard"
  },
  "location": "South Central US",
  "tags": {
    "tag1": "value1",
    "tag2": "value2"
  }
}

Sample Response

{
  "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
ConnectionState

Details over de status van de verbinding.

createdByType

Het type identiteit waarmee de resource is gemaakt.

EndPointProvisioningState

Inrichtingsstatus van de privé-eindpuntverbinding.

ErrorAdditionalInfo

Aanvullende informatie over de resourcebeheerfout.

ErrorDetail

De foutdetails.

ErrorResponse

Foutreactie

PrivateEndpoint

De privé-eindpuntresource voor deze verbinding.

PrivateEndpointConnection

Lijst met privé-eindpuntverbindingen.

PrivateLinkConnectionStatus

Status van de verbinding.

PublicNetworkAccess

Hiermee wordt bepaald of verkeer via een openbaar netwerk is toegestaan. Standaard is dit ingeschakeld

RelayNamespace

Beschrijving van een naamruimteresource.

Sku

SKU van de naamruimte.

SkuName

Naam van deze SKU.

SkuTier

De laag van deze SKU.

systemData

Metagegevens met betrekking tot het maken en laatste wijzigen van de resource.

ConnectionState

Details over de status van de verbinding.

Name Type Description
description

string

Beschrijving van de verbindingsstatus.

status

PrivateLinkConnectionStatus

Status van de verbinding.

createdByType

Het type identiteit waarmee de resource is gemaakt.

Name Type Description
Application

string

Key

string

ManagedIdentity

string

User

string

EndPointProvisioningState

Inrichtingsstatus van de privé-eindpuntverbinding.

Name Type Description
Canceled

string

Creating

string

Deleting

string

Failed

string

Succeeded

string

Updating

string

ErrorAdditionalInfo

Aanvullende informatie over de resourcebeheerfout.

Name Type Description
info

object

De aanvullende informatie.

type

string

Het type aanvullende informatie.

ErrorDetail

De foutdetails.

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

Aanvullende informatie over de fout.

code

string

De foutcode.

details

ErrorDetail[]

De foutdetails.

message

string

Het foutbericht.

target

string

Het foutdoel.

ErrorResponse

Foutreactie

Name Type Description
error

ErrorDetail

Het foutobject.

PrivateEndpoint

De privé-eindpuntresource voor deze verbinding.

Name Type Description
id

string

De ARM-id voor het 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

PrivateEndpoint

De privé-eindpuntresource voor deze verbinding.

properties.privateLinkServiceConnectionState

ConnectionState

Details over de status van de verbinding.

properties.provisioningState

EndPointProvisioningState

Inrichtingsstatus van de privé-eindpuntverbinding.

systemData

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.

Name Type Description
Approved

string

Disconnected

string

Pending

string

Rejected

string

PublicNetworkAccess

Hiermee wordt bepaald of verkeer via een openbaar netwerk is toegestaan. Standaard is dit ingeschakeld

Name Type Description
Disabled

string

Enabled

string

SecuredByPerimeter

string

RelayNamespace

Beschrijving van een naamruimteresource.

Name Type Standaardwaarde Description
id

string

Resource-id.

location

string

Resourcelocatie.

name

string

Resourcenaam.

properties.createdAt

string

Het tijdstip waarop de naamruimte is gemaakt.

properties.metricId

string

Id voor metrische gegevens van Azure Insights.

properties.privateEndpointConnections

PrivateEndpointConnection[]

Lijst met privé-eindpuntverbindingen.

properties.provisioningState

string

Inrichtingsstatus van de naamruimte.

properties.publicNetworkAccess

PublicNetworkAccess

Enabled

Hiermee wordt bepaald of verkeer via een openbaar netwerk is toegestaan. Standaard is dit 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

Het tijdstip waarop de naamruimte is bijgewerkt.

sku

Sku

SKU van de naamruimte.

systemData

systemData

De systeemmetagegevens met betrekking tot deze resource.

tags

object

Resourcetags.

type

string

Resourcetype.

Sku

SKU van de naamruimte.

Name Type Description
name

SkuName

Naam van deze SKU.

tier

SkuTier

De laag van deze SKU.

SkuName

Naam van deze SKU.

Name Type Description
Standard

string

SkuTier

De laag van deze SKU.

Name Type Description
Standard

string

systemData

Metagegevens met betrekking tot het maken en laatste wijzigen van de resource.

Name Type Description
createdAt

string

Het tijdstempel van het maken van resources (UTC).

createdBy

string

De identiteit waarmee de resource is gemaakt.

createdByType

createdByType

Het type identiteit waarmee de resource is gemaakt.

lastModifiedAt

string

De tijdstempel van de laatste wijziging van de resource (UTC)

lastModifiedBy

string

De identiteit die de resource het laatst heeft gewijzigd.

lastModifiedByType

createdByType

Het type identiteit dat de resource het laatst heeft gewijzigd.