Documentation ¶
Index ¶
- func PossibleValuesForFactoryIdentityType() []string
- 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 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) (resp ListOperationResponse, err error)
- func (c FactoriesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp 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, ...) (resp 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, ...) (resp 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 FactoryIdentity
- type FactoryIdentityType
- 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 ListByResourceGroupOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type LocationId
- type PublicNetworkAccess
- type PurviewConfiguration
- type UpdateOperationResponse
- type UserAccessPolicy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForFactoryIdentityType ¶
func PossibleValuesForFactoryIdentityType() []string
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 CMKIdentityDefinition ¶
type CMKIdentityDefinition struct {
UserAssignedIdentity *string `json:"userAssignedIdentity,omitempty"`
}
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
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 ¶
func NewFactoriesClientWithBaseURI ¶
func NewFactoriesClientWithBaseURI(endpoint string) FactoriesClient
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) (resp ListOperationResponse, err error)
List ...
func (FactoriesClient) ListByResourceGroup ¶
func (c FactoriesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (FactoriesClient) ListByResourceGroupComplete ¶
func (c FactoriesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all of the results into a single object
func (FactoriesClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c FactoriesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate FactoryOperationPredicate) (resp ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (FactoriesClient) ListComplete ¶
func (c FactoriesClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (FactoriesClient) ListCompleteMatchingPredicate ¶
func (c FactoriesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate FactoryOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied 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 *FactoryIdentity `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"` // Fields inherited from FactoryRepoConfiguration 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"` }
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) Segments ¶
func (id FactoryId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Factory ID
type FactoryIdentity ¶
type FactoryIdentity struct { PrincipalId *string `json:"principalId,omitempty"` TenantId *string `json:"tenantId,omitempty"` Type FactoryIdentityType `json:"type"` UserAssignedIdentities *map[string]interface{} `json:"userAssignedIdentities,omitempty"` }
type FactoryIdentityType ¶
type FactoryIdentityType string
const ( FactoryIdentityTypeSystemAssigned FactoryIdentityType = "SystemAssigned" FactoryIdentityTypeSystemAssignedUserAssigned FactoryIdentityType = "SystemAssigned,UserAssigned" FactoryIdentityTypeUserAssigned FactoryIdentityType = "UserAssigned" )
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 { }
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 *FactoryIdentity `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"` // Fields inherited from FactoryRepoConfiguration 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"` }
func (FactoryVSTSConfiguration) MarshalJSON ¶
func (s FactoryVSTSConfiguration) MarshalJSON() ([]byte, error)
type GetDataPlaneAccessOperationResponse ¶
type GetDataPlaneAccessOperationResponse struct { HttpResponse *http.Response Model *AccessPolicyResponse }
type GetGitHubAccessTokenOperationResponse ¶
type GetGitHubAccessTokenOperationResponse struct { HttpResponse *http.Response Model *GitHubAccessTokenResponse }
type GetOperationOptions ¶
type GetOperationOptions struct {
IfNoneMatch *string
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
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" )
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []Factory
}
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]Factory // contains filtered or unexported fields }
func (ListByResourceGroupOperationResponse) HasMore ¶
func (r ListByResourceGroupOperationResponse) HasMore() bool
func (ListByResourceGroupOperationResponse) LoadMore ¶
func (r ListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp ListByResourceGroupOperationResponse, err error)
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []Factory
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]Factory // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
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) 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" )
type PurviewConfiguration ¶
type PurviewConfiguration struct {
PurviewResourceId *string `json:"purviewResourceId,omitempty"`
}
type UpdateOperationResponse ¶
type UserAccessPolicy ¶
Source Files ¶
- client.go
- constants.go
- id_factory.go
- id_location.go
- method_configurefactoryrepo_autorest.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_getdataplaneaccess_autorest.go
- method_getgithubaccesstoken_autorest.go
- method_list_autorest.go
- method_listbyresourcegroup_autorest.go
- method_update_autorest.go
- model_accesspolicyresponse.go
- model_cmkidentitydefinition.go
- model_encryptionconfiguration.go
- model_factory.go
- model_factorygithubconfiguration.go
- model_factoryidentity.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