Documentation ¶
Index ¶
- func PossibleValuesForGlobalParameterType() []string
- func ValidateFactoryID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateGlobalParameterID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type FactoryId
- type GetOperationResponse
- type GlobalParameterId
- type GlobalParameterResource
- type GlobalParameterResourceOperationPredicate
- type GlobalParameterSpecification
- type GlobalParameterType
- type GlobalParametersClient
- func (c GlobalParametersClient) CreateOrUpdate(ctx context.Context, id GlobalParameterId, input GlobalParameterResource) (result CreateOrUpdateOperationResponse, err error)
- func (c GlobalParametersClient) Delete(ctx context.Context, id GlobalParameterId) (result DeleteOperationResponse, err error)
- func (c GlobalParametersClient) Get(ctx context.Context, id GlobalParameterId) (result GetOperationResponse, err error)
- func (c GlobalParametersClient) ListByFactory(ctx context.Context, id FactoryId) (result ListByFactoryOperationResponse, err error)
- func (c GlobalParametersClient) ListByFactoryComplete(ctx context.Context, id FactoryId) (ListByFactoryCompleteResult, error)
- func (c GlobalParametersClient) ListByFactoryCompleteMatchingPredicate(ctx context.Context, id FactoryId, ...) (result ListByFactoryCompleteResult, err error)
- type ListByFactoryCompleteResult
- type ListByFactoryOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForGlobalParameterType ¶
func PossibleValuesForGlobalParameterType() []string
func ValidateFactoryID ¶
ValidateFactoryID checks that 'input' can be parsed as a Factory ID
func ValidateGlobalParameterID ¶
ValidateGlobalParameterID checks that 'input' can be parsed as a Global Parameter ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GlobalParameterResource }
type DeleteOperationResponse ¶
type FactoryId ¶
FactoryId is a struct representing the Resource ID for a Factory
func NewFactoryID ¶
NewFactoryID returns a new FactoryId struct
func ParseFactoryID ¶
ParseFactoryID parses 'input' into a FactoryId
func ParseFactoryIDInsensitively ¶
ParseFactoryIDInsensitively parses 'input' case-insensitively into a FactoryId note: this method should only be used for API response data and not user input
func (FactoryId) Segments ¶
func (id FactoryId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Factory ID
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GlobalParameterResource }
type GlobalParameterId ¶
type GlobalParameterId struct { SubscriptionId string ResourceGroupName string FactoryName string GlobalParameterName string }
GlobalParameterId is a struct representing the Resource ID for a Global Parameter
func NewGlobalParameterID ¶
func NewGlobalParameterID(subscriptionId string, resourceGroupName string, factoryName string, globalParameterName string) GlobalParameterId
NewGlobalParameterID returns a new GlobalParameterId struct
func ParseGlobalParameterID ¶
func ParseGlobalParameterID(input string) (*GlobalParameterId, error)
ParseGlobalParameterID parses 'input' into a GlobalParameterId
func ParseGlobalParameterIDInsensitively ¶
func ParseGlobalParameterIDInsensitively(input string) (*GlobalParameterId, error)
ParseGlobalParameterIDInsensitively parses 'input' case-insensitively into a GlobalParameterId note: this method should only be used for API response data and not user input
func (GlobalParameterId) ID ¶
func (id GlobalParameterId) ID() string
ID returns the formatted Global Parameter ID
func (GlobalParameterId) Segments ¶
func (id GlobalParameterId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Global Parameter ID
func (GlobalParameterId) String ¶
func (id GlobalParameterId) String() string
String returns a human-readable description of this Global Parameter ID
type GlobalParameterResource ¶
type GlobalParameterResourceOperationPredicate ¶
type GlobalParameterResourceOperationPredicate struct { Etag *string Id *string Name *string Type *string }
func (GlobalParameterResourceOperationPredicate) Matches ¶
func (p GlobalParameterResourceOperationPredicate) Matches(input GlobalParameterResource) bool
type GlobalParameterSpecification ¶
type GlobalParameterSpecification struct { Type GlobalParameterType `json:"type"` Value interface{} `json:"value"` }
type GlobalParameterType ¶
type GlobalParameterType string
const ( GlobalParameterTypeArray GlobalParameterType = "Array" GlobalParameterTypeBool GlobalParameterType = "Bool" GlobalParameterTypeFloat GlobalParameterType = "Float" GlobalParameterTypeInt GlobalParameterType = "Int" GlobalParameterTypeObject GlobalParameterType = "Object" GlobalParameterTypeString GlobalParameterType = "String" )
func (*GlobalParameterType) UnmarshalJSON ¶
func (s *GlobalParameterType) UnmarshalJSON(bytes []byte) error
type GlobalParametersClient ¶
type GlobalParametersClient struct {
Client *resourcemanager.Client
}
func NewGlobalParametersClientWithBaseURI ¶
func NewGlobalParametersClientWithBaseURI(api environments.Api) (*GlobalParametersClient, error)
func (GlobalParametersClient) CreateOrUpdate ¶
func (c GlobalParametersClient) CreateOrUpdate(ctx context.Context, id GlobalParameterId, input GlobalParameterResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (GlobalParametersClient) Delete ¶
func (c GlobalParametersClient) Delete(ctx context.Context, id GlobalParameterId) (result DeleteOperationResponse, err error)
Delete ...
func (GlobalParametersClient) Get ¶
func (c GlobalParametersClient) Get(ctx context.Context, id GlobalParameterId) (result GetOperationResponse, err error)
Get ...
func (GlobalParametersClient) ListByFactory ¶
func (c GlobalParametersClient) ListByFactory(ctx context.Context, id FactoryId) (result ListByFactoryOperationResponse, err error)
ListByFactory ...
func (GlobalParametersClient) ListByFactoryComplete ¶
func (c GlobalParametersClient) ListByFactoryComplete(ctx context.Context, id FactoryId) (ListByFactoryCompleteResult, error)
ListByFactoryComplete retrieves all the results into a single object
func (GlobalParametersClient) ListByFactoryCompleteMatchingPredicate ¶
func (c GlobalParametersClient) ListByFactoryCompleteMatchingPredicate(ctx context.Context, id FactoryId, predicate GlobalParameterResourceOperationPredicate) (result ListByFactoryCompleteResult, err error)
ListByFactoryCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ListByFactoryCompleteResult ¶
type ListByFactoryCompleteResult struct {
Items []GlobalParameterResource
}
type ListByFactoryOperationResponse ¶
type ListByFactoryOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]GlobalParameterResource }