Invoke ADCAddAppfwprofilexmlattachmenturlbinding - j81blog/J81.ADCToolkit GitHub Wiki

Invoke-ADCAddAppfwprofilexmlattachmenturlbinding

SYNOPSIS

Add Application Firewall configuration Object.

SYNTAX

Invoke-ADCAddAppfwprofilexmlattachmenturlbinding [-Name] <String> [[-Comment] <String>] [[-State] <String>]
 [[-Xmlattachmenturl] <String>] [[-Xmlmaxattachmentsizecheck] <String>] [[-Xmlmaxattachmentsize] <Double>]
 [[-Xmlattachmentcontenttypecheck] <String>] [[-Xmlattachmentcontenttype] <String>]
 [[-Isautodeployed] <String>] [[-Resourceid] <String>] [[-Ruletype] <String>] [-PassThru] [-WhatIf] [-Confirm]
 [<CommonParameters>]

DESCRIPTION

Binding object showing the xmlattachmenturl that can be bound to appfwprofile.

EXAMPLES

EXAMPLE 1

Invoke-ADCAddAppfwprofilexmlattachmenturlbinding -name <string>

An example how to add appfwprofile_xmlattachmenturl_binding configuration Object(s).

PARAMETERS

-Name

Name of the profile to which to bind an exemption or rule.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Comment

Any comments about the purpose of profile, or other useful information about the profile.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-State

Enabled. Possible values = ENABLED, DISABLED

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Xmlattachmenturl

XML attachment URL regular expression length.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Xmlmaxattachmentsizecheck

State if XML Max attachment size Check is ON or OFF. Protects against XML requests with large attachment data. Possible values = ON, OFF

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 6
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Xmlmaxattachmentsize

Specify maximum attachment size.

Type: Double
Parameter Sets: (All)
Aliases:

Required: False
Position: 7
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-Xmlattachmentcontenttypecheck

State if XML attachment content-type check is ON or OFF. Protects against XML requests with illegal attachments. Possible values = ON, OFF

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 8
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Xmlattachmentcontenttype

Specify content-type regular expression.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 9
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Isautodeployed

Is the rule auto deployed by dynamic profile ?. Possible values = AUTODEPLOYED, NOTAUTODEPLOYED

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 10
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Resourceid

A "id" that identifies the rule.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 11
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Ruletype

Specifies rule type of binding. Possible values = ALLOW, DENY

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 12
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-PassThru

Return details about the created appfwprofile_xmlattachmenturl_binding item.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

File Name : Invoke-ADCAddAppfwprofilexmlattachmenturlbinding Version : v2111.2521 Author : John Billekens Reference : https://developer-docs.citrix.com/projects/citrix-adc-nitro-api-reference/en/latest/configuration/appfw/appfwprofile_xmlattachmenturl_binding/ Requires : PowerShell v5.1 and up ADC 13.x and up. ADC 12 and lower may work, not guaranteed.

RELATED LINKS

https://blog.j81.nl

⚠️ **GitHub.com Fallback** ⚠️