Documentation ¶
Index ¶
- func PossibleValuesForApiType() []string
- func PossibleValuesForConnectionParameterType() []string
- func PossibleValuesForWsdlImportMethod() []string
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateManagedApiID(input interface{}, key string) (warnings []string, errors []error)
- type ApiOAuthSettings
- type ApiOAuthSettingsParameter
- type ApiResourceBackendService
- type ApiResourceDefinitions
- type ApiResourceGeneralInformation
- type ApiResourceMetadata
- type ApiResourcePolicies
- type ApiResourceProperties
- type ApiType
- type ConnectionParameter
- type ConnectionParameterType
- type GetOperationResponse
- type ListOperationResponse
- type LocationId
- type ManagedAPIsClient
- type ManagedApiDefinition
- type ManagedApiDefinitionCollection
- type ManagedApiId
- type WsdlImportMethod
- type WsdlService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForApiType ¶
func PossibleValuesForApiType() []string
func PossibleValuesForConnectionParameterType ¶
func PossibleValuesForConnectionParameterType() []string
func PossibleValuesForWsdlImportMethod ¶
func PossibleValuesForWsdlImportMethod() []string
func ValidateLocationID ¶
ValidateLocationID checks that 'input' can be parsed as a Location ID
func ValidateManagedApiID ¶
ValidateManagedApiID checks that 'input' can be parsed as a Managed Api ID
Types ¶
type ApiOAuthSettings ¶
type ApiOAuthSettings struct { ClientId *string `json:"clientId,omitempty"` ClientSecret *string `json:"clientSecret,omitempty"` CustomParameters *map[string]ApiOAuthSettingsParameter `json:"customParameters,omitempty"` IdentityProvider *string `json:"identityProvider,omitempty"` Properties *interface{} `json:"properties,omitempty"` RedirectURL *string `json:"redirectUrl,omitempty"` Scopes *[]string `json:"scopes,omitempty"` }
type ApiOAuthSettingsParameter ¶
type ApiOAuthSettingsParameter struct { Options *interface{} `json:"options,omitempty"` UiDefinition *interface{} `json:"uiDefinition,omitempty"` Value *string `json:"value,omitempty"` }
type ApiResourceBackendService ¶
type ApiResourceBackendService struct {
ServiceURL *string `json:"serviceUrl,omitempty"`
}
type ApiResourceDefinitions ¶
type ApiResourceMetadata ¶
type ApiResourceMetadata struct { ApiType *ApiType `json:"apiType,omitempty"` BrandColor *string `json:"brandColor,omitempty"` ConnectionType *string `json:"connectionType,omitempty"` HideKey *string `json:"hideKey,omitempty"` Source *string `json:"source,omitempty"` Tags *map[string]string `json:"tags,omitempty"` WsdlImportMethod *WsdlImportMethod `json:"wsdlImportMethod,omitempty"` WsdlService *WsdlService `json:"wsdlService,omitempty"` }
type ApiResourcePolicies ¶
type ApiResourceProperties ¶
type ApiResourceProperties struct { ApiDefinitionURL *string `json:"apiDefinitionUrl,omitempty"` ApiDefinitions *ApiResourceDefinitions `json:"apiDefinitions,omitempty"` BackendService *ApiResourceBackendService `json:"backendService,omitempty"` Capabilities *[]string `json:"capabilities,omitempty"` ConnectionParameters *map[string]ConnectionParameter `json:"connectionParameters,omitempty"` GeneralInformation *ApiResourceGeneralInformation `json:"generalInformation,omitempty"` Metadata *ApiResourceMetadata `json:"metadata,omitempty"` Name *string `json:"name,omitempty"` Policies *ApiResourcePolicies `json:"policies,omitempty"` RuntimeURLs *[]string `json:"runtimeUrls,omitempty"` Swagger *interface{} `json:"swagger,omitempty"` }
type ConnectionParameter ¶
type ConnectionParameter struct { OAuthSettings *ApiOAuthSettings `json:"oAuthSettings,omitempty"` Type *ConnectionParameterType `json:"type,omitempty"` }
type ConnectionParameterType ¶
type ConnectionParameterType string
const ( ConnectionParameterTypeArray ConnectionParameterType = "array" ConnectionParameterTypeBool ConnectionParameterType = "bool" ConnectionParameterTypeConnection ConnectionParameterType = "connection" ConnectionParameterTypeInt ConnectionParameterType = "int" ConnectionParameterTypeOauthSetting ConnectionParameterType = "oauthSetting" ConnectionParameterTypeObject ConnectionParameterType = "object" ConnectionParameterTypeSecureobject ConnectionParameterType = "secureobject" ConnectionParameterTypeSecurestring ConnectionParameterType = "securestring" ConnectionParameterTypeString ConnectionParameterType = "string" )
func (*ConnectionParameterType) UnmarshalJSON ¶
func (s *ConnectionParameterType) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ManagedApiDefinition }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ManagedApiDefinitionCollection }
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 ManagedAPIsClient ¶
type ManagedAPIsClient struct {
Client *resourcemanager.Client
}
func NewManagedAPIsClientWithBaseURI ¶
func NewManagedAPIsClientWithBaseURI(sdkApi sdkEnv.Api) (*ManagedAPIsClient, error)
func (ManagedAPIsClient) Get ¶
func (c ManagedAPIsClient) Get(ctx context.Context, id ManagedApiId) (result GetOperationResponse, err error)
Get ...
func (ManagedAPIsClient) List ¶
func (c ManagedAPIsClient) List(ctx context.Context, id LocationId) (result ListOperationResponse, err error)
List ...
type ManagedApiDefinition ¶
type ManagedApiDefinition struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *ApiResourceProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ManagedApiDefinitionCollection ¶
type ManagedApiDefinitionCollection struct {
Value *[]ManagedApiDefinition `json:"value,omitempty"`
}
type ManagedApiId ¶
ManagedApiId is a struct representing the Resource ID for a Managed Api
func NewManagedApiID ¶
func NewManagedApiID(subscriptionId string, locationName string, managedApiName string) ManagedApiId
NewManagedApiID returns a new ManagedApiId struct
func ParseManagedApiID ¶
func ParseManagedApiID(input string) (*ManagedApiId, error)
ParseManagedApiID parses 'input' into a ManagedApiId
func ParseManagedApiIDInsensitively ¶
func ParseManagedApiIDInsensitively(input string) (*ManagedApiId, error)
ParseManagedApiIDInsensitively parses 'input' case-insensitively into a ManagedApiId note: this method should only be used for API response data and not user input
func (*ManagedApiId) FromParseResult ¶
func (id *ManagedApiId) FromParseResult(input resourceids.ParseResult) error
func (ManagedApiId) Segments ¶
func (id ManagedApiId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Managed Api ID
func (ManagedApiId) String ¶
func (id ManagedApiId) String() string
String returns a human-readable description of this Managed Api ID
type WsdlImportMethod ¶
type WsdlImportMethod string
const ( WsdlImportMethodNotSpecified WsdlImportMethod = "NotSpecified" WsdlImportMethodSoapPassThrough WsdlImportMethod = "SoapPassThrough" WsdlImportMethodSoapToRest WsdlImportMethod = "SoapToRest" )
func (*WsdlImportMethod) UnmarshalJSON ¶
func (s *WsdlImportMethod) UnmarshalJSON(bytes []byte) error
type WsdlService ¶
Source Files ¶
- client.go
- constants.go
- id_location.go
- id_managedapi.go
- method_get.go
- method_list.go
- model_apioauthsettings.go
- model_apioauthsettingsparameter.go
- model_apiresourcebackendservice.go
- model_apiresourcedefinitions.go
- model_apiresourcegeneralinformation.go
- model_apiresourcemetadata.go
- model_apiresourcepolicies.go
- model_apiresourceproperties.go
- model_connectionparameter.go
- model_managedapidefinition.go
- model_managedapidefinitioncollection.go
- model_wsdlservice.go
- version.go