Documentation
¶
Index ¶
- type AuthorizationProfile
- type Client
- func (client *Client) Get(ctx context.Context, resourceProviderNamespace string, featureName string, ...) (ClientGetResponse, error)
- func (client *Client) NewListAllPager(options *ClientListAllOptions) *runtime.Pager[ClientListAllResponse]
- func (client *Client) NewListPager(resourceProviderNamespace string, options *ClientListOptions) *runtime.Pager[ClientListResponse]
- func (client *Client) Register(ctx context.Context, resourceProviderNamespace string, featureName string, ...) (ClientRegisterResponse, error)
- func (client *Client) Unregister(ctx context.Context, resourceProviderNamespace string, featureName string, ...) (ClientUnregisterResponse, error)
- type ClientFactory
- type ClientGetOptions
- type ClientGetResponse
- type ClientListAllOptions
- type ClientListAllResponse
- type ClientListOptions
- type ClientListResponse
- type ClientRegisterOptions
- type ClientRegisterResponse
- type ClientUnregisterOptions
- type ClientUnregisterResponse
- type ErrorDefinition
- type ErrorResponse
- type FeatureClient
- type FeatureClientListOperationsOptions
- type FeatureClientListOperationsResponse
- type FeatureOperationsListResult
- type FeatureProperties
- type FeatureResult
- type Operation
- type OperationDisplay
- type OperationListResult
- type ProxyResource
- type SubscriptionFeatureRegistration
- type SubscriptionFeatureRegistrationApprovalType
- type SubscriptionFeatureRegistrationList
- type SubscriptionFeatureRegistrationProperties
- type SubscriptionFeatureRegistrationState
- type SubscriptionFeatureRegistrationsClient
- func (client *SubscriptionFeatureRegistrationsClient) CreateOrUpdate(ctx context.Context, providerNamespace string, featureName string, ...) (SubscriptionFeatureRegistrationsClientCreateOrUpdateResponse, error)
- func (client *SubscriptionFeatureRegistrationsClient) Delete(ctx context.Context, providerNamespace string, featureName string, ...) (SubscriptionFeatureRegistrationsClientDeleteResponse, error)
- func (client *SubscriptionFeatureRegistrationsClient) Get(ctx context.Context, providerNamespace string, featureName string, ...) (SubscriptionFeatureRegistrationsClientGetResponse, error)
- func (client *SubscriptionFeatureRegistrationsClient) NewListAllBySubscriptionPager(options *SubscriptionFeatureRegistrationsClientListAllBySubscriptionOptions) ...
- func (client *SubscriptionFeatureRegistrationsClient) NewListBySubscriptionPager(providerNamespace string, ...) ...
- type SubscriptionFeatureRegistrationsClientCreateOrUpdateOptions
- type SubscriptionFeatureRegistrationsClientCreateOrUpdateResponse
- type SubscriptionFeatureRegistrationsClientDeleteOptions
- type SubscriptionFeatureRegistrationsClientDeleteResponse
- type SubscriptionFeatureRegistrationsClientGetOptions
- type SubscriptionFeatureRegistrationsClientGetResponse
- type SubscriptionFeatureRegistrationsClientListAllBySubscriptionOptions
- type SubscriptionFeatureRegistrationsClientListAllBySubscriptionResponse
- type SubscriptionFeatureRegistrationsClientListBySubscriptionOptions
- type SubscriptionFeatureRegistrationsClientListBySubscriptionResponse
Examples ¶
- Client.Get
- Client.NewListAllPager
- Client.NewListPager
- Client.Register
- Client.Unregister
- FeatureClient.NewListOperationsPager
- SubscriptionFeatureRegistrationsClient.CreateOrUpdate
- SubscriptionFeatureRegistrationsClient.Delete
- SubscriptionFeatureRegistrationsClient.Get
- SubscriptionFeatureRegistrationsClient.NewListAllBySubscriptionPager
- SubscriptionFeatureRegistrationsClient.NewListBySubscriptionPager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizationProfile ¶
type AuthorizationProfile struct { // READ-ONLY; The approved time ApprovedTime *time.Time // READ-ONLY; The approver Approver *string // READ-ONLY; The requested time RequestedTime *time.Time // READ-ONLY; The requester Requester *string // READ-ONLY; The requester object id RequesterObjectID *string }
AuthorizationProfile - Authorization Profile
func (AuthorizationProfile) MarshalJSON ¶
func (a AuthorizationProfile) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type AuthorizationProfile.
func (*AuthorizationProfile) UnmarshalJSON ¶
func (a *AuthorizationProfile) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type AuthorizationProfile.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client contains the methods for the Features group. Don't use this type directly, use NewClient() instead.
func NewClient ¶
func NewClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*Client, error)
NewClient creates a new instance of Client with the specified values.
- subscriptionID - The Azure subscription ID.
- credential - used to authorize requests. Usually a credential from azidentity.
- options - pass nil to accept the default values.
func (*Client) Get ¶
func (client *Client) Get(ctx context.Context, resourceProviderNamespace string, featureName string, options *ClientGetOptions) (ClientGetResponse, error)
Get - Gets the preview feature with the specified name. If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2021-07-01
- resourceProviderNamespace - The resource provider namespace for the feature.
- featureName - The name of the feature to get.
- options - ClientGetOptions contains the optional parameters for the Client.Get method.
Example ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/0cc5e2efd6ffccf30e80d1e150b488dd87198b94/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/getFeature.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armfeatures" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := armfeatures.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } res, err := clientFactory.NewClient().Get(ctx, "Resource Provider Namespace", "feature", nil) if err != nil { log.Fatalf("failed to finish the request: %v", err) } // You could use response here. We use blank identifier for just demo purposes. _ = res // If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes. // res.FeatureResult = armfeatures.FeatureResult{ // Name: to.Ptr("Feature1"), // Type: to.Ptr("type1"), // ID: to.Ptr("feature_id1"), // Properties: &armfeatures.FeatureProperties{ // State: to.Ptr("registered"), // }, // } }
func (*Client) NewListAllPager ¶
func (client *Client) NewListAllPager(options *ClientListAllOptions) *runtime.Pager[ClientListAllResponse]
NewListAllPager - Gets all the preview features that are available through AFEC for the subscription.
Generated from API version 2021-07-01
- options - ClientListAllOptions contains the optional parameters for the Client.NewListAllPager method.
Example ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/0cc5e2efd6ffccf30e80d1e150b488dd87198b94/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/listSubscriptionFeatures.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armfeatures" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := armfeatures.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } pager := clientFactory.NewClient().NewListAllPager(nil) for pager.More() { page, err := pager.NextPage(ctx) if err != nil { log.Fatalf("failed to advance page: %v", err) } for _, v := range page.Value { // You could use page here. We use blank identifier for just demo purposes. _ = v } // If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes. // page.FeatureOperationsListResult = armfeatures.FeatureOperationsListResult{ // Value: []*armfeatures.FeatureResult{ // { // Name: to.Ptr("Feature1"), // Type: to.Ptr("type1"), // ID: to.Ptr("feature_id1"), // Properties: &armfeatures.FeatureProperties{ // State: to.Ptr("registered"), // }, // }, // { // Name: to.Ptr("Feature2"), // Type: to.Ptr("type2"), // ID: to.Ptr("feature_id2"), // Properties: &armfeatures.FeatureProperties{ // State: to.Ptr("unregistered"), // }, // }}, // } } }
func (*Client) NewListPager ¶
func (client *Client) NewListPager(resourceProviderNamespace string, options *ClientListOptions) *runtime.Pager[ClientListResponse]
NewListPager - Gets all the preview features in a provider namespace that are available through AFEC for the subscription.
Generated from API version 2021-07-01
- resourceProviderNamespace - The namespace of the resource provider for getting features.
- options - ClientListOptions contains the optional parameters for the Client.NewListPager method.
Example ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/0cc5e2efd6ffccf30e80d1e150b488dd87198b94/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/listProviderFeatures.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armfeatures" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := armfeatures.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } pager := clientFactory.NewClient().NewListPager("Resource Provider Namespace", nil) for pager.More() { page, err := pager.NextPage(ctx) if err != nil { log.Fatalf("failed to advance page: %v", err) } for _, v := range page.Value { // You could use page here. We use blank identifier for just demo purposes. _ = v } // If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes. // page.FeatureOperationsListResult = armfeatures.FeatureOperationsListResult{ // Value: []*armfeatures.FeatureResult{ // { // Name: to.Ptr("Feature1"), // Type: to.Ptr("type1"), // ID: to.Ptr("feature_id1"), // Properties: &armfeatures.FeatureProperties{ // State: to.Ptr("registered"), // }, // }, // { // Name: to.Ptr("Feature2"), // Type: to.Ptr("type2"), // ID: to.Ptr("feature_id2"), // Properties: &armfeatures.FeatureProperties{ // State: to.Ptr("unregistered"), // }, // }}, // } } }
func (*Client) Register ¶
func (client *Client) Register(ctx context.Context, resourceProviderNamespace string, featureName string, options *ClientRegisterOptions) (ClientRegisterResponse, error)
Register - Registers the preview feature for the subscription. If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2021-07-01
- resourceProviderNamespace - The namespace of the resource provider.
- featureName - The name of the feature to register.
- options - ClientRegisterOptions contains the optional parameters for the Client.Register method.
Example ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/0cc5e2efd6ffccf30e80d1e150b488dd87198b94/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/registerFeature.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armfeatures" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := armfeatures.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } res, err := clientFactory.NewClient().Register(ctx, "Resource Provider Namespace", "feature", nil) if err != nil { log.Fatalf("failed to finish the request: %v", err) } // You could use response here. We use blank identifier for just demo purposes. _ = res // If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes. // res.FeatureResult = armfeatures.FeatureResult{ // Name: to.Ptr("Feature1"), // Type: to.Ptr("type1"), // ID: to.Ptr("feature_id1"), // Properties: &armfeatures.FeatureProperties{ // State: to.Ptr("registered"), // }, // } }
func (*Client) Unregister ¶
func (client *Client) Unregister(ctx context.Context, resourceProviderNamespace string, featureName string, options *ClientUnregisterOptions) (ClientUnregisterResponse, error)
Unregister - Unregisters the preview feature for the subscription. If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2021-07-01
- resourceProviderNamespace - The namespace of the resource provider.
- featureName - The name of the feature to unregister.
- options - ClientUnregisterOptions contains the optional parameters for the Client.Unregister method.
Example ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/0cc5e2efd6ffccf30e80d1e150b488dd87198b94/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/unregisterFeature.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armfeatures" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := armfeatures.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } res, err := clientFactory.NewClient().Unregister(ctx, "Resource Provider Namespace", "feature", nil) if err != nil { log.Fatalf("failed to finish the request: %v", err) } // You could use response here. We use blank identifier for just demo purposes. _ = res // If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes. // res.FeatureResult = armfeatures.FeatureResult{ // Name: to.Ptr("Feature1"), // Type: to.Ptr("Microsoft.Features/providers/features"), // ID: to.Ptr("/subscriptions/ff23096b-f5a2-46ea-bd62-59c3e93fef9a/providers/Microsoft.Features/providers/Microsoft.Test/features/Feature1"), // Properties: &armfeatures.FeatureProperties{ // State: to.Ptr("unregistered"), // }, // } }
type ClientFactory ¶
type ClientFactory struct {
// contains filtered or unexported fields
}
ClientFactory is a client factory used to create any client in this module. Don't use this type directly, use NewClientFactory instead.
func NewClientFactory ¶
func NewClientFactory(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*ClientFactory, error)
NewClientFactory creates a new instance of ClientFactory with the specified values. The parameter values will be propagated to any client created from this factory.
- subscriptionID - The Azure subscription ID.
- credential - used to authorize requests. Usually a credential from azidentity.
- options - pass nil to accept the default values.
func (*ClientFactory) NewClient ¶
func (c *ClientFactory) NewClient() *Client
NewClient creates a new instance of Client.
func (*ClientFactory) NewFeatureClient ¶
func (c *ClientFactory) NewFeatureClient() *FeatureClient
NewFeatureClient creates a new instance of FeatureClient.
func (*ClientFactory) NewSubscriptionFeatureRegistrationsClient ¶
func (c *ClientFactory) NewSubscriptionFeatureRegistrationsClient() *SubscriptionFeatureRegistrationsClient
NewSubscriptionFeatureRegistrationsClient creates a new instance of SubscriptionFeatureRegistrationsClient.
type ClientGetOptions ¶
type ClientGetOptions struct { }
ClientGetOptions contains the optional parameters for the Client.Get method.
type ClientGetResponse ¶
type ClientGetResponse struct { // Previewed feature information. FeatureResult }
ClientGetResponse contains the response from method Client.Get.
type ClientListAllOptions ¶
type ClientListAllOptions struct { }
ClientListAllOptions contains the optional parameters for the Client.NewListAllPager method.
type ClientListAllResponse ¶
type ClientListAllResponse struct { // List of previewed features. FeatureOperationsListResult }
ClientListAllResponse contains the response from method Client.NewListAllPager.
type ClientListOptions ¶
type ClientListOptions struct { }
ClientListOptions contains the optional parameters for the Client.NewListPager method.
type ClientListResponse ¶
type ClientListResponse struct { // List of previewed features. FeatureOperationsListResult }
ClientListResponse contains the response from method Client.NewListPager.
type ClientRegisterOptions ¶
type ClientRegisterOptions struct { }
ClientRegisterOptions contains the optional parameters for the Client.Register method.
type ClientRegisterResponse ¶
type ClientRegisterResponse struct { // Previewed feature information. FeatureResult }
ClientRegisterResponse contains the response from method Client.Register.
type ClientUnregisterOptions ¶
type ClientUnregisterOptions struct { }
ClientUnregisterOptions contains the optional parameters for the Client.Unregister method.
type ClientUnregisterResponse ¶
type ClientUnregisterResponse struct { // Previewed feature information. FeatureResult }
ClientUnregisterResponse contains the response from method Client.Unregister.
type ErrorDefinition ¶
type ErrorDefinition struct { // Internal error details. Details []*ErrorDefinition // READ-ONLY; Service specific error code which serves as the substatus for the HTTP error code. Code *string // READ-ONLY; Description of the error. Message *string }
ErrorDefinition - Error definition.
func (ErrorDefinition) MarshalJSON ¶
func (e ErrorDefinition) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ErrorDefinition.
func (*ErrorDefinition) UnmarshalJSON ¶
func (e *ErrorDefinition) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ErrorDefinition.
type ErrorResponse ¶
type ErrorResponse struct { // The error details. Error *ErrorDefinition }
ErrorResponse - Error response indicates that the service is not able to process the incoming request.
func (ErrorResponse) MarshalJSON ¶
func (e ErrorResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ErrorResponse.
func (*ErrorResponse) UnmarshalJSON ¶
func (e *ErrorResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ErrorResponse.
type FeatureClient ¶
type FeatureClient struct {
// contains filtered or unexported fields
}
FeatureClient contains the methods for the FeatureClient group. Don't use this type directly, use NewFeatureClient() instead.
func NewFeatureClient ¶
func NewFeatureClient(credential azcore.TokenCredential, options *arm.ClientOptions) (*FeatureClient, error)
NewFeatureClient creates a new instance of FeatureClient with the specified values.
- credential - used to authorize requests. Usually a credential from azidentity.
- options - pass nil to accept the default values.
func (*FeatureClient) NewListOperationsPager ¶
func (client *FeatureClient) NewListOperationsPager(options *FeatureClientListOperationsOptions) *runtime.Pager[FeatureClientListOperationsResponse]
NewListOperationsPager - Lists all of the available Microsoft.Features REST API operations.
Generated from API version 2021-07-01
- options - FeatureClientListOperationsOptions contains the optional parameters for the FeatureClient.NewListOperationsPager method.
Example ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/0cc5e2efd6ffccf30e80d1e150b488dd87198b94/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/listFeaturesOperations.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armfeatures" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := armfeatures.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } pager := clientFactory.NewFeatureClient().NewListOperationsPager(nil) for pager.More() { page, err := pager.NextPage(ctx) if err != nil { log.Fatalf("failed to advance page: %v", err) } for _, v := range page.Value { // You could use page here. We use blank identifier for just demo purposes. _ = v } // If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes. // page.OperationListResult = armfeatures.OperationListResult{ // Value: []*armfeatures.Operation{ // { // Name: to.Ptr("FeaturesOpeartion1"), // Display: &armfeatures.OperationDisplay{ // Operation: to.Ptr("Read"), // Provider: to.Ptr("Microsoft.ResourceProvider"), // Resource: to.Ptr("Resource1"), // }, // }, // { // Name: to.Ptr("FeaturesOpeartion2"), // Display: &armfeatures.OperationDisplay{ // Operation: to.Ptr("Write"), // Provider: to.Ptr("Microsoft.ResourceProvider"), // Resource: to.Ptr("Resource2"), // }, // }}, // } } }
type FeatureClientListOperationsOptions ¶
type FeatureClientListOperationsOptions struct { }
FeatureClientListOperationsOptions contains the optional parameters for the FeatureClient.NewListOperationsPager method.
type FeatureClientListOperationsResponse ¶
type FeatureClientListOperationsResponse struct { // Result of the request to list Microsoft.Features operations. It contains a list of operations and a URL link to get the // next set of results. OperationListResult }
FeatureClientListOperationsResponse contains the response from method FeatureClient.NewListOperationsPager.
type FeatureOperationsListResult ¶
type FeatureOperationsListResult struct { // The URL to use for getting the next set of results. NextLink *string // The array of features. Value []*FeatureResult }
FeatureOperationsListResult - List of previewed features.
func (FeatureOperationsListResult) MarshalJSON ¶
func (f FeatureOperationsListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type FeatureOperationsListResult.
func (*FeatureOperationsListResult) UnmarshalJSON ¶
func (f *FeatureOperationsListResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type FeatureOperationsListResult.
type FeatureProperties ¶
type FeatureProperties struct { // The registration state of the feature for the subscription. State *string }
FeatureProperties - Information about feature.
func (FeatureProperties) MarshalJSON ¶
func (f FeatureProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type FeatureProperties.
func (*FeatureProperties) UnmarshalJSON ¶
func (f *FeatureProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type FeatureProperties.
type FeatureResult ¶
type FeatureResult struct { // The resource ID of the feature. ID *string // The name of the feature. Name *string // Properties of the previewed feature. Properties *FeatureProperties // The resource type of the feature. Type *string }
FeatureResult - Previewed feature information.
func (FeatureResult) MarshalJSON ¶
func (f FeatureResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type FeatureResult.
func (*FeatureResult) UnmarshalJSON ¶
func (f *FeatureResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type FeatureResult.
type Operation ¶
type Operation struct { // The object that represents the operation. Display *OperationDisplay // Operation name: {provider}/{resource}/{operation} Name *string }
Operation - Microsoft.Features operation
func (Operation) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type Operation.
func (*Operation) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaller interface for type Operation.
type OperationDisplay ¶
type OperationDisplay struct { // Operation type: Read, write, delete, etc. Operation *string // Service provider: Microsoft.Features Provider *string // Resource on which the operation is performed: Profile, endpoint, etc. Resource *string }
OperationDisplay - The object that represents the operation.
func (OperationDisplay) MarshalJSON ¶
func (o OperationDisplay) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type OperationDisplay.
func (*OperationDisplay) UnmarshalJSON ¶
func (o *OperationDisplay) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type OperationDisplay.
type OperationListResult ¶
type OperationListResult struct { // URL to get the next set of operation list results if there are any. NextLink *string // List of Microsoft.Features operations. Value []*Operation }
OperationListResult - Result of the request to list Microsoft.Features operations. It contains a list of operations and a URL link to get the next set of results.
func (OperationListResult) MarshalJSON ¶
func (o OperationListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type OperationListResult.
func (*OperationListResult) UnmarshalJSON ¶
func (o *OperationListResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type OperationListResult.
type ProxyResource ¶
type ProxyResource struct { // READ-ONLY; Azure resource Id. ID *string // READ-ONLY; Azure resource name. Name *string // READ-ONLY; Azure resource type. Type *string }
ProxyResource - An Azure proxy resource.
func (ProxyResource) MarshalJSON ¶
func (p ProxyResource) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ProxyResource.
func (*ProxyResource) UnmarshalJSON ¶
func (p *ProxyResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ProxyResource.
type SubscriptionFeatureRegistration ¶
type SubscriptionFeatureRegistration struct { Properties *SubscriptionFeatureRegistrationProperties // READ-ONLY; Azure resource Id. ID *string // READ-ONLY; Azure resource name. Name *string // READ-ONLY; Azure resource type. Type *string }
SubscriptionFeatureRegistration - Subscription feature registration details
func (SubscriptionFeatureRegistration) MarshalJSON ¶
func (s SubscriptionFeatureRegistration) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type SubscriptionFeatureRegistration.
func (*SubscriptionFeatureRegistration) UnmarshalJSON ¶
func (s *SubscriptionFeatureRegistration) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type SubscriptionFeatureRegistration.
type SubscriptionFeatureRegistrationApprovalType ¶
type SubscriptionFeatureRegistrationApprovalType string
SubscriptionFeatureRegistrationApprovalType - The feature approval type.
const ( SubscriptionFeatureRegistrationApprovalTypeApprovalRequired SubscriptionFeatureRegistrationApprovalType = "ApprovalRequired" SubscriptionFeatureRegistrationApprovalTypeAutoApproval SubscriptionFeatureRegistrationApprovalType = "AutoApproval" SubscriptionFeatureRegistrationApprovalTypeNotSpecified SubscriptionFeatureRegistrationApprovalType = "NotSpecified" )
func PossibleSubscriptionFeatureRegistrationApprovalTypeValues ¶
func PossibleSubscriptionFeatureRegistrationApprovalTypeValues() []SubscriptionFeatureRegistrationApprovalType
PossibleSubscriptionFeatureRegistrationApprovalTypeValues returns the possible values for the SubscriptionFeatureRegistrationApprovalType const type.
type SubscriptionFeatureRegistrationList ¶
type SubscriptionFeatureRegistrationList struct { // The link used to get the next page of subscription feature registrations list. NextLink *string // The list of subscription feature registrations. Value []*SubscriptionFeatureRegistration }
SubscriptionFeatureRegistrationList - The list of subscription feature registrations.
func (SubscriptionFeatureRegistrationList) MarshalJSON ¶
func (s SubscriptionFeatureRegistrationList) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type SubscriptionFeatureRegistrationList.
func (*SubscriptionFeatureRegistrationList) UnmarshalJSON ¶
func (s *SubscriptionFeatureRegistrationList) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type SubscriptionFeatureRegistrationList.
type SubscriptionFeatureRegistrationProperties ¶
type SubscriptionFeatureRegistrationProperties struct { // Authorization Profile AuthorizationProfile *AuthorizationProfile // The feature description. Description *string // Key-value pairs for meta data. Metadata map[string]*string // Indicates whether feature should be displayed in Portal. ShouldFeatureDisplayInPortal *bool // The state. State *SubscriptionFeatureRegistrationState // READ-ONLY; The feature approval type. ApprovalType *SubscriptionFeatureRegistrationApprovalType // READ-ONLY; The featureDisplayName. DisplayName *string // READ-ONLY; The feature documentation link. DocumentationLink *string // READ-ONLY; The featureName. FeatureName *string // READ-ONLY; The providerNamespace. ProviderNamespace *string // READ-ONLY; The feature registration date. RegistrationDate *time.Time // READ-ONLY; The feature release date. ReleaseDate *time.Time // READ-ONLY; The subscriptionId. SubscriptionID *string // READ-ONLY; The tenantId. TenantID *string }
func (SubscriptionFeatureRegistrationProperties) MarshalJSON ¶
func (s SubscriptionFeatureRegistrationProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type SubscriptionFeatureRegistrationProperties.
func (*SubscriptionFeatureRegistrationProperties) UnmarshalJSON ¶
func (s *SubscriptionFeatureRegistrationProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type SubscriptionFeatureRegistrationProperties.
type SubscriptionFeatureRegistrationState ¶
type SubscriptionFeatureRegistrationState string
SubscriptionFeatureRegistrationState - The state.
const ( SubscriptionFeatureRegistrationStateNotRegistered SubscriptionFeatureRegistrationState = "NotRegistered" SubscriptionFeatureRegistrationStateNotSpecified SubscriptionFeatureRegistrationState = "NotSpecified" SubscriptionFeatureRegistrationStatePending SubscriptionFeatureRegistrationState = "Pending" SubscriptionFeatureRegistrationStateRegistered SubscriptionFeatureRegistrationState = "Registered" SubscriptionFeatureRegistrationStateRegistering SubscriptionFeatureRegistrationState = "Registering" SubscriptionFeatureRegistrationStateUnregistered SubscriptionFeatureRegistrationState = "Unregistered" SubscriptionFeatureRegistrationStateUnregistering SubscriptionFeatureRegistrationState = "Unregistering" )
func PossibleSubscriptionFeatureRegistrationStateValues ¶
func PossibleSubscriptionFeatureRegistrationStateValues() []SubscriptionFeatureRegistrationState
PossibleSubscriptionFeatureRegistrationStateValues returns the possible values for the SubscriptionFeatureRegistrationState const type.
type SubscriptionFeatureRegistrationsClient ¶
type SubscriptionFeatureRegistrationsClient struct {
// contains filtered or unexported fields
}
SubscriptionFeatureRegistrationsClient contains the methods for the SubscriptionFeatureRegistrations group. Don't use this type directly, use NewSubscriptionFeatureRegistrationsClient() instead.
func NewSubscriptionFeatureRegistrationsClient ¶
func NewSubscriptionFeatureRegistrationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*SubscriptionFeatureRegistrationsClient, error)
NewSubscriptionFeatureRegistrationsClient creates a new instance of SubscriptionFeatureRegistrationsClient with the specified values.
- subscriptionID - The Azure subscription ID.
- credential - used to authorize requests. Usually a credential from azidentity.
- options - pass nil to accept the default values.
func (*SubscriptionFeatureRegistrationsClient) CreateOrUpdate ¶
func (client *SubscriptionFeatureRegistrationsClient) CreateOrUpdate(ctx context.Context, providerNamespace string, featureName string, options *SubscriptionFeatureRegistrationsClientCreateOrUpdateOptions) (SubscriptionFeatureRegistrationsClientCreateOrUpdateResponse, error)
CreateOrUpdate - Create or update a feature registration. If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2021-07-01
- providerNamespace - The provider namespace.
- featureName - The feature name.
- options - SubscriptionFeatureRegistrationsClientCreateOrUpdateOptions contains the optional parameters for the SubscriptionFeatureRegistrationsClient.CreateOrUpdate method.
Example ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/0cc5e2efd6ffccf30e80d1e150b488dd87198b94/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationPUT.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armfeatures" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := armfeatures.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } res, err := clientFactory.NewSubscriptionFeatureRegistrationsClient().CreateOrUpdate(ctx, "subscriptionFeatureRegistrationGroupTestRG", "testFeature", &armfeatures.SubscriptionFeatureRegistrationsClientCreateOrUpdateOptions{SubscriptionFeatureRegistrationType: &armfeatures.SubscriptionFeatureRegistration{ Properties: &armfeatures.SubscriptionFeatureRegistrationProperties{}, }, }) if err != nil { log.Fatalf("failed to finish the request: %v", err) } // You could use response here. We use blank identifier for just demo purposes. _ = res // If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes. // res.SubscriptionFeatureRegistration = armfeatures.SubscriptionFeatureRegistration{ // Name: to.Ptr("testFeature"), // Type: to.Ptr("Microsoft.Features/featureProviders/subscriptionFeatureRegistrations"), // ID: to.Ptr("/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Features/featureProviders/Microsoft.TestRP/subscriptionFeatureRegistrations/testFeature"), // Properties: &armfeatures.SubscriptionFeatureRegistrationProperties{ // ApprovalType: to.Ptr(armfeatures.SubscriptionFeatureRegistrationApprovalTypeApprovalRequired), // AuthorizationProfile: &armfeatures.AuthorizationProfile{ // }, // FeatureName: to.Ptr("testFeature"), // ProviderNamespace: to.Ptr("Microsoft.TestRP"), // RegistrationDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-02-26T01:57:51.734Z"); return t}()), // ReleaseDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-11-05T00:34:53.124Z"); return t}()), // State: to.Ptr(armfeatures.SubscriptionFeatureRegistrationStatePending), // SubscriptionID: to.Ptr("00000000-1111-2222-3333-444444444444"), // }, // } }
func (*SubscriptionFeatureRegistrationsClient) Delete ¶
func (client *SubscriptionFeatureRegistrationsClient) Delete(ctx context.Context, providerNamespace string, featureName string, options *SubscriptionFeatureRegistrationsClientDeleteOptions) (SubscriptionFeatureRegistrationsClientDeleteResponse, error)
Delete - Deletes a feature registration If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2021-07-01
- providerNamespace - The provider namespace.
- featureName - The feature name.
- options - SubscriptionFeatureRegistrationsClientDeleteOptions contains the optional parameters for the SubscriptionFeatureRegistrationsClient.Delete method.
Example ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/0cc5e2efd6ffccf30e80d1e150b488dd87198b94/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationDELETE.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armfeatures" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := armfeatures.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } _, err = clientFactory.NewSubscriptionFeatureRegistrationsClient().Delete(ctx, "subscriptionFeatureRegistrationGroupTestRG", "testFeature", nil) if err != nil { log.Fatalf("failed to finish the request: %v", err) } }
func (*SubscriptionFeatureRegistrationsClient) Get ¶
func (client *SubscriptionFeatureRegistrationsClient) Get(ctx context.Context, providerNamespace string, featureName string, options *SubscriptionFeatureRegistrationsClientGetOptions) (SubscriptionFeatureRegistrationsClientGetResponse, error)
Get - Returns a feature registration If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2021-07-01
- providerNamespace - The provider namespace.
- featureName - The feature name.
- options - SubscriptionFeatureRegistrationsClientGetOptions contains the optional parameters for the SubscriptionFeatureRegistrationsClient.Get method.
Example ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/0cc5e2efd6ffccf30e80d1e150b488dd87198b94/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationGET.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armfeatures" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := armfeatures.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } res, err := clientFactory.NewSubscriptionFeatureRegistrationsClient().Get(ctx, "subscriptionFeatureRegistrationGroupTestRG", "testFeature", nil) if err != nil { log.Fatalf("failed to finish the request: %v", err) } // You could use response here. We use blank identifier for just demo purposes. _ = res // If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes. // res.SubscriptionFeatureRegistration = armfeatures.SubscriptionFeatureRegistration{ // Name: to.Ptr("testFeature"), // Type: to.Ptr("Microsoft.Features/featureProviders/subscriptionFeatureRegistrations"), // ID: to.Ptr("/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Features/featureProviders/Microsoft.TestRP/subscriptionFeatureRegistrations/testFeature"), // Properties: &armfeatures.SubscriptionFeatureRegistrationProperties{ // ApprovalType: to.Ptr(armfeatures.SubscriptionFeatureRegistrationApprovalTypeApprovalRequired), // AuthorizationProfile: &armfeatures.AuthorizationProfile{ // }, // FeatureName: to.Ptr("testFeature"), // ProviderNamespace: to.Ptr("Microsoft.TestRP"), // RegistrationDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-02-26T01:57:51.734Z"); return t}()), // ReleaseDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-11-05T00:34:53.124Z"); return t}()), // State: to.Ptr(armfeatures.SubscriptionFeatureRegistrationStatePending), // SubscriptionID: to.Ptr("00000000-1111-2222-3333-444444444444"), // }, // } }
func (*SubscriptionFeatureRegistrationsClient) NewListAllBySubscriptionPager ¶
func (client *SubscriptionFeatureRegistrationsClient) NewListAllBySubscriptionPager(options *SubscriptionFeatureRegistrationsClientListAllBySubscriptionOptions) *runtime.Pager[SubscriptionFeatureRegistrationsClientListAllBySubscriptionResponse]
NewListAllBySubscriptionPager - Returns subscription feature registrations for given subscription.
Generated from API version 2021-07-01
- options - SubscriptionFeatureRegistrationsClientListAllBySubscriptionOptions contains the optional parameters for the SubscriptionFeatureRegistrationsClient.NewListAllBySubscriptionPager method.
Example ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/0cc5e2efd6ffccf30e80d1e150b488dd87198b94/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationLISTALL.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armfeatures" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := armfeatures.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } pager := clientFactory.NewSubscriptionFeatureRegistrationsClient().NewListAllBySubscriptionPager(nil) for pager.More() { page, err := pager.NextPage(ctx) if err != nil { log.Fatalf("failed to advance page: %v", err) } for _, v := range page.Value { // You could use page here. We use blank identifier for just demo purposes. _ = v } // If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes. // page.SubscriptionFeatureRegistrationList = armfeatures.SubscriptionFeatureRegistrationList{ // Value: []*armfeatures.SubscriptionFeatureRegistration{ // { // Name: to.Ptr("testFeature"), // Type: to.Ptr("Microsoft.Features/featureProviders/subscriptionFeatureRegistrations"), // ID: to.Ptr("/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Features/featureProviders/Microsoft.TestRP/subscriptionFeatureRegistrations/testFeature"), // Properties: &armfeatures.SubscriptionFeatureRegistrationProperties{ // ApprovalType: to.Ptr(armfeatures.SubscriptionFeatureRegistrationApprovalTypeApprovalRequired), // AuthorizationProfile: &armfeatures.AuthorizationProfile{ // }, // FeatureName: to.Ptr("testFeature"), // ProviderNamespace: to.Ptr("Microsoft.TestRP"), // RegistrationDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-02-26T01:57:51.734Z"); return t}()), // ReleaseDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-11-05T00:34:53.124Z"); return t}()), // State: to.Ptr(armfeatures.SubscriptionFeatureRegistrationStatePending), // SubscriptionID: to.Ptr("00000000-1111-2222-3333-444444444444"), // }, // }}, // } } }
func (*SubscriptionFeatureRegistrationsClient) NewListBySubscriptionPager ¶
func (client *SubscriptionFeatureRegistrationsClient) NewListBySubscriptionPager(providerNamespace string, options *SubscriptionFeatureRegistrationsClientListBySubscriptionOptions) *runtime.Pager[SubscriptionFeatureRegistrationsClientListBySubscriptionResponse]
NewListBySubscriptionPager - Returns subscription feature registrations for given subscription and provider namespace.
Generated from API version 2021-07-01
- providerNamespace - The provider namespace.
- options - SubscriptionFeatureRegistrationsClientListBySubscriptionOptions contains the optional parameters for the SubscriptionFeatureRegistrationsClient.NewListBySubscriptionPager method.
Example ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/0cc5e2efd6ffccf30e80d1e150b488dd87198b94/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationLIST.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armfeatures" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := armfeatures.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } pager := clientFactory.NewSubscriptionFeatureRegistrationsClient().NewListBySubscriptionPager("subscriptionFeatureRegistrationGroupTestRG", nil) for pager.More() { page, err := pager.NextPage(ctx) if err != nil { log.Fatalf("failed to advance page: %v", err) } for _, v := range page.Value { // You could use page here. We use blank identifier for just demo purposes. _ = v } // If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes. // page.SubscriptionFeatureRegistrationList = armfeatures.SubscriptionFeatureRegistrationList{ // Value: []*armfeatures.SubscriptionFeatureRegistration{ // { // Name: to.Ptr("testFeature"), // Type: to.Ptr("Microsoft.Features/featureProviders/subscriptionFeatureRegistrations"), // ID: to.Ptr("/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Features/featureProviders/Microsoft.TestRP/subscriptionFeatureRegistrations/testFeature"), // Properties: &armfeatures.SubscriptionFeatureRegistrationProperties{ // ApprovalType: to.Ptr(armfeatures.SubscriptionFeatureRegistrationApprovalTypeApprovalRequired), // AuthorizationProfile: &armfeatures.AuthorizationProfile{ // }, // FeatureName: to.Ptr("testFeature"), // ProviderNamespace: to.Ptr("Microsoft.TestRP"), // RegistrationDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2020-02-26T01:57:51.734Z"); return t}()), // ReleaseDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-11-05T00:34:53.124Z"); return t}()), // State: to.Ptr(armfeatures.SubscriptionFeatureRegistrationStatePending), // SubscriptionID: to.Ptr("00000000-1111-2222-3333-444444444444"), // }, // }}, // } } }
type SubscriptionFeatureRegistrationsClientCreateOrUpdateOptions ¶
type SubscriptionFeatureRegistrationsClientCreateOrUpdateOptions struct { // Subscription Feature Registration Type details. SubscriptionFeatureRegistrationType *SubscriptionFeatureRegistration }
SubscriptionFeatureRegistrationsClientCreateOrUpdateOptions contains the optional parameters for the SubscriptionFeatureRegistrationsClient.CreateOrUpdate method.
type SubscriptionFeatureRegistrationsClientCreateOrUpdateResponse ¶
type SubscriptionFeatureRegistrationsClientCreateOrUpdateResponse struct { // Subscription feature registration details SubscriptionFeatureRegistration }
SubscriptionFeatureRegistrationsClientCreateOrUpdateResponse contains the response from method SubscriptionFeatureRegistrationsClient.CreateOrUpdate.
type SubscriptionFeatureRegistrationsClientDeleteOptions ¶
type SubscriptionFeatureRegistrationsClientDeleteOptions struct { }
SubscriptionFeatureRegistrationsClientDeleteOptions contains the optional parameters for the SubscriptionFeatureRegistrationsClient.Delete method.
type SubscriptionFeatureRegistrationsClientDeleteResponse ¶
type SubscriptionFeatureRegistrationsClientDeleteResponse struct { }
SubscriptionFeatureRegistrationsClientDeleteResponse contains the response from method SubscriptionFeatureRegistrationsClient.Delete.
type SubscriptionFeatureRegistrationsClientGetOptions ¶
type SubscriptionFeatureRegistrationsClientGetOptions struct { }
SubscriptionFeatureRegistrationsClientGetOptions contains the optional parameters for the SubscriptionFeatureRegistrationsClient.Get method.
type SubscriptionFeatureRegistrationsClientGetResponse ¶
type SubscriptionFeatureRegistrationsClientGetResponse struct { // Subscription feature registration details SubscriptionFeatureRegistration }
SubscriptionFeatureRegistrationsClientGetResponse contains the response from method SubscriptionFeatureRegistrationsClient.Get.
type SubscriptionFeatureRegistrationsClientListAllBySubscriptionOptions ¶
type SubscriptionFeatureRegistrationsClientListAllBySubscriptionOptions struct { }
SubscriptionFeatureRegistrationsClientListAllBySubscriptionOptions contains the optional parameters for the SubscriptionFeatureRegistrationsClient.NewListAllBySubscriptionPager method.
type SubscriptionFeatureRegistrationsClientListAllBySubscriptionResponse ¶
type SubscriptionFeatureRegistrationsClientListAllBySubscriptionResponse struct { // The list of subscription feature registrations. SubscriptionFeatureRegistrationList }
SubscriptionFeatureRegistrationsClientListAllBySubscriptionResponse contains the response from method SubscriptionFeatureRegistrationsClient.NewListAllBySubscriptionPager.
type SubscriptionFeatureRegistrationsClientListBySubscriptionOptions ¶
type SubscriptionFeatureRegistrationsClientListBySubscriptionOptions struct { }
SubscriptionFeatureRegistrationsClientListBySubscriptionOptions contains the optional parameters for the SubscriptionFeatureRegistrationsClient.NewListBySubscriptionPager method.
type SubscriptionFeatureRegistrationsClientListBySubscriptionResponse ¶
type SubscriptionFeatureRegistrationsClientListBySubscriptionResponse struct { // The list of subscription feature registrations. SubscriptionFeatureRegistrationList }
SubscriptionFeatureRegistrationsClientListBySubscriptionResponse contains the response from method SubscriptionFeatureRegistrationsClient.NewListBySubscriptionPager.