Documentation ¶
Index ¶
- func PossibleValuesForApiType() []string
- func PossibleValuesForConnectionParameterType() []string
- func PossibleValuesForWsdlImportMethod() []string
- func ValidateCustomApiID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- type ApiOAuthSettings
- type ApiOAuthSettingsParameter
- type ApiResourceBackendService
- type ApiResourceDefinitions
- type ApiType
- type ConnectionParameter
- type ConnectionParameterType
- type CustomAPIsClient
- func (c CustomAPIsClient) CustomApisCreateOrUpdate(ctx context.Context, id CustomApiId, input CustomApiDefinition) (result CustomApisCreateOrUpdateOperationResponse, err error)
- func (c CustomAPIsClient) CustomApisDelete(ctx context.Context, id CustomApiId) (result CustomApisDeleteOperationResponse, err error)
- func (c CustomAPIsClient) CustomApisExtractApiDefinitionFromWsdl(ctx context.Context, id LocationId, input WsdlDefinition) (result CustomApisExtractApiDefinitionFromWsdlOperationResponse, err error)
- func (c CustomAPIsClient) CustomApisGet(ctx context.Context, id CustomApiId) (result CustomApisGetOperationResponse, err error)
- func (c CustomAPIsClient) CustomApisList(ctx context.Context, id commonids.SubscriptionId, ...) (result CustomApisListOperationResponse, err error)
- func (c CustomAPIsClient) CustomApisListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, ...) (result CustomApisListByResourceGroupOperationResponse, err error)
- func (c CustomAPIsClient) CustomApisListWsdlInterfaces(ctx context.Context, id LocationId, input WsdlDefinition) (result CustomApisListWsdlInterfacesOperationResponse, err error)
- func (c CustomAPIsClient) CustomApisMove(ctx context.Context, id CustomApiId, input CustomApiReference) (result CustomApisMoveOperationResponse, err error)
- func (c CustomAPIsClient) CustomApisUpdate(ctx context.Context, id CustomApiId, input CustomApiDefinition) (result CustomApisUpdateOperationResponse, err error)
- type CustomApiDefinition
- type CustomApiDefinitionCollection
- type CustomApiId
- type CustomApiPropertiesDefinition
- type CustomApiReference
- type CustomApisCreateOrUpdateOperationResponse
- type CustomApisDeleteOperationResponse
- type CustomApisExtractApiDefinitionFromWsdlOperationResponse
- type CustomApisGetOperationResponse
- type CustomApisListByResourceGroupOperationOptions
- type CustomApisListByResourceGroupOperationResponse
- type CustomApisListOperationOptions
- type CustomApisListOperationResponse
- type CustomApisListWsdlInterfacesOperationResponse
- type CustomApisMoveOperationResponse
- type CustomApisUpdateOperationResponse
- type LocationId
- type WsdlDefinition
- type WsdlImportMethod
- type WsdlService
- type WsdlServiceCollection
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 ValidateCustomApiID ¶
ValidateCustomApiID checks that 'input' can be parsed as a Custom Api ID
func ValidateLocationID ¶
ValidateLocationID checks that 'input' can be parsed as a Location 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 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 ¶ added in v0.20230725.1205316
func (s *ConnectionParameterType) UnmarshalJSON(bytes []byte) error
type CustomAPIsClient ¶
type CustomAPIsClient struct {
Client *resourcemanager.Client
}
func NewCustomAPIsClientWithBaseURI ¶
func NewCustomAPIsClientWithBaseURI(api environments.Api) (*CustomAPIsClient, error)
func (CustomAPIsClient) CustomApisCreateOrUpdate ¶
func (c CustomAPIsClient) CustomApisCreateOrUpdate(ctx context.Context, id CustomApiId, input CustomApiDefinition) (result CustomApisCreateOrUpdateOperationResponse, err error)
CustomApisCreateOrUpdate ...
func (CustomAPIsClient) CustomApisDelete ¶
func (c CustomAPIsClient) CustomApisDelete(ctx context.Context, id CustomApiId) (result CustomApisDeleteOperationResponse, err error)
CustomApisDelete ...
func (CustomAPIsClient) CustomApisExtractApiDefinitionFromWsdl ¶
func (c CustomAPIsClient) CustomApisExtractApiDefinitionFromWsdl(ctx context.Context, id LocationId, input WsdlDefinition) (result CustomApisExtractApiDefinitionFromWsdlOperationResponse, err error)
CustomApisExtractApiDefinitionFromWsdl ...
func (CustomAPIsClient) CustomApisGet ¶
func (c CustomAPIsClient) CustomApisGet(ctx context.Context, id CustomApiId) (result CustomApisGetOperationResponse, err error)
CustomApisGet ...
func (CustomAPIsClient) CustomApisList ¶
func (c CustomAPIsClient) CustomApisList(ctx context.Context, id commonids.SubscriptionId, options CustomApisListOperationOptions) (result CustomApisListOperationResponse, err error)
CustomApisList ...
func (CustomAPIsClient) CustomApisListByResourceGroup ¶
func (c CustomAPIsClient) CustomApisListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, options CustomApisListByResourceGroupOperationOptions) (result CustomApisListByResourceGroupOperationResponse, err error)
CustomApisListByResourceGroup ...
func (CustomAPIsClient) CustomApisListWsdlInterfaces ¶
func (c CustomAPIsClient) CustomApisListWsdlInterfaces(ctx context.Context, id LocationId, input WsdlDefinition) (result CustomApisListWsdlInterfacesOperationResponse, err error)
CustomApisListWsdlInterfaces ...
func (CustomAPIsClient) CustomApisMove ¶
func (c CustomAPIsClient) CustomApisMove(ctx context.Context, id CustomApiId, input CustomApiReference) (result CustomApisMoveOperationResponse, err error)
CustomApisMove ...
func (CustomAPIsClient) CustomApisUpdate ¶
func (c CustomAPIsClient) CustomApisUpdate(ctx context.Context, id CustomApiId, input CustomApiDefinition) (result CustomApisUpdateOperationResponse, err error)
CustomApisUpdate ...
type CustomApiDefinition ¶
type CustomApiDefinition struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *CustomApiPropertiesDefinition `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type CustomApiDefinitionCollection ¶
type CustomApiDefinitionCollection struct {
Value *[]CustomApiDefinition `json:"value,omitempty"`
}
type CustomApiId ¶
CustomApiId is a struct representing the Resource ID for a Custom Api
func NewCustomApiID ¶
func NewCustomApiID(subscriptionId string, resourceGroupName string, customApiName string) CustomApiId
NewCustomApiID returns a new CustomApiId struct
func ParseCustomApiID ¶
func ParseCustomApiID(input string) (*CustomApiId, error)
ParseCustomApiID parses 'input' into a CustomApiId
func ParseCustomApiIDInsensitively ¶
func ParseCustomApiIDInsensitively(input string) (*CustomApiId, error)
ParseCustomApiIDInsensitively parses 'input' case-insensitively into a CustomApiId note: this method should only be used for API response data and not user input
func (CustomApiId) Segments ¶
func (id CustomApiId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Custom Api ID
func (CustomApiId) String ¶
func (id CustomApiId) String() string
String returns a human-readable description of this Custom Api ID
type CustomApiPropertiesDefinition ¶
type CustomApiPropertiesDefinition struct { ApiDefinitions *ApiResourceDefinitions `json:"apiDefinitions,omitempty"` ApiType *ApiType `json:"apiType,omitempty"` BackendService *ApiResourceBackendService `json:"backendService,omitempty"` BrandColor *string `json:"brandColor,omitempty"` Capabilities *[]string `json:"capabilities,omitempty"` ConnectionParameters *map[string]ConnectionParameter `json:"connectionParameters,omitempty"` Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` IconUri *string `json:"iconUri,omitempty"` RuntimeUrls *[]string `json:"runtimeUrls,omitempty"` Swagger *interface{} `json:"swagger,omitempty"` WsdlDefinition *WsdlDefinition `json:"wsdlDefinition,omitempty"` }
type CustomApiReference ¶
type CustomApiReference struct { BrandColor *string `json:"brandColor,omitempty"` Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` IconUri *string `json:"iconUri,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Swagger *interface{} `json:"swagger,omitempty"` Type *string `json:"type,omitempty"` }
type CustomApisCreateOrUpdateOperationResponse ¶
type CustomApisCreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CustomApiDefinition }
type CustomApisGetOperationResponse ¶
type CustomApisGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CustomApiDefinition }
type CustomApisListByResourceGroupOperationOptions ¶
func DefaultCustomApisListByResourceGroupOperationOptions ¶
func DefaultCustomApisListByResourceGroupOperationOptions() CustomApisListByResourceGroupOperationOptions
func (CustomApisListByResourceGroupOperationOptions) ToHeaders ¶ added in v0.20230725.1205316
func (o CustomApisListByResourceGroupOperationOptions) ToHeaders() *client.Headers
func (CustomApisListByResourceGroupOperationOptions) ToOData ¶ added in v0.20230725.1205316
func (o CustomApisListByResourceGroupOperationOptions) ToOData() *odata.Query
func (CustomApisListByResourceGroupOperationOptions) ToQuery ¶ added in v0.20230725.1205316
func (o CustomApisListByResourceGroupOperationOptions) ToQuery() *client.QueryParams
type CustomApisListByResourceGroupOperationResponse ¶
type CustomApisListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CustomApiDefinitionCollection }
type CustomApisListOperationOptions ¶
func DefaultCustomApisListOperationOptions ¶
func DefaultCustomApisListOperationOptions() CustomApisListOperationOptions
func (CustomApisListOperationOptions) ToHeaders ¶ added in v0.20230725.1205316
func (o CustomApisListOperationOptions) ToHeaders() *client.Headers
func (CustomApisListOperationOptions) ToOData ¶ added in v0.20230725.1205316
func (o CustomApisListOperationOptions) ToOData() *odata.Query
func (CustomApisListOperationOptions) ToQuery ¶ added in v0.20230725.1205316
func (o CustomApisListOperationOptions) ToQuery() *client.QueryParams
type CustomApisListOperationResponse ¶
type CustomApisListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CustomApiDefinitionCollection }
type CustomApisListWsdlInterfacesOperationResponse ¶
type CustomApisListWsdlInterfacesOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *WsdlServiceCollection }
type CustomApisUpdateOperationResponse ¶
type CustomApisUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CustomApiDefinition }
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 WsdlDefinition ¶
type WsdlDefinition struct { Content *string `json:"content,omitempty"` ImportMethod *WsdlImportMethod `json:"importMethod,omitempty"` Service *WsdlService `json:"service,omitempty"` Url *string `json:"url,omitempty"` }
type WsdlImportMethod ¶
type WsdlImportMethod string
const ( WsdlImportMethodNotSpecified WsdlImportMethod = "NotSpecified" WsdlImportMethodSoapPassThrough WsdlImportMethod = "SoapPassThrough" WsdlImportMethodSoapToRest WsdlImportMethod = "SoapToRest" )
func (*WsdlImportMethod) UnmarshalJSON ¶ added in v0.20230725.1205316
func (s *WsdlImportMethod) UnmarshalJSON(bytes []byte) error
type WsdlService ¶
type WsdlServiceCollection ¶
type WsdlServiceCollection struct {
Value *[]WsdlService `json:"value,omitempty"`
}
Source Files ¶
- client.go
- constants.go
- id_customapi.go
- id_location.go
- method_customapiscreateorupdate.go
- method_customapisdelete.go
- method_customapisextractapidefinitionfromwsdl.go
- method_customapisget.go
- method_customapislist.go
- method_customapislistbyresourcegroup.go
- method_customapislistwsdlinterfaces.go
- method_customapismove.go
- method_customapisupdate.go
- model_apioauthsettings.go
- model_apioauthsettingsparameter.go
- model_apiresourcebackendservice.go
- model_apiresourcedefinitions.go
- model_connectionparameter.go
- model_customapidefinition.go
- model_customapidefinitioncollection.go
- model_customapipropertiesdefinition.go
- model_customapireference.go
- model_wsdldefinition.go
- model_wsdlservice.go
- model_wsdlservicecollection.go
- version.go