swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector PostRules API schemes: - https tags: - name: PostRules paths: /providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/postRules: get: tags: - PostRules operationId: microsoftAzurePostrulesList description: List PostRulesResource resources by Tenant parameters: - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter - $ref: '#/parameters/GlobalRulestackResource.globalRulestackName' responses: '200': description: Azure operation completed successfully. schema: $ref: '#/definitions/PostRulesResourceListResult' default: description: Common error response for all Azure Resource Manager APIs to return error details for failed operations. schema: $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse x-ms-pageable: nextLinkName: nextLink x-ms-examples: PostRules_List_MaximumSet_Gen: $ref: ./examples/PostRules_List_MaximumSet_Gen.json PostRules_List_MinimumSet_Gen: $ref: ./examples/PostRules_List_MinimumSet_Gen.json summary: Microsoft Azure Get Providers Paloaltonetworks Cloudngfw Globalrulestacks Globalrulestackname Postrules /providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/postRules/{priority}: get: tags: - PostRules operationId: microsoftAzurePostrulesGet description: Get a PostRulesResource parameters: - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter - $ref: '#/parameters/GlobalRulestackResource.globalRulestackName' - $ref: '#/parameters/PostRulesResource.priority' responses: '200': description: Azure operation completed successfully. schema: $ref: '#/definitions/PostRulesResource' default: description: Common error response for all Azure Resource Manager APIs to return error details for failed operations. schema: $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse x-ms-examples: PostRules_Get_MaximumSet_Gen: $ref: ./examples/PostRules_Get_MaximumSet_Gen.json PostRules_Get_MinimumSet_Gen: $ref: ./examples/PostRules_Get_MinimumSet_Gen.json summary: Microsoft Azure Get Providers Paloaltonetworks Cloudngfw Globalrulestacks Globalrulestackname Postrules Priority put: tags: - PostRules operationId: microsoftAzurePostrulesCreateorupdate description: Create a PostRulesResource parameters: - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter - $ref: '#/parameters/GlobalRulestackResource.globalRulestackName' - $ref: '#/parameters/PostRulesResource.priority' - name: resource in: body required: true description: Resource create parameters. schema: $ref: '#/definitions/PostRulesResource' responses: '200': description: Azure operation completed successfully. schema: $ref: '#/definitions/PostRulesResource' '201': description: Azure create operation completed successfully. schema: $ref: '#/definitions/PostRulesResource' default: description: Common error response for all Azure Resource Manager APIs to return error details for failed operations. schema: $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse x-ms-long-running-operation-options: final-state-via: azure-async-operation x-ms-long-running-operation: true x-ms-examples: PostRules_CreateOrUpdate_MaximumSet_Gen: $ref: ./examples/PostRules_CreateOrUpdate_MaximumSet_Gen.json PostRules_CreateOrUpdate_MinimumSet_Gen: $ref: ./examples/PostRules_CreateOrUpdate_MinimumSet_Gen.json summary: Microsoft Azure Put Providers Paloaltonetworks Cloudngfw Globalrulestacks Globalrulestackname Postrules Priority delete: tags: - PostRules operationId: microsoftAzurePostrulesDelete description: Delete a PostRulesResource parameters: - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter - $ref: '#/parameters/GlobalRulestackResource.globalRulestackName' - $ref: '#/parameters/PostRulesResource.priority' responses: '200': description: Resource deleted successfully. '202': description: Resource deletion accepted. '204': description: Resource deleted successfully. default: description: Common error response for all Azure Resource Manager APIs to return error details for failed operations. schema: $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse x-ms-long-running-operation-options: final-state-via: azure-async-operation x-ms-long-running-operation: true x-ms-examples: PostRules_Delete_MaximumSet_Gen: $ref: ./examples/PostRules_Delete_MaximumSet_Gen.json PostRules_Delete_MinimumSet_Gen: $ref: ./examples/PostRules_Delete_MinimumSet_Gen.json summary: Microsoft Azure Delete Providers Paloaltonetworks Cloudngfw Globalrulestacks Globalrulestackname Postrules Priority /providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/postRules/{priority}/getCounters: post: tags: - PostRules operationId: microsoftAzurePostrulesGetcounters description: Get counters parameters: - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter - $ref: '#/parameters/GlobalRulestackResource.globalRulestackName' - $ref: '#/parameters/PostRulesResource.priority' - name: firewallName in: query required: false type: string responses: '200': description: The request has succeeded. schema: $ref: '#/definitions/RuleCounter' default: description: Common error response for all Azure Resource Manager APIs to return error details for failed operations. schema: $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse x-ms-examples: PostRules_getCounters_MaximumSet_Gen: $ref: ./examples/PostRules_getCounters_MaximumSet_Gen.json PostRules_getCounters_MinimumSet_Gen: $ref: ./examples/PostRules_getCounters_MinimumSet_Gen.json summary: Microsoft Azure Post Providers Paloaltonetworks Cloudngfw Globalrulestacks Globalrulestackname Postrules Priority Getcounters /providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/postRules/{priority}/refreshCounters: post: tags: - PostRules operationId: microsoftAzurePostrulesRefreshcounters description: Refresh counters parameters: - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter - $ref: '#/parameters/GlobalRulestackResource.globalRulestackName' - $ref: '#/parameters/PostRulesResource.priority' - name: firewallName in: query required: false type: string responses: '204': description: 'There is no content to send for this request, but the headers may be useful. ' default: description: Common error response for all Azure Resource Manager APIs to return error details for failed operations. schema: $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse x-ms-examples: PostRules_refreshCounters_MaximumSet_Gen: $ref: ./examples/PostRules_refreshCounters_MaximumSet_Gen.json PostRules_refreshCounters_MinimumSet_Gen: $ref: ./examples/PostRules_refreshCounters_MinimumSet_Gen.json summary: Microsoft Azure Post Providers Paloaltonetworks Cloudngfw Globalrulestacks Globalrulestackname Postrules Priority Refreshcounters /providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/postRules/{priority}/resetCounters: post: tags: - PostRules operationId: microsoftAzurePostrulesResetcounters description: Reset counters parameters: - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter - $ref: '#/parameters/GlobalRulestackResource.globalRulestackName' - $ref: '#/parameters/PostRulesResource.priority' - name: firewallName in: query required: false type: string responses: '200': description: The request has succeeded. schema: $ref: '#/definitions/RuleCounterReset' default: description: Common error response for all Azure Resource Manager APIs to return error details for failed operations. schema: $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse x-ms-examples: PostRules_resetCounters_MaximumSet_Gen: $ref: ./examples/PostRules_resetCounters_MaximumSet_Gen.json PostRules_resetCounters_MinimumSet_Gen: $ref: ./examples/PostRules_resetCounters_MinimumSet_Gen.json summary: Microsoft Azure Post Providers Paloaltonetworks Cloudngfw Globalrulestacks Globalrulestackname Postrules Priority Resetcounters definitions: PostRulesResource: type: object properties: properties: $ref: '#/definitions/RuleEntry' description: The resource-specific properties for this resource. x-ms-mutability: - read - create x-ms-client-flatten: true systemData: $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/systemData description: System metadata for this resource. readOnly: true description: PostRulestack rule list required: - properties allOf: - $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource Category: type: object properties: urlCustom: type: array items: type: string x-cadl-name: string[] description: custom URL feeds: type: array items: type: string x-cadl-name: string[] description: feed list description: URL/EDL to match required: - urlCustom - feeds RuleEntry: type: object properties: etag: type: string description: etag info ruleName: type: string description: rule name priority: type: integer format: int32 readOnly: true description: type: string description: rule description ruleState: $ref: '#/definitions/StateEnum' description: state of this rule source: $ref: '#/definitions/SourceAddr' description: source address negateSource: $ref: '#/definitions/BooleanEnum' description: cidr should not be 'any' destination: $ref: '#/definitions/DestinationAddr' description: destination address negateDestination: $ref: '#/definitions/BooleanEnum' description: cidr should not be 'any' applications: type: array items: type: string x-cadl-name: string[] description: array of rule applications category: $ref: '#/definitions/Category' description: rule category protocol: type: string description: any, application-default, TCP:number, UDP:number default: application-default protocolPortList: type: array items: type: string x-cadl-name: string[] description: prot port list inboundInspectionCertificate: type: string description: inbound Inspection Certificate auditComment: type: string description: rule comment actionType: $ref: '#/definitions/ActionEnum' description: rule action enableLogging: $ref: '#/definitions/StateEnum' description: enable or disable logging decryptionRuleType: $ref: '#/definitions/DecryptionRuleTypeEnum' description: enable or disable decryption tags: type: array items: $ref: '#/definitions/TagInfo' x-ms-identifiers: [] x-cadl-name: TagInfo[] description: tag for rule provisioningState: $ref: '#/definitions/ProvisioningState' description: Provisioning state of the resource. readOnly: true description: definition of rule required: - ruleName DestinationAddr: type: object properties: cidrs: type: array items: type: string x-cadl-name: string[] description: special value 'any' countries: type: array items: type: string x-cadl-name: string[] description: list of countries feeds: type: array items: type: string x-cadl-name: string[] description: list of feeds prefixLists: type: array items: type: string x-cadl-name: string[] description: prefix list fqdnLists: type: array items: type: string x-cadl-name: string[] description: fqdn list description: destination address StateEnum: type: string description: Enabled or Disabled Enum enum: - DISABLED - ENABLED x-ms-enum: name: StateEnum modelAsString: true TagInfo: type: object properties: key: type: string description: tag name value: type: string description: tag value description: Tag required: - key - value ProvisioningState: type: string description: Provisioning state of the firewall resource. enum: - Accepted - Creating - Updating - Deleting - Succeeded - Failed - Canceled - Deleted - NotSpecified x-ms-enum: name: ProvisioningState modelAsString: true PostRulesResourceListResult: type: object properties: value: type: array items: $ref: '#/definitions/PostRulesResource' x-cadl-name: PostRulesResource[] description: The items on this page nextLink: type: string description: The link to the next page of items description: The response of a PostRulesResource list operation. required: - value DecryptionRuleTypeEnum: type: string enum: - SSLOutboundInspection - SSLInboundInspection - None x-ms-enum: name: DecryptionRuleTypeEnum modelAsString: true ActionEnum: type: string enum: - Allow - DenySilent - DenyResetServer - DenyResetBoth x-ms-enum: name: ActionEnum modelAsString: true BooleanEnum: type: string description: Boolean Enum enum: - 'TRUE' - 'FALSE' x-ms-enum: name: BooleanEnum modelAsString: true SourceAddr: type: object properties: cidrs: type: array items: type: string x-cadl-name: string[] description: special value 'any' countries: type: array items: type: string x-cadl-name: string[] description: list of countries feeds: type: array items: type: string x-cadl-name: string[] description: list of feeds prefixLists: type: array items: type: string x-cadl-name: string[] description: prefix list description: Address properties RuleCounter: type: object properties: priority: type: string description: priority number ruleStackName: type: string description: rule Stack Name ruleListName: type: string description: rule list name firewallName: type: string description: firewall name ruleName: type: string description: rule name hitCount: type: integer format: int32 description: hit count appSeen: $ref: '#/definitions/AppSeenData' description: apps seen timestamp: type: string format: date-time description: timestamp of response requestTimestamp: type: string format: date-time description: timestamp of request lastUpdatedTimestamp: type: string format: date-time description: last updated timestamp description: Rule counter required: - priority - ruleName AppSeenInfo: type: object properties: title: type: string description: title category: type: string description: category subCategory: type: string description: subCategory risk: type: string description: risk tag: type: string description: tag technology: type: string description: technology standardPorts: type: string description: standardPorts description: Definition for App Seen required: - title - category - subCategory - risk - tag - technology - standardPorts AppSeenData: type: object properties: count: type: integer format: int32 description: number of rows appSeenList: type: array items: $ref: '#/definitions/AppSeenInfo' x-ms-identifiers: [] x-cadl-name: AppSeenInfo[] description: array of appSeen description: Data Type for App Seen required: - count - appSeenList RuleCounterReset: type: object properties: priority: type: string description: priority number readOnly: true ruleStackName: type: string description: rule Stack Name ruleListName: type: string description: rule list name firewallName: type: string description: firewall name ruleName: type: string description: rule name description: Rule counter reset parameters: GlobalRulestackResource.globalRulestackName: name: globalRulestackName in: path required: true description: GlobalRulestack resource name type: string x-ms-parameter-location: method PostRulesResource.priority: name: priority in: path required: true description: Post Rule priority type: string x-ms-parameter-location: method x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'