Documentation
¶
Index ¶
- Constants
- type ActionType
- type AzureResourceManagerCommonTypesTrackedResourceUpdate
- 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, configurationStoreName string, ...) (*runtime.Poller[ConfigurationStoresClientCreateOrUpdateResponse], error)
- func (client *ConfigurationStoresClient) BeginDelete(ctx context.Context, configurationStoreName string, ...) (*runtime.Poller[ConfigurationStoresClientDeleteResponse], error)
- func (client *ConfigurationStoresClient) BeginUpdate(ctx context.Context, configurationStoreName string, ...) (*runtime.Poller[ConfigurationStoresClientUpdateResponse], error)
- func (client *ConfigurationStoresClient) Get(ctx context.Context, configurationStoreName string, ...) (ConfigurationStoresClientGetResponse, error)
- func (client *ConfigurationStoresClient) NewListByScopePager(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 DaprConfigurationStoreResourceUpdate
- type DaprPubSubBrokerProperties
- type DaprPubSubBrokerResource
- type DaprPubSubBrokerResourceListResult
- type DaprPubSubBrokerResourceUpdate
- type DaprResourceAuth
- type DaprSecretStoreProperties
- type DaprSecretStoreResource
- type DaprSecretStoreResourceListResult
- type DaprSecretStoreResourceUpdate
- type DaprStateStoreProperties
- type DaprStateStoreResource
- type DaprStateStoreResourceListResult
- type DaprStateStoreResourceUpdate
- type EnvironmentCompute
- type EnvironmentComputeClassification
- type ErrorAdditionalInfo
- type ErrorDetail
- type ErrorResponse
- type IdentitySettingKind
- type IdentitySettings
- type KubernetesCompute
- type MetadataValue
- type MetadataValueFromSecret
- type NonRedundantDaprResourceProperties
- 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, pubSubBrokerName string, ...) (*runtime.Poller[PubSubBrokersClientCreateOrUpdateResponse], error)
- func (client *PubSubBrokersClient) BeginDelete(ctx context.Context, pubSubBrokerName string, ...) (*runtime.Poller[PubSubBrokersClientDeleteResponse], error)
- func (client *PubSubBrokersClient) BeginUpdate(ctx context.Context, pubSubBrokerName string, ...) (*runtime.Poller[PubSubBrokersClientUpdateResponse], error)
- func (client *PubSubBrokersClient) Get(ctx context.Context, pubSubBrokerName string, ...) (PubSubBrokersClientGetResponse, error)
- func (client *PubSubBrokersClient) NewListByScopePager(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 Resource
- type ResourceProvisioning
- type ResourceReference
- type ResourceStatus
- type SecretStoresClient
- func (client *SecretStoresClient) BeginCreateOrUpdate(ctx context.Context, secretStoreName string, resource DaprSecretStoreResource, ...) (*runtime.Poller[SecretStoresClientCreateOrUpdateResponse], error)
- func (client *SecretStoresClient) BeginDelete(ctx context.Context, secretStoreName string, ...) (*runtime.Poller[SecretStoresClientDeleteResponse], error)
- func (client *SecretStoresClient) BeginUpdate(ctx context.Context, secretStoreName string, ...) (*runtime.Poller[SecretStoresClientUpdateResponse], error)
- func (client *SecretStoresClient) Get(ctx context.Context, secretStoreName string, ...) (SecretStoresClientGetResponse, error)
- func (client *SecretStoresClient) NewListByScopePager(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, stateStoreName string, resource DaprStateStoreResource, ...) (*runtime.Poller[StateStoresClientCreateOrUpdateResponse], error)
- func (client *StateStoresClient) BeginDelete(ctx context.Context, stateStoreName string, ...) (*runtime.Poller[StateStoresClientDeleteResponse], error)
- func (client *StateStoresClient) BeginUpdate(ctx context.Context, stateStoreName string, ...) (*runtime.Poller[StateStoresClientUpdateResponse], error)
- func (client *StateStoresClient) Get(ctx context.Context, stateStoreName string, ...) (StateStoresClientGetResponse, error)
- func (client *StateStoresClient) NewListByScopePager(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
- type TrackedResource
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 - Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
const (
ActionTypeInternal ActionType = "Internal"
)
func PossibleActionTypeValues ¶
func PossibleActionTypeValues() []ActionType
PossibleActionTypeValues returns the possible values for the ActionType const type.
type AzureResourceManagerCommonTypesTrackedResourceUpdate ¶ added in v0.40.0
type AzureResourceManagerCommonTypesTrackedResourceUpdate struct {
// 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
}
AzureResourceManagerCommonTypesTrackedResourceUpdate - The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'
func (AzureResourceManagerCommonTypesTrackedResourceUpdate) MarshalJSON ¶ added in v0.40.0
func (a AzureResourceManagerCommonTypesTrackedResourceUpdate) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type AzureResourceManagerCommonTypesTrackedResourceUpdate.
func (*AzureResourceManagerCommonTypesTrackedResourceUpdate) UnmarshalJSON ¶ added in v0.40.0
func (a *AzureResourceManagerCommonTypesTrackedResourceUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type AzureResourceManagerCommonTypesTrackedResourceUpdate.
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(rootScope 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.
- 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}
- 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.
func NewConfigurationStoresClient ¶ added in v0.39.0
func NewConfigurationStoresClient(rootScope string, credential azcore.TokenCredential, options *arm.ClientOptions) (*ConfigurationStoresClient, error)
NewConfigurationStoresClient creates a new instance of ConfigurationStoresClient with the specified values.
- 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}
- credential - used to authorize requests. Usually a credential from azidentity.
- options - pass nil to accept the default values.
func (*ConfigurationStoresClient) BeginCreateOrUpdate ¶ added in v0.39.0
func (client *ConfigurationStoresClient) BeginCreateOrUpdate(ctx context.Context, configurationStoreName string, resource DaprConfigurationStoreResource, options *ConfigurationStoresClientBeginCreateOrUpdateOptions) (*runtime.Poller[ConfigurationStoresClientCreateOrUpdateResponse], error)
BeginCreateOrUpdate - Create a DaprConfigurationStoreResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2023-10-01-preview
- 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, configurationStoreName string, options *ConfigurationStoresClientBeginDeleteOptions) (*runtime.Poller[ConfigurationStoresClientDeleteResponse], error)
BeginDelete - Delete a DaprConfigurationStoreResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2023-10-01-preview
- 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, configurationStoreName string, properties DaprConfigurationStoreResourceUpdate, options *ConfigurationStoresClientBeginUpdateOptions) (*runtime.Poller[ConfigurationStoresClientUpdateResponse], error)
BeginUpdate - Update a DaprConfigurationStoreResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2023-10-01-preview
- 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, configurationStoreName string, options *ConfigurationStoresClientGetOptions) (ConfigurationStoresClientGetResponse, error)
Get - Get a DaprConfigurationStoreResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2023-10-01-preview
- 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(options *ConfigurationStoresClientListByScopeOptions) *runtime.Pager[ConfigurationStoresClientListByScopeResponse]
NewListByScopePager - List DaprConfigurationStoreResource resources by Scope
Generated from API version 2023-10-01-preview
- 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 type of identity that created the resource.
const ( CreatedByTypeApplication CreatedByType = "Application" CreatedByTypeKey CreatedByType = "Key" CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity" 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 DaprConfigurationStoreResourceUpdate ¶ added in v0.39.0
type DaprConfigurationStoreResourceUpdate struct {
// 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
}
DaprConfigurationStoreResourceUpdate - Dapr configuration store portable resource
func (DaprConfigurationStoreResourceUpdate) MarshalJSON ¶ added in v0.39.0
func (d DaprConfigurationStoreResourceUpdate) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DaprConfigurationStoreResourceUpdate.
func (*DaprConfigurationStoreResourceUpdate) UnmarshalJSON ¶ added in v0.39.0
func (d *DaprConfigurationStoreResourceUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DaprConfigurationStoreResourceUpdate.
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 DaprPubSubBrokerResourceUpdate ¶
type DaprPubSubBrokerResourceUpdate struct {
// 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
}
DaprPubSubBrokerResourceUpdate - Dapr PubSubBroker portable resource
func (DaprPubSubBrokerResourceUpdate) MarshalJSON ¶
func (d DaprPubSubBrokerResourceUpdate) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DaprPubSubBrokerResourceUpdate.
func (*DaprPubSubBrokerResourceUpdate) UnmarshalJSON ¶
func (d *DaprPubSubBrokerResourceUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DaprPubSubBrokerResourceUpdate.
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 DaprSecretStoreResourceUpdate ¶
type DaprSecretStoreResourceUpdate struct {
// 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
}
DaprSecretStoreResourceUpdate - Dapr SecretStore portable resource
func (DaprSecretStoreResourceUpdate) MarshalJSON ¶
func (d DaprSecretStoreResourceUpdate) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DaprSecretStoreResourceUpdate.
func (*DaprSecretStoreResourceUpdate) UnmarshalJSON ¶
func (d *DaprSecretStoreResourceUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DaprSecretStoreResourceUpdate.
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 DaprStateStoreResourceUpdate ¶
type DaprStateStoreResourceUpdate struct {
// 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
}
DaprStateStoreResourceUpdate - Dapr StateStore portable resource
func (DaprStateStoreResourceUpdate) MarshalJSON ¶
func (d DaprStateStoreResourceUpdate) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DaprStateStoreResourceUpdate.
func (*DaprStateStoreResourceUpdate) UnmarshalJSON ¶
func (d *DaprStateStoreResourceUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DaprStateStoreResourceUpdate.
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: - *EnvironmentCompute, *KubernetesCompute
type ErrorAdditionalInfo ¶
type ErrorAdditionalInfo struct {
// READ-ONLY; The additional info.
Info map[string]any
// READ-ONLY; The additional info type.
Type *string
}
ErrorAdditionalInfo - The resource management error additional info.
func (ErrorAdditionalInfo) MarshalJSON ¶
func (e ErrorAdditionalInfo) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ErrorAdditionalInfo.
func (*ErrorAdditionalInfo) UnmarshalJSON ¶
func (e *ErrorAdditionalInfo) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ErrorAdditionalInfo.
type ErrorDetail ¶
type ErrorDetail struct {
// READ-ONLY; The error additional info.
AdditionalInfo []*ErrorAdditionalInfo
// READ-ONLY; The error code.
Code *string
// READ-ONLY; The error details.
Details []*ErrorDetail
// READ-ONLY; The error message.
Message *string
// READ-ONLY; The error target.
Target *string
}
ErrorDetail - The error detail.
func (ErrorDetail) MarshalJSON ¶
func (e ErrorDetail) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ErrorDetail.
func (*ErrorDetail) UnmarshalJSON ¶
func (e *ErrorDetail) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ErrorDetail.
type ErrorResponse ¶
type ErrorResponse struct {
// The error object.
Error *ErrorDetail
}
ErrorResponse - Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
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 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" // IdentitySettingKindUndefined - undefined identity IdentitySettingKindUndefined IdentitySettingKind = "undefined" )
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 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; Discriminator property for EnvironmentCompute.
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 NonRedundantDaprResourceProperties ¶ added in v0.38.0
type NonRedundantDaprResourceProperties struct {
// The metadata for Dapr resource which must match the values specified in Dapr component spec
Metadata map[string]*MetadataValue
// 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
}
NonRedundantDaprResourceProperties - The base properties of a Dapr component object.
func (NonRedundantDaprResourceProperties) MarshalJSON ¶ added in v0.38.0
func (n NonRedundantDaprResourceProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type NonRedundantDaprResourceProperties.
func (*NonRedundantDaprResourceProperties) UnmarshalJSON ¶ added in v0.38.0
func (n *NonRedundantDaprResourceProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type NonRedundantDaprResourceProperties.
type Operation ¶
type Operation struct {
// Localized display information for this particular operation.
Display *OperationDisplay
// READ-ONLY; 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 ARM/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 - 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 this particular 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 {
// READ-ONLY; URL to get the next set of operation list results (if there are any).
NextLink *string
// READ-ONLY; List of operations supported by the resource provider
Value []*Operation
}
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.
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 - 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
Generated from API version 2023-10-01-preview
- 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"
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.
func NewPubSubBrokersClient ¶
func NewPubSubBrokersClient(rootScope string, credential azcore.TokenCredential, options *arm.ClientOptions) (*PubSubBrokersClient, error)
NewPubSubBrokersClient creates a new instance of PubSubBrokersClient with the specified values.
- 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}
- credential - used to authorize requests. Usually a credential from azidentity.
- options - pass nil to accept the default values.
func (*PubSubBrokersClient) BeginCreateOrUpdate ¶
func (client *PubSubBrokersClient) BeginCreateOrUpdate(ctx context.Context, pubSubBrokerName string, resource DaprPubSubBrokerResource, options *PubSubBrokersClientBeginCreateOrUpdateOptions) (*runtime.Poller[PubSubBrokersClientCreateOrUpdateResponse], error)
BeginCreateOrUpdate - Create a DaprPubSubBrokerResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2023-10-01-preview
- 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, pubSubBrokerName string, options *PubSubBrokersClientBeginDeleteOptions) (*runtime.Poller[PubSubBrokersClientDeleteResponse], error)
BeginDelete - Delete a DaprPubSubBrokerResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2023-10-01-preview
- pubSubBrokerName - PubSubBroker name
- options - PubSubBrokersClientBeginDeleteOptions contains the optional parameters for the PubSubBrokersClient.BeginDelete method.
func (*PubSubBrokersClient) BeginUpdate ¶
func (client *PubSubBrokersClient) BeginUpdate(ctx context.Context, pubSubBrokerName string, properties DaprPubSubBrokerResourceUpdate, options *PubSubBrokersClientBeginUpdateOptions) (*runtime.Poller[PubSubBrokersClientUpdateResponse], error)
BeginUpdate - Update a DaprPubSubBrokerResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2023-10-01-preview
- 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, pubSubBrokerName string, options *PubSubBrokersClientGetOptions) (PubSubBrokersClientGetResponse, error)
Get - Get a DaprPubSubBrokerResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2023-10-01-preview
- pubSubBrokerName - PubSubBroker name
- options - PubSubBrokersClientGetOptions contains the optional parameters for the PubSubBrokersClient.Get method.
func (*PubSubBrokersClient) NewListByScopePager ¶
func (client *PubSubBrokersClient) NewListByScopePager(options *PubSubBrokersClientListByScopeOptions) *runtime.Pager[PubSubBrokersClientListByScopeResponse]
NewListByScopePager - List DaprPubSubBrokerResource resources by Scope
Generated from API version 2023-10-01-preview
- 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 Resource ¶
type Resource struct {
// 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
}
Resource - Common fields that are returned in the response for all Azure Resource Manager resources
func (Resource) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type Resource.
func (*Resource) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaller interface for type Resource.
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.
func NewSecretStoresClient ¶
func NewSecretStoresClient(rootScope string, credential azcore.TokenCredential, options *arm.ClientOptions) (*SecretStoresClient, error)
NewSecretStoresClient creates a new instance of SecretStoresClient with the specified values.
- 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}
- credential - used to authorize requests. Usually a credential from azidentity.
- options - pass nil to accept the default values.
func (*SecretStoresClient) BeginCreateOrUpdate ¶
func (client *SecretStoresClient) BeginCreateOrUpdate(ctx context.Context, secretStoreName string, resource DaprSecretStoreResource, options *SecretStoresClientBeginCreateOrUpdateOptions) (*runtime.Poller[SecretStoresClientCreateOrUpdateResponse], error)
BeginCreateOrUpdate - Create a DaprSecretStoreResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2023-10-01-preview
- 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, secretStoreName string, options *SecretStoresClientBeginDeleteOptions) (*runtime.Poller[SecretStoresClientDeleteResponse], error)
BeginDelete - Delete a DaprSecretStoreResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2023-10-01-preview
- secretStoreName - SecretStore name
- options - SecretStoresClientBeginDeleteOptions contains the optional parameters for the SecretStoresClient.BeginDelete method.
func (*SecretStoresClient) BeginUpdate ¶
func (client *SecretStoresClient) BeginUpdate(ctx context.Context, secretStoreName string, properties DaprSecretStoreResourceUpdate, options *SecretStoresClientBeginUpdateOptions) (*runtime.Poller[SecretStoresClientUpdateResponse], error)
BeginUpdate - Update a DaprSecretStoreResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2023-10-01-preview
- 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, secretStoreName string, options *SecretStoresClientGetOptions) (SecretStoresClientGetResponse, error)
Get - Get a DaprSecretStoreResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2023-10-01-preview
- secretStoreName - SecretStore name
- options - SecretStoresClientGetOptions contains the optional parameters for the SecretStoresClient.Get method.
func (*SecretStoresClient) NewListByScopePager ¶
func (client *SecretStoresClient) NewListByScopePager(options *SecretStoresClientListByScopeOptions) *runtime.Pager[SecretStoresClientListByScopeResponse]
NewListByScopePager - List DaprSecretStoreResource resources by Scope
Generated from API version 2023-10-01-preview
- 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.
func NewStateStoresClient ¶
func NewStateStoresClient(rootScope string, credential azcore.TokenCredential, options *arm.ClientOptions) (*StateStoresClient, error)
NewStateStoresClient creates a new instance of StateStoresClient with the specified values.
- 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}
- credential - used to authorize requests. Usually a credential from azidentity.
- options - pass nil to accept the default values.
func (*StateStoresClient) BeginCreateOrUpdate ¶
func (client *StateStoresClient) BeginCreateOrUpdate(ctx context.Context, stateStoreName string, resource DaprStateStoreResource, options *StateStoresClientBeginCreateOrUpdateOptions) (*runtime.Poller[StateStoresClientCreateOrUpdateResponse], error)
BeginCreateOrUpdate - Create a DaprStateStoreResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2023-10-01-preview
- 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, stateStoreName string, options *StateStoresClientBeginDeleteOptions) (*runtime.Poller[StateStoresClientDeleteResponse], error)
BeginDelete - Delete a DaprStateStoreResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2023-10-01-preview
- stateStoreName - StateStore name
- options - StateStoresClientBeginDeleteOptions contains the optional parameters for the StateStoresClient.BeginDelete method.
func (*StateStoresClient) BeginUpdate ¶
func (client *StateStoresClient) BeginUpdate(ctx context.Context, stateStoreName string, properties DaprStateStoreResourceUpdate, options *StateStoresClientBeginUpdateOptions) (*runtime.Poller[StateStoresClientUpdateResponse], error)
BeginUpdate - Update a DaprStateStoreResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2023-10-01-preview
- 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, stateStoreName string, options *StateStoresClientGetOptions) (StateStoresClientGetResponse, error)
Get - Get a DaprStateStoreResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2023-10-01-preview
- stateStoreName - StateStore name
- options - StateStoresClientGetOptions contains the optional parameters for the StateStoresClient.Get method.
func (*StateStoresClient) NewListByScopePager ¶
func (client *StateStoresClient) NewListByScopePager(options *StateStoresClientListByScopeOptions) *runtime.Pager[StateStoresClientListByScopeResponse]
NewListByScopePager - List DaprStateStoreResource resources by Scope
Generated from API version 2023-10-01-preview
- 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.
type TrackedResource ¶
type TrackedResource struct {
// REQUIRED; The geo-location where the resource lives
Location *string
// 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
}
TrackedResource - The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'
func (TrackedResource) MarshalJSON ¶
func (t TrackedResource) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type TrackedResource.
func (*TrackedResource) UnmarshalJSON ¶
func (t *TrackedResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type TrackedResource.
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_time_rfc3339.go