Documentation ¶
Index ¶
- func PossibleValuesForGlobalParameterType() []string
- func PossibleValuesForPublicNetworkAccess() []string
- func ValidateFactoryID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- type AccessPolicyResponse
- type BaseFactoryRepoConfigurationImpl
- type CMKIdentityDefinition
- type ConfigureFactoryRepoOperationResponse
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type EncryptionConfiguration
- type FactoriesClient
- func (c FactoriesClient) ConfigureFactoryRepo(ctx context.Context, id LocationId, input FactoryRepoUpdate) (result ConfigureFactoryRepoOperationResponse, err error)
- func (c FactoriesClient) CreateOrUpdate(ctx context.Context, id FactoryId, input Factory, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c FactoriesClient) Delete(ctx context.Context, id FactoryId) (result DeleteOperationResponse, err error)
- func (c FactoriesClient) Get(ctx context.Context, id FactoryId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c FactoriesClient) GetDataPlaneAccess(ctx context.Context, id FactoryId, input UserAccessPolicy) (result GetDataPlaneAccessOperationResponse, err error)
- func (c FactoriesClient) GetGitHubAccessToken(ctx context.Context, id FactoryId, input GitHubAccessTokenRequest) (result GetGitHubAccessTokenOperationResponse, err error)
- func (c FactoriesClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
- func (c FactoriesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c FactoriesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c FactoriesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c FactoriesClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
- func (c FactoriesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListCompleteResult, err error)
- func (c FactoriesClient) Update(ctx context.Context, id FactoryId, input FactoryUpdateParameters) (result UpdateOperationResponse, err error)
- type Factory
- type FactoryGitHubConfiguration
- type FactoryId
- type FactoryOperationPredicate
- type FactoryProperties
- type FactoryRepoConfiguration
- type FactoryRepoUpdate
- type FactoryUpdateParameters
- type FactoryUpdateProperties
- type FactoryVSTSConfiguration
- type GetDataPlaneAccessOperationResponse
- type GetGitHubAccessTokenOperationResponse
- type GetOperationOptions
- type GetOperationResponse
- type GitHubAccessTokenRequest
- type GitHubAccessTokenResponse
- type GitHubClientSecret
- type GlobalParameterSpecification
- type GlobalParameterType
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupCustomPager
- type ListByResourceGroupOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type LocationId
- type PublicNetworkAccess
- type PurviewConfiguration
- type RawFactoryRepoConfigurationImpl
- type UpdateOperationResponse
- type UserAccessPolicy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForGlobalParameterType ¶
func PossibleValuesForGlobalParameterType() []string
func PossibleValuesForPublicNetworkAccess ¶
func PossibleValuesForPublicNetworkAccess() []string
func ValidateFactoryID ¶
ValidateFactoryID checks that 'input' can be parsed as a Factory ID
func ValidateLocationID ¶
ValidateLocationID checks that 'input' can be parsed as a Location ID
Types ¶
type AccessPolicyResponse ¶
type AccessPolicyResponse struct { AccessToken *string `json:"accessToken,omitempty"` DataPlaneUrl *string `json:"dataPlaneUrl,omitempty"` Policy *UserAccessPolicy `json:"policy,omitempty"` }
type BaseFactoryRepoConfigurationImpl ¶ added in v0.20240920.1135249
type BaseFactoryRepoConfigurationImpl struct { AccountName string `json:"accountName"` CollaborationBranch string `json:"collaborationBranch"` DisablePublish *bool `json:"disablePublish,omitempty"` LastCommitId *string `json:"lastCommitId,omitempty"` RepositoryName string `json:"repositoryName"` RootFolder string `json:"rootFolder"` Type string `json:"type"` }
func (BaseFactoryRepoConfigurationImpl) FactoryRepoConfiguration ¶ added in v0.20240920.1135249
func (s BaseFactoryRepoConfigurationImpl) FactoryRepoConfiguration() BaseFactoryRepoConfigurationImpl
type CMKIdentityDefinition ¶
type CMKIdentityDefinition struct {
UserAssignedIdentity *string `json:"userAssignedIdentity,omitempty"`
}
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 DeleteOperationResponse ¶
type EncryptionConfiguration ¶
type EncryptionConfiguration struct { Identity *CMKIdentityDefinition `json:"identity,omitempty"` KeyName string `json:"keyName"` KeyVersion *string `json:"keyVersion,omitempty"` VaultBaseUrl string `json:"vaultBaseUrl"` }
type FactoriesClient ¶
type FactoriesClient struct {
Client *resourcemanager.Client
}
func NewFactoriesClientWithBaseURI ¶
func NewFactoriesClientWithBaseURI(sdkApi sdkEnv.Api) (*FactoriesClient, error)
func (FactoriesClient) ConfigureFactoryRepo ¶
func (c FactoriesClient) ConfigureFactoryRepo(ctx context.Context, id LocationId, input FactoryRepoUpdate) (result ConfigureFactoryRepoOperationResponse, err error)
ConfigureFactoryRepo ...
func (FactoriesClient) CreateOrUpdate ¶
func (c FactoriesClient) CreateOrUpdate(ctx context.Context, id FactoryId, input Factory, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (FactoriesClient) Delete ¶
func (c FactoriesClient) Delete(ctx context.Context, id FactoryId) (result DeleteOperationResponse, err error)
Delete ...
func (FactoriesClient) Get ¶
func (c FactoriesClient) Get(ctx context.Context, id FactoryId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (FactoriesClient) GetDataPlaneAccess ¶
func (c FactoriesClient) GetDataPlaneAccess(ctx context.Context, id FactoryId, input UserAccessPolicy) (result GetDataPlaneAccessOperationResponse, err error)
GetDataPlaneAccess ...
func (FactoriesClient) GetGitHubAccessToken ¶
func (c FactoriesClient) GetGitHubAccessToken(ctx context.Context, id FactoryId, input GitHubAccessTokenRequest) (result GetGitHubAccessTokenOperationResponse, err error)
GetGitHubAccessToken ...
func (FactoriesClient) List ¶
func (c FactoriesClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
List ...
func (FactoriesClient) ListByResourceGroup ¶
func (c FactoriesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (FactoriesClient) ListByResourceGroupComplete ¶
func (c FactoriesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (FactoriesClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c FactoriesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate FactoryOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (FactoriesClient) ListComplete ¶
func (c FactoriesClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (FactoriesClient) ListCompleteMatchingPredicate ¶
func (c FactoriesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate FactoryOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (FactoriesClient) Update ¶
func (c FactoriesClient) Update(ctx context.Context, id FactoryId, input FactoryUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
type Factory ¶
type Factory struct { ETag *string `json:"eTag,omitempty"` Id *string `json:"id,omitempty"` Identity *identity.LegacySystemAndUserAssignedMap `json:"identity,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *FactoryProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type FactoryGitHubConfiguration ¶
type FactoryGitHubConfiguration struct { ClientId *string `json:"clientId,omitempty"` ClientSecret *GitHubClientSecret `json:"clientSecret,omitempty"` HostName *string `json:"hostName,omitempty"` AccountName string `json:"accountName"` CollaborationBranch string `json:"collaborationBranch"` DisablePublish *bool `json:"disablePublish,omitempty"` LastCommitId *string `json:"lastCommitId,omitempty"` RepositoryName string `json:"repositoryName"` RootFolder string `json:"rootFolder"` Type string `json:"type"` }
func (FactoryGitHubConfiguration) FactoryRepoConfiguration ¶ added in v0.20240920.1135249
func (s FactoryGitHubConfiguration) FactoryRepoConfiguration() BaseFactoryRepoConfigurationImpl
func (FactoryGitHubConfiguration) MarshalJSON ¶
func (s FactoryGitHubConfiguration) MarshalJSON() ([]byte, error)
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) FromParseResult ¶
func (id *FactoryId) FromParseResult(input resourceids.ParseResult) error
func (FactoryId) Segments ¶
func (id FactoryId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Factory ID
type FactoryOperationPredicate ¶
type FactoryOperationPredicate struct { ETag *string Id *string Location *string Name *string Type *string }
func (FactoryOperationPredicate) Matches ¶
func (p FactoryOperationPredicate) Matches(input Factory) bool
type FactoryProperties ¶
type FactoryProperties struct { CreateTime *string `json:"createTime,omitempty"` Encryption *EncryptionConfiguration `json:"encryption,omitempty"` GlobalParameters *map[string]GlobalParameterSpecification `json:"globalParameters,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` PurviewConfiguration *PurviewConfiguration `json:"purviewConfiguration,omitempty"` RepoConfiguration FactoryRepoConfiguration `json:"repoConfiguration"` Version *string `json:"version,omitempty"` }
func (*FactoryProperties) GetCreateTimeAsTime ¶
func (o *FactoryProperties) GetCreateTimeAsTime() (*time.Time, error)
func (*FactoryProperties) SetCreateTimeAsTime ¶
func (o *FactoryProperties) SetCreateTimeAsTime(input time.Time)
func (*FactoryProperties) UnmarshalJSON ¶
func (s *FactoryProperties) UnmarshalJSON(bytes []byte) error
type FactoryRepoConfiguration ¶
type FactoryRepoConfiguration interface {
FactoryRepoConfiguration() BaseFactoryRepoConfigurationImpl
}
func UnmarshalFactoryRepoConfigurationImplementation ¶ added in v0.20240920.1135249
func UnmarshalFactoryRepoConfigurationImplementation(input []byte) (FactoryRepoConfiguration, error)
type FactoryRepoUpdate ¶
type FactoryRepoUpdate struct { FactoryResourceId *string `json:"factoryResourceId,omitempty"` RepoConfiguration FactoryRepoConfiguration `json:"repoConfiguration"` }
func (*FactoryRepoUpdate) UnmarshalJSON ¶
func (s *FactoryRepoUpdate) UnmarshalJSON(bytes []byte) error
type FactoryUpdateParameters ¶
type FactoryUpdateParameters struct { Identity *identity.LegacySystemAndUserAssignedMap `json:"identity,omitempty"` Properties *FactoryUpdateProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type FactoryUpdateProperties ¶
type FactoryUpdateProperties struct {
PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"`
}
type FactoryVSTSConfiguration ¶
type FactoryVSTSConfiguration struct { ProjectName string `json:"projectName"` TenantId *string `json:"tenantId,omitempty"` AccountName string `json:"accountName"` CollaborationBranch string `json:"collaborationBranch"` DisablePublish *bool `json:"disablePublish,omitempty"` LastCommitId *string `json:"lastCommitId,omitempty"` RepositoryName string `json:"repositoryName"` RootFolder string `json:"rootFolder"` Type string `json:"type"` }
func (FactoryVSTSConfiguration) FactoryRepoConfiguration ¶ added in v0.20240920.1135249
func (s FactoryVSTSConfiguration) FactoryRepoConfiguration() BaseFactoryRepoConfigurationImpl
func (FactoryVSTSConfiguration) MarshalJSON ¶
func (s FactoryVSTSConfiguration) MarshalJSON() ([]byte, error)
type GetDataPlaneAccessOperationResponse ¶
type GetDataPlaneAccessOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AccessPolicyResponse }
type GetGitHubAccessTokenOperationResponse ¶
type GetGitHubAccessTokenOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GitHubAccessTokenResponse }
type GetOperationOptions ¶
type GetOperationOptions struct {
IfNoneMatch *string
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
func (GetOperationOptions) ToHeaders ¶
func (o GetOperationOptions) ToHeaders() *client.Headers
func (GetOperationOptions) ToOData ¶
func (o GetOperationOptions) ToOData() *odata.Query
func (GetOperationOptions) ToQuery ¶
func (o GetOperationOptions) ToQuery() *client.QueryParams
type GetOperationResponse ¶
type GitHubAccessTokenRequest ¶
type GitHubAccessTokenRequest struct { GitHubAccessCode string `json:"gitHubAccessCode"` GitHubAccessTokenBaseUrl string `json:"gitHubAccessTokenBaseUrl"` GitHubClientId *string `json:"gitHubClientId,omitempty"` GitHubClientSecret *GitHubClientSecret `json:"gitHubClientSecret,omitempty"` }
type GitHubAccessTokenResponse ¶
type GitHubAccessTokenResponse struct {
GitHubAccessToken *string `json:"gitHubAccessToken,omitempty"`
}
type GitHubClientSecret ¶
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 ListByResourceGroupCustomPager ¶ added in v0.20240628.1153531
func (*ListByResourceGroupCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListCompleteResult ¶
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type LocationId ¶
LocationId is a struct representing the Resource ID for a Location
func NewLocationID ¶
func NewLocationID(subscriptionId string, locationId 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 PublicNetworkAccess ¶
type PublicNetworkAccess string
const ( PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled" PublicNetworkAccessEnabled PublicNetworkAccess = "Enabled" )
func (*PublicNetworkAccess) UnmarshalJSON ¶
func (s *PublicNetworkAccess) UnmarshalJSON(bytes []byte) error
type PurviewConfiguration ¶
type PurviewConfiguration struct {
PurviewResourceId *string `json:"purviewResourceId,omitempty"`
}
type RawFactoryRepoConfigurationImpl ¶
type RawFactoryRepoConfigurationImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawFactoryRepoConfigurationImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
func (RawFactoryRepoConfigurationImpl) FactoryRepoConfiguration ¶ added in v0.20240920.1135249
func (s RawFactoryRepoConfigurationImpl) FactoryRepoConfiguration() BaseFactoryRepoConfigurationImpl
type UpdateOperationResponse ¶
type UserAccessPolicy ¶
Source Files ¶
- client.go
- constants.go
- id_factory.go
- id_location.go
- method_configurefactoryrepo.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_getdataplaneaccess.go
- method_getgithubaccesstoken.go
- method_list.go
- method_listbyresourcegroup.go
- method_update.go
- model_accesspolicyresponse.go
- model_cmkidentitydefinition.go
- model_encryptionconfiguration.go
- model_factory.go
- model_factorygithubconfiguration.go
- model_factoryproperties.go
- model_factoryrepoconfiguration.go
- model_factoryrepoupdate.go
- model_factoryupdateparameters.go
- model_factoryupdateproperties.go
- model_factoryvstsconfiguration.go
- model_githubaccesstokenrequest.go
- model_githubaccesstokenresponse.go
- model_githubclientsecret.go
- model_globalparameterspecification.go
- model_purviewconfiguration.go
- model_useraccesspolicy.go
- predicates.go
- version.go