Documentation ¶
Index ¶
- func ValidateAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- type AccountGetOperationResponse
- type AccountId
- type BatchFeatureRequest
- type BatchFeatureStatus
- type FeatureClient
- type LocationId
- type SubscriptionGetOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateAccountID ¶
ValidateAccountID checks that 'input' can be parsed as a Account ID
func ValidateLocationID ¶
ValidateLocationID checks that 'input' can be parsed as a Location ID
Types ¶
type AccountGetOperationResponse ¶
type AccountGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *BatchFeatureStatus }
type AccountId ¶
AccountId is a struct representing the Resource ID for a Account
func NewAccountID ¶
NewAccountID returns a new AccountId struct
func ParseAccountID ¶
ParseAccountID parses 'input' into a AccountId
func ParseAccountIDInsensitively ¶
ParseAccountIDInsensitively parses 'input' case-insensitively into a AccountId note: this method should only be used for API response data and not user input
func (AccountId) Segments ¶
func (id AccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Account ID
type BatchFeatureRequest ¶
type BatchFeatureRequest struct {
Features *[]string `json:"features,omitempty"`
}
type BatchFeatureStatus ¶
type FeatureClient ¶
type FeatureClient struct {
Client *resourcemanager.Client
}
func NewFeatureClientWithBaseURI ¶
func NewFeatureClientWithBaseURI(sdkApi sdkEnv.Api) (*FeatureClient, error)
func (FeatureClient) AccountGet ¶
func (c FeatureClient) AccountGet(ctx context.Context, id AccountId, input BatchFeatureRequest) (result AccountGetOperationResponse, err error)
AccountGet ...
func (FeatureClient) SubscriptionGet ¶
func (c FeatureClient) SubscriptionGet(ctx context.Context, id LocationId, input BatchFeatureRequest) (result SubscriptionGetOperationResponse, err error)
SubscriptionGet ...
type LocationId ¶
LocationId is a struct representing the Resource ID for a Location
func NewLocationID ¶
func NewLocationID(subscriptionId string, locationName string) LocationId
NewLocationID returns a new LocationId struct
func ParseLocationID ¶
func ParseLocationID(input string) (*LocationId, error)
ParseLocationID parses 'input' into a LocationId
func ParseLocationIDInsensitively ¶
func ParseLocationIDInsensitively(input string) (*LocationId, error)
ParseLocationIDInsensitively parses 'input' case-insensitively into a LocationId note: this method should only be used for API response data and not user input
func (LocationId) Segments ¶
func (id LocationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Location ID
func (LocationId) String ¶
func (id LocationId) String() string
String returns a human-readable description of this Location ID
type SubscriptionGetOperationResponse ¶
type SubscriptionGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *BatchFeatureStatus }