Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForAddressPrefixType() []string + func PossibleValuesForAdminRuleKind() []string + func PossibleValuesForProvisioningState() []string + func PossibleValuesForSecurityConfigurationRuleAccess() []string + func PossibleValuesForSecurityConfigurationRuleDirection() []string + func PossibleValuesForSecurityConfigurationRuleProtocol() []string + func ValidateRuleCollectionID(input interface{}, key string) (warnings []string, errors []error) + func ValidateRuleID(input interface{}, key string) (warnings []string, errors []error) + type AddressPrefixItem struct + AddressPrefix *string + AddressPrefixType *AddressPrefixType + type AddressPrefixType string + const AddressPrefixTypeIPPrefix + const AddressPrefixTypeServiceTag + func (s *AddressPrefixType) UnmarshalJSON(bytes []byte) error + type AdminPropertiesFormat struct + Access SecurityConfigurationRuleAccess + Description *string + DestinationPortRanges *[]string + Destinations *[]AddressPrefixItem + Direction SecurityConfigurationRuleDirection + Priority int64 + Protocol SecurityConfigurationRuleProtocol + ProvisioningState *ProvisioningState + ResourceGuid *string + SourcePortRanges *[]string + Sources *[]AddressPrefixItem + type AdminRule struct + Etag *string + Id *string + Kind AdminRuleKind + Name *string + Properties *AdminPropertiesFormat + SystemData *systemdata.SystemData + Type *string + func (s AdminRule) BaseAdminRule() BaseBaseAdminRuleImpl + func (s AdminRule) MarshalJSON() ([]byte, error) + type AdminRuleKind string + const AdminRuleKindCustom + const AdminRuleKindDefault + func (s *AdminRuleKind) UnmarshalJSON(bytes []byte) error + type AdminRulesClient struct + Client *resourcemanager.Client + func NewAdminRulesClientWithBaseURI(sdkApi sdkEnv.Api) (*AdminRulesClient, error) + func (c AdminRulesClient) CreateOrUpdate(ctx context.Context, id RuleId, input BaseAdminRule) (result CreateOrUpdateOperationResponse, err error) + func (c AdminRulesClient) Delete(ctx context.Context, id RuleId, options DeleteOperationOptions) (result DeleteOperationResponse, err error) + func (c AdminRulesClient) DeleteThenPoll(ctx context.Context, id RuleId, options DeleteOperationOptions) error + func (c AdminRulesClient) Get(ctx context.Context, id RuleId) (result GetOperationResponse, err error) + func (c AdminRulesClient) List(ctx context.Context, id RuleCollectionId) (result ListOperationResponse, err error) + func (c AdminRulesClient) ListComplete(ctx context.Context, id RuleCollectionId) (ListCompleteResult, error) + func (c AdminRulesClient) ListCompleteMatchingPredicate(ctx context.Context, id RuleCollectionId, ...) (result ListCompleteResult, err error) + type BaseAdminRule interface + BaseAdminRule func() BaseBaseAdminRuleImpl + func UnmarshalBaseAdminRuleImplementation(input []byte) (BaseAdminRule, error) + type BaseAdminRuleOperationPredicate struct + func (p BaseAdminRuleOperationPredicate) Matches(input BaseAdminRule) bool + type BaseBaseAdminRuleImpl struct + Etag *string + Id *string + Kind AdminRuleKind + Name *string + SystemData *systemdata.SystemData + Type *string + func (s BaseBaseAdminRuleImpl) BaseAdminRule() BaseBaseAdminRuleImpl + type CreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model BaseAdminRule + OData *odata.OData + type DefaultAdminPropertiesFormat struct + Access *SecurityConfigurationRuleAccess + Description *string + DestinationPortRanges *[]string + Destinations *[]AddressPrefixItem + Direction *SecurityConfigurationRuleDirection + Flag *string + Priority *int64 + Protocol *SecurityConfigurationRuleProtocol + ProvisioningState *ProvisioningState + ResourceGuid *string + SourcePortRanges *[]string + Sources *[]AddressPrefixItem + type DefaultAdminRule struct + Etag *string + Id *string + Kind AdminRuleKind + Name *string + Properties *DefaultAdminPropertiesFormat + SystemData *systemdata.SystemData + Type *string + func (s DefaultAdminRule) BaseAdminRule() BaseBaseAdminRuleImpl + func (s DefaultAdminRule) MarshalJSON() ([]byte, error) + type DeleteOperationOptions struct + Force *bool + func DefaultDeleteOperationOptions() DeleteOperationOptions + func (o DeleteOperationOptions) ToHeaders() *client.Headers + func (o DeleteOperationOptions) ToOData() *odata.Query + func (o DeleteOperationOptions) ToQuery() *client.QueryParams + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type GetOperationResponse struct + HttpResponse *http.Response + Model BaseAdminRule + OData *odata.OData + type ListCompleteResult struct + Items []BaseAdminRule + LatestHttpResponse *http.Response + type ListCustomPager struct + NextLink *odata.Link + func (p *ListCustomPager) NextPageLink() *odata.Link + type ListOperationResponse struct + HttpResponse *http.Response + Model *[]BaseAdminRule + OData *odata.OData + type ProvisioningState string + const ProvisioningStateDeleting + const ProvisioningStateFailed + const ProvisioningStateSucceeded + const ProvisioningStateUpdating + func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error + type RawBaseAdminRuleImpl struct + Type string + Values map[string]interface{} + func (s RawBaseAdminRuleImpl) BaseAdminRule() BaseBaseAdminRuleImpl + type RuleCollectionId struct + NetworkManagerName string + ResourceGroupName string + RuleCollectionName string + SecurityAdminConfigurationName string + SubscriptionId string + func NewRuleCollectionID(subscriptionId string, resourceGroupName string, networkManagerName string, ...) RuleCollectionId + func ParseRuleCollectionID(input string) (*RuleCollectionId, error) + func ParseRuleCollectionIDInsensitively(input string) (*RuleCollectionId, error) + func (id *RuleCollectionId) FromParseResult(input resourceids.ParseResult) error + func (id RuleCollectionId) ID() string + func (id RuleCollectionId) Segments() []resourceids.Segment + func (id RuleCollectionId) String() string + type RuleId struct + NetworkManagerName string + ResourceGroupName string + RuleCollectionName string + RuleName string + SecurityAdminConfigurationName string + SubscriptionId string + func NewRuleID(subscriptionId string, resourceGroupName string, networkManagerName string, ...) RuleId + func ParseRuleID(input string) (*RuleId, error) + func ParseRuleIDInsensitively(input string) (*RuleId, error) + func (id *RuleId) FromParseResult(input resourceids.ParseResult) error + func (id RuleId) ID() string + func (id RuleId) Segments() []resourceids.Segment + func (id RuleId) String() string + type SecurityConfigurationRuleAccess string + const SecurityConfigurationRuleAccessAllow + const SecurityConfigurationRuleAccessAlwaysAllow + const SecurityConfigurationRuleAccessDeny + func (s *SecurityConfigurationRuleAccess) UnmarshalJSON(bytes []byte) error + type SecurityConfigurationRuleDirection string + const SecurityConfigurationRuleDirectionInbound + const SecurityConfigurationRuleDirectionOutbound + func (s *SecurityConfigurationRuleDirection) UnmarshalJSON(bytes []byte) error + type SecurityConfigurationRuleProtocol string + const SecurityConfigurationRuleProtocolAh + const SecurityConfigurationRuleProtocolAny + const SecurityConfigurationRuleProtocolEsp + const SecurityConfigurationRuleProtocolIcmp + const SecurityConfigurationRuleProtocolTcp + const SecurityConfigurationRuleProtocolUdp + func (s *SecurityConfigurationRuleProtocol) UnmarshalJSON(bytes []byte) error