Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateFileID ¶
ValidateFileID checks that 'input' can be parsed as a File ID
Types ¶
type FieResourceClient ¶
type FieResourceClient struct {
Client *resourcemanager.Client
}
func NewFieResourceClientWithBaseURI ¶
func NewFieResourceClientWithBaseURI(sdkApi sdkEnv.Api) (*FieResourceClient, error)
func (FieResourceClient) FilesCreateOrUpdate ¶
func (c FieResourceClient) FilesCreateOrUpdate(ctx context.Context, id FileId, input ProjectFile) (result FilesCreateOrUpdateOperationResponse, err error)
FilesCreateOrUpdate ...
type FileId ¶
type FileId struct { SubscriptionId string ResourceGroupName string ServiceName string ProjectName string FileName string }
FileId is a struct representing the Resource ID for a File
func NewFileID ¶
func NewFileID(subscriptionId string, resourceGroupName string, serviceName string, projectName string, fileName string) FileId
NewFileID returns a new FileId struct
func ParseFileID ¶
ParseFileID parses 'input' into a FileId
func ParseFileIDInsensitively ¶
ParseFileIDInsensitively parses 'input' case-insensitively into a FileId note: this method should only be used for API response data and not user input
func (*FileId) FromParseResult ¶
func (id *FileId) FromParseResult(input resourceids.ParseResult) error
func (FileId) Segments ¶
func (id FileId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this File ID
type FilesCreateOrUpdateOperationResponse ¶
type FilesCreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ProjectFile }
type ProjectFile ¶
type ProjectFile struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ProjectFileProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ProjectFileProperties ¶
type ProjectFileProperties struct { Extension *string `json:"extension,omitempty"` FilePath *string `json:"filePath,omitempty"` LastModified *string `json:"lastModified,omitempty"` MediaType *string `json:"mediaType,omitempty"` Size *int64 `json:"size,omitempty"` }
func (*ProjectFileProperties) GetLastModifiedAsTime ¶
func (o *ProjectFileProperties) GetLastModifiedAsTime() (*time.Time, error)
func (*ProjectFileProperties) SetLastModifiedAsTime ¶
func (o *ProjectFileProperties) SetLastModifiedAsTime(input time.Time)
Click to show internal directories.
Click to hide internal directories.