Documentation ¶
Index ¶
- func ValidateLogProfileID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListOperationResponse
- type LogProfileCollection
- type LogProfileId
- type LogProfileProperties
- type LogProfileResource
- type LogProfilesClient
- func (c LogProfilesClient) CreateOrUpdate(ctx context.Context, id LogProfileId, input LogProfileResource) (result CreateOrUpdateOperationResponse, err error)
- func (c LogProfilesClient) Delete(ctx context.Context, id LogProfileId) (result DeleteOperationResponse, err error)
- func (c LogProfilesClient) Get(ctx context.Context, id LogProfileId) (result GetOperationResponse, err error)
- func (c LogProfilesClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
- type RetentionPolicy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateLogProfileID ¶
ValidateLogProfileID checks that 'input' can be parsed as a Log Profile ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *LogProfileResource }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *LogProfileResource }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *LogProfileCollection }
type LogProfileCollection ¶
type LogProfileCollection struct {
Value []LogProfileResource `json:"value"`
}
type LogProfileId ¶
LogProfileId is a struct representing the Resource ID for a Log Profile
func NewLogProfileID ¶
func NewLogProfileID(subscriptionId string, logProfileName string) LogProfileId
NewLogProfileID returns a new LogProfileId struct
func ParseLogProfileID ¶
func ParseLogProfileID(input string) (*LogProfileId, error)
ParseLogProfileID parses 'input' into a LogProfileId
func ParseLogProfileIDInsensitively ¶
func ParseLogProfileIDInsensitively(input string) (*LogProfileId, error)
ParseLogProfileIDInsensitively parses 'input' case-insensitively into a LogProfileId note: this method should only be used for API response data and not user input
func (*LogProfileId) FromParseResult ¶
func (id *LogProfileId) FromParseResult(input resourceids.ParseResult) error
func (LogProfileId) Segments ¶
func (id LogProfileId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Log Profile ID
func (LogProfileId) String ¶
func (id LogProfileId) String() string
String returns a human-readable description of this Log Profile ID
type LogProfileProperties ¶
type LogProfileProperties struct { Categories []string `json:"categories"` Locations []string `json:"locations"` RetentionPolicy RetentionPolicy `json:"retentionPolicy"` ServiceBusRuleId *string `json:"serviceBusRuleId,omitempty"` StorageAccountId *string `json:"storageAccountId,omitempty"` }
type LogProfileResource ¶
type LogProfilesClient ¶
type LogProfilesClient struct {
Client *resourcemanager.Client
}
func NewLogProfilesClientWithBaseURI ¶
func NewLogProfilesClientWithBaseURI(sdkApi sdkEnv.Api) (*LogProfilesClient, error)
func (LogProfilesClient) CreateOrUpdate ¶
func (c LogProfilesClient) CreateOrUpdate(ctx context.Context, id LogProfileId, input LogProfileResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (LogProfilesClient) Delete ¶
func (c LogProfilesClient) Delete(ctx context.Context, id LogProfileId) (result DeleteOperationResponse, err error)
Delete ...
func (LogProfilesClient) Get ¶
func (c LogProfilesClient) Get(ctx context.Context, id LogProfileId) (result GetOperationResponse, err error)
Get ...
func (LogProfilesClient) List ¶
func (c LogProfilesClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
List ...
type RetentionPolicy ¶
Click to show internal directories.
Click to hide internal directories.