Erstellt einen neuen VpcFlowLogsConfig Wenn bereits eine Konfiguration mit genau denselben Einstellungen vorhanden ist (auch wenn die ID unterschiedlich ist), schlägt die Erstellung fehl. Hinweise:
Das Erstellen einer Konfiguration mit state=DISABLED schlägt fehl.
Die folgenden Felder werden für die oben genannte Prüfung nicht als Einstellungen berücksichtigt. Wenn Sie also eine weitere Konfiguration mit denselben Feldern, aber unterschiedlichen Werten für die folgenden Felder erstellen, schlägt die Prüfung ebenfalls fehl:
Name
createTime
updateTime
Labels
description
HTTP-Anfrage
POST https://networkmanagement.googleapis.com/v1beta1/{parent=projects/*/locations/*}/vpcFlowLogsConfigs
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-07-29 (UTC)."],[],[],null,["# Method: projects.locations.vpcFlowLogsConfigs.create\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nCreates a new `VpcFlowLogsConfig`. If a configuration with the exact same settings already exists (even if the ID is different), the creation fails. Notes:\n\n1. Creating a configuration with `state=DISABLED` will fail\n2. The following fields are not considered as settings for the purpose of the check mentioned above, therefore - creating another configuration with the same fields but different values for the following fields will fail as well:\n - name\n - createTime\n - updateTime\n - labels\n - description\n\n### HTTP request\n\n`POST https://networkmanagement.googleapis.com/v1beta1/{parent=projects/*/locations/*}/vpcFlowLogsConfigs`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body contains an instance of [VpcFlowLogsConfig](/network-intelligence-center/docs/reference/networkmanagement/rest/v1beta1/organizations.locations.vpcFlowLogsConfigs#VpcFlowLogsConfig).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [Operation](/network-intelligence-center/docs/reference/networkmanagement/rest/Shared.Types/ListOperationsResponse#Operation).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]