Documentation ¶
Index ¶
- func PossibleValuesForPortalSettingsCspMode() []string
- func ValidatePortalConfigID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type GetEntityTagOperationResponse
- type GetOperationResponse
- type ListByServiceOperationResponse
- type PortalConfigClient
- func (c PortalConfigClient) CreateOrUpdate(ctx context.Context, id PortalConfigId, input PortalConfigContract, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c PortalConfigClient) Get(ctx context.Context, id PortalConfigId) (result GetOperationResponse, err error)
- func (c PortalConfigClient) GetEntityTag(ctx context.Context, id PortalConfigId) (result GetEntityTagOperationResponse, err error)
- func (c PortalConfigClient) ListByService(ctx context.Context, id ServiceId) (result ListByServiceOperationResponse, err error)
- func (c PortalConfigClient) Update(ctx context.Context, id PortalConfigId, input PortalConfigContract, ...) (result UpdateOperationResponse, err error)
- type PortalConfigCollection
- type PortalConfigContract
- type PortalConfigCorsProperties
- type PortalConfigCspProperties
- type PortalConfigDelegationProperties
- type PortalConfigId
- type PortalConfigProperties
- type PortalConfigPropertiesSignin
- type PortalConfigPropertiesSignup
- type PortalConfigTermsOfServiceProperties
- type PortalSettingsCspMode
- type ServiceId
- type UpdateOperationOptions
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForPortalSettingsCspMode ¶
func PossibleValuesForPortalSettingsCspMode() []string
func ValidatePortalConfigID ¶
ValidatePortalConfigID checks that 'input' can be parsed as a Portal Config ID
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
Types ¶
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
func (CreateOrUpdateOperationOptions) ToHeaders ¶
func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateOperationOptions) ToOData ¶
func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateOperationOptions) ToQuery ¶
func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PortalConfigContract }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PortalConfigContract }
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PortalConfigCollection }
type PortalConfigClient ¶
type PortalConfigClient struct {
Client *resourcemanager.Client
}
func NewPortalConfigClientWithBaseURI ¶
func NewPortalConfigClientWithBaseURI(sdkApi sdkEnv.Api) (*PortalConfigClient, error)
func (PortalConfigClient) CreateOrUpdate ¶
func (c PortalConfigClient) CreateOrUpdate(ctx context.Context, id PortalConfigId, input PortalConfigContract, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (PortalConfigClient) Get ¶
func (c PortalConfigClient) Get(ctx context.Context, id PortalConfigId) (result GetOperationResponse, err error)
Get ...
func (PortalConfigClient) GetEntityTag ¶
func (c PortalConfigClient) GetEntityTag(ctx context.Context, id PortalConfigId) (result GetEntityTagOperationResponse, err error)
GetEntityTag ...
func (PortalConfigClient) ListByService ¶
func (c PortalConfigClient) ListByService(ctx context.Context, id ServiceId) (result ListByServiceOperationResponse, err error)
ListByService ...
func (PortalConfigClient) Update ¶
func (c PortalConfigClient) Update(ctx context.Context, id PortalConfigId, input PortalConfigContract, options UpdateOperationOptions) (result UpdateOperationResponse, err error)
Update ...
type PortalConfigCollection ¶
type PortalConfigCollection struct { NextLink *string `json:"nextLink,omitempty"` Value *[]PortalConfigContract `json:"value,omitempty"` }
type PortalConfigContract ¶
type PortalConfigContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *PortalConfigProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type PortalConfigCorsProperties ¶
type PortalConfigCorsProperties struct {
AllowedOrigins *[]string `json:"allowedOrigins,omitempty"`
}
type PortalConfigCspProperties ¶
type PortalConfigCspProperties struct { AllowedSources *[]string `json:"allowedSources,omitempty"` Mode *PortalSettingsCspMode `json:"mode,omitempty"` ReportUri *[]string `json:"reportUri,omitempty"` }
type PortalConfigId ¶
type PortalConfigId struct { SubscriptionId string ResourceGroupName string ServiceName string PortalConfigId string }
PortalConfigId is a struct representing the Resource ID for a Portal Config
func NewPortalConfigID ¶
func NewPortalConfigID(subscriptionId string, resourceGroupName string, serviceName string, portalConfigId string) PortalConfigId
NewPortalConfigID returns a new PortalConfigId struct
func ParsePortalConfigID ¶
func ParsePortalConfigID(input string) (*PortalConfigId, error)
ParsePortalConfigID parses 'input' into a PortalConfigId
func ParsePortalConfigIDInsensitively ¶
func ParsePortalConfigIDInsensitively(input string) (*PortalConfigId, error)
ParsePortalConfigIDInsensitively parses 'input' case-insensitively into a PortalConfigId note: this method should only be used for API response data and not user input
func (*PortalConfigId) FromParseResult ¶
func (id *PortalConfigId) FromParseResult(input resourceids.ParseResult) error
func (PortalConfigId) ID ¶
func (id PortalConfigId) ID() string
ID returns the formatted Portal Config ID
func (PortalConfigId) Segments ¶
func (id PortalConfigId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Portal Config ID
func (PortalConfigId) String ¶
func (id PortalConfigId) String() string
String returns a human-readable description of this Portal Config ID
type PortalConfigProperties ¶
type PortalConfigProperties struct { Cors *PortalConfigCorsProperties `json:"cors,omitempty"` Csp *PortalConfigCspProperties `json:"csp,omitempty"` Delegation *PortalConfigDelegationProperties `json:"delegation,omitempty"` EnableBasicAuth *bool `json:"enableBasicAuth,omitempty"` Signin *PortalConfigPropertiesSignin `json:"signin,omitempty"` Signup *PortalConfigPropertiesSignup `json:"signup,omitempty"` }
type PortalConfigPropertiesSignin ¶
type PortalConfigPropertiesSignin struct {
Require *bool `json:"require,omitempty"`
}
type PortalConfigPropertiesSignup ¶
type PortalConfigPropertiesSignup struct {
TermsOfService *PortalConfigTermsOfServiceProperties `json:"termsOfService,omitempty"`
}
type PortalSettingsCspMode ¶
type PortalSettingsCspMode string
const ( PortalSettingsCspModeDisabled PortalSettingsCspMode = "disabled" PortalSettingsCspModeEnabled PortalSettingsCspMode = "enabled" PortalSettingsCspModeReportOnly PortalSettingsCspMode = "reportOnly" )
func (*PortalSettingsCspMode) UnmarshalJSON ¶
func (s *PortalSettingsCspMode) UnmarshalJSON(bytes []byte) error
type ServiceId ¶
ServiceId is a struct representing the Resource ID for a Service
func NewServiceID ¶
NewServiceID returns a new ServiceId struct
func ParseServiceID ¶
ParseServiceID parses 'input' into a ServiceId
func ParseServiceIDInsensitively ¶
ParseServiceIDInsensitively parses 'input' case-insensitively into a ServiceId note: this method should only be used for API response data and not user input
func (*ServiceId) FromParseResult ¶
func (id *ServiceId) FromParseResult(input resourceids.ParseResult) error
func (ServiceId) Segments ¶
func (id ServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Service ID
type UpdateOperationOptions ¶
type UpdateOperationOptions struct {
IfMatch *string
}
func DefaultUpdateOperationOptions ¶
func DefaultUpdateOperationOptions() UpdateOperationOptions
func (UpdateOperationOptions) ToHeaders ¶
func (o UpdateOperationOptions) ToHeaders() *client.Headers
func (UpdateOperationOptions) ToOData ¶
func (o UpdateOperationOptions) ToOData() *odata.Query
func (UpdateOperationOptions) ToQuery ¶
func (o UpdateOperationOptions) ToQuery() *client.QueryParams
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PortalConfigContract }
Source Files ¶
- client.go
- constants.go
- id_portalconfig.go
- id_service.go
- method_createorupdate.go
- method_get.go
- method_getentitytag.go
- method_listbyservice.go
- method_update.go
- model_portalconfigcollection.go
- model_portalconfigcontract.go
- model_portalconfigcorsproperties.go
- model_portalconfigcspproperties.go
- model_portalconfigdelegationproperties.go
- model_portalconfigproperties.go
- model_portalconfigpropertiessignin.go
- model_portalconfigpropertiessignup.go
- model_portalconfigtermsofserviceproperties.go
- version.go