README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/apimanagement/2023-03-01-preview/group
Documentation
The group
SDK allows for interaction with the Azure Resource Manager Service apimanagement
(API Version 2023-03-01-preview
).
This readme covers example usages, but further information on using this SDK can be found in the project root.
Import Path
import "github.com/hashicorp/go-azure-sdk/resource-manager/apimanagement/2023-03-01-preview/group"
Client Initialization
client := group.NewGroupClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: GroupClient.CreateOrUpdate
ctx := context.TODO()
id := group.NewGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "groupIdValue")
payload := group.GroupCreateParameters{
// ...
}
read, err := client.CreateOrUpdate(ctx, id, payload, group.DefaultCreateOrUpdateOperationOptions())
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: GroupClient.Delete
ctx := context.TODO()
id := group.NewGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "groupIdValue")
read, err := client.Delete(ctx, id, group.DefaultDeleteOperationOptions())
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: GroupClient.Get
ctx := context.TODO()
id := group.NewGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "groupIdValue")
read, err := client.Get(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: GroupClient.GetEntityTag
ctx := context.TODO()
id := group.NewGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "groupIdValue")
read, err := client.GetEntityTag(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: GroupClient.ListByService
ctx := context.TODO()
id := group.NewServiceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue")
// alternatively `client.ListByService(ctx, id, group.DefaultListByServiceOperationOptions())` can be used to do batched pagination
items, err := client.ListByServiceComplete(ctx, id, group.DefaultListByServiceOperationOptions())
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
Example Usage: GroupClient.Update
ctx := context.TODO()
id := group.NewGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "groupIdValue")
payload := group.GroupUpdateParameters{
// ...
}
read, err := client.Update(ctx, id, payload, group.DefaultUpdateOperationOptions())
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: GroupClient.WorkspaceGroupCreateOrUpdate
ctx := context.TODO()
id := group.NewWorkspaceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "workspaceIdValue", "groupIdValue")
payload := group.GroupCreateParameters{
// ...
}
read, err := client.WorkspaceGroupCreateOrUpdate(ctx, id, payload, group.DefaultWorkspaceGroupCreateOrUpdateOperationOptions())
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: GroupClient.WorkspaceGroupDelete
ctx := context.TODO()
id := group.NewWorkspaceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "workspaceIdValue", "groupIdValue")
read, err := client.WorkspaceGroupDelete(ctx, id, group.DefaultWorkspaceGroupDeleteOperationOptions())
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: GroupClient.WorkspaceGroupGet
ctx := context.TODO()
id := group.NewWorkspaceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "workspaceIdValue", "groupIdValue")
read, err := client.WorkspaceGroupGet(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: GroupClient.WorkspaceGroupGetEntityTag
ctx := context.TODO()
id := group.NewWorkspaceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "workspaceIdValue", "groupIdValue")
read, err := client.WorkspaceGroupGetEntityTag(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: GroupClient.WorkspaceGroupListByService
ctx := context.TODO()
id := group.NewWorkspaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "workspaceIdValue")
// alternatively `client.WorkspaceGroupListByService(ctx, id, group.DefaultWorkspaceGroupListByServiceOperationOptions())` can be used to do batched pagination
items, err := client.WorkspaceGroupListByServiceComplete(ctx, id, group.DefaultWorkspaceGroupListByServiceOperationOptions())
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
Example Usage: GroupClient.WorkspaceGroupUpdate
ctx := context.TODO()
id := group.NewWorkspaceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "workspaceIdValue", "groupIdValue")
payload := group.GroupUpdateParameters{
// ...
}
read, err := client.WorkspaceGroupUpdate(ctx, id, payload, group.DefaultWorkspaceGroupUpdateOperationOptions())
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Documentation ¶
Index ¶
- func PossibleValuesForGroupType() []string
- func ValidateGroupID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceGroupID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type GetEntityTagOperationResponse
- type GetOperationResponse
- type GroupClient
- func (c GroupClient) CreateOrUpdate(ctx context.Context, id GroupId, input GroupCreateParameters, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c GroupClient) Delete(ctx context.Context, id GroupId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c GroupClient) Get(ctx context.Context, id GroupId) (result GetOperationResponse, err error)
- func (c GroupClient) GetEntityTag(ctx context.Context, id GroupId) (result GetEntityTagOperationResponse, err error)
- func (c GroupClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (result ListByServiceOperationResponse, err error)
- func (c GroupClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
- func (c GroupClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, ...) (result ListByServiceCompleteResult, err error)
- func (c GroupClient) Update(ctx context.Context, id GroupId, input GroupUpdateParameters, ...) (result UpdateOperationResponse, err error)
- func (c GroupClient) WorkspaceGroupCreateOrUpdate(ctx context.Context, id WorkspaceGroupId, input GroupCreateParameters, ...) (result WorkspaceGroupCreateOrUpdateOperationResponse, err error)
- func (c GroupClient) WorkspaceGroupDelete(ctx context.Context, id WorkspaceGroupId, ...) (result WorkspaceGroupDeleteOperationResponse, err error)
- func (c GroupClient) WorkspaceGroupGet(ctx context.Context, id WorkspaceGroupId) (result WorkspaceGroupGetOperationResponse, err error)
- func (c GroupClient) WorkspaceGroupGetEntityTag(ctx context.Context, id WorkspaceGroupId) (result WorkspaceGroupGetEntityTagOperationResponse, err error)
- func (c GroupClient) WorkspaceGroupListByService(ctx context.Context, id WorkspaceId, ...) (result WorkspaceGroupListByServiceOperationResponse, err error)
- func (c GroupClient) WorkspaceGroupListByServiceComplete(ctx context.Context, id WorkspaceId, ...) (WorkspaceGroupListByServiceCompleteResult, error)
- func (c GroupClient) WorkspaceGroupListByServiceCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, ...) (result WorkspaceGroupListByServiceCompleteResult, err error)
- func (c GroupClient) WorkspaceGroupUpdate(ctx context.Context, id WorkspaceGroupId, input GroupUpdateParameters, ...) (result WorkspaceGroupUpdateOperationResponse, err error)
- type GroupContract
- type GroupContractOperationPredicate
- type GroupContractProperties
- type GroupCreateParameters
- type GroupCreateParametersProperties
- type GroupId
- type GroupType
- type GroupUpdateParameters
- type GroupUpdateParametersProperties
- type ListByServiceCompleteResult
- type ListByServiceOperationOptions
- type ListByServiceOperationResponse
- type ServiceId
- type UpdateOperationOptions
- type UpdateOperationResponse
- type WorkspaceGroupCreateOrUpdateOperationOptions
- type WorkspaceGroupCreateOrUpdateOperationResponse
- type WorkspaceGroupDeleteOperationOptions
- type WorkspaceGroupDeleteOperationResponse
- type WorkspaceGroupGetEntityTagOperationResponse
- type WorkspaceGroupGetOperationResponse
- type WorkspaceGroupId
- type WorkspaceGroupListByServiceCompleteResult
- type WorkspaceGroupListByServiceOperationOptions
- type WorkspaceGroupListByServiceOperationResponse
- type WorkspaceGroupUpdateOperationOptions
- type WorkspaceGroupUpdateOperationResponse
- type WorkspaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForGroupType ¶
func PossibleValuesForGroupType() []string
func ValidateGroupID ¶
ValidateGroupID checks that 'input' can be parsed as a Group ID
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
func ValidateWorkspaceGroupID ¶
ValidateWorkspaceGroupID checks that 'input' can be parsed as a Workspace Group ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace 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 *GroupContract }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
IfMatch *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GroupContract }
type GroupClient ¶
type GroupClient struct {
Client *resourcemanager.Client
}
func NewGroupClientWithBaseURI ¶
func NewGroupClientWithBaseURI(sdkApi sdkEnv.Api) (*GroupClient, error)
func (GroupClient) CreateOrUpdate ¶
func (c GroupClient) CreateOrUpdate(ctx context.Context, id GroupId, input GroupCreateParameters, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (GroupClient) Delete ¶
func (c GroupClient) Delete(ctx context.Context, id GroupId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (GroupClient) Get ¶
func (c GroupClient) Get(ctx context.Context, id GroupId) (result GetOperationResponse, err error)
Get ...
func (GroupClient) GetEntityTag ¶
func (c GroupClient) GetEntityTag(ctx context.Context, id GroupId) (result GetEntityTagOperationResponse, err error)
GetEntityTag ...
func (GroupClient) ListByService ¶
func (c GroupClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (result ListByServiceOperationResponse, err error)
ListByService ...
func (GroupClient) ListByServiceComplete ¶
func (c GroupClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all the results into a single object
func (GroupClient) ListByServiceCompleteMatchingPredicate ¶
func (c GroupClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, predicate GroupContractOperationPredicate) (result ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (GroupClient) Update ¶
func (c GroupClient) Update(ctx context.Context, id GroupId, input GroupUpdateParameters, options UpdateOperationOptions) (result UpdateOperationResponse, err error)
Update ...
func (GroupClient) WorkspaceGroupCreateOrUpdate ¶
func (c GroupClient) WorkspaceGroupCreateOrUpdate(ctx context.Context, id WorkspaceGroupId, input GroupCreateParameters, options WorkspaceGroupCreateOrUpdateOperationOptions) (result WorkspaceGroupCreateOrUpdateOperationResponse, err error)
WorkspaceGroupCreateOrUpdate ...
func (GroupClient) WorkspaceGroupDelete ¶
func (c GroupClient) WorkspaceGroupDelete(ctx context.Context, id WorkspaceGroupId, options WorkspaceGroupDeleteOperationOptions) (result WorkspaceGroupDeleteOperationResponse, err error)
WorkspaceGroupDelete ...
func (GroupClient) WorkspaceGroupGet ¶
func (c GroupClient) WorkspaceGroupGet(ctx context.Context, id WorkspaceGroupId) (result WorkspaceGroupGetOperationResponse, err error)
WorkspaceGroupGet ...
func (GroupClient) WorkspaceGroupGetEntityTag ¶
func (c GroupClient) WorkspaceGroupGetEntityTag(ctx context.Context, id WorkspaceGroupId) (result WorkspaceGroupGetEntityTagOperationResponse, err error)
WorkspaceGroupGetEntityTag ...
func (GroupClient) WorkspaceGroupListByService ¶
func (c GroupClient) WorkspaceGroupListByService(ctx context.Context, id WorkspaceId, options WorkspaceGroupListByServiceOperationOptions) (result WorkspaceGroupListByServiceOperationResponse, err error)
WorkspaceGroupListByService ...
func (GroupClient) WorkspaceGroupListByServiceComplete ¶
func (c GroupClient) WorkspaceGroupListByServiceComplete(ctx context.Context, id WorkspaceId, options WorkspaceGroupListByServiceOperationOptions) (WorkspaceGroupListByServiceCompleteResult, error)
WorkspaceGroupListByServiceComplete retrieves all the results into a single object
func (GroupClient) WorkspaceGroupListByServiceCompleteMatchingPredicate ¶
func (c GroupClient) WorkspaceGroupListByServiceCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options WorkspaceGroupListByServiceOperationOptions, predicate GroupContractOperationPredicate) (result WorkspaceGroupListByServiceCompleteResult, err error)
WorkspaceGroupListByServiceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (GroupClient) WorkspaceGroupUpdate ¶
func (c GroupClient) WorkspaceGroupUpdate(ctx context.Context, id WorkspaceGroupId, input GroupUpdateParameters, options WorkspaceGroupUpdateOperationOptions) (result WorkspaceGroupUpdateOperationResponse, err error)
WorkspaceGroupUpdate ...
type GroupContract ¶
type GroupContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *GroupContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type GroupContractOperationPredicate ¶
func (GroupContractOperationPredicate) Matches ¶
func (p GroupContractOperationPredicate) Matches(input GroupContract) bool
type GroupContractProperties ¶
type GroupCreateParameters ¶
type GroupCreateParameters struct {
Properties *GroupCreateParametersProperties `json:"properties,omitempty"`
}
type GroupId ¶
type GroupId struct { SubscriptionId string ResourceGroupName string ServiceName string GroupId string }
GroupId is a struct representing the Resource ID for a Group
func NewGroupID ¶
func NewGroupID(subscriptionId string, resourceGroupName string, serviceName string, groupId string) GroupId
NewGroupID returns a new GroupId struct
func ParseGroupID ¶
ParseGroupID parses 'input' into a GroupId
func ParseGroupIDInsensitively ¶
ParseGroupIDInsensitively parses 'input' case-insensitively into a GroupId note: this method should only be used for API response data and not user input
func (GroupId) Segments ¶
func (id GroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Group ID
type GroupUpdateParameters ¶
type GroupUpdateParameters struct {
Properties *GroupUpdateParametersProperties `json:"properties,omitempty"`
}
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct {
Items []GroupContract
}
type ListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions() ListByServiceOperationOptions
func (ListByServiceOperationOptions) ToHeaders ¶
func (o ListByServiceOperationOptions) ToHeaders() *client.Headers
func (ListByServiceOperationOptions) ToOData ¶
func (o ListByServiceOperationOptions) ToOData() *odata.Query
func (ListByServiceOperationOptions) ToQuery ¶
func (o ListByServiceOperationOptions) ToQuery() *client.QueryParams
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]GroupContract }
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) 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 *GroupContract }
type WorkspaceGroupCreateOrUpdateOperationOptions ¶
type WorkspaceGroupCreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultWorkspaceGroupCreateOrUpdateOperationOptions ¶
func DefaultWorkspaceGroupCreateOrUpdateOperationOptions() WorkspaceGroupCreateOrUpdateOperationOptions
func (WorkspaceGroupCreateOrUpdateOperationOptions) ToHeaders ¶
func (o WorkspaceGroupCreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (WorkspaceGroupCreateOrUpdateOperationOptions) ToOData ¶
func (o WorkspaceGroupCreateOrUpdateOperationOptions) ToOData() *odata.Query
func (WorkspaceGroupCreateOrUpdateOperationOptions) ToQuery ¶
func (o WorkspaceGroupCreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type WorkspaceGroupCreateOrUpdateOperationResponse ¶
type WorkspaceGroupCreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GroupContract }
type WorkspaceGroupDeleteOperationOptions ¶
type WorkspaceGroupDeleteOperationOptions struct {
IfMatch *string
}
func DefaultWorkspaceGroupDeleteOperationOptions ¶
func DefaultWorkspaceGroupDeleteOperationOptions() WorkspaceGroupDeleteOperationOptions
func (WorkspaceGroupDeleteOperationOptions) ToHeaders ¶
func (o WorkspaceGroupDeleteOperationOptions) ToHeaders() *client.Headers
func (WorkspaceGroupDeleteOperationOptions) ToOData ¶
func (o WorkspaceGroupDeleteOperationOptions) ToOData() *odata.Query
func (WorkspaceGroupDeleteOperationOptions) ToQuery ¶
func (o WorkspaceGroupDeleteOperationOptions) ToQuery() *client.QueryParams
type WorkspaceGroupGetOperationResponse ¶
type WorkspaceGroupGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GroupContract }
type WorkspaceGroupId ¶
type WorkspaceGroupId struct { SubscriptionId string ResourceGroupName string ServiceName string WorkspaceId string GroupId string }
WorkspaceGroupId is a struct representing the Resource ID for a Workspace Group
func NewWorkspaceGroupID ¶
func NewWorkspaceGroupID(subscriptionId string, resourceGroupName string, serviceName string, workspaceId string, groupId string) WorkspaceGroupId
NewWorkspaceGroupID returns a new WorkspaceGroupId struct
func ParseWorkspaceGroupID ¶
func ParseWorkspaceGroupID(input string) (*WorkspaceGroupId, error)
ParseWorkspaceGroupID parses 'input' into a WorkspaceGroupId
func ParseWorkspaceGroupIDInsensitively ¶
func ParseWorkspaceGroupIDInsensitively(input string) (*WorkspaceGroupId, error)
ParseWorkspaceGroupIDInsensitively parses 'input' case-insensitively into a WorkspaceGroupId note: this method should only be used for API response data and not user input
func (WorkspaceGroupId) ID ¶
func (id WorkspaceGroupId) ID() string
ID returns the formatted Workspace Group ID
func (WorkspaceGroupId) Segments ¶
func (id WorkspaceGroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workspace Group ID
func (WorkspaceGroupId) String ¶
func (id WorkspaceGroupId) String() string
String returns a human-readable description of this Workspace Group ID
type WorkspaceGroupListByServiceCompleteResult ¶
type WorkspaceGroupListByServiceCompleteResult struct {
Items []GroupContract
}
type WorkspaceGroupListByServiceOperationOptions ¶
func DefaultWorkspaceGroupListByServiceOperationOptions ¶
func DefaultWorkspaceGroupListByServiceOperationOptions() WorkspaceGroupListByServiceOperationOptions
func (WorkspaceGroupListByServiceOperationOptions) ToHeaders ¶
func (o WorkspaceGroupListByServiceOperationOptions) ToHeaders() *client.Headers
func (WorkspaceGroupListByServiceOperationOptions) ToOData ¶
func (o WorkspaceGroupListByServiceOperationOptions) ToOData() *odata.Query
func (WorkspaceGroupListByServiceOperationOptions) ToQuery ¶
func (o WorkspaceGroupListByServiceOperationOptions) ToQuery() *client.QueryParams
type WorkspaceGroupListByServiceOperationResponse ¶
type WorkspaceGroupListByServiceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]GroupContract }
type WorkspaceGroupUpdateOperationOptions ¶
type WorkspaceGroupUpdateOperationOptions struct {
IfMatch *string
}
func DefaultWorkspaceGroupUpdateOperationOptions ¶
func DefaultWorkspaceGroupUpdateOperationOptions() WorkspaceGroupUpdateOperationOptions
func (WorkspaceGroupUpdateOperationOptions) ToHeaders ¶
func (o WorkspaceGroupUpdateOperationOptions) ToHeaders() *client.Headers
func (WorkspaceGroupUpdateOperationOptions) ToOData ¶
func (o WorkspaceGroupUpdateOperationOptions) ToOData() *odata.Query
func (WorkspaceGroupUpdateOperationOptions) ToQuery ¶
func (o WorkspaceGroupUpdateOperationOptions) ToQuery() *client.QueryParams
type WorkspaceGroupUpdateOperationResponse ¶
type WorkspaceGroupUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GroupContract }
type WorkspaceId ¶
type WorkspaceId struct { SubscriptionId string ResourceGroupName string ServiceName string WorkspaceId string }
WorkspaceId is a struct representing the Resource ID for a Workspace
func NewWorkspaceID ¶
func NewWorkspaceID(subscriptionId string, resourceGroupName string, serviceName string, workspaceId string) WorkspaceId
NewWorkspaceID returns a new WorkspaceId struct
func ParseWorkspaceID ¶
func ParseWorkspaceID(input string) (*WorkspaceId, error)
ParseWorkspaceID parses 'input' into a WorkspaceId
func ParseWorkspaceIDInsensitively ¶
func ParseWorkspaceIDInsensitively(input string) (*WorkspaceId, error)
ParseWorkspaceIDInsensitively parses 'input' case-insensitively into a WorkspaceId note: this method should only be used for API response data and not user input
func (WorkspaceId) Segments ¶
func (id WorkspaceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workspace ID
func (WorkspaceId) String ¶
func (id WorkspaceId) String() string
String returns a human-readable description of this Workspace ID
Source Files ¶
- client.go
- constants.go
- id_group.go
- id_service.go
- id_workspace.go
- id_workspacegroup.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_getentitytag.go
- method_listbyservice.go
- method_update.go
- method_workspacegroupcreateorupdate.go
- method_workspacegroupdelete.go
- method_workspacegroupget.go
- method_workspacegroupgetentitytag.go
- method_workspacegrouplistbyservice.go
- method_workspacegroupupdate.go
- model_groupcontract.go
- model_groupcontractproperties.go
- model_groupcreateparameters.go
- model_groupcreateparametersproperties.go
- model_groupupdateparameters.go
- model_groupupdateparametersproperties.go
- predicates.go
- version.go