Documentation
¶
Index ¶
- Constants
- type ActionType
- type AzureContainerInstanceCompute
- type ClientFactory
- func (c *ClientFactory) NewConfigurationStoresClient() *ConfigurationStoresClient
- func (c *ClientFactory) NewOperationsClient() *OperationsClient
- func (c *ClientFactory) NewPubSubBrokersClient() *PubSubBrokersClient
- func (c *ClientFactory) NewSecretStoresClient() *SecretStoresClient
- func (c *ClientFactory) NewStateStoresClient() *StateStoresClient
- type ConfigurationStoresClient
- func (client *ConfigurationStoresClient) BeginCreateOrUpdate(ctx context.Context, rootScope string, configurationStoreName string, ...) (*runtime.Poller[ConfigurationStoresClientCreateOrUpdateResponse], error)
- func (client *ConfigurationStoresClient) BeginDelete(ctx context.Context, rootScope string, configurationStoreName string, ...) (*runtime.Poller[ConfigurationStoresClientDeleteResponse], error)
- func (client *ConfigurationStoresClient) BeginUpdate(ctx context.Context, rootScope string, configurationStoreName string, ...) (*runtime.Poller[ConfigurationStoresClientUpdateResponse], error)
- func (client *ConfigurationStoresClient) Get(ctx context.Context, rootScope string, configurationStoreName string, ...) (ConfigurationStoresClientGetResponse, error)
- func (client *ConfigurationStoresClient) NewListByScopePager(rootScope string, options *ConfigurationStoresClientListByScopeOptions) *runtime.Pager[ConfigurationStoresClientListByScopeResponse]
- type ConfigurationStoresClientBeginCreateOrUpdateOptions
- type ConfigurationStoresClientBeginDeleteOptions
- type ConfigurationStoresClientBeginUpdateOptions
- type ConfigurationStoresClientCreateOrUpdateResponse
- type ConfigurationStoresClientDeleteResponse
- type ConfigurationStoresClientGetOptions
- type ConfigurationStoresClientGetResponse
- type ConfigurationStoresClientListByScopeOptions
- type ConfigurationStoresClientListByScopeResponse
- type ConfigurationStoresClientUpdateResponse
- type CreatedByType
- type DaprConfigurationStoreProperties
- type DaprConfigurationStoreResource
- func (dst *DaprConfigurationStoreResource) ConvertFrom(src v1.DataModelInterface) error
- func (src *DaprConfigurationStoreResource) ConvertTo() (v1.DataModelInterface, error)
- func (d DaprConfigurationStoreResource) MarshalJSON() ([]byte, error)
- func (d *DaprConfigurationStoreResource) UnmarshalJSON(data []byte) error
- type DaprConfigurationStoreResourceListResult
- type DaprPubSubBrokerProperties
- type DaprPubSubBrokerResource
- type DaprPubSubBrokerResourceListResult
- type DaprResourceAuth
- type DaprSecretStoreProperties
- type DaprSecretStoreResource
- type DaprSecretStoreResourceListResult
- type DaprStateStoreProperties
- type DaprStateStoreResource
- type DaprStateStoreResourceListResult
- type EnvironmentCompute
- type EnvironmentComputeClassification
- type IdentitySettingKind
- type IdentitySettings
- type KubernetesCompute
- type MetadataValue
- type MetadataValueFromSecret
- type Operation
- type OperationDisplay
- type OperationListResult
- type OperationsClient
- type OperationsClientListOptions
- type OperationsClientListResponse
- type Origin
- type OutputResource
- type ProvisioningState
- type PubSubBrokersClient
- func (client *PubSubBrokersClient) BeginCreateOrUpdate(ctx context.Context, rootScope string, pubSubBrokerName string, ...) (*runtime.Poller[PubSubBrokersClientCreateOrUpdateResponse], error)
- func (client *PubSubBrokersClient) BeginDelete(ctx context.Context, rootScope string, pubSubBrokerName string, ...) (*runtime.Poller[PubSubBrokersClientDeleteResponse], error)
- func (client *PubSubBrokersClient) BeginUpdate(ctx context.Context, rootScope string, pubSubBrokerName string, ...) (*runtime.Poller[PubSubBrokersClientUpdateResponse], error)
- func (client *PubSubBrokersClient) Get(ctx context.Context, rootScope string, pubSubBrokerName string, ...) (PubSubBrokersClientGetResponse, error)
- func (client *PubSubBrokersClient) NewListByScopePager(rootScope string, options *PubSubBrokersClientListByScopeOptions) *runtime.Pager[PubSubBrokersClientListByScopeResponse]
- type PubSubBrokersClientBeginCreateOrUpdateOptions
- type PubSubBrokersClientBeginDeleteOptions
- type PubSubBrokersClientBeginUpdateOptions
- type PubSubBrokersClientCreateOrUpdateResponse
- type PubSubBrokersClientDeleteResponse
- type PubSubBrokersClientGetOptions
- type PubSubBrokersClientGetResponse
- type PubSubBrokersClientListByScopeOptions
- type PubSubBrokersClientListByScopeResponse
- type PubSubBrokersClientUpdateResponse
- type Recipe
- type RecipeStatus
- type ResourceProvisioning
- type ResourceReference
- type ResourceStatus
- type SecretStoresClient
- func (client *SecretStoresClient) BeginCreateOrUpdate(ctx context.Context, rootScope string, secretStoreName string, ...) (*runtime.Poller[SecretStoresClientCreateOrUpdateResponse], error)
- func (client *SecretStoresClient) BeginDelete(ctx context.Context, rootScope string, secretStoreName string, ...) (*runtime.Poller[SecretStoresClientDeleteResponse], error)
- func (client *SecretStoresClient) BeginUpdate(ctx context.Context, rootScope string, secretStoreName string, ...) (*runtime.Poller[SecretStoresClientUpdateResponse], error)
- func (client *SecretStoresClient) Get(ctx context.Context, rootScope string, secretStoreName string, ...) (SecretStoresClientGetResponse, error)
- func (client *SecretStoresClient) NewListByScopePager(rootScope string, options *SecretStoresClientListByScopeOptions) *runtime.Pager[SecretStoresClientListByScopeResponse]
- type SecretStoresClientBeginCreateOrUpdateOptions
- type SecretStoresClientBeginDeleteOptions
- type SecretStoresClientBeginUpdateOptions
- type SecretStoresClientCreateOrUpdateResponse
- type SecretStoresClientDeleteResponse
- type SecretStoresClientGetOptions
- type SecretStoresClientGetResponse
- type SecretStoresClientListByScopeOptions
- type SecretStoresClientListByScopeResponse
- type SecretStoresClientUpdateResponse
- type StateStoresClient
- func (client *StateStoresClient) BeginCreateOrUpdate(ctx context.Context, rootScope string, stateStoreName string, ...) (*runtime.Poller[StateStoresClientCreateOrUpdateResponse], error)
- func (client *StateStoresClient) BeginDelete(ctx context.Context, rootScope string, stateStoreName string, ...) (*runtime.Poller[StateStoresClientDeleteResponse], error)
- func (client *StateStoresClient) BeginUpdate(ctx context.Context, rootScope string, stateStoreName string, ...) (*runtime.Poller[StateStoresClientUpdateResponse], error)
- func (client *StateStoresClient) Get(ctx context.Context, rootScope string, stateStoreName string, ...) (StateStoresClientGetResponse, error)
- func (client *StateStoresClient) NewListByScopePager(rootScope string, options *StateStoresClientListByScopeOptions) *runtime.Pager[StateStoresClientListByScopeResponse]
- type StateStoresClientBeginCreateOrUpdateOptions
- type StateStoresClientBeginDeleteOptions
- type StateStoresClientBeginUpdateOptions
- type StateStoresClientCreateOrUpdateResponse
- type StateStoresClientDeleteResponse
- type StateStoresClientGetOptions
- type StateStoresClientGetResponse
- type StateStoresClientListByScopeOptions
- type StateStoresClientListByScopeResponse
- type StateStoresClientUpdateResponse
- type SystemData
Constants ¶
const Version = "2023-10-01-preview"
Version represents the api version in this package.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionType ¶
type ActionType string
ActionType - Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
const ( // ActionTypeInternal - Actions are for internal-only APIs. ActionTypeInternal ActionType = "Internal" )
func PossibleActionTypeValues ¶
func PossibleActionTypeValues() []ActionType
PossibleActionTypeValues returns the possible values for the ActionType const type.
type AzureContainerInstanceCompute ¶ added in v0.47.0
type AzureContainerInstanceCompute struct {
// REQUIRED; The Azure container instance compute kind
Kind *string
// Configuration for supported external identity providers
Identity *IdentitySettings
// The resource group to use for the environment.
ResourceGroup *string
// The resource id of the compute resource for application environment.
ResourceID *string
}
AzureContainerInstanceCompute - The Azure container instance compute configuration
func (*AzureContainerInstanceCompute) GetEnvironmentCompute ¶ added in v0.47.0
func (a *AzureContainerInstanceCompute) GetEnvironmentCompute() *EnvironmentCompute
GetEnvironmentCompute implements the EnvironmentComputeClassification interface for type AzureContainerInstanceCompute.
func (AzureContainerInstanceCompute) MarshalJSON ¶ added in v0.47.0
func (a AzureContainerInstanceCompute) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type AzureContainerInstanceCompute.
func (*AzureContainerInstanceCompute) UnmarshalJSON ¶ added in v0.47.0
func (a *AzureContainerInstanceCompute) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type AzureContainerInstanceCompute.
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(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.
- credential - used to authorize requests. Usually a credential from azidentity.
- options - pass nil to accept the default values.
func (*ClientFactory) NewConfigurationStoresClient ¶ added in v0.39.0
func (c *ClientFactory) NewConfigurationStoresClient() *ConfigurationStoresClient
NewConfigurationStoresClient creates a new instance of ConfigurationStoresClient.
func (*ClientFactory) NewOperationsClient ¶
func (c *ClientFactory) NewOperationsClient() *OperationsClient
NewOperationsClient creates a new instance of OperationsClient.
func (*ClientFactory) NewPubSubBrokersClient ¶
func (c *ClientFactory) NewPubSubBrokersClient() *PubSubBrokersClient
NewPubSubBrokersClient creates a new instance of PubSubBrokersClient.
func (*ClientFactory) NewSecretStoresClient ¶
func (c *ClientFactory) NewSecretStoresClient() *SecretStoresClient
NewSecretStoresClient creates a new instance of SecretStoresClient.
func (*ClientFactory) NewStateStoresClient ¶
func (c *ClientFactory) NewStateStoresClient() *StateStoresClient
NewStateStoresClient creates a new instance of StateStoresClient.
type ConfigurationStoresClient ¶ added in v0.39.0
type ConfigurationStoresClient struct {
// contains filtered or unexported fields
}
ConfigurationStoresClient contains the methods for the ConfigurationStores group. Don't use this type directly, use NewConfigurationStoresClient() instead.
Generated from API version 2023-10-01-preview
func NewConfigurationStoresClient ¶ added in v0.39.0
func NewConfigurationStoresClient(credential azcore.TokenCredential, options *arm.ClientOptions) (*ConfigurationStoresClient, error)
NewConfigurationStoresClient creates a new instance of ConfigurationStoresClient with the specified values.
- credential - used to authorize requests. Usually a credential from azidentity.
- options - Contains optional client configuration. Pass nil to accept the default values.
func (*ConfigurationStoresClient) BeginCreateOrUpdate ¶ added in v0.39.0
func (client *ConfigurationStoresClient) BeginCreateOrUpdate(ctx context.Context, rootScope string, configurationStoreName string, resource DaprConfigurationStoreResource, options *ConfigurationStoresClientBeginCreateOrUpdateOptions) (*runtime.Poller[ConfigurationStoresClientCreateOrUpdateResponse], error)
BeginCreateOrUpdate - Create a DaprConfigurationStoreResource If the operation fails it returns an *azcore.ResponseError type.
- rootScope - The scope in which the resource is present. UCP Scope is /planes/{planeType}/{planeName}/resourceGroup/{resourcegroupID} and Azure resource scope is /subscriptions/{subscriptionID}/resourceGroup/{resourcegroupID}
- configurationStoreName - Configuration Store name
- resource - Resource create parameters.
- options - ConfigurationStoresClientBeginCreateOrUpdateOptions contains the optional parameters for the ConfigurationStoresClient.BeginCreateOrUpdate method.
func (*ConfigurationStoresClient) BeginDelete ¶ added in v0.39.0
func (client *ConfigurationStoresClient) BeginDelete(ctx context.Context, rootScope string, configurationStoreName string, options *ConfigurationStoresClientBeginDeleteOptions) (*runtime.Poller[ConfigurationStoresClientDeleteResponse], error)
BeginDelete - Delete a DaprConfigurationStoreResource If the operation fails it returns an *azcore.ResponseError type.
- rootScope - The scope in which the resource is present. UCP Scope is /planes/{planeType}/{planeName}/resourceGroup/{resourcegroupID} and Azure resource scope is /subscriptions/{subscriptionID}/resourceGroup/{resourcegroupID}
- configurationStoreName - Configuration Store name
- options - ConfigurationStoresClientBeginDeleteOptions contains the optional parameters for the ConfigurationStoresClient.BeginDelete method.
func (*ConfigurationStoresClient) BeginUpdate ¶ added in v0.39.0
func (client *ConfigurationStoresClient) BeginUpdate(ctx context.Context, rootScope string, configurationStoreName string, properties DaprConfigurationStoreResource, options *ConfigurationStoresClientBeginUpdateOptions) (*runtime.Poller[ConfigurationStoresClientUpdateResponse], error)
BeginUpdate - Update a DaprConfigurationStoreResource If the operation fails it returns an *azcore.ResponseError type.
- rootScope - The scope in which the resource is present. UCP Scope is /planes/{planeType}/{planeName}/resourceGroup/{resourcegroupID} and Azure resource scope is /subscriptions/{subscriptionID}/resourceGroup/{resourcegroupID}
- configurationStoreName - Configuration Store name
- properties - The resource properties to be updated.
- options - ConfigurationStoresClientBeginUpdateOptions contains the optional parameters for the ConfigurationStoresClient.BeginUpdate method.
func (*ConfigurationStoresClient) Get ¶ added in v0.39.0
func (client *ConfigurationStoresClient) Get(ctx context.Context, rootScope string, configurationStoreName string, options *ConfigurationStoresClientGetOptions) (ConfigurationStoresClientGetResponse, error)
Get - Get a DaprConfigurationStoreResource If the operation fails it returns an *azcore.ResponseError type.
- rootScope - The scope in which the resource is present. UCP Scope is /planes/{planeType}/{planeName}/resourceGroup/{resourcegroupID} and Azure resource scope is /subscriptions/{subscriptionID}/resourceGroup/{resourcegroupID}
- configurationStoreName - Configuration Store name
- options - ConfigurationStoresClientGetOptions contains the optional parameters for the ConfigurationStoresClient.Get method.
func (*ConfigurationStoresClient) NewListByScopePager ¶ added in v0.39.0
func (client *ConfigurationStoresClient) NewListByScopePager(rootScope string, options *ConfigurationStoresClientListByScopeOptions) *runtime.Pager[ConfigurationStoresClientListByScopeResponse]
NewListByScopePager - List DaprConfigurationStoreResource resources by Scope
- rootScope - The scope in which the resource is present. UCP Scope is /planes/{planeType}/{planeName}/resourceGroup/{resourcegroupID} and Azure resource scope is /subscriptions/{subscriptionID}/resourceGroup/{resourcegroupID}
- options - ConfigurationStoresClientListByScopeOptions contains the optional parameters for the ConfigurationStoresClient.NewListByScopePager method.
type ConfigurationStoresClientBeginCreateOrUpdateOptions ¶ added in v0.39.0
type ConfigurationStoresClientBeginCreateOrUpdateOptions struct {
// Resumes the long-running operation from the provided token.
ResumeToken string
}
ConfigurationStoresClientBeginCreateOrUpdateOptions contains the optional parameters for the ConfigurationStoresClient.BeginCreateOrUpdate method.
type ConfigurationStoresClientBeginDeleteOptions ¶ added in v0.39.0
type ConfigurationStoresClientBeginDeleteOptions struct {
// Resumes the long-running operation from the provided token.
ResumeToken string
}
ConfigurationStoresClientBeginDeleteOptions contains the optional parameters for the ConfigurationStoresClient.BeginDelete method.
type ConfigurationStoresClientBeginUpdateOptions ¶ added in v0.39.0
type ConfigurationStoresClientBeginUpdateOptions struct {
// Resumes the long-running operation from the provided token.
ResumeToken string
}
ConfigurationStoresClientBeginUpdateOptions contains the optional parameters for the ConfigurationStoresClient.BeginUpdate method.
type ConfigurationStoresClientCreateOrUpdateResponse ¶ added in v0.39.0
type ConfigurationStoresClientCreateOrUpdateResponse struct {
// Dapr configuration store portable resource
DaprConfigurationStoreResource
}
ConfigurationStoresClientCreateOrUpdateResponse contains the response from method ConfigurationStoresClient.BeginCreateOrUpdate.
type ConfigurationStoresClientDeleteResponse ¶ added in v0.39.0
type ConfigurationStoresClientDeleteResponse struct {
}
ConfigurationStoresClientDeleteResponse contains the response from method ConfigurationStoresClient.BeginDelete.
type ConfigurationStoresClientGetOptions ¶ added in v0.39.0
type ConfigurationStoresClientGetOptions struct {
}
ConfigurationStoresClientGetOptions contains the optional parameters for the ConfigurationStoresClient.Get method.
type ConfigurationStoresClientGetResponse ¶ added in v0.39.0
type ConfigurationStoresClientGetResponse struct {
// Dapr configuration store portable resource
DaprConfigurationStoreResource
}
ConfigurationStoresClientGetResponse contains the response from method ConfigurationStoresClient.Get.
type ConfigurationStoresClientListByScopeOptions ¶ added in v0.39.0
type ConfigurationStoresClientListByScopeOptions struct {
}
ConfigurationStoresClientListByScopeOptions contains the optional parameters for the ConfigurationStoresClient.NewListByScopePager method.
type ConfigurationStoresClientListByScopeResponse ¶ added in v0.39.0
type ConfigurationStoresClientListByScopeResponse struct {
// The response of a DaprConfigurationStoreResource list operation.
DaprConfigurationStoreResourceListResult
}
ConfigurationStoresClientListByScopeResponse contains the response from method ConfigurationStoresClient.NewListByScopePager.
type ConfigurationStoresClientUpdateResponse ¶ added in v0.39.0
type ConfigurationStoresClientUpdateResponse struct {
// Dapr configuration store portable resource
DaprConfigurationStoreResource
}
ConfigurationStoresClientUpdateResponse contains the response from method ConfigurationStoresClient.BeginUpdate.
type CreatedByType ¶
type CreatedByType string
CreatedByType - The kind of entity that created the resource.
const ( // CreatedByTypeApplication - The entity was created by an application. CreatedByTypeApplication CreatedByType = "Application" // CreatedByTypeKey - The entity was created by a key. CreatedByTypeKey CreatedByType = "Key" // CreatedByTypeManagedIdentity - The entity was created by a managed identity. CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity" // CreatedByTypeUser - The entity was created by a user. CreatedByTypeUser CreatedByType = "User" )
func PossibleCreatedByTypeValues ¶
func PossibleCreatedByTypeValues() []CreatedByType
PossibleCreatedByTypeValues returns the possible values for the CreatedByType const type.
type DaprConfigurationStoreProperties ¶ added in v0.39.0
type DaprConfigurationStoreProperties struct {
// REQUIRED; Fully qualified resource ID for the environment that the portable resource is linked to
Environment *string
// Fully qualified resource ID for the application that the portable resource is consumed by (if applicable)
Application *string
// The name of the Dapr component to be used as a secret store
Auth *DaprResourceAuth
// The metadata for Dapr resource which must match the values specified in Dapr component spec
Metadata map[string]*MetadataValue
// The recipe used to automatically deploy underlying infrastructure for the resource
Recipe *Recipe
// Specifies how the underlying service/resource is provisioned and managed.
ResourceProvisioning *ResourceProvisioning
// A collection of references to resources associated with the configuration store
Resources []*ResourceReference
// Dapr component type which must matches the format used by Dapr Kubernetes configuration format
Type *string
// Dapr component version
Version *string
// READ-ONLY; The name of the Dapr component object. Use this value in your code when interacting with the Dapr client to
// use the Dapr component.
ComponentName *string
// READ-ONLY; The status of the asynchronous operation.
ProvisioningState *ProvisioningState
// READ-ONLY; Status of a resource.
Status *ResourceStatus
}
DaprConfigurationStoreProperties - Dapr configuration store portable resource properties
func (DaprConfigurationStoreProperties) MarshalJSON ¶ added in v0.39.0
func (d DaprConfigurationStoreProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DaprConfigurationStoreProperties.
func (*DaprConfigurationStoreProperties) UnmarshalJSON ¶ added in v0.39.0
func (d *DaprConfigurationStoreProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DaprConfigurationStoreProperties.
type DaprConfigurationStoreResource ¶ added in v0.39.0
type DaprConfigurationStoreResource struct {
// REQUIRED; The geo-location where the resource lives
Location *string
// REQUIRED; The resource-specific properties for this resource.
Properties *DaprConfigurationStoreProperties
// Resource tags.
Tags map[string]*string
// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
ID *string
// READ-ONLY; The name of the resource
Name *string
// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
SystemData *SystemData
// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Type *string
}
DaprConfigurationStoreResource - Dapr configuration store portable resource
func (*DaprConfigurationStoreResource) ConvertFrom ¶ added in v0.39.0
func (dst *DaprConfigurationStoreResource) ConvertFrom(src v1.DataModelInterface) error
ConvertFrom converts from version-agnostic datamodel to the versioned DaprConfigurationStore resource. If the DataModelInterface is not of the correct type, an error is returned.
func (*DaprConfigurationStoreResource) ConvertTo ¶ added in v0.39.0
func (src *DaprConfigurationStoreResource) ConvertTo() (v1.DataModelInterface, error)
ConvertTo converts a versioned DaprConfigurationStoreResource to a version-agnostic DaprConfigurationStore. It returns an error if the mode is not specified or if the required properties for the mode are not specified.
func (DaprConfigurationStoreResource) MarshalJSON ¶ added in v0.39.0
func (d DaprConfigurationStoreResource) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DaprConfigurationStoreResource.
func (*DaprConfigurationStoreResource) UnmarshalJSON ¶ added in v0.39.0
func (d *DaprConfigurationStoreResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DaprConfigurationStoreResource.
type DaprConfigurationStoreResourceListResult ¶ added in v0.39.0
type DaprConfigurationStoreResourceListResult struct {
// REQUIRED; The DaprConfigurationStoreResource items on this page
Value []*DaprConfigurationStoreResource
// The link to the next page of items
NextLink *string
}
DaprConfigurationStoreResourceListResult - The response of a DaprConfigurationStoreResource list operation.
func (DaprConfigurationStoreResourceListResult) MarshalJSON ¶ added in v0.39.0
func (d DaprConfigurationStoreResourceListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DaprConfigurationStoreResourceListResult.
func (*DaprConfigurationStoreResourceListResult) UnmarshalJSON ¶ added in v0.39.0
func (d *DaprConfigurationStoreResourceListResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DaprConfigurationStoreResourceListResult.
type DaprPubSubBrokerProperties ¶
type DaprPubSubBrokerProperties struct {
// REQUIRED; Fully qualified resource ID for the environment that the portable resource is linked to
Environment *string
// Fully qualified resource ID for the application that the portable resource is consumed by (if applicable)
Application *string
// The name of the Dapr component to be used as a secret store
Auth *DaprResourceAuth
// The metadata for Dapr resource which must match the values specified in Dapr component spec
Metadata map[string]*MetadataValue
// The recipe used to automatically deploy underlying infrastructure for the resource
Recipe *Recipe
// Specifies how the underlying service/resource is provisioned and managed.
ResourceProvisioning *ResourceProvisioning
// A collection of references to resources associated with the pubSubBroker
Resources []*ResourceReference
// Dapr component type which must matches the format used by Dapr Kubernetes configuration format
Type *string
// Dapr component version
Version *string
// READ-ONLY; The name of the Dapr component object. Use this value in your code when interacting with the Dapr client to
// use the Dapr component.
ComponentName *string
// READ-ONLY; The status of the asynchronous operation.
ProvisioningState *ProvisioningState
// READ-ONLY; Status of a resource.
Status *ResourceStatus
}
DaprPubSubBrokerProperties - Dapr PubSubBroker portable resource properties
func (DaprPubSubBrokerProperties) MarshalJSON ¶
func (d DaprPubSubBrokerProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DaprPubSubBrokerProperties.
func (*DaprPubSubBrokerProperties) UnmarshalJSON ¶
func (d *DaprPubSubBrokerProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DaprPubSubBrokerProperties.
type DaprPubSubBrokerResource ¶
type DaprPubSubBrokerResource struct {
// REQUIRED; The geo-location where the resource lives
Location *string
// REQUIRED; The resource-specific properties for this resource.
Properties *DaprPubSubBrokerProperties
// Resource tags.
Tags map[string]*string
// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
ID *string
// READ-ONLY; The name of the resource
Name *string
// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
SystemData *SystemData
// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Type *string
}
DaprPubSubBrokerResource - Dapr PubSubBroker portable resource
func (*DaprPubSubBrokerResource) ConvertFrom ¶
func (dst *DaprPubSubBrokerResource) ConvertFrom(src v1.DataModelInterface) error
ConvertFrom converts from version-agnostic datamodel to the versioned DaprPubSubBroker resource. If the DataModelInterface is not of the correct type, an error is returned.
func (*DaprPubSubBrokerResource) ConvertTo ¶
func (src *DaprPubSubBrokerResource) ConvertTo() (v1.DataModelInterface, error)
ConvertTo converts a versioned DaprPubSubBrokerResource to a version-agnostic DaprPubSubBroker. It returns an error if the mode is not specified or if the required properties for the mode are not specified.
func (DaprPubSubBrokerResource) MarshalJSON ¶
func (d DaprPubSubBrokerResource) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DaprPubSubBrokerResource.
func (*DaprPubSubBrokerResource) UnmarshalJSON ¶
func (d *DaprPubSubBrokerResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DaprPubSubBrokerResource.
type DaprPubSubBrokerResourceListResult ¶
type DaprPubSubBrokerResourceListResult struct {
// REQUIRED; The DaprPubSubBrokerResource items on this page
Value []*DaprPubSubBrokerResource
// The link to the next page of items
NextLink *string
}
DaprPubSubBrokerResourceListResult - The response of a DaprPubSubBrokerResource list operation.
func (DaprPubSubBrokerResourceListResult) MarshalJSON ¶
func (d DaprPubSubBrokerResourceListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DaprPubSubBrokerResourceListResult.
func (*DaprPubSubBrokerResourceListResult) UnmarshalJSON ¶
func (d *DaprPubSubBrokerResourceListResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DaprPubSubBrokerResourceListResult.
type DaprResourceAuth ¶ added in v0.38.0
type DaprResourceAuth struct {
// Secret store to fetch secrets from
SecretStore *string
}
DaprResourceAuth - Authentication properties for a Dapr component object
func (DaprResourceAuth) MarshalJSON ¶ added in v0.38.0
func (d DaprResourceAuth) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DaprResourceAuth.
func (*DaprResourceAuth) UnmarshalJSON ¶ added in v0.38.0
func (d *DaprResourceAuth) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DaprResourceAuth.
type DaprSecretStoreProperties ¶
type DaprSecretStoreProperties struct {
// REQUIRED; Fully qualified resource ID for the environment that the portable resource is linked to
Environment *string
// Fully qualified resource ID for the application that the portable resource is consumed by (if applicable)
Application *string
// The metadata for Dapr resource which must match the values specified in Dapr component spec
Metadata map[string]*MetadataValue
// The recipe used to automatically deploy underlying infrastructure for the resource
Recipe *Recipe
// Specifies how the underlying service/resource is provisioned and managed.
ResourceProvisioning *ResourceProvisioning
// Dapr component type which must matches the format used by Dapr Kubernetes configuration format
Type *string
// Dapr component version
Version *string
// READ-ONLY; The name of the Dapr component object. Use this value in your code when interacting with the Dapr client to
// use the Dapr component.
ComponentName *string
// READ-ONLY; The status of the asynchronous operation.
ProvisioningState *ProvisioningState
// READ-ONLY; Status of a resource.
Status *ResourceStatus
}
DaprSecretStoreProperties - Dapr SecretStore portable resource properties
func (DaprSecretStoreProperties) MarshalJSON ¶
func (d DaprSecretStoreProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DaprSecretStoreProperties.
func (*DaprSecretStoreProperties) UnmarshalJSON ¶
func (d *DaprSecretStoreProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DaprSecretStoreProperties.
type DaprSecretStoreResource ¶
type DaprSecretStoreResource struct {
// REQUIRED; The geo-location where the resource lives
Location *string
// REQUIRED; The resource-specific properties for this resource.
Properties *DaprSecretStoreProperties
// Resource tags.
Tags map[string]*string
// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
ID *string
// READ-ONLY; The name of the resource
Name *string
// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
SystemData *SystemData
// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Type *string
}
DaprSecretStoreResource - Dapr SecretStore portable resource
func (*DaprSecretStoreResource) ConvertFrom ¶
func (dst *DaprSecretStoreResource) ConvertFrom(src v1.DataModelInterface) error
ConvertFrom converts a version-agnostic DataModelInterface to a versionined DaprSecretStoreResource. It returns an error if the mode is unsupported or required properties are missing.
func (*DaprSecretStoreResource) ConvertTo ¶
func (src *DaprSecretStoreResource) ConvertTo() (v1.DataModelInterface, error)
ConvertTo converts from the versioned DaprSecretStore resource to version-agnostic datamodel and returns an error if the resourceProvisioning is set to manual and the required fields are not specified.
func (DaprSecretStoreResource) MarshalJSON ¶
func (d DaprSecretStoreResource) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DaprSecretStoreResource.
func (*DaprSecretStoreResource) UnmarshalJSON ¶
func (d *DaprSecretStoreResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DaprSecretStoreResource.
type DaprSecretStoreResourceListResult ¶
type DaprSecretStoreResourceListResult struct {
// REQUIRED; The DaprSecretStoreResource items on this page
Value []*DaprSecretStoreResource
// The link to the next page of items
NextLink *string
}
DaprSecretStoreResourceListResult - The response of a DaprSecretStoreResource list operation.
func (DaprSecretStoreResourceListResult) MarshalJSON ¶
func (d DaprSecretStoreResourceListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DaprSecretStoreResourceListResult.
func (*DaprSecretStoreResourceListResult) UnmarshalJSON ¶
func (d *DaprSecretStoreResourceListResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DaprSecretStoreResourceListResult.
type DaprStateStoreProperties ¶
type DaprStateStoreProperties struct {
// REQUIRED; Fully qualified resource ID for the environment that the portable resource is linked to
Environment *string
// Fully qualified resource ID for the application that the portable resource is consumed by (if applicable)
Application *string
// The name of the Dapr component to be used as a secret store
Auth *DaprResourceAuth
// The metadata for Dapr resource which must match the values specified in Dapr component spec
Metadata map[string]*MetadataValue
// The recipe used to automatically deploy underlying infrastructure for the resource
Recipe *Recipe
// Specifies how the underlying service/resource is provisioned and managed.
ResourceProvisioning *ResourceProvisioning
// A collection of references to resources associated with the state store
Resources []*ResourceReference
// Dapr component type which must matches the format used by Dapr Kubernetes configuration format
Type *string
// Dapr component version
Version *string
// READ-ONLY; The name of the Dapr component object. Use this value in your code when interacting with the Dapr client to
// use the Dapr component.
ComponentName *string
// READ-ONLY; The status of the asynchronous operation.
ProvisioningState *ProvisioningState
// READ-ONLY; Status of a resource.
Status *ResourceStatus
}
DaprStateStoreProperties - Dapr StateStore portable resource properties
func (DaprStateStoreProperties) MarshalJSON ¶
func (d DaprStateStoreProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DaprStateStoreProperties.
func (*DaprStateStoreProperties) UnmarshalJSON ¶
func (d *DaprStateStoreProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DaprStateStoreProperties.
type DaprStateStoreResource ¶
type DaprStateStoreResource struct {
// REQUIRED; The geo-location where the resource lives
Location *string
// REQUIRED; The resource-specific properties for this resource.
Properties *DaprStateStoreProperties
// Resource tags.
Tags map[string]*string
// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
ID *string
// READ-ONLY; The name of the resource
Name *string
// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
SystemData *SystemData
// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Type *string
}
DaprStateStoreResource - Dapr StateStore portable resource
func (*DaprStateStoreResource) ConvertFrom ¶
func (dst *DaprStateStoreResource) ConvertFrom(src v1.DataModelInterface) error
ConvertFrom converts a version-agnostic DataModelInterface to a versioned DaprStateStoreResource and returns an error if the conversion fails or the mode of the DaprStateStore is not specified.
func (*DaprStateStoreResource) ConvertTo ¶
func (src *DaprStateStoreResource) ConvertTo() (v1.DataModelInterface, error)
ConvertTo converts from the versioned DaprStateStore resource to version-agnostic datamodel and returns an error if the resourceProvisioning is set to manual and the required fields are not specified.
func (DaprStateStoreResource) MarshalJSON ¶
func (d DaprStateStoreResource) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DaprStateStoreResource.
func (*DaprStateStoreResource) UnmarshalJSON ¶
func (d *DaprStateStoreResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DaprStateStoreResource.
type DaprStateStoreResourceListResult ¶
type DaprStateStoreResourceListResult struct {
// REQUIRED; The DaprStateStoreResource items on this page
Value []*DaprStateStoreResource
// The link to the next page of items
NextLink *string
}
DaprStateStoreResourceListResult - The response of a DaprStateStoreResource list operation.
func (DaprStateStoreResourceListResult) MarshalJSON ¶
func (d DaprStateStoreResourceListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DaprStateStoreResourceListResult.
func (*DaprStateStoreResourceListResult) UnmarshalJSON ¶
func (d *DaprStateStoreResourceListResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DaprStateStoreResourceListResult.
type EnvironmentCompute ¶
type EnvironmentCompute struct {
// REQUIRED; Discriminator property for EnvironmentCompute.
Kind *string
// Configuration for supported external identity providers
Identity *IdentitySettings
// The resource id of the compute resource for application environment.
ResourceID *string
}
EnvironmentCompute - Represents backing compute resource
func (*EnvironmentCompute) GetEnvironmentCompute ¶
func (e *EnvironmentCompute) GetEnvironmentCompute() *EnvironmentCompute
GetEnvironmentCompute implements the EnvironmentComputeClassification interface for type EnvironmentCompute.
func (EnvironmentCompute) MarshalJSON ¶
func (e EnvironmentCompute) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type EnvironmentCompute.
func (*EnvironmentCompute) UnmarshalJSON ¶
func (e *EnvironmentCompute) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type EnvironmentCompute.
type EnvironmentComputeClassification ¶
type EnvironmentComputeClassification interface {
// GetEnvironmentCompute returns the EnvironmentCompute content of the underlying type.
GetEnvironmentCompute() *EnvironmentCompute
}
EnvironmentComputeClassification provides polymorphic access to related types. Call the interface's GetEnvironmentCompute() method to access the common type. Use a type switch to determine the concrete type. The possible types are: - *AzureContainerInstanceCompute, *EnvironmentCompute, *KubernetesCompute
type IdentitySettingKind ¶
type IdentitySettingKind string
IdentitySettingKind - IdentitySettingKind is the kind of supported external identity setting
const ( // IdentitySettingKindAzureComWorkload - azure ad workload identity IdentitySettingKindAzureComWorkload IdentitySettingKind = "azure.com.workload" // IdentitySettingKindSystemAssigned - System assigned managed identity IdentitySettingKindSystemAssigned IdentitySettingKind = "systemAssigned" // IdentitySettingKindSystemAssignedUserAssigned - System assigned and user assigned managed identity IdentitySettingKindSystemAssignedUserAssigned IdentitySettingKind = "systemAssignedUserAssigned" // IdentitySettingKindUndefined - undefined identity IdentitySettingKindUndefined IdentitySettingKind = "undefined" // IdentitySettingKindUserAssigned - User assigned managed identity IdentitySettingKindUserAssigned IdentitySettingKind = "userAssigned" )
func PossibleIdentitySettingKindValues ¶
func PossibleIdentitySettingKindValues() []IdentitySettingKind
PossibleIdentitySettingKindValues returns the possible values for the IdentitySettingKind const type.
type IdentitySettings ¶
type IdentitySettings struct {
// REQUIRED; kind of identity setting
Kind *IdentitySettingKind
// The list of user assigned managed identities
ManagedIdentity []*string
// The URI for your compute platform's OIDC issuer
OidcIssuer *string
// The resource ID of the provisioned identity
Resource *string
}
IdentitySettings is the external identity setting.
func (IdentitySettings) MarshalJSON ¶
func (i IdentitySettings) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type IdentitySettings.
func (*IdentitySettings) UnmarshalJSON ¶
func (i *IdentitySettings) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type IdentitySettings.
type KubernetesCompute ¶
type KubernetesCompute struct {
// REQUIRED; The Kubernetes compute kind
Kind *string
// REQUIRED; The namespace to use for the environment.
Namespace *string
// Configuration for supported external identity providers
Identity *IdentitySettings
// The resource id of the compute resource for application environment.
ResourceID *string
}
KubernetesCompute - The Kubernetes compute configuration
func (*KubernetesCompute) GetEnvironmentCompute ¶
func (k *KubernetesCompute) GetEnvironmentCompute() *EnvironmentCompute
GetEnvironmentCompute implements the EnvironmentComputeClassification interface for type KubernetesCompute.
func (KubernetesCompute) MarshalJSON ¶
func (k KubernetesCompute) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type KubernetesCompute.
func (*KubernetesCompute) UnmarshalJSON ¶
func (k *KubernetesCompute) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type KubernetesCompute.
type MetadataValue ¶ added in v0.38.0
type MetadataValue struct {
// A reference of a value in a secret store component
SecretKeyRef *MetadataValueFromSecret
// The plain text value of the metadata
Value *string
}
MetadataValue - A single metadata for a Dapr component object
func (MetadataValue) MarshalJSON ¶ added in v0.38.0
func (m MetadataValue) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type MetadataValue.
func (*MetadataValue) UnmarshalJSON ¶ added in v0.38.0
func (m *MetadataValue) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type MetadataValue.
type MetadataValueFromSecret ¶ added in v0.38.0
type MetadataValueFromSecret struct {
// REQUIRED; The field to select in the secret value. If the secret value is a string, it should be equal to the secret name
Key *string
// REQUIRED; Secret name in the secret store component
Name *string
}
MetadataValueFromSecret - A reference of a value in a secret store component.
func (MetadataValueFromSecret) MarshalJSON ¶ added in v0.38.0
func (m MetadataValueFromSecret) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type MetadataValueFromSecret.
func (*MetadataValueFromSecret) UnmarshalJSON ¶ added in v0.38.0
func (m *MetadataValueFromSecret) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type MetadataValueFromSecret.
type Operation ¶
type Operation struct {
// Localized display information for this particular operation.
Display *OperationDisplay
// READ-ONLY; Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
ActionType *ActionType
// READ-ONLY; Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for Azure
// Resource Manager/control-plane operations.
IsDataAction *bool
// READ-ONLY; The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write",
// "Microsoft.Compute/virtualMachines/capture/action"
Name *string
// READ-ONLY; The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default
// value is "user,system"
Origin *Origin
}
Operation - REST API Operation
Details of a REST API operation, returned from the Resource Provider Operations API
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 {
// READ-ONLY; The short, localized friendly description of the operation; suitable for tool tips and detailed views.
Description *string
// READ-ONLY; The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual
// Machine", "Restart Virtual Machine".
Operation *string
// READ-ONLY; The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft
// Compute".
Provider *string
// READ-ONLY; The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job
// Schedule Collections".
Resource *string
}
OperationDisplay - Localized display information for an 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 {
// REQUIRED; The Operation items on this page
Value []*Operation
// The link to the next page of items
NextLink *string
}
OperationListResult - A list of REST API operations supported by an Azure Resource Provider. It contains an 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 OperationsClient ¶
type OperationsClient struct {
// contains filtered or unexported fields
}
OperationsClient contains the methods for the Operations group. Don't use this type directly, use NewOperationsClient() instead.
Generated from API version 2023-10-01-preview
func NewOperationsClient ¶
func NewOperationsClient(credential azcore.TokenCredential, options *arm.ClientOptions) (*OperationsClient, error)
NewOperationsClient creates a new instance of OperationsClient with the specified values.
- credential - used to authorize requests. Usually a credential from azidentity.
- options - Contains optional client configuration. Pass nil to accept the default values.
func (*OperationsClient) NewListPager ¶
func (client *OperationsClient) NewListPager(options *OperationsClientListOptions) *runtime.Pager[OperationsClientListResponse]
NewListPager - List the operations for the provider
- options - OperationsClientListOptions contains the optional parameters for the OperationsClient.NewListPager method.
type OperationsClientListOptions ¶
type OperationsClientListOptions struct {
}
OperationsClientListOptions contains the optional parameters for the OperationsClient.NewListPager method.
type OperationsClientListResponse ¶
type OperationsClientListResponse struct {
// A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results.
OperationListResult
}
OperationsClientListResponse contains the response from method OperationsClient.NewListPager.
type Origin ¶
type Origin string
Origin - The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
const ( // OriginSystem - Indicates the operation is initiated by a system. OriginSystem Origin = "system" // OriginUser - Indicates the operation is initiated by a user. OriginUser Origin = "user" // OriginUserSystem - Indicates the operation is initiated by a user or system. OriginUserSystem Origin = "user,system" )
func PossibleOriginValues ¶
func PossibleOriginValues() []Origin
PossibleOriginValues returns the possible values for the Origin const type.
type OutputResource ¶
type OutputResource struct {
// The UCP resource ID of the underlying resource.
ID *string
// The logical identifier scoped to the owning Radius resource. This is only needed or used when a resource has a dependency
// relationship. LocalIDs do not have any particular format or meaning beyond being compared to determine dependency relationships.
LocalID *string
// Determines whether Radius manages the lifecycle of the underlying resource.
RadiusManaged *bool
}
OutputResource - Properties of an output resource.
func (OutputResource) MarshalJSON ¶
func (o OutputResource) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type OutputResource.
func (*OutputResource) UnmarshalJSON ¶
func (o *OutputResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type OutputResource.
type ProvisioningState ¶
type ProvisioningState string
ProvisioningState - Provisioning state of the resource at the time the operation was called
const ( // ProvisioningStateAccepted - The resource create request has been accepted ProvisioningStateAccepted ProvisioningState = "Accepted" // ProvisioningStateCanceled - The resource provisioning has been canceled ProvisioningStateCanceled ProvisioningState = "Canceled" // ProvisioningStateCreating - The resource is being created ProvisioningStateCreating ProvisioningState = "Creating" // ProvisioningStateDeleting - The resource is being deleted ProvisioningStateDeleting ProvisioningState = "Deleting" // ProvisioningStateFailed - The resource provisioning has failed ProvisioningStateFailed ProvisioningState = "Failed" // ProvisioningStateProvisioning - The resource is being provisioned ProvisioningStateProvisioning ProvisioningState = "Provisioning" // ProvisioningStateSucceeded - The resource has been successfully provisioned ProvisioningStateSucceeded ProvisioningState = "Succeeded" // ProvisioningStateUpdating - The resource is being updated ProvisioningStateUpdating ProvisioningState = "Updating" )
func PossibleProvisioningStateValues ¶
func PossibleProvisioningStateValues() []ProvisioningState
PossibleProvisioningStateValues returns the possible values for the ProvisioningState const type.
type PubSubBrokersClient ¶
type PubSubBrokersClient struct {
// contains filtered or unexported fields
}
PubSubBrokersClient contains the methods for the PubSubBrokers group. Don't use this type directly, use NewPubSubBrokersClient() instead.
Generated from API version 2023-10-01-preview
func NewPubSubBrokersClient ¶
func NewPubSubBrokersClient(credential azcore.TokenCredential, options *arm.ClientOptions) (*PubSubBrokersClient, error)
NewPubSubBrokersClient creates a new instance of PubSubBrokersClient with the specified values.
- credential - used to authorize requests. Usually a credential from azidentity.
- options - Contains optional client configuration. Pass nil to accept the default values.
func (*PubSubBrokersClient) BeginCreateOrUpdate ¶
func (client *PubSubBrokersClient) BeginCreateOrUpdate(ctx context.Context, rootScope string, pubSubBrokerName string, resource DaprPubSubBrokerResource, options *PubSubBrokersClientBeginCreateOrUpdateOptions) (*runtime.Poller[PubSubBrokersClientCreateOrUpdateResponse], error)
BeginCreateOrUpdate - Create a DaprPubSubBrokerResource If the operation fails it returns an *azcore.ResponseError type.
- rootScope - The scope in which the resource is present. UCP Scope is /planes/{planeType}/{planeName}/resourceGroup/{resourcegroupID} and Azure resource scope is /subscriptions/{subscriptionID}/resourceGroup/{resourcegroupID}
- pubSubBrokerName - PubSubBroker name
- resource - Resource create parameters.
- options - PubSubBrokersClientBeginCreateOrUpdateOptions contains the optional parameters for the PubSubBrokersClient.BeginCreateOrUpdate method.
func (*PubSubBrokersClient) BeginDelete ¶
func (client *PubSubBrokersClient) BeginDelete(ctx context.Context, rootScope string, pubSubBrokerName string, options *PubSubBrokersClientBeginDeleteOptions) (*runtime.Poller[PubSubBrokersClientDeleteResponse], error)
BeginDelete - Delete a DaprPubSubBrokerResource If the operation fails it returns an *azcore.ResponseError type.
- rootScope - The scope in which the resource is present. UCP Scope is /planes/{planeType}/{planeName}/resourceGroup/{resourcegroupID} and Azure resource scope is /subscriptions/{subscriptionID}/resourceGroup/{resourcegroupID}
- pubSubBrokerName - PubSubBroker name
- options - PubSubBrokersClientBeginDeleteOptions contains the optional parameters for the PubSubBrokersClient.BeginDelete method.
func (*PubSubBrokersClient) BeginUpdate ¶
func (client *PubSubBrokersClient) BeginUpdate(ctx context.Context, rootScope string, pubSubBrokerName string, properties DaprPubSubBrokerResource, options *PubSubBrokersClientBeginUpdateOptions) (*runtime.Poller[PubSubBrokersClientUpdateResponse], error)
BeginUpdate - Update a DaprPubSubBrokerResource If the operation fails it returns an *azcore.ResponseError type.
- rootScope - The scope in which the resource is present. UCP Scope is /planes/{planeType}/{planeName}/resourceGroup/{resourcegroupID} and Azure resource scope is /subscriptions/{subscriptionID}/resourceGroup/{resourcegroupID}
- pubSubBrokerName - PubSubBroker name
- properties - The resource properties to be updated.
- options - PubSubBrokersClientBeginUpdateOptions contains the optional parameters for the PubSubBrokersClient.BeginUpdate method.
func (*PubSubBrokersClient) Get ¶
func (client *PubSubBrokersClient) Get(ctx context.Context, rootScope string, pubSubBrokerName string, options *PubSubBrokersClientGetOptions) (PubSubBrokersClientGetResponse, error)
Get - Get a DaprPubSubBrokerResource If the operation fails it returns an *azcore.ResponseError type.
- rootScope - The scope in which the resource is present. UCP Scope is /planes/{planeType}/{planeName}/resourceGroup/{resourcegroupID} and Azure resource scope is /subscriptions/{subscriptionID}/resourceGroup/{resourcegroupID}
- pubSubBrokerName - PubSubBroker name
- options - PubSubBrokersClientGetOptions contains the optional parameters for the PubSubBrokersClient.Get method.
func (*PubSubBrokersClient) NewListByScopePager ¶
func (client *PubSubBrokersClient) NewListByScopePager(rootScope string, options *PubSubBrokersClientListByScopeOptions) *runtime.Pager[PubSubBrokersClientListByScopeResponse]
NewListByScopePager - List DaprPubSubBrokerResource resources by Scope
- rootScope - The scope in which the resource is present. UCP Scope is /planes/{planeType}/{planeName}/resourceGroup/{resourcegroupID} and Azure resource scope is /subscriptions/{subscriptionID}/resourceGroup/{resourcegroupID}
- options - PubSubBrokersClientListByScopeOptions contains the optional parameters for the PubSubBrokersClient.NewListByScopePager method.
type PubSubBrokersClientBeginCreateOrUpdateOptions ¶
type PubSubBrokersClientBeginCreateOrUpdateOptions struct {
// Resumes the long-running operation from the provided token.
ResumeToken string
}
PubSubBrokersClientBeginCreateOrUpdateOptions contains the optional parameters for the PubSubBrokersClient.BeginCreateOrUpdate method.
type PubSubBrokersClientBeginDeleteOptions ¶
type PubSubBrokersClientBeginDeleteOptions struct {
// Resumes the long-running operation from the provided token.
ResumeToken string
}
PubSubBrokersClientBeginDeleteOptions contains the optional parameters for the PubSubBrokersClient.BeginDelete method.
type PubSubBrokersClientBeginUpdateOptions ¶
type PubSubBrokersClientBeginUpdateOptions struct {
// Resumes the long-running operation from the provided token.
ResumeToken string
}
PubSubBrokersClientBeginUpdateOptions contains the optional parameters for the PubSubBrokersClient.BeginUpdate method.
type PubSubBrokersClientCreateOrUpdateResponse ¶
type PubSubBrokersClientCreateOrUpdateResponse struct {
// Dapr PubSubBroker portable resource
DaprPubSubBrokerResource
}
PubSubBrokersClientCreateOrUpdateResponse contains the response from method PubSubBrokersClient.BeginCreateOrUpdate.
type PubSubBrokersClientDeleteResponse ¶
type PubSubBrokersClientDeleteResponse struct {
}
PubSubBrokersClientDeleteResponse contains the response from method PubSubBrokersClient.BeginDelete.
type PubSubBrokersClientGetOptions ¶
type PubSubBrokersClientGetOptions struct {
}
PubSubBrokersClientGetOptions contains the optional parameters for the PubSubBrokersClient.Get method.
type PubSubBrokersClientGetResponse ¶
type PubSubBrokersClientGetResponse struct {
// Dapr PubSubBroker portable resource
DaprPubSubBrokerResource
}
PubSubBrokersClientGetResponse contains the response from method PubSubBrokersClient.Get.
type PubSubBrokersClientListByScopeOptions ¶
type PubSubBrokersClientListByScopeOptions struct {
}
PubSubBrokersClientListByScopeOptions contains the optional parameters for the PubSubBrokersClient.NewListByScopePager method.
type PubSubBrokersClientListByScopeResponse ¶
type PubSubBrokersClientListByScopeResponse struct {
// The response of a DaprPubSubBrokerResource list operation.
DaprPubSubBrokerResourceListResult
}
PubSubBrokersClientListByScopeResponse contains the response from method PubSubBrokersClient.NewListByScopePager.
type PubSubBrokersClientUpdateResponse ¶
type PubSubBrokersClientUpdateResponse struct {
// Dapr PubSubBroker portable resource
DaprPubSubBrokerResource
}
PubSubBrokersClientUpdateResponse contains the response from method PubSubBrokersClient.BeginUpdate.
type Recipe ¶
type Recipe struct {
// REQUIRED; The name of the recipe within the environment to use
Name *string
// Key/value parameters to pass into the recipe at deployment
Parameters map[string]any
}
Recipe - The recipe used to automatically deploy underlying infrastructure for a portable resource
func (Recipe) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type Recipe.
func (*Recipe) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaller interface for type Recipe.
type RecipeStatus ¶ added in v0.27.0
type RecipeStatus struct {
// REQUIRED; TemplateKind is the kind of the recipe template used by the portable resource upon deployment.
TemplateKind *string
// REQUIRED; TemplatePath is the path of the recipe consumed by the portable resource upon deployment.
TemplatePath *string
// TemplateVersion is the version number of the template.
TemplateVersion *string
}
RecipeStatus - Recipe status at deployment time for a resource.
func (RecipeStatus) MarshalJSON ¶ added in v0.27.0
func (r RecipeStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RecipeStatus.
func (*RecipeStatus) UnmarshalJSON ¶ added in v0.27.0
func (r *RecipeStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type RecipeStatus.
type ResourceProvisioning ¶
type ResourceProvisioning string
ResourceProvisioning - Specifies how the underlying service/resource is provisioned and managed. Available values are 'recipe', where Radius manages the lifecycle of the resource through a Recipe, and 'manual', where a user manages the resource and provides the values.
const ( // ResourceProvisioningManual - The resource lifecycle will be managed by the user ResourceProvisioningManual ResourceProvisioning = "manual" // ResourceProvisioningRecipe - The resource lifecycle will be managed by Radius ResourceProvisioningRecipe ResourceProvisioning = "recipe" )
func PossibleResourceProvisioningValues ¶
func PossibleResourceProvisioningValues() []ResourceProvisioning
PossibleResourceProvisioningValues returns the possible values for the ResourceProvisioning const type.
type ResourceReference ¶
type ResourceReference struct {
// REQUIRED; Resource id of an existing resource
ID *string
}
ResourceReference - Describes a reference to an existing resource
func (ResourceReference) MarshalJSON ¶
func (r ResourceReference) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ResourceReference.
func (*ResourceReference) UnmarshalJSON ¶
func (r *ResourceReference) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ResourceReference.
type ResourceStatus ¶
type ResourceStatus struct {
// The compute resource associated with the resource.
Compute EnvironmentComputeClassification
// Properties of an output resource
OutputResources []*OutputResource
// READ-ONLY; The recipe data at the time of deployment
Recipe *RecipeStatus
}
ResourceStatus - Status of a resource.
func (ResourceStatus) MarshalJSON ¶
func (r ResourceStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ResourceStatus.
func (*ResourceStatus) UnmarshalJSON ¶
func (r *ResourceStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ResourceStatus.
type SecretStoresClient ¶
type SecretStoresClient struct {
// contains filtered or unexported fields
}
SecretStoresClient contains the methods for the SecretStores group. Don't use this type directly, use NewSecretStoresClient() instead.
Generated from API version 2023-10-01-preview
func NewSecretStoresClient ¶
func NewSecretStoresClient(credential azcore.TokenCredential, options *arm.ClientOptions) (*SecretStoresClient, error)
NewSecretStoresClient creates a new instance of SecretStoresClient with the specified values.
- credential - used to authorize requests. Usually a credential from azidentity.
- options - Contains optional client configuration. Pass nil to accept the default values.
func (*SecretStoresClient) BeginCreateOrUpdate ¶
func (client *SecretStoresClient) BeginCreateOrUpdate(ctx context.Context, rootScope string, secretStoreName string, resource DaprSecretStoreResource, options *SecretStoresClientBeginCreateOrUpdateOptions) (*runtime.Poller[SecretStoresClientCreateOrUpdateResponse], error)
BeginCreateOrUpdate - Create a DaprSecretStoreResource If the operation fails it returns an *azcore.ResponseError type.
- rootScope - The scope in which the resource is present. UCP Scope is /planes/{planeType}/{planeName}/resourceGroup/{resourcegroupID} and Azure resource scope is /subscriptions/{subscriptionID}/resourceGroup/{resourcegroupID}
- secretStoreName - SecretStore name
- resource - Resource create parameters.
- options - SecretStoresClientBeginCreateOrUpdateOptions contains the optional parameters for the SecretStoresClient.BeginCreateOrUpdate method.
func (*SecretStoresClient) BeginDelete ¶
func (client *SecretStoresClient) BeginDelete(ctx context.Context, rootScope string, secretStoreName string, options *SecretStoresClientBeginDeleteOptions) (*runtime.Poller[SecretStoresClientDeleteResponse], error)
BeginDelete - Delete a DaprSecretStoreResource If the operation fails it returns an *azcore.ResponseError type.
- rootScope - The scope in which the resource is present. UCP Scope is /planes/{planeType}/{planeName}/resourceGroup/{resourcegroupID} and Azure resource scope is /subscriptions/{subscriptionID}/resourceGroup/{resourcegroupID}
- secretStoreName - SecretStore name
- options - SecretStoresClientBeginDeleteOptions contains the optional parameters for the SecretStoresClient.BeginDelete method.
func (*SecretStoresClient) BeginUpdate ¶
func (client *SecretStoresClient) BeginUpdate(ctx context.Context, rootScope string, secretStoreName string, properties DaprSecretStoreResource, options *SecretStoresClientBeginUpdateOptions) (*runtime.Poller[SecretStoresClientUpdateResponse], error)
BeginUpdate - Update a DaprSecretStoreResource If the operation fails it returns an *azcore.ResponseError type.
- rootScope - The scope in which the resource is present. UCP Scope is /planes/{planeType}/{planeName}/resourceGroup/{resourcegroupID} and Azure resource scope is /subscriptions/{subscriptionID}/resourceGroup/{resourcegroupID}
- secretStoreName - SecretStore name
- properties - The resource properties to be updated.
- options - SecretStoresClientBeginUpdateOptions contains the optional parameters for the SecretStoresClient.BeginUpdate method.
func (*SecretStoresClient) Get ¶
func (client *SecretStoresClient) Get(ctx context.Context, rootScope string, secretStoreName string, options *SecretStoresClientGetOptions) (SecretStoresClientGetResponse, error)
Get - Get a DaprSecretStoreResource If the operation fails it returns an *azcore.ResponseError type.
- rootScope - The scope in which the resource is present. UCP Scope is /planes/{planeType}/{planeName}/resourceGroup/{resourcegroupID} and Azure resource scope is /subscriptions/{subscriptionID}/resourceGroup/{resourcegroupID}
- secretStoreName - SecretStore name
- options - SecretStoresClientGetOptions contains the optional parameters for the SecretStoresClient.Get method.
func (*SecretStoresClient) NewListByScopePager ¶
func (client *SecretStoresClient) NewListByScopePager(rootScope string, options *SecretStoresClientListByScopeOptions) *runtime.Pager[SecretStoresClientListByScopeResponse]
NewListByScopePager - List DaprSecretStoreResource resources by Scope
- rootScope - The scope in which the resource is present. UCP Scope is /planes/{planeType}/{planeName}/resourceGroup/{resourcegroupID} and Azure resource scope is /subscriptions/{subscriptionID}/resourceGroup/{resourcegroupID}
- options - SecretStoresClientListByScopeOptions contains the optional parameters for the SecretStoresClient.NewListByScopePager method.
type SecretStoresClientBeginCreateOrUpdateOptions ¶
type SecretStoresClientBeginCreateOrUpdateOptions struct {
// Resumes the long-running operation from the provided token.
ResumeToken string
}
SecretStoresClientBeginCreateOrUpdateOptions contains the optional parameters for the SecretStoresClient.BeginCreateOrUpdate method.
type SecretStoresClientBeginDeleteOptions ¶
type SecretStoresClientBeginDeleteOptions struct {
// Resumes the long-running operation from the provided token.
ResumeToken string
}
SecretStoresClientBeginDeleteOptions contains the optional parameters for the SecretStoresClient.BeginDelete method.
type SecretStoresClientBeginUpdateOptions ¶
type SecretStoresClientBeginUpdateOptions struct {
// Resumes the long-running operation from the provided token.
ResumeToken string
}
SecretStoresClientBeginUpdateOptions contains the optional parameters for the SecretStoresClient.BeginUpdate method.
type SecretStoresClientCreateOrUpdateResponse ¶
type SecretStoresClientCreateOrUpdateResponse struct {
// Dapr SecretStore portable resource
DaprSecretStoreResource
}
SecretStoresClientCreateOrUpdateResponse contains the response from method SecretStoresClient.BeginCreateOrUpdate.
type SecretStoresClientDeleteResponse ¶
type SecretStoresClientDeleteResponse struct {
}
SecretStoresClientDeleteResponse contains the response from method SecretStoresClient.BeginDelete.
type SecretStoresClientGetOptions ¶
type SecretStoresClientGetOptions struct {
}
SecretStoresClientGetOptions contains the optional parameters for the SecretStoresClient.Get method.
type SecretStoresClientGetResponse ¶
type SecretStoresClientGetResponse struct {
// Dapr SecretStore portable resource
DaprSecretStoreResource
}
SecretStoresClientGetResponse contains the response from method SecretStoresClient.Get.
type SecretStoresClientListByScopeOptions ¶
type SecretStoresClientListByScopeOptions struct {
}
SecretStoresClientListByScopeOptions contains the optional parameters for the SecretStoresClient.NewListByScopePager method.
type SecretStoresClientListByScopeResponse ¶
type SecretStoresClientListByScopeResponse struct {
// The response of a DaprSecretStoreResource list operation.
DaprSecretStoreResourceListResult
}
SecretStoresClientListByScopeResponse contains the response from method SecretStoresClient.NewListByScopePager.
type SecretStoresClientUpdateResponse ¶
type SecretStoresClientUpdateResponse struct {
// Dapr SecretStore portable resource
DaprSecretStoreResource
}
SecretStoresClientUpdateResponse contains the response from method SecretStoresClient.BeginUpdate.
type StateStoresClient ¶
type StateStoresClient struct {
// contains filtered or unexported fields
}
StateStoresClient contains the methods for the StateStores group. Don't use this type directly, use NewStateStoresClient() instead.
Generated from API version 2023-10-01-preview
func NewStateStoresClient ¶
func NewStateStoresClient(credential azcore.TokenCredential, options *arm.ClientOptions) (*StateStoresClient, error)
NewStateStoresClient creates a new instance of StateStoresClient with the specified values.
- credential - used to authorize requests. Usually a credential from azidentity.
- options - Contains optional client configuration. Pass nil to accept the default values.
func (*StateStoresClient) BeginCreateOrUpdate ¶
func (client *StateStoresClient) BeginCreateOrUpdate(ctx context.Context, rootScope string, stateStoreName string, resource DaprStateStoreResource, options *StateStoresClientBeginCreateOrUpdateOptions) (*runtime.Poller[StateStoresClientCreateOrUpdateResponse], error)
BeginCreateOrUpdate - Create a DaprStateStoreResource If the operation fails it returns an *azcore.ResponseError type.
- rootScope - The scope in which the resource is present. UCP Scope is /planes/{planeType}/{planeName}/resourceGroup/{resourcegroupID} and Azure resource scope is /subscriptions/{subscriptionID}/resourceGroup/{resourcegroupID}
- stateStoreName - StateStore name
- resource - Resource create parameters.
- options - StateStoresClientBeginCreateOrUpdateOptions contains the optional parameters for the StateStoresClient.BeginCreateOrUpdate method.
func (*StateStoresClient) BeginDelete ¶
func (client *StateStoresClient) BeginDelete(ctx context.Context, rootScope string, stateStoreName string, options *StateStoresClientBeginDeleteOptions) (*runtime.Poller[StateStoresClientDeleteResponse], error)
BeginDelete - Delete a DaprStateStoreResource If the operation fails it returns an *azcore.ResponseError type.
- rootScope - The scope in which the resource is present. UCP Scope is /planes/{planeType}/{planeName}/resourceGroup/{resourcegroupID} and Azure resource scope is /subscriptions/{subscriptionID}/resourceGroup/{resourcegroupID}
- stateStoreName - StateStore name
- options - StateStoresClientBeginDeleteOptions contains the optional parameters for the StateStoresClient.BeginDelete method.
func (*StateStoresClient) BeginUpdate ¶
func (client *StateStoresClient) BeginUpdate(ctx context.Context, rootScope string, stateStoreName string, properties DaprStateStoreResource, options *StateStoresClientBeginUpdateOptions) (*runtime.Poller[StateStoresClientUpdateResponse], error)
BeginUpdate - Update a DaprStateStoreResource If the operation fails it returns an *azcore.ResponseError type.
- rootScope - The scope in which the resource is present. UCP Scope is /planes/{planeType}/{planeName}/resourceGroup/{resourcegroupID} and Azure resource scope is /subscriptions/{subscriptionID}/resourceGroup/{resourcegroupID}
- stateStoreName - StateStore name
- properties - The resource properties to be updated.
- options - StateStoresClientBeginUpdateOptions contains the optional parameters for the StateStoresClient.BeginUpdate method.
func (*StateStoresClient) Get ¶
func (client *StateStoresClient) Get(ctx context.Context, rootScope string, stateStoreName string, options *StateStoresClientGetOptions) (StateStoresClientGetResponse, error)
Get - Get a DaprStateStoreResource If the operation fails it returns an *azcore.ResponseError type.
- rootScope - The scope in which the resource is present. UCP Scope is /planes/{planeType}/{planeName}/resourceGroup/{resourcegroupID} and Azure resource scope is /subscriptions/{subscriptionID}/resourceGroup/{resourcegroupID}
- stateStoreName - StateStore name
- options - StateStoresClientGetOptions contains the optional parameters for the StateStoresClient.Get method.
func (*StateStoresClient) NewListByScopePager ¶
func (client *StateStoresClient) NewListByScopePager(rootScope string, options *StateStoresClientListByScopeOptions) *runtime.Pager[StateStoresClientListByScopeResponse]
NewListByScopePager - List DaprStateStoreResource resources by Scope
- rootScope - The scope in which the resource is present. UCP Scope is /planes/{planeType}/{planeName}/resourceGroup/{resourcegroupID} and Azure resource scope is /subscriptions/{subscriptionID}/resourceGroup/{resourcegroupID}
- options - StateStoresClientListByScopeOptions contains the optional parameters for the StateStoresClient.NewListByScopePager method.
type StateStoresClientBeginCreateOrUpdateOptions ¶
type StateStoresClientBeginCreateOrUpdateOptions struct {
// Resumes the long-running operation from the provided token.
ResumeToken string
}
StateStoresClientBeginCreateOrUpdateOptions contains the optional parameters for the StateStoresClient.BeginCreateOrUpdate method.
type StateStoresClientBeginDeleteOptions ¶
type StateStoresClientBeginDeleteOptions struct {
// Resumes the long-running operation from the provided token.
ResumeToken string
}
StateStoresClientBeginDeleteOptions contains the optional parameters for the StateStoresClient.BeginDelete method.
type StateStoresClientBeginUpdateOptions ¶
type StateStoresClientBeginUpdateOptions struct {
// Resumes the long-running operation from the provided token.
ResumeToken string
}
StateStoresClientBeginUpdateOptions contains the optional parameters for the StateStoresClient.BeginUpdate method.
type StateStoresClientCreateOrUpdateResponse ¶
type StateStoresClientCreateOrUpdateResponse struct {
// Dapr StateStore portable resource
DaprStateStoreResource
}
StateStoresClientCreateOrUpdateResponse contains the response from method StateStoresClient.BeginCreateOrUpdate.
type StateStoresClientDeleteResponse ¶
type StateStoresClientDeleteResponse struct {
}
StateStoresClientDeleteResponse contains the response from method StateStoresClient.BeginDelete.
type StateStoresClientGetOptions ¶
type StateStoresClientGetOptions struct {
}
StateStoresClientGetOptions contains the optional parameters for the StateStoresClient.Get method.
type StateStoresClientGetResponse ¶
type StateStoresClientGetResponse struct {
// Dapr StateStore portable resource
DaprStateStoreResource
}
StateStoresClientGetResponse contains the response from method StateStoresClient.Get.
type StateStoresClientListByScopeOptions ¶
type StateStoresClientListByScopeOptions struct {
}
StateStoresClientListByScopeOptions contains the optional parameters for the StateStoresClient.NewListByScopePager method.
type StateStoresClientListByScopeResponse ¶
type StateStoresClientListByScopeResponse struct {
// The response of a DaprStateStoreResource list operation.
DaprStateStoreResourceListResult
}
StateStoresClientListByScopeResponse contains the response from method StateStoresClient.NewListByScopePager.
type StateStoresClientUpdateResponse ¶
type StateStoresClientUpdateResponse struct {
// Dapr StateStore portable resource
DaprStateStoreResource
}
StateStoresClientUpdateResponse contains the response from method StateStoresClient.BeginUpdate.
type SystemData ¶
type SystemData struct {
// The timestamp of resource creation (UTC).
CreatedAt *time.Time
// The identity that created the resource.
CreatedBy *string
// The type of identity that created the resource.
CreatedByType *CreatedByType
// The timestamp of resource last modification (UTC)
LastModifiedAt *time.Time
// The identity that last modified the resource.
LastModifiedBy *string
// The type of identity that last modified the resource.
LastModifiedByType *CreatedByType
}
SystemData - Metadata pertaining to creation and last modification of the resource.
func (SystemData) MarshalJSON ¶
func (s SystemData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type SystemData.
func (*SystemData) UnmarshalJSON ¶
func (s *SystemData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type SystemData.
Source Files
¶
- configurationstore_conversion.go
- datamodel_util.go
- pubsubbroker_conversion.go
- secretstore_conversion.go
- statestore_conversion.go
- version.go
- zz_generated_client_factory.go
- zz_generated_configurationstores_client.go
- zz_generated_constants.go
- zz_generated_interfaces.go
- zz_generated_models.go
- zz_generated_models_serde.go
- zz_generated_operations_client.go
- zz_generated_options.go
- zz_generated_polymorphic_helpers.go
- zz_generated_pubsubbrokers_client.go
- zz_generated_responses.go
- zz_generated_secretstores_client.go
- zz_generated_statestores_client.go
- zz_generated_version.go