query policy ( $appTenantRestrictionPolicyInput:AppTenantRestrictionPolicyInput $dynamicIpAllocationPolicyInput:DynamicIpAllocationPolicyInput $internetFirewallPolicyInput:InternetFirewallPolicyInput $remotePortFwdPolicyInput:RemotePortFwdPolicyInput $socketLanPolicyInput:SocketLanPolicyInput $terminalServerPolicyInput:TerminalServerPolicyInput $wanFirewallPolicyInput:WanFirewallPolicyInput $wanNetworkPolicyInput:WanNetworkPolicyInput ) {
	policy ( ) {
		appTenantRestriction {
			policy ( input:$appTenantRestrictionPolicyInput   ) {
				enabled
				appTenantRestrictionRulePayloadRules: rules {
					policyElementAuditAudit: audit {
						updatedTime
						updatedBy
					}
					appTenantRestrictionRuleRule: rule {
						id
						name
						description
						index
						policySectionInfoSection: section {
							id
							name
							policyId
						}

						enabled
						applicationRefApplication: application {
							id
							name
						}

						appTenantRestrictionHeaderValueHeaders: headers {
							name
							value
						}

						appTenantRestrictionSourceSource: source {
							ip
							hostRefHost: host {
								id
								name
							}
							siteRefSite: site {
								id
								name
							}
							subnet
							ipAddressRangeIpRange: ipRange {
								from
								to
							}
							globalIpRangeRefGlobalIpRange: globalIpRange {
								id
								name
							}
							networkInterfaceRefNetworkInterface: networkInterface {
								id
								name
							}
							siteNetworkSubnetRefSiteNetworkSubnet: siteNetworkSubnet {
								id
								name
							}
							floatingSubnetRefFloatingSubnet: floatingSubnet {
								id
								name
							}
							userRefUser: user {
								id
								name
							}
							usersGroupRefUsersGroup: usersGroup {
								id
								name
							}
							groupRefGroup: group {
								id
								name
							}
							systemGroupRefSystemGroup: systemGroup {
								id
								name
							}
							countryRefCountry: country {
								id
								name
							}
						}

						policyScheduleSchedule: schedule {
							policyActiveOnEnumActiveOn: activeOn
							policyCustomTimeframeCustomTimeframe: customTimeframe {
								from
								to
							}
							policyCustomRecurringCustomRecurring: customRecurring {
								from
								to
								days
							}
						}

						appTenantRestrictionActionEnumAction: action
						appTenantRestrictionSeverityEnumSeverity: severity
					}
					policyElementPropertiesEnumProperties: properties
				}

				policySectionPayloadSections: sections {
					policyElementAuditAudit: audit {
						updatedTime
						updatedBy
					}
					policySectionInfoSection: section {
						id
						name
						policyId
					}
					policyElementPropertiesEnumProperties: properties
				}

				policyAuditAudit: audit {
					publishedTime
					publishedBy
				}

				policyRevisionRevision: revision {
					id
					name
					description
					changes
					createdTime
					updatedTime
				}

			}
			revisions {
				revision {
					id
					name
					description
					changes
					createdTime
					updatedTime
				}

			}
		}

		dynamicIpAllocation {
			policy ( input:$dynamicIpAllocationPolicyInput   ) {
				enabled
				dynamicIpAllocationRulePayloadRules: rules {
					policyElementAuditAudit: audit {
						updatedTime
						updatedBy
					}
					dynamicIpAllocationRuleRule: rule {
						id
						name
						description
						index
						policySectionInfoSection: section {
							id
							name
							policyId
						}

						enabled
						dynamicIpAllocationSourceSource: source {
							userRefUser: user {
								id
								name
							}
							usersGroupRefUsersGroup: usersGroup {
								id
								name
							}
						}

						operatingSystemPlatform: platform
						countryRefCountry: country {
							id
							name
						}

						dynamicIpAllocationRangeRange: range {
							globalIpRangeRefGlobalIpRange: globalIpRange {
								id
								name
							}
						}

					}
					policyElementPropertiesEnumProperties: properties
				}

				policySectionPayloadSections: sections {
					policyElementAuditAudit: audit {
						updatedTime
						updatedBy
					}
					policySectionInfoSection: section {
						id
						name
						policyId
					}
					policyElementPropertiesEnumProperties: properties
				}

				policyAuditAudit: audit {
					publishedTime
					publishedBy
				}

				policyRevisionRevision: revision {
					id
					name
					description
					changes
					createdTime
					updatedTime
				}

			}
			revisions {
				revision {
					id
					name
					description
					changes
					createdTime
					updatedTime
				}

			}
		}

		internetFirewall {
			policy ( input:$internetFirewallPolicyInput   ) {
				enabled
				internetFirewallRulePayloadRules: rules {
					policyElementAuditAudit: audit {
						updatedTime
						updatedBy
					}
					internetFirewallRuleRule: rule {
						id
						name
						description
						index
						policySectionInfoSection: section {
							id
							name
							policyId
						}

						enabled
						internetFirewallSourceSource: source {
							ip
							hostRefHost: host {
								id
								name
							}
							siteRefSite: site {
								id
								name
							}
							subnet
							ipAddressRangeIpRange: ipRange {
								from
								to
							}
							globalIpRangeRefGlobalIpRange: globalIpRange {
								id
								name
							}
							networkInterfaceRefNetworkInterface: networkInterface {
								id
								name
							}
							siteNetworkSubnetRefSiteNetworkSubnet: siteNetworkSubnet {
								id
								name
							}
							floatingSubnetRefFloatingSubnet: floatingSubnet {
								id
								name
							}
							userRefUser: user {
								id
								name
							}
							usersGroupRefUsersGroup: usersGroup {
								id
								name
							}
							groupRefGroup: group {
								id
								name
							}
							systemGroupRefSystemGroup: systemGroup {
								id
								name
							}
						}

						connectionOriginEnumConnectionOrigin: connectionOrigin
						countryRefCountry: country {
							id
							name
						}

						deviceProfileRefDevice: device {
							id
							name
						}

						operatingSystemDeviceOS: deviceOS
						deviceAttributesDeviceAttributes: deviceAttributes {
							category
							type
							model
							manufacturer
							os
							osVersion
						}

						internetFirewallDestinationDestination: destination {
							applicationRefApplication: application {
								id
								name
							}
							customApplicationRefCustomApp: customApp {
								id
								name
							}
							applicationCategoryRefAppCategory: appCategory {
								id
								name
							}
							customCategoryRefCustomCategory: customCategory {
								id
								name
							}
							sanctionedAppsCategoryRefSanctionedAppsCategory: sanctionedAppsCategory {
								id
								name
							}
							countryRefCountry: country {
								id
								name
							}
							domain
							fqdn
							ip
							subnet
							ipAddressRangeIpRange: ipRange {
								from
								to
							}
							globalIpRangeRefGlobalIpRange: globalIpRange {
								id
								name
							}
							remoteAsn
							internetFirewallContainerContainers: containers {
								fqdnContainerRefFqdnContainer: fqdnContainer {
									id
									name
								}

								ipAddressRangeContainerRefIpAddressRangeContainer: ipAddressRangeContainer {
									id
									name
								}

							}
						}

						internetFirewallServiceTypeService: service {
							serviceRefStandard: standard {
								id
								name
							}
							customServiceCustom: custom {
								port
								portRangePortRange: portRange {
									from
									to
								}

								ipProtocolProtocol: protocol
							}
						}

						internetFirewallActionEnumAction: action
						policyTrackingTracking: tracking {
							policyRuleTrackingEventEvent: event {
								enabled
							}
							policyRuleTrackingAlertAlert: alert {
								enabled
								policyRuleTrackingFrequencyEnumFrequency: frequency
								subscriptionGroupRefSubscriptionGroup: subscriptionGroup {
									id
									name
								}

								subscriptionWebhookRefWebhook: webhook {
									id
									name
								}

								subscriptionMailingListRefMailingList: mailingList {
									id
									name
								}

							}
						}

						policyScheduleSchedule: schedule {
							policyActiveOnEnumActiveOn: activeOn
							policyCustomTimeframeCustomTimeframe: customTimeframe {
								from
								to
							}
							policyCustomRecurringCustomRecurring: customRecurring {
								from
								to
								days
							}
						}

						policyRuleActivePeriodActivePeriod: activePeriod {
							useEffectiveFrom
							effectiveFrom
							useExpiresAt
							expiresAt
						}

						internetFirewallRuleExceptionExceptions: exceptions {
							name
							internetFirewallSourceSource: source {
								ip
								hostRefHost: host {
									id
									name
								}

								siteRefSite: site {
									id
									name
								}

								subnet
								ipAddressRangeIpRange: ipRange {
									from
									to
								}

								globalIpRangeRefGlobalIpRange: globalIpRange {
									id
									name
								}

								networkInterfaceRefNetworkInterface: networkInterface {
									id
									name
								}

								siteNetworkSubnetRefSiteNetworkSubnet: siteNetworkSubnet {
									id
									name
								}

								floatingSubnetRefFloatingSubnet: floatingSubnet {
									id
									name
								}

								userRefUser: user {
									id
									name
								}

								usersGroupRefUsersGroup: usersGroup {
									id
									name
								}

								groupRefGroup: group {
									id
									name
								}

								systemGroupRefSystemGroup: systemGroup {
									id
									name
								}

							}
							operatingSystemDeviceOS: deviceOS
							countryRefCountry: country {
								id
								name
							}
							deviceProfileRefDevice: device {
								id
								name
							}
							deviceAttributesDeviceAttributes: deviceAttributes {
								category
								type
								model
								manufacturer
								os
								osVersion
							}
							internetFirewallDestinationDestination: destination {
								applicationRefApplication: application {
									id
									name
								}

								customApplicationRefCustomApp: customApp {
									id
									name
								}

								applicationCategoryRefAppCategory: appCategory {
									id
									name
								}

								customCategoryRefCustomCategory: customCategory {
									id
									name
								}

								sanctionedAppsCategoryRefSanctionedAppsCategory: sanctionedAppsCategory {
									id
									name
								}

								countryRefCountry: country {
									id
									name
								}

								domain
								fqdn
								ip
								subnet
								ipAddressRangeIpRange: ipRange {
									from
									to
								}

								globalIpRangeRefGlobalIpRange: globalIpRange {
									id
									name
								}

								remoteAsn
								internetFirewallContainerContainers: containers {
									fqdnContainerRefFqdnContainer: fqdnContainer {
										id
										name
									}
									ipAddressRangeContainerRefIpAddressRangeContainer: ipAddressRangeContainer {
										id
										name
									}
								}

							}
							internetFirewallServiceTypeService: service {
								serviceRefStandard: standard {
									id
									name
								}

								customServiceCustom: custom {
									port
									portRangePortRange: portRange {
										from
										to
									}
									ipProtocolProtocol: protocol
								}

							}
							connectionOriginEnumConnectionOrigin: connectionOrigin
						}

					}
					policyElementPropertiesEnumProperties: properties
				}

				policySectionPayloadSections: sections {
					policyElementAuditAudit: audit {
						updatedTime
						updatedBy
					}
					policySectionInfoSection: section {
						id
						name
						policyId
					}
					policyElementPropertiesEnumProperties: properties
				}

				policyAuditAudit: audit {
					publishedTime
					publishedBy
				}

				policyRevisionRevision: revision {
					id
					name
					description
					changes
					createdTime
					updatedTime
				}

			}
			revisions {
				revision {
					id
					name
					description
					changes
					createdTime
					updatedTime
				}

			}
		}

		remotePortFwd {
			policy ( input:$remotePortFwdPolicyInput   ) {
				enabled
				remotePortFwdRulePayloadRules: rules {
					policyElementAuditAudit: audit {
						updatedTime
						updatedBy
					}
					remotePortFwdRuleRule: rule {
						id
						name
						description
						index
						policySectionInfoSection: section {
							id
							name
							policyId
						}

						enabled
						forwardIcmp
						allocatedIpRefExternalIp: externalIp {
							id
							name
						}

						portRangeExternalPortRange: externalPortRange {
							from
							to
						}

						internalIp
						portRangeInternalPortRange: internalPortRange {
							from
							to
						}

						remotePortFwdRemoteIpsRemoteIPs: remoteIPs {
							ip
							ipAddressRangeIpRange: ipRange {
								from
								to
							}
							subnet
							globalIpRangeRefGlobalIpRange: globalIpRange {
								id
								name
							}
						}

						remotePortFwdRestrictionTypeRestrictionType: restrictionType
						policyRuleTrackingAlertTracking: tracking {
							enabled
							policyRuleTrackingFrequencyEnumFrequency: frequency
							subscriptionGroupRefSubscriptionGroup: subscriptionGroup {
								id
								name
							}
							subscriptionWebhookRefWebhook: webhook {
								id
								name
							}
							subscriptionMailingListRefMailingList: mailingList {
								id
								name
							}
						}

					}
					policyElementPropertiesEnumProperties: properties
				}

				policySectionPayloadSections: sections {
					policyElementAuditAudit: audit {
						updatedTime
						updatedBy
					}
					policySectionInfoSection: section {
						id
						name
						policyId
					}
					policyElementPropertiesEnumProperties: properties
				}

				policyAuditAudit: audit {
					publishedTime
					publishedBy
				}

				policyRevisionRevision: revision {
					id
					name
					description
					changes
					createdTime
					updatedTime
				}

			}
			revisions {
				revision {
					id
					name
					description
					changes
					createdTime
					updatedTime
				}

			}
		}

		socketLan {
			policy ( input:$socketLanPolicyInput   ) {
				enabled
				socketLanRulePayloadRules: rules {
					policyElementAuditAudit: audit {
						updatedTime
						updatedBy
					}
					socketLanRuleRule: rule {
						id
						name
						description
						index
						policySectionInfoSection: section {
							id
							name
							policyId
						}

						enabled
						socketLanFirewallRulePayloadFirewall: firewall {
							policyElementAuditAudit: audit {
								updatedTime
								updatedBy
							}
							socketLanFirewallRuleRule: rule {
								id
								name
								description
								index
								policySectionInfoSection: section {
									id
									name
									policyId
								}

								enabled
								socketLanFirewallSourceSource: source {
									vlan
									mac
									ipAddressRangeIpRange: ipRange {
										from
										to
									}
									groupRefGroup: group {
										id
										name
									}
									subnet
									siteRefSite: site {
										id
										name
									}
									networkInterfaceRefNetworkInterface: networkInterface {
										id
										name
									}
									systemGroupRefSystemGroup: systemGroup {
										id
										name
									}
									hostRefHost: host {
										id
										name
									}
									ip
									globalIpRangeRefGlobalIpRange: globalIpRange {
										id
										name
									}
									floatingSubnetRefFloatingSubnet: floatingSubnet {
										id
										name
									}
									siteNetworkSubnetRefSiteNetworkSubnet: siteNetworkSubnet {
										id
										name
									}
								}

								socketLanFirewallDestinationDestination: destination {
									vlan
									ipAddressRangeIpRange: ipRange {
										from
										to
									}
									subnet
									siteRefSite: site {
										id
										name
									}
									networkInterfaceRefNetworkInterface: networkInterface {
										id
										name
									}
									systemGroupRefSystemGroup: systemGroup {
										id
										name
									}
									hostRefHost: host {
										id
										name
									}
									ip
									globalIpRangeRefGlobalIpRange: globalIpRange {
										id
										name
									}
									groupRefGroup: group {
										id
										name
									}
									floatingSubnetRefFloatingSubnet: floatingSubnet {
										id
										name
									}
									siteNetworkSubnetRefSiteNetworkSubnet: siteNetworkSubnet {
										id
										name
									}
								}

								socketLanFirewallDirectionDirection: direction
								socketLanFirewallApplicationApplication: application {
									applicationRefApplication: application {
										id
										name
									}
									customApplicationRefCustomApp: customApp {
										id
										name
									}
									domain
									fqdn
									ip
									subnet
									ipAddressRangeIpRange: ipRange {
										from
										to
									}
									globalIpRangeRefGlobalIpRange: globalIpRange {
										id
										name
									}
								}

								socketLanFirewallServiceTypeService: service {
									simpleServiceSimple: simple {
										simpleServiceTypeName: name
									}
									serviceRefStandard: standard {
										id
										name
									}
									customServiceCustom: custom {
										port
										portRangePortRange: portRange {
											from
											to
										}

										ipProtocolProtocol: protocol
									}
								}

								socketLanFirewallActionAction: action
								policyTrackingTracking: tracking {
									policyRuleTrackingEventEvent: event {
										enabled
									}
									policyRuleTrackingAlertAlert: alert {
										enabled
										policyRuleTrackingFrequencyEnumFrequency: frequency
										subscriptionGroupRefSubscriptionGroup: subscriptionGroup {
											id
											name
										}

										subscriptionWebhookRefWebhook: webhook {
											id
											name
										}

										subscriptionMailingListRefMailingList: mailingList {
											id
											name
										}

									}
								}

							}
							policyElementPropertiesEnumProperties: properties
						}

						socketLanSiteSite: site {
							siteRefSite: site {
								id
								name
							}
							groupRefGroup: group {
								id
								name
							}
						}

						socketLanSourceSource: source {
							vlan
							ipAddressRangeIpRange: ipRange {
								from
								to
							}
							groupRefGroup: group {
								id
								name
							}
							subnet
							networkInterfaceRefNetworkInterface: networkInterface {
								id
								name
							}
							systemGroupRefSystemGroup: systemGroup {
								id
								name
							}
							hostRefHost: host {
								id
								name
							}
							ip
							globalIpRangeRefGlobalIpRange: globalIpRange {
								id
								name
							}
							floatingSubnetRefFloatingSubnet: floatingSubnet {
								id
								name
							}
							siteNetworkSubnetRefSiteNetworkSubnet: siteNetworkSubnet {
								id
								name
							}
						}

						socketLanDestinationDestination: destination {
							vlan
							ipAddressRangeIpRange: ipRange {
								from
								to
							}
							subnet
							networkInterfaceRefNetworkInterface: networkInterface {
								id
								name
							}
							systemGroupRefSystemGroup: systemGroup {
								id
								name
							}
							hostRefHost: host {
								id
								name
							}
							ip
							globalIpRangeRefGlobalIpRange: globalIpRange {
								id
								name
							}
							groupRefGroup: group {
								id
								name
							}
							floatingSubnetRefFloatingSubnet: floatingSubnet {
								id
								name
							}
							siteNetworkSubnetRefSiteNetworkSubnet: siteNetworkSubnet {
								id
								name
							}
						}

						socketLanDirectionDirection: direction
						socketLanServiceService: service {
							simpleServiceSimple: simple {
								simpleServiceTypeName: name
							}
							customServiceCustom: custom {
								port
								portRangePortRange: portRange {
									from
									to
								}

								ipProtocolProtocol: protocol
							}
						}

						socketLanNatSettingsNat: nat {
							enabled
							socketLanNatTypeNatType: natType
						}

						socketLanTransportTypeTransport: transport
					}
					policyElementPropertiesEnumProperties: properties
				}

				policySectionPayloadSections: sections {
					policyElementAuditAudit: audit {
						updatedTime
						updatedBy
					}
					policySectionInfoSection: section {
						id
						name
						policyId
					}
					policyElementPropertiesEnumProperties: properties
				}

				policyAuditAudit: audit {
					publishedTime
					publishedBy
				}

				policyRevisionRevision: revision {
					id
					name
					description
					changes
					createdTime
					updatedTime
				}

			}
			revisions {
				revision {
					id
					name
					description
					changes
					createdTime
					updatedTime
				}

			}
		}

		terminalServer {
			policy ( input:$terminalServerPolicyInput   ) {
				enabled
				terminalServerRulePayloadRules: rules {
					policyElementAuditAudit: audit {
						updatedTime
						updatedBy
					}
					terminalServerRuleRule: rule {
						id
						name
						description
						index
						policySectionInfoSection: section {
							id
							name
							policyId
						}

						enabled
						globalIpRangeRefAllowedHostIP: allowedHostIP {
							id
							name
						}

						globalIpRangeRefExcludeTraffic: excludeTraffic {
							id
							name
						}

					}
					policyElementPropertiesEnumProperties: properties
				}

				policySectionPayloadSections: sections {
					policyElementAuditAudit: audit {
						updatedTime
						updatedBy
					}
					policySectionInfoSection: section {
						id
						name
						policyId
					}
					policyElementPropertiesEnumProperties: properties
				}

				policyAuditAudit: audit {
					publishedTime
					publishedBy
				}

				policyRevisionRevision: revision {
					id
					name
					description
					changes
					createdTime
					updatedTime
				}

			}
			revisions {
				revision {
					id
					name
					description
					changes
					createdTime
					updatedTime
				}

			}
		}

		wanFirewall {
			policy ( input:$wanFirewallPolicyInput   ) {
				enabled
				wanFirewallRulePayloadRules: rules {
					policyElementAuditAudit: audit {
						updatedTime
						updatedBy
					}
					wanFirewallRuleRule: rule {
						id
						name
						description
						index
						policySectionInfoSection: section {
							id
							name
							policyId
						}

						enabled
						wanFirewallSourceSource: source {
							hostRefHost: host {
								id
								name
							}
							siteRefSite: site {
								id
								name
							}
							subnet
							ip
							ipAddressRangeIpRange: ipRange {
								from
								to
							}
							globalIpRangeRefGlobalIpRange: globalIpRange {
								id
								name
							}
							networkInterfaceRefNetworkInterface: networkInterface {
								id
								name
							}
							siteNetworkSubnetRefSiteNetworkSubnet: siteNetworkSubnet {
								id
								name
							}
							floatingSubnetRefFloatingSubnet: floatingSubnet {
								id
								name
							}
							userRefUser: user {
								id
								name
							}
							usersGroupRefUsersGroup: usersGroup {
								id
								name
							}
							groupRefGroup: group {
								id
								name
							}
							systemGroupRefSystemGroup: systemGroup {
								id
								name
							}
						}

						connectionOriginEnumConnectionOrigin: connectionOrigin
						countryRefCountry: country {
							id
							name
						}

						deviceProfileRefDevice: device {
							id
							name
						}

						operatingSystemDeviceOS: deviceOS
						deviceAttributesDeviceAttributes: deviceAttributes {
							category
							type
							model
							manufacturer
							os
							osVersion
						}

						wanFirewallDestinationDestination: destination {
							hostRefHost: host {
								id
								name
							}
							siteRefSite: site {
								id
								name
							}
							subnet
							ip
							ipAddressRangeIpRange: ipRange {
								from
								to
							}
							globalIpRangeRefGlobalIpRange: globalIpRange {
								id
								name
							}
							networkInterfaceRefNetworkInterface: networkInterface {
								id
								name
							}
							siteNetworkSubnetRefSiteNetworkSubnet: siteNetworkSubnet {
								id
								name
							}
							floatingSubnetRefFloatingSubnet: floatingSubnet {
								id
								name
							}
							userRefUser: user {
								id
								name
							}
							usersGroupRefUsersGroup: usersGroup {
								id
								name
							}
							groupRefGroup: group {
								id
								name
							}
							systemGroupRefSystemGroup: systemGroup {
								id
								name
							}
						}

						wanFirewallApplicationApplication: application {
							applicationRefApplication: application {
								id
								name
							}
							applicationCategoryRefAppCategory: appCategory {
								id
								name
							}
							customApplicationRefCustomApp: customApp {
								id
								name
							}
							customCategoryRefCustomCategory: customCategory {
								id
								name
							}
							sanctionedAppsCategoryRefSanctionedAppsCategory: sanctionedAppsCategory {
								id
								name
							}
							domain
							fqdn
							ip
							subnet
							ipAddressRangeIpRange: ipRange {
								from
								to
							}
							globalIpRangeRefGlobalIpRange: globalIpRange {
								id
								name
							}
						}

						wanFirewallServiceTypeService: service {
							serviceRefStandard: standard {
								id
								name
							}
							customServiceCustom: custom {
								port
								portRangePortRange: portRange {
									from
									to
								}

								ipProtocolProtocol: protocol
							}
						}

						wanFirewallActionEnumAction: action
						policyTrackingTracking: tracking {
							policyRuleTrackingEventEvent: event {
								enabled
							}
							policyRuleTrackingAlertAlert: alert {
								enabled
								policyRuleTrackingFrequencyEnumFrequency: frequency
								subscriptionGroupRefSubscriptionGroup: subscriptionGroup {
									id
									name
								}

								subscriptionWebhookRefWebhook: webhook {
									id
									name
								}

								subscriptionMailingListRefMailingList: mailingList {
									id
									name
								}

							}
						}

						policyScheduleSchedule: schedule {
							policyActiveOnEnumActiveOn: activeOn
							policyCustomTimeframeCustomTimeframe: customTimeframe {
								from
								to
							}
							policyCustomRecurringCustomRecurring: customRecurring {
								from
								to
								days
							}
						}

						policyRuleActivePeriodActivePeriod: activePeriod {
							useEffectiveFrom
							effectiveFrom
							useExpiresAt
							expiresAt
						}

						wanFirewallDirectionEnumDirection: direction
						wanFirewallRuleExceptionExceptions: exceptions {
							name
							wanFirewallSourceSource: source {
								hostRefHost: host {
									id
									name
								}

								siteRefSite: site {
									id
									name
								}

								subnet
								ip
								ipAddressRangeIpRange: ipRange {
									from
									to
								}

								globalIpRangeRefGlobalIpRange: globalIpRange {
									id
									name
								}

								networkInterfaceRefNetworkInterface: networkInterface {
									id
									name
								}

								siteNetworkSubnetRefSiteNetworkSubnet: siteNetworkSubnet {
									id
									name
								}

								floatingSubnetRefFloatingSubnet: floatingSubnet {
									id
									name
								}

								userRefUser: user {
									id
									name
								}

								usersGroupRefUsersGroup: usersGroup {
									id
									name
								}

								groupRefGroup: group {
									id
									name
								}

								systemGroupRefSystemGroup: systemGroup {
									id
									name
								}

							}
							operatingSystemDeviceOS: deviceOS
							wanFirewallDestinationDestination: destination {
								hostRefHost: host {
									id
									name
								}

								siteRefSite: site {
									id
									name
								}

								subnet
								ip
								ipAddressRangeIpRange: ipRange {
									from
									to
								}

								globalIpRangeRefGlobalIpRange: globalIpRange {
									id
									name
								}

								networkInterfaceRefNetworkInterface: networkInterface {
									id
									name
								}

								siteNetworkSubnetRefSiteNetworkSubnet: siteNetworkSubnet {
									id
									name
								}

								floatingSubnetRefFloatingSubnet: floatingSubnet {
									id
									name
								}

								userRefUser: user {
									id
									name
								}

								usersGroupRefUsersGroup: usersGroup {
									id
									name
								}

								groupRefGroup: group {
									id
									name
								}

								systemGroupRefSystemGroup: systemGroup {
									id
									name
								}

							}
							countryRefCountry: country {
								id
								name
							}
							deviceProfileRefDevice: device {
								id
								name
							}
							deviceAttributesDeviceAttributes: deviceAttributes {
								category
								type
								model
								manufacturer
								os
								osVersion
							}
							wanFirewallApplicationApplication: application {
								applicationRefApplication: application {
									id
									name
								}

								applicationCategoryRefAppCategory: appCategory {
									id
									name
								}

								customApplicationRefCustomApp: customApp {
									id
									name
								}

								customCategoryRefCustomCategory: customCategory {
									id
									name
								}

								sanctionedAppsCategoryRefSanctionedAppsCategory: sanctionedAppsCategory {
									id
									name
								}

								domain
								fqdn
								ip
								subnet
								ipAddressRangeIpRange: ipRange {
									from
									to
								}

								globalIpRangeRefGlobalIpRange: globalIpRange {
									id
									name
								}

							}
							wanFirewallServiceTypeService: service {
								serviceRefStandard: standard {
									id
									name
								}

								customServiceCustom: custom {
									port
									portRangePortRange: portRange {
										from
										to
									}
									ipProtocolProtocol: protocol
								}

							}
							connectionOriginEnumConnectionOrigin: connectionOrigin
							wanFirewallDirectionEnumDirection: direction
						}

					}
					policyElementPropertiesEnumProperties: properties
				}

				policySectionPayloadSections: sections {
					policyElementAuditAudit: audit {
						updatedTime
						updatedBy
					}
					policySectionInfoSection: section {
						id
						name
						policyId
					}
					policyElementPropertiesEnumProperties: properties
				}

				policyAuditAudit: audit {
					publishedTime
					publishedBy
				}

				policyRevisionRevision: revision {
					id
					name
					description
					changes
					createdTime
					updatedTime
				}

			}
			revisions {
				revision {
					id
					name
					description
					changes
					createdTime
					updatedTime
				}

			}
		}

		wanNetwork {
			policy ( input:$wanNetworkPolicyInput   ) {
				enabled
				wanNetworkRulePayloadRules: rules {
					policyElementAuditAudit: audit {
						updatedTime
						updatedBy
					}
					wanNetworkRuleRule: rule {
						id
						name
						description
						index
						policySectionInfoSection: section {
							id
							name
							policyId
						}

						enabled
						wanNetworkRuleTypeRuleType: ruleType
						wanNetworkRuleRouteTypeRouteType: routeType
						wanNetworkRuleSourceSource: source {
							userRefUser: user {
								id
								name
							}
							floatingSubnetRefFloatingSubnet: floatingSubnet {
								id
								name
							}
							globalIpRangeRefGlobalIpRange: globalIpRange {
								id
								name
							}
							groupRefGroup: group {
								id
								name
							}
							hostRefHost: host {
								id
								name
							}
							ip
							ipAddressRangeIpRange: ipRange {
								from
								to
							}
							networkInterfaceRefNetworkInterface: networkInterface {
								id
								name
							}
							subnet
							siteRefSite: site {
								id
								name
							}
							siteNetworkSubnetRefSiteNetworkSubnet: siteNetworkSubnet {
								id
								name
							}
							systemGroupRefSystemGroup: systemGroup {
								id
								name
							}
							usersGroupRefUsersGroup: usersGroup {
								id
								name
							}
						}

						wanNetworkRuleDestinationDestination: destination {
							userRefUser: user {
								id
								name
							}
							floatingSubnetRefFloatingSubnet: floatingSubnet {
								id
								name
							}
							globalIpRangeRefGlobalIpRange: globalIpRange {
								id
								name
							}
							groupRefGroup: group {
								id
								name
							}
							hostRefHost: host {
								id
								name
							}
							ip
							ipAddressRangeIpRange: ipRange {
								from
								to
							}
							networkInterfaceRefNetworkInterface: networkInterface {
								id
								name
							}
							subnet
							siteRefSite: site {
								id
								name
							}
							siteNetworkSubnetRefSiteNetworkSubnet: siteNetworkSubnet {
								id
								name
							}
							systemGroupRefSystemGroup: systemGroup {
								id
								name
							}
							usersGroupRefUsersGroup: usersGroup {
								id
								name
							}
						}

						wanNetworkRuleApplicationApplication: application {
							applicationRefApplication: application {
								id
								name
							}
							applicationCategoryRefAppCategory: appCategory {
								id
								name
							}
							customApplicationRefCustomApp: customApp {
								id
								name
							}
							customCategoryRefCustomCategory: customCategory {
								id
								name
							}
							customServiceIpCustomServiceIp: customServiceIp {
								name
								ip
								ipAddressRangeIpRange: ipRange {
									from
									to
								}

							}
							customServiceCustomService: customService {
								port
								portRangePortRange: portRange {
									from
									to
								}

								ipProtocolProtocol: protocol
							}
							domain
							fqdn
							serviceRefService: service {
								id
								name
							}
						}

						wanNetworkRuleConfigurationConfiguration: configuration {
							activeTcpAcceleration
							packetLossMitigation
							preserveSourcePort
							wanNetworkRuleTransportPrimaryTransport: primaryTransport {
								wanNetworkRuleTransportTypeTransportType: transportType
								wanNetworkRuleInterfaceRolePrimaryInterfaceRole: primaryInterfaceRole
								wanNetworkRuleInterfaceRoleSecondaryInterfaceRole: secondaryInterfaceRole
							}
							wanNetworkRuleTransportSecondaryTransport: secondaryTransport {
								wanNetworkRuleTransportTypeTransportType: transportType
								wanNetworkRuleInterfaceRolePrimaryInterfaceRole: primaryInterfaceRole
								wanNetworkRuleInterfaceRoleSecondaryInterfaceRole: secondaryInterfaceRole
							}
							allocatedIpRefAllocationIp: allocationIp {
								id
								name
							}
							popLocationRefPopLocation: popLocation {
								id
								name
							}
							siteRefBackhaulingSite: backhaulingSite {
								id
								name
							}
						}

						bandwidthManagementRefBandwidthPriority: bandwidthPriority {
							id
							name
						}

						wanNetworkRuleExceptionExceptions: exceptions {
							name
							wanNetworkRuleSourceSource: source {
								userRefUser: user {
									id
									name
								}

								floatingSubnetRefFloatingSubnet: floatingSubnet {
									id
									name
								}

								globalIpRangeRefGlobalIpRange: globalIpRange {
									id
									name
								}

								groupRefGroup: group {
									id
									name
								}

								hostRefHost: host {
									id
									name
								}

								ip
								ipAddressRangeIpRange: ipRange {
									from
									to
								}

								networkInterfaceRefNetworkInterface: networkInterface {
									id
									name
								}

								subnet
								siteRefSite: site {
									id
									name
								}

								siteNetworkSubnetRefSiteNetworkSubnet: siteNetworkSubnet {
									id
									name
								}

								systemGroupRefSystemGroup: systemGroup {
									id
									name
								}

								usersGroupRefUsersGroup: usersGroup {
									id
									name
								}

							}
							wanNetworkRuleDestinationDestination: destination {
								userRefUser: user {
									id
									name
								}

								floatingSubnetRefFloatingSubnet: floatingSubnet {
									id
									name
								}

								globalIpRangeRefGlobalIpRange: globalIpRange {
									id
									name
								}

								groupRefGroup: group {
									id
									name
								}

								hostRefHost: host {
									id
									name
								}

								ip
								ipAddressRangeIpRange: ipRange {
									from
									to
								}

								networkInterfaceRefNetworkInterface: networkInterface {
									id
									name
								}

								subnet
								siteRefSite: site {
									id
									name
								}

								siteNetworkSubnetRefSiteNetworkSubnet: siteNetworkSubnet {
									id
									name
								}

								systemGroupRefSystemGroup: systemGroup {
									id
									name
								}

								usersGroupRefUsersGroup: usersGroup {
									id
									name
								}

							}
							wanNetworkRuleApplicationApplication: application {
								applicationRefApplication: application {
									id
									name
								}

								applicationCategoryRefAppCategory: appCategory {
									id
									name
								}

								customApplicationRefCustomApp: customApp {
									id
									name
								}

								customCategoryRefCustomCategory: customCategory {
									id
									name
								}

								customServiceIpCustomServiceIp: customServiceIp {
									name
									ip
									ipAddressRangeIpRange: ipRange {
										from
										to
									}
								}

								customServiceCustomService: customService {
									port
									portRangePortRange: portRange {
										from
										to
									}
									ipProtocolProtocol: protocol
								}

								domain
								fqdn
								serviceRefService: service {
									id
									name
								}

							}
						}

					}
					policyElementPropertiesEnumProperties: properties
				}

				policySectionPayloadSections: sections {
					policyElementAuditAudit: audit {
						updatedTime
						updatedBy
					}
					policySectionInfoSection: section {
						id
						name
						policyId
					}
					policyElementPropertiesEnumProperties: properties
				}

				policyAuditAudit: audit {
					publishedTime
					publishedBy
				}

				policyRevisionRevision: revision {
					id
					name
					description
					changes
					createdTime
					updatedTime
				}

			}
			revisions {
				revision {
					id
					name
					description
					changes
					createdTime
					updatedTime
				}

			}
		}

	}	
}