Watch Aspire live streamsDocsTry Aspire

SecurityRuleProxy

Handle
📦 Aspire.Hosting.Azure.Provisioning.Network v13.6.0-preview.1.26478.8
interface SecurityRuleProxy {
access: BicepValueProxy | SecurityRuleAccess;
description: BicepValueProxy | string;
destinationAddressPrefix: BicepValueProxy | string;
destinationAddressPrefixes: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfStringProxy;
destinationApplicationSecurityGroups: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfApplicationSecurityGroupProxy;
destinationPortRange: BicepValueProxy | string;
destinationPortRanges: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfStringProxy;
direction: BicepValueProxy | SecurityRuleDirection;
readonly eTag: BicepValueProxy;
id: BicepValueProxy;
name: BicepValueProxy | string;
parent: NetworkSecurityGroupProxy;
priority: BicepValueProxy | number;
protocol: BicepValueProxy | SecurityRuleProtocol;
readonly provisioningState: BicepValueProxy | NetworkProvisioningState;
sourceAddressPrefix: BicepValueProxy | string;
sourceAddressPrefixes: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfStringProxy;
sourceApplicationSecurityGroups: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfApplicationSecurityGroupProxy;
sourcePortRange: BicepValueProxy | string;
sourcePortRanges: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfStringProxy;
addTo(infrastructure: AzureResourceInfrastructure): void;
clearAccess(): void;
clearDescription(): void;
clearDestinationAddressPrefix(): void;
clearDestinationPortRange(): void;
clearDirection(): void;
clearId(): void;
clearName(): void;
clearPriority(): void;
clearProtocol(): void;
clearSourceAddressPrefix(): void;
clearSourcePortRange(): void;
}

Properties

propertyaccessBicepValueProxy | SecurityRuleAccessget · set
Gets or sets the Access provisioning property.
propertydescriptionBicepValueProxy | stringget · set
Gets or sets the Description provisioning property.
propertydestinationAddressPrefixBicepValueProxy | stringget · set
Gets or sets the DestinationAddressPrefix provisioning property.
propertydestinationAddressPrefixesAspire_Hosting_Azure_Provisioning_Network_Generated_ListOfStringProxyget · set
Gets or sets the DestinationAddressPrefixes provisioning property.
propertydestinationApplicationSecurityGroupsAspire_Hosting_Azure_Provisioning_Network_Generated_ListOfApplicationSecurityGroupProxyget · set
Gets or sets the DestinationApplicationSecurityGroups provisioning property.
propertydestinationPortRangeBicepValueProxy | stringget · set
Gets or sets the DestinationPortRange provisioning property.
propertydestinationPortRangesAspire_Hosting_Azure_Provisioning_Network_Generated_ListOfStringProxyget · set
Gets or sets the DestinationPortRanges provisioning property.
propertydirectionBicepValueProxy | SecurityRuleDirectionget · set
Gets or sets the Direction provisioning property.
propertyeTagBicepValueProxyget
Gets the ETag provisioning property.
propertyidBicepValueProxyget · set
Gets or sets the Id provisioning property.
propertynameBicepValueProxy | stringget · set
Gets or sets the Name provisioning property.
propertyparentNetworkSecurityGroupProxyget · set
Gets or sets the Parent provisioning property.
propertypriorityBicepValueProxy | numberget · set
Gets or sets the Priority provisioning property.
propertyprotocolBicepValueProxy | SecurityRuleProtocolget · set
Gets or sets the Protocol provisioning property.
propertyprovisioningStateBicepValueProxy | NetworkProvisioningStateget
Gets the ProvisioningState provisioning property.
propertysourceAddressPrefixBicepValueProxy | stringget · set
Gets or sets the SourceAddressPrefix provisioning property.
propertysourceAddressPrefixesAspire_Hosting_Azure_Provisioning_Network_Generated_ListOfStringProxyget · set
Gets or sets the SourceAddressPrefixes provisioning property.
propertysourceApplicationSecurityGroupsAspire_Hosting_Azure_Provisioning_Network_Generated_ListOfApplicationSecurityGroupProxyget · set
Gets or sets the SourceApplicationSecurityGroups provisioning property.
propertysourcePortRangeBicepValueProxy | stringget · set
Gets or sets the SourcePortRange provisioning property.
propertysourcePortRangesAspire_Hosting_Azure_Provisioning_Network_Generated_ListOfStringProxyget · set
Gets or sets the SourcePortRanges provisioning property.

Methods

methodaddTo
Adds this provisioning resource to the Azure resource infrastructure.
addTo(infrastructure: AzureResourceInfrastructure): void
infrastructureAzureResourceInfrastructure
Clears the Access provisioning property.
clearAccess(): void
Clears the Description provisioning property.
clearDescription(): void
Clears the DestinationAddressPrefix provisioning property.
clearDestinationAddressPrefix(): void
Clears the DestinationPortRange provisioning property.
clearDestinationPortRange(): void
Clears the Direction provisioning property.
clearDirection(): void
methodclearId
Clears the Id provisioning property.
clearId(): void
methodclearName
Clears the Name provisioning property.
clearName(): void
Clears the Priority provisioning property.
clearPriority(): void
Clears the Protocol provisioning property.
clearProtocol(): void
Clears the SourceAddressPrefix provisioning property.
clearSourceAddressPrefix(): void
Clears the SourcePortRange provisioning property.
clearSourcePortRange(): void