Documentation ¶
Index ¶
- func PossibleValuesForNameAvailabilityReason() []string
- func PossibleValuesForResourceType() []string
- func ValidateBatchAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateDetectorID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- type BatchAccountGetDetectorOperationResponse
- type BatchAccountId
- type BatchAccountListDetectorsCompleteResult
- type BatchAccountListDetectorsOperationResponse
- type BatchManagementsClient
- func (c BatchManagementsClient) BatchAccountGetDetector(ctx context.Context, id DetectorId) (result BatchAccountGetDetectorOperationResponse, err error)
- func (c BatchManagementsClient) BatchAccountListDetectors(ctx context.Context, id BatchAccountId) (result BatchAccountListDetectorsOperationResponse, err error)
- func (c BatchManagementsClient) BatchAccountListDetectorsComplete(ctx context.Context, id BatchAccountId) (BatchAccountListDetectorsCompleteResult, error)
- func (c BatchManagementsClient) BatchAccountListDetectorsCompleteMatchingPredicate(ctx context.Context, id BatchAccountId, ...) (result BatchAccountListDetectorsCompleteResult, err error)
- func (c BatchManagementsClient) LocationCheckNameAvailability(ctx context.Context, id LocationId, input CheckNameAvailabilityParameters) (result LocationCheckNameAvailabilityOperationResponse, err error)
- type CheckNameAvailabilityParameters
- type CheckNameAvailabilityResult
- type DetectorId
- type DetectorResponse
- type DetectorResponseOperationPredicate
- type DetectorResponseProperties
- type LocationCheckNameAvailabilityOperationResponse
- type LocationId
- type NameAvailabilityReason
- type ResourceType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForNameAvailabilityReason ¶
func PossibleValuesForNameAvailabilityReason() []string
func PossibleValuesForResourceType ¶
func PossibleValuesForResourceType() []string
func ValidateBatchAccountID ¶
ValidateBatchAccountID checks that 'input' can be parsed as a Batch Account ID
func ValidateDetectorID ¶
ValidateDetectorID checks that 'input' can be parsed as a Detector ID
func ValidateLocationID ¶
ValidateLocationID checks that 'input' can be parsed as a Location ID
Types ¶
type BatchAccountGetDetectorOperationResponse ¶
type BatchAccountGetDetectorOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DetectorResponse }
type BatchAccountId ¶
type BatchAccountId struct { SubscriptionId string ResourceGroupName string BatchAccountName string }
BatchAccountId is a struct representing the Resource ID for a Batch Account
func NewBatchAccountID ¶
func NewBatchAccountID(subscriptionId string, resourceGroupName string, batchAccountName string) BatchAccountId
NewBatchAccountID returns a new BatchAccountId struct
func ParseBatchAccountID ¶
func ParseBatchAccountID(input string) (*BatchAccountId, error)
ParseBatchAccountID parses 'input' into a BatchAccountId
func ParseBatchAccountIDInsensitively ¶
func ParseBatchAccountIDInsensitively(input string) (*BatchAccountId, error)
ParseBatchAccountIDInsensitively parses 'input' case-insensitively into a BatchAccountId note: this method should only be used for API response data and not user input
func (*BatchAccountId) FromParseResult ¶
func (id *BatchAccountId) FromParseResult(input resourceids.ParseResult) error
func (BatchAccountId) ID ¶
func (id BatchAccountId) ID() string
ID returns the formatted Batch Account ID
func (BatchAccountId) Segments ¶
func (id BatchAccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Batch Account ID
func (BatchAccountId) String ¶
func (id BatchAccountId) String() string
String returns a human-readable description of this Batch Account ID
type BatchAccountListDetectorsCompleteResult ¶
type BatchAccountListDetectorsCompleteResult struct {
Items []DetectorResponse
}
type BatchAccountListDetectorsOperationResponse ¶
type BatchAccountListDetectorsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DetectorResponse }
type BatchManagementsClient ¶
type BatchManagementsClient struct {
Client *resourcemanager.Client
}
func NewBatchManagementsClientWithBaseURI ¶
func NewBatchManagementsClientWithBaseURI(sdkApi sdkEnv.Api) (*BatchManagementsClient, error)
func (BatchManagementsClient) BatchAccountGetDetector ¶
func (c BatchManagementsClient) BatchAccountGetDetector(ctx context.Context, id DetectorId) (result BatchAccountGetDetectorOperationResponse, err error)
BatchAccountGetDetector ...
func (BatchManagementsClient) BatchAccountListDetectors ¶
func (c BatchManagementsClient) BatchAccountListDetectors(ctx context.Context, id BatchAccountId) (result BatchAccountListDetectorsOperationResponse, err error)
BatchAccountListDetectors ...
func (BatchManagementsClient) BatchAccountListDetectorsComplete ¶
func (c BatchManagementsClient) BatchAccountListDetectorsComplete(ctx context.Context, id BatchAccountId) (BatchAccountListDetectorsCompleteResult, error)
BatchAccountListDetectorsComplete retrieves all the results into a single object
func (BatchManagementsClient) BatchAccountListDetectorsCompleteMatchingPredicate ¶
func (c BatchManagementsClient) BatchAccountListDetectorsCompleteMatchingPredicate(ctx context.Context, id BatchAccountId, predicate DetectorResponseOperationPredicate) (result BatchAccountListDetectorsCompleteResult, err error)
BatchAccountListDetectorsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (BatchManagementsClient) LocationCheckNameAvailability ¶
func (c BatchManagementsClient) LocationCheckNameAvailability(ctx context.Context, id LocationId, input CheckNameAvailabilityParameters) (result LocationCheckNameAvailabilityOperationResponse, err error)
LocationCheckNameAvailability ...
type CheckNameAvailabilityParameters ¶
type CheckNameAvailabilityParameters struct { Name string `json:"name"` Type ResourceType `json:"type"` }
type CheckNameAvailabilityResult ¶
type CheckNameAvailabilityResult struct { Message *string `json:"message,omitempty"` NameAvailable *bool `json:"nameAvailable,omitempty"` Reason *NameAvailabilityReason `json:"reason,omitempty"` }
type DetectorId ¶
type DetectorId struct { SubscriptionId string ResourceGroupName string BatchAccountName string DetectorId string }
DetectorId is a struct representing the Resource ID for a Detector
func NewDetectorID ¶
func NewDetectorID(subscriptionId string, resourceGroupName string, batchAccountName string, detectorId string) DetectorId
NewDetectorID returns a new DetectorId struct
func ParseDetectorID ¶
func ParseDetectorID(input string) (*DetectorId, error)
ParseDetectorID parses 'input' into a DetectorId
func ParseDetectorIDInsensitively ¶
func ParseDetectorIDInsensitively(input string) (*DetectorId, error)
ParseDetectorIDInsensitively parses 'input' case-insensitively into a DetectorId note: this method should only be used for API response data and not user input
func (*DetectorId) FromParseResult ¶
func (id *DetectorId) FromParseResult(input resourceids.ParseResult) error
func (DetectorId) Segments ¶
func (id DetectorId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Detector ID
func (DetectorId) String ¶
func (id DetectorId) String() string
String returns a human-readable description of this Detector ID
type DetectorResponse ¶
type DetectorResponse struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DetectorResponseProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type DetectorResponseOperationPredicate ¶
type DetectorResponseOperationPredicate struct { Etag *string Id *string Name *string Type *string }
func (DetectorResponseOperationPredicate) Matches ¶
func (p DetectorResponseOperationPredicate) Matches(input DetectorResponse) bool
type DetectorResponseProperties ¶
type DetectorResponseProperties struct {
Value *string `json:"value,omitempty"`
}
type LocationCheckNameAvailabilityOperationResponse ¶
type LocationCheckNameAvailabilityOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CheckNameAvailabilityResult }
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) FromParseResult ¶
func (id *LocationId) FromParseResult(input resourceids.ParseResult) error
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 NameAvailabilityReason ¶
type NameAvailabilityReason string
const ( NameAvailabilityReasonAlreadyExists NameAvailabilityReason = "AlreadyExists" NameAvailabilityReasonInvalid NameAvailabilityReason = "Invalid" )
func (*NameAvailabilityReason) UnmarshalJSON ¶
func (s *NameAvailabilityReason) UnmarshalJSON(bytes []byte) error
type ResourceType ¶
type ResourceType string
const (
ResourceTypeMicrosoftPointBatchBatchAccounts ResourceType = "Microsoft.Batch/batchAccounts"
)
func (*ResourceType) UnmarshalJSON ¶
func (s *ResourceType) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_batchaccount.go
- id_detector.go
- id_location.go
- method_batchaccountgetdetector.go
- method_batchaccountlistdetectors.go
- method_locationchecknameavailability.go
- model_checknameavailabilityparameters.go
- model_checknameavailabilityresult.go
- model_detectorresponse.go
- model_detectorresponseproperties.go
- predicates.go
- version.go