Delen via


Broker Authentication - List By Resource Group

List BrokerAuthenticationResource-resources door BrokerResource

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}/authentications?api-version=2024-11-01

URI-parameters

Name In Vereist Type Description
brokerName
path True

string

minLength: 3
maxLength: 63
pattern: ^[a-z0-9][a-z0-9-]*[a-z0-9]$

Naam van broker.

instanceName
path True

string

minLength: 3
maxLength: 63
pattern: ^[a-z0-9][a-z0-9-]*[a-z0-9]$

Naam van exemplaar.

resourceGroupName
path True

string

minLength: 1
maxLength: 90

De naam van de resourcegroep. De naam is niet hoofdlettergevoelig.

subscriptionId
path True

string (uuid)

De id van het doelabonnement. De waarde moet een UUID zijn.

api-version
query True

string

minLength: 1

De API-versie die voor deze bewerking moet worden gebruikt.

Antwoorden

Name Type Description
200 OK

BrokerAuthenticationResourceListResult

De Azure-bewerking is voltooid.

Other Status Codes

ErrorResponse

Een onverwachte foutreactie.

Beveiliging

azure_auth

Azure Active Directory OAuth2 Flow.

Type: oauth2
Stroom: implicit
Autorisatie-URL: https://login.microsoftonline.com/common/oauth2/authorize

Bereiken

Name Description
user_impersonation Uw gebruikersaccount imiteren

Voorbeelden

BrokerAuthentication_ListByResourceGroup

Voorbeeldaanvraag

GET https://management.azure.com/subscriptions/F8C729F9-DF9C-4743-848F-96EE433D8E53/resourceGroups/rgiotoperations/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authentications?api-version=2024-11-01

Voorbeeldrespons

{
  "value": [
    {
      "properties": {
        "authenticationMethods": [
          {
            "method": "Custom",
            "customSettings": {
              "auth": {
                "x509": {
                  "secretRef": "secret-name"
                }
              },
              "caCertConfigMap": "pdecudefqyolvncbus",
              "endpoint": "https://www.example.com",
              "headers": {
                "key8518": "bwityjy"
              }
            },
            "serviceAccountTokenSettings": {
              "audiences": [
                "jqyhyqatuydg"
              ]
            },
            "x509Settings": {
              "authorizationAttributes": {
                "key3384": {
                  "attributes": {
                    "key186": "ucpajramsz"
                  },
                  "subject": "jpgwctfeixitptfgfnqhua"
                }
              },
              "trustedClientCaCert": "vlctsqddl"
            }
          }
        ],
        "provisioningState": "Succeeded"
      },
      "extendedLocation": {
        "name": "qmbrfwcpwwhggszhrdjv",
        "type": "CustomLocation"
      },
      "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authentications/resource-name123",
      "name": "lwucizfvtsdpx",
      "type": "kvtilkgcxanlfozrd",
      "systemData": {
        "createdBy": "ssvaslsmudloholronopqyxjcu",
        "createdByType": "User",
        "createdAt": "2024-08-09T18:13:29.389Z",
        "lastModifiedBy": "gnicpuszwd",
        "lastModifiedByType": "User",
        "lastModifiedAt": "2024-08-09T18:13:29.389Z"
      }
    }
  ],
  "nextLink": "https://microsoft.com/a"
}

Definities

Name Description
BrokerAuthenticationMethod

Brokerverificatiemodus

BrokerAuthenticationProperties

BrokerAuthentication Resource-eigenschappen

BrokerAuthenticationResource

Instantiebrokerverificatieresource

BrokerAuthenticationResourceListResult

Het antwoord van een BrokerAuthenticationResource-lijstbewerking.

BrokerAuthenticatorCustomAuth

Eigenschappen van aangepaste verificatie

BrokerAuthenticatorMethodCustom

Aangepaste methode voor BrokerAuthentication

BrokerAuthenticatorMethods

Set brokerverificatiebeleidsregels. Er wordt slechts één methode ondersteund voor elke vermelding.

BrokerAuthenticatorMethodSat

Serviceaccounttoken voor BrokerAuthentication

BrokerAuthenticatorMethodX509

X509 voor BrokerAuthentication.

BrokerAuthenticatorMethodX509Attributes

BrokerAuthenticatorMethodX509Attributes-eigenschappen.

createdByType

Het type identiteit waarmee de resource is gemaakt.

ErrorAdditionalInfo

Aanvullende informatie over de resourcebeheerfout.

ErrorDetail

De foutdetails.

ErrorResponse

Foutreactie

ExtendedLocation

Uitgebreide locatie is een uitbreiding van Azure-locaties. Ze bieden een manier om hun Kubernetes-clusters met Azure ARC te gebruiken als doellocaties voor het implementeren van Azure-servicesexemplaren.

ExtendedLocationType

Het enum definieert het type ExtendedLocation dat is geaccepteerd.

ProvisioningState

De opsomming waarin de status van de resource wordt gedefinieerd.

systemData

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

X509ManualCertificate

Eigenschappen van X509-certificaatverificatie.

BrokerAuthenticationMethod

Brokerverificatiemodus

Waarde Description
Custom

Aangepaste verificatieconfiguratie.

ServiceAccountToken

ServiceAccountToken-verificatieconfiguratie.

X509

X.509-verificatieconfiguratie.

BrokerAuthenticationProperties

BrokerAuthentication Resource-eigenschappen

Name Type Description
authenticationMethods

BrokerAuthenticatorMethods[]

Hiermee definieert u een set Broker-verificatiemethoden die moeten worden gebruikt voor BrokerListeners. Voor elk matrixelement wordt één type verificator ondersteund.

provisioningState

ProvisioningState

De status van de laatste bewerking.

BrokerAuthenticationResource

Instantiebrokerverificatieresource

Name Type Description
extendedLocation

ExtendedLocation

Edge-locatie van de resource.

id

string (arm-id)

Volledig gekwalificeerde resource-id voor de resource. Bijvoorbeeld /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceType}/{resourceName}"

name

string

De naam van de resource

properties

BrokerAuthenticationProperties

De resourcespecifieke eigenschappen voor deze resource.

systemData

systemData

Azure Resource Manager-metagegevens met createdBy- en modifiedBy-gegevens.

type

string

Het type resource. Bijvoorbeeld 'Microsoft.Compute/virtualMachines' of 'Microsoft.Storage/storageAccounts'

BrokerAuthenticationResourceListResult

Het antwoord van een BrokerAuthenticationResource-lijstbewerking.

Name Type Description
nextLink

string (uri)

De koppeling naar de volgende pagina met items

value

BrokerAuthenticationResource[]

De BrokerAuthenticationResource-items op deze pagina

BrokerAuthenticatorCustomAuth

Eigenschappen van aangepaste verificatie

Name Type Description
x509

X509ManualCertificate

Details van aangepast verificatietype X509.

BrokerAuthenticatorMethodCustom

Aangepaste methode voor BrokerAuthentication

Name Type Description
auth

BrokerAuthenticatorCustomAuth

Optionele verificatie die nodig is voor verificatie met de aangepaste verificatieserver.

caCertConfigMap

string

Optioneel CA-certificaat voor het valideren van het certificaat van de aangepaste verificatieserver.

endpoint

string (uri)

pattern: ^https://.*$

Eindpunt van de aangepaste verificatieserver. Moet een HTTPS-eindpunt zijn.

headers

object

Aanvullende HTTP-headers die moeten worden doorgegeven aan de aangepaste verificatieserver.

BrokerAuthenticatorMethods

Set brokerverificatiebeleidsregels. Er wordt slechts één methode ondersteund voor elke vermelding.

Name Type Description
customSettings

BrokerAuthenticatorMethodCustom

Aangepaste verificatieconfiguratie.

method

BrokerAuthenticationMethod

Aangepaste verificatieconfiguratie.

serviceAccountTokenSettings

BrokerAuthenticatorMethodSat

ServiceAccountToken-verificatieconfiguratie.

x509Settings

BrokerAuthenticatorMethodX509

X.509-verificatieconfiguratie.

BrokerAuthenticatorMethodSat

Serviceaccounttoken voor BrokerAuthentication

Name Type Description
audiences

string[]

Lijst met toegestane doelgroepen.

BrokerAuthenticatorMethodX509

X509 voor BrokerAuthentication.

Name Type Default value Description
authorizationAttributes

<string,  BrokerAuthenticatorMethodX509Attributes>

Eigenschappen van X509-autorisatiekenmerken.

trustedClientCaCert

string

client-ca

Naam van de vertrouwde client-CA-certificaatresource.

BrokerAuthenticatorMethodX509Attributes

BrokerAuthenticatorMethodX509Attributes-eigenschappen.

Name Type Description
attributes

object

Kenmerkobject.

subject

string

Onderwerp van het kenmerk X509.

createdByType

Het type identiteit waarmee de resource is gemaakt.

Waarde Description
Application
Key
ManagedIdentity
User

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

ErrorAdditionalInfo[]

De fout bevat aanvullende informatie.

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.

ExtendedLocation

Uitgebreide locatie is een uitbreiding van Azure-locaties. Ze bieden een manier om hun Kubernetes-clusters met Azure ARC te gebruiken als doellocaties voor het implementeren van Azure-servicesexemplaren.

Name Type Description
name

string

De naam van de uitgebreide locatie.

type

ExtendedLocationType

Type of ExtendedLocation.

ExtendedLocationType

Het enum definieert het type ExtendedLocation dat is geaccepteerd.

Waarde Description
CustomLocation

CustomLocation-type

ProvisioningState

De opsomming waarin de status van de resource wordt gedefinieerd.

Waarde Description
Accepted

De resource is geaccepteerd.

Canceled

Het maken van resources is geannuleerd.

Deleting

Resource wordt verwijderd.

Failed

Het maken van resources is mislukt.

Provisioning

De resource wordt ingericht.

Succeeded

De resource is gemaakt.

Updating

Resource wordt bijgewerkt.

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

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

createdByType

Het type identiteit dat de resource voor het laatst heeft gewijzigd.

X509ManualCertificate

Eigenschappen van X509-certificaatverificatie.

Name Type Description
secretRef

string

Kubernetes-geheim met een X.509-clientcertificaat. Dit is een verwijzing naar het geheim via een identificatienaam, niet het geheim zelf.