Freigeben über


Prefix List Global Rulestack - Create Or Update

Erstellen einer PrefixListGlobalRulestackResource

PUT https://management.azure.com/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/prefixlists/{name}?api-version=2025-05-23

URI-Parameter

Name In Erforderlich Typ Beschreibung
globalRulestackName
path True

string

GlobalRulestack-Ressourcenname

name
path True

string

Priorität der lokalen Regel

api-version
query True

string

minLength: 1

Die API-Version, die für diesen Vorgang verwendet werden soll.

Anforderungstext

Name Erforderlich Typ Beschreibung
properties.prefixList True

string[]

Präfixliste

properties.auditComment

string

Kommentar für dieses Objekt

properties.description

string

Präfixbeschreibung

properties.etag

string

etag-Informationen

Antworten

Name Typ Beschreibung
200 OK

PrefixListGlobalRulestackResource

Der Azure-Vorgang wurde erfolgreich abgeschlossen.

201 Created

PrefixListGlobalRulestackResource

Der Azure-Erstellungsvorgang wurde erfolgreich abgeschlossen.

Other Status Codes

ErrorResponse

Häufige Fehlerantwort für alle Azure Resource Manager-APIs, um Fehlerdetails für fehlgeschlagene Vorgänge zurückzugeben.

Sicherheit

azure_auth

Azure Active Directory OAuth2-Fluss.

Typ: oauth2
Ablauf: implicit
Autorisierungs-URL: https://login.microsoftonline.com/common/oauth2/authorize

Bereiche

Name Beschreibung
user_impersonation Identitätswechsel ihres Benutzerkontos

Beispiele

PrefixListGlobalRulestack_CreateOrUpdate_MaximumSet_Gen
PrefixListGlobalRulestack_CreateOrUpdate_MinimumSet_Gen

PrefixListGlobalRulestack_CreateOrUpdate_MaximumSet_Gen

Beispielanforderung

PUT https://management.azure.com/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/praval/prefixlists/armid1?api-version=2025-05-23

{
  "properties": {
    "auditComment": "comment",
    "description": "string",
    "etag": "2bf4a339-294d-4c25-b0b2-ef649e9f5c27",
    "prefixList": [
      "1.0.0.0/24"
    ],
    "provisioningState": "Accepted"
  }
}

Beispiel für eine Antwort

{
  "id": "/providers/PaloAltoNetworks.Cloudngfw/globalrulestacks/armid1/certificates/armid1",
  "name": "armid1",
  "properties": {
    "auditComment": "comment",
    "description": "string",
    "etag": "2bf4a339-294d-4c25-b0b2-ef649e9f5c27",
    "prefixList": [
      "1.0.0.0/24"
    ],
    "provisioningState": "Accepted"
  },
  "systemData": {
    "createdAt": "2022-09-09T05:08:24.229Z",
    "createdBy": "praval",
    "createdByType": "User",
    "lastModifiedAt": "2022-09-09T05:08:24.229Z",
    "lastModifiedBy": "praval",
    "lastModifiedByType": "User"
  },
  "type": "certificates"
}
Azure-AsyncOperation: https://foo.com/operationstatus
{
  "id": "/providers/PaloAltoNetworks.Cloudngfw/globalrulestacks/armid1/certificates/armid1",
  "name": "armid1",
  "properties": {
    "auditComment": "comment",
    "description": "string",
    "etag": "2bf4a339-294d-4c25-b0b2-ef649e9f5c27",
    "prefixList": [
      "1.0.0.0/24"
    ],
    "provisioningState": "Accepted"
  },
  "systemData": {
    "createdAt": "2022-09-09T05:08:24.229Z",
    "createdBy": "praval",
    "createdByType": "User",
    "lastModifiedAt": "2022-09-09T05:08:24.229Z",
    "lastModifiedBy": "praval",
    "lastModifiedByType": "User"
  },
  "type": "certificates"
}

PrefixListGlobalRulestack_CreateOrUpdate_MinimumSet_Gen

Beispielanforderung

PUT https://management.azure.com/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/praval/prefixlists/armid1?api-version=2025-05-23

{
  "properties": {
    "prefixList": [
      "1.0.0.0/24"
    ]
  }
}

Beispiel für eine Antwort

{
  "id": "/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/praval/prefixlists/armid1",
  "properties": {
    "prefixList": [
      "1.0.0.0/24"
    ]
  }
}
Azure-AsyncOperation: https://foo.com/operationstatus
{
  "id": "/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/praval/prefixlists/armid1",
  "properties": {
    "prefixList": [
      "1.0.0.0/24"
    ]
  }
}

Definitionen

Name Beschreibung
createdByType

Der Identitätstyp, der die Ressource erstellt hat.

ErrorAdditionalInfo

Der Ressourcenverwaltungsfehler zusätzliche Informationen.

ErrorDetail

Das Fehlerdetails.

ErrorResponse

Fehlerantwort

PrefixListGlobalRulestackResource

GlobalRulestack prefixList

ProvisioningState

Bereitstellungsstatus der Firewallressource.

systemData

Metadaten zur Erstellung und letzten Änderung der Ressource.

createdByType

Der Identitätstyp, der die Ressource erstellt hat.

Wert Beschreibung
Application
Key
ManagedIdentity
User

ErrorAdditionalInfo

Der Ressourcenverwaltungsfehler zusätzliche Informationen.

Name Typ Beschreibung
info

object

Die zusätzlichen Informationen.

type

string

Der zusätzliche Informationstyp.

ErrorDetail

Das Fehlerdetails.

Name Typ Beschreibung
additionalInfo

ErrorAdditionalInfo[]

Die zusätzlichen Informationen des Fehlers.

code

string

Der Fehlercode.

details

ErrorDetail[]

Die Fehlerdetails.

message

string

Die Fehlermeldung.

target

string

Das Fehlerziel.

ErrorResponse

Fehlerantwort

Name Typ Beschreibung
error

ErrorDetail

Das Fehlerobjekt.

PrefixListGlobalRulestackResource

GlobalRulestack prefixList

Name Typ Beschreibung
id

string

Vollqualifizierte Ressourcen-ID für die Ressource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name

string

Der Name der Ressource

properties.auditComment

string

Kommentar für dieses Objekt

properties.description

string

Präfixbeschreibung

properties.etag

string

etag-Informationen

properties.prefixList

string[]

Präfixliste

properties.provisioningState

ProvisioningState

Bereitstellungsstatus der Ressource.

systemData

systemData

Systemmetadaten für diese Ressource.

type

string

Der Typ der Ressource. Z. B. "Microsoft.Compute/virtualMachines" oder "Microsoft.Storage/storageAccounts"

ProvisioningState

Bereitstellungsstatus der Firewallressource.

Wert Beschreibung
Accepted
Canceled
Creating
Deleted
Deleting
Failed
NotSpecified
Succeeded
Updating

systemData

Metadaten zur Erstellung und letzten Änderung der Ressource.

Name Typ Beschreibung
createdAt

string (date-time)

Der Zeitstempel der Ressourcenerstellung (UTC).

createdBy

string

Die Identität, die die Ressource erstellt hat.

createdByType

createdByType

Der Identitätstyp, der die Ressource erstellt hat.

lastModifiedAt

string (date-time)

Der Zeitstempel der letzten Änderung der Ressource (UTC)

lastModifiedBy

string

Die Identität, die die Ressource zuletzt geändert hat.

lastModifiedByType

createdByType

Der Identitätstyp, der die Ressource zuletzt geändert hat.