Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func ValidateDdosCustomPolicyID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DdosCustomPoliciesClient
- func (c DdosCustomPoliciesClient) CreateOrUpdate(ctx context.Context, id DdosCustomPolicyId, input DdosCustomPolicy) (result CreateOrUpdateOperationResponse, err error)
- func (c DdosCustomPoliciesClient) CreateOrUpdateThenPoll(ctx context.Context, id DdosCustomPolicyId, input DdosCustomPolicy) error
- func (c DdosCustomPoliciesClient) Delete(ctx context.Context, id DdosCustomPolicyId) (result DeleteOperationResponse, err error)
- func (c DdosCustomPoliciesClient) DeleteThenPoll(ctx context.Context, id DdosCustomPolicyId) error
- func (c DdosCustomPoliciesClient) Get(ctx context.Context, id DdosCustomPolicyId) (result GetOperationResponse, err error)
- func (c DdosCustomPoliciesClient) UpdateTags(ctx context.Context, id DdosCustomPolicyId, input TagsObject) (result UpdateTagsOperationResponse, err error)
- type DdosCustomPolicy
- type DdosCustomPolicyId
- type DdosCustomPolicyPropertiesFormat
- type DeleteOperationResponse
- type GetOperationResponse
- type ProvisioningState
- type TagsObject
- type UpdateTagsOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateDdosCustomPolicyID ¶
ValidateDdosCustomPolicyID checks that 'input' can be parsed as a Ddos Custom Policy ID
Types ¶
type DdosCustomPoliciesClient ¶
type DdosCustomPoliciesClient struct {
Client *resourcemanager.Client
}
func NewDdosCustomPoliciesClientWithBaseURI ¶
func NewDdosCustomPoliciesClientWithBaseURI(sdkApi sdkEnv.Api) (*DdosCustomPoliciesClient, error)
func (DdosCustomPoliciesClient) CreateOrUpdate ¶
func (c DdosCustomPoliciesClient) CreateOrUpdate(ctx context.Context, id DdosCustomPolicyId, input DdosCustomPolicy) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (DdosCustomPoliciesClient) CreateOrUpdateThenPoll ¶
func (c DdosCustomPoliciesClient) CreateOrUpdateThenPoll(ctx context.Context, id DdosCustomPolicyId, input DdosCustomPolicy) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (DdosCustomPoliciesClient) Delete ¶
func (c DdosCustomPoliciesClient) Delete(ctx context.Context, id DdosCustomPolicyId) (result DeleteOperationResponse, err error)
Delete ...
func (DdosCustomPoliciesClient) DeleteThenPoll ¶
func (c DdosCustomPoliciesClient) DeleteThenPoll(ctx context.Context, id DdosCustomPolicyId) error
DeleteThenPoll performs Delete then polls until it's completed
func (DdosCustomPoliciesClient) Get ¶
func (c DdosCustomPoliciesClient) Get(ctx context.Context, id DdosCustomPolicyId) (result GetOperationResponse, err error)
Get ...
func (DdosCustomPoliciesClient) UpdateTags ¶
func (c DdosCustomPoliciesClient) UpdateTags(ctx context.Context, id DdosCustomPolicyId, input TagsObject) (result UpdateTagsOperationResponse, err error)
UpdateTags ...
type DdosCustomPolicy ¶
type DdosCustomPolicy struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *DdosCustomPolicyPropertiesFormat `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type DdosCustomPolicyId ¶
type DdosCustomPolicyId struct { SubscriptionId string ResourceGroupName string DdosCustomPolicyName string }
DdosCustomPolicyId is a struct representing the Resource ID for a Ddos Custom Policy
func NewDdosCustomPolicyID ¶
func NewDdosCustomPolicyID(subscriptionId string, resourceGroupName string, ddosCustomPolicyName string) DdosCustomPolicyId
NewDdosCustomPolicyID returns a new DdosCustomPolicyId struct
func ParseDdosCustomPolicyID ¶
func ParseDdosCustomPolicyID(input string) (*DdosCustomPolicyId, error)
ParseDdosCustomPolicyID parses 'input' into a DdosCustomPolicyId
func ParseDdosCustomPolicyIDInsensitively ¶
func ParseDdosCustomPolicyIDInsensitively(input string) (*DdosCustomPolicyId, error)
ParseDdosCustomPolicyIDInsensitively parses 'input' case-insensitively into a DdosCustomPolicyId note: this method should only be used for API response data and not user input
func (*DdosCustomPolicyId) FromParseResult ¶
func (id *DdosCustomPolicyId) FromParseResult(input resourceids.ParseResult) error
func (DdosCustomPolicyId) ID ¶
func (id DdosCustomPolicyId) ID() string
ID returns the formatted Ddos Custom Policy ID
func (DdosCustomPolicyId) Segments ¶
func (id DdosCustomPolicyId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Ddos Custom Policy ID
func (DdosCustomPolicyId) String ¶
func (id DdosCustomPolicyId) String() string
String returns a human-readable description of this Ddos Custom Policy ID
type DdosCustomPolicyPropertiesFormat ¶
type DdosCustomPolicyPropertiesFormat struct { ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` ResourceGuid *string `json:"resourceGuid,omitempty"` }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DdosCustomPolicy }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type TagsObject ¶
type UpdateTagsOperationResponse ¶
type UpdateTagsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DdosCustomPolicy }