github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork/v6@v6.2.0/interfaces.go (about) 1 //go:build go1.18 2 // +build go1.18 3 4 // Copyright (c) Microsoft Corporation. All rights reserved. 5 // Licensed under the MIT License. See License.txt in the project root for license information. 6 // Code generated by Microsoft (R) AutoRest Code Generator. DO NOT EDIT. 7 // Changes may cause incorrect behavior and will be lost if the code is regenerated. 8 9 package armnetwork 10 11 // ActiveBaseSecurityAdminRuleClassification provides polymorphic access to related types. 12 // Call the interface's GetActiveBaseSecurityAdminRule() method to access the common type. 13 // Use a type switch to determine the concrete type. The possible types are: 14 // - *ActiveBaseSecurityAdminRule, *ActiveDefaultSecurityAdminRule, *ActiveSecurityAdminRule 15 type ActiveBaseSecurityAdminRuleClassification interface { 16 // GetActiveBaseSecurityAdminRule returns the ActiveBaseSecurityAdminRule content of the underlying type. 17 GetActiveBaseSecurityAdminRule() *ActiveBaseSecurityAdminRule 18 } 19 20 // BaseAdminRuleClassification provides polymorphic access to related types. 21 // Call the interface's GetBaseAdminRule() method to access the common type. 22 // Use a type switch to determine the concrete type. The possible types are: 23 // - *AdminRule, *BaseAdminRule, *DefaultAdminRule 24 type BaseAdminRuleClassification interface { 25 // GetBaseAdminRule returns the BaseAdminRule content of the underlying type. 26 GetBaseAdminRule() *BaseAdminRule 27 } 28 29 // EffectiveBaseSecurityAdminRuleClassification provides polymorphic access to related types. 30 // Call the interface's GetEffectiveBaseSecurityAdminRule() method to access the common type. 31 // Use a type switch to determine the concrete type. The possible types are: 32 // - *EffectiveBaseSecurityAdminRule, *EffectiveDefaultSecurityAdminRule, *EffectiveSecurityAdminRule 33 type EffectiveBaseSecurityAdminRuleClassification interface { 34 // GetEffectiveBaseSecurityAdminRule returns the EffectiveBaseSecurityAdminRule content of the underlying type. 35 GetEffectiveBaseSecurityAdminRule() *EffectiveBaseSecurityAdminRule 36 } 37 38 // FirewallPolicyRuleClassification provides polymorphic access to related types. 39 // Call the interface's GetFirewallPolicyRule() method to access the common type. 40 // Use a type switch to determine the concrete type. The possible types are: 41 // - *ApplicationRule, *FirewallPolicyRule, *NatRule, *Rule 42 type FirewallPolicyRuleClassification interface { 43 // GetFirewallPolicyRule returns the FirewallPolicyRule content of the underlying type. 44 GetFirewallPolicyRule() *FirewallPolicyRule 45 } 46 47 // FirewallPolicyRuleCollectionClassification provides polymorphic access to related types. 48 // Call the interface's GetFirewallPolicyRuleCollection() method to access the common type. 49 // Use a type switch to determine the concrete type. The possible types are: 50 // - *FirewallPolicyFilterRuleCollection, *FirewallPolicyNatRuleCollection, *FirewallPolicyRuleCollection 51 type FirewallPolicyRuleCollectionClassification interface { 52 // GetFirewallPolicyRuleCollection returns the FirewallPolicyRuleCollection content of the underlying type. 53 GetFirewallPolicyRuleCollection() *FirewallPolicyRuleCollection 54 }