< Back

Update-DeviceAppManagement_MobileApps_ContentVersions_Files

Sat Jan 18, 2020 2:15 pm

NAME Update-DeviceAppManagement_MobileApps_ContentVersions_Files



SYNOPSIS

Updates a "microsoft.graph.mobileAppContentFile".





SYNTAX

Update-DeviceAppManagement_MobileApps_ContentVersions_Files -mobileAppContentFileId <string> -mobileAppContentId

<string> -mobileAppId <string> -mobileAppODataType <string> [-azureStorageUri <string>]

[-azureStorageUriExpirationDateTime <DateTimeOffset>] [-createdDateTime <DateTimeOffset>] [-isCommitted <bool>]

[-manifest <byte[]>] [-name <string>] [-size <long>] [-sizeEncrypted <long>] [-uploadState <string>]

[<CommonParameters>]



Update-DeviceAppManagement_MobileApps_ContentVersions_Files -mobileAppContentFileId <string> -mobileAppContentId

<string> -mobileAppId <string> -mobileAppODataType <string> -ODataType <string> [-azureStorageUri <string>]

[-azureStorageUriExpirationDateTime <DateTimeOffset>] [-createdDateTime <DateTimeOffset>] [-isCommitted <bool>]

[-manifest <byte[]>] [-name <string>] [-size <long>] [-sizeEncrypted <long>] [-uploadState <string>]

[<CommonParameters>]





DESCRIPTION

Updates a "microsoft.graph.mobileAppContentFile" object in the "files" collection.



The list of files for this app content version.



Graph Call: PATCH

~/deviceAppManagement/mobileApps/{mobileAppId}/{mobileAppODataType}/contentVersions/{mobileAppContentId}/files





PARAMETERS

-mobileAppContentFileId <string>

The ID for a "microsoft.graph.mobileAppContentFile" object in the "files" collection.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-mobileAppId <string>

A required ID for referencing a "microsoft.graph.mobileApp" object in the "mobileApps" collection.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-mobileAppODataType <string>

A required type cast for referencing properties that exist only on certain types of

"microsoft.graph.mobileApp" objects.



Valid values: 'microsoft.graph.mobileApp', 'microsoft.graph.iosStoreApp', 'microsoft.graph.iosVppApp',

'microsoft.graph.androidStoreApp', 'microsoft.graph.webApp', 'microsoft.graph.microsoftStoreForBusinessApp',

'microsoft.graph.mobileLobApp', 'microsoft.graph.iosLobApp', 'microsoft.graph.androidLobApp',

'microsoft.graph.windowsUniversalAppX', 'microsoft.graph.windowsMobileMSI', 'microsoft.graph.managedApp',

'microsoft.graph.managedMobileLobApp', 'microsoft.graph.managedIOSLobApp',

'microsoft.graph.managedAndroidLobApp', 'microsoft.graph.managedIOSStoreApp',

'microsoft.graph.managedAndroidStoreApp', 'microsoft.graph.macOSOfficeSuiteApp'



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-mobileAppContentId <string>

A required ID for referencing a "microsoft.graph.mobileAppContent" object in the "contentVersions" collection.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-azureStorageUri <string>

The "azureStorageUri" property, of type "Edm.String".



This property is on the "microsoft.graph.mobileAppContentFile" type.



The Azure Storage URI.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-isCommitted <bool>

The "isCommitted" property, of type "Edm.Boolean".



This property is on the "microsoft.graph.mobileAppContentFile" type.



A value indicating whether the file is committed.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-createdDateTime <DateTimeOffset>

The "createdDateTime" property, of type "Edm.DateTimeOffset".



This property is on the "microsoft.graph.mobileAppContentFile" type.



The time the file was created.



Required? false

Position? named

Default value 1/1/0001 12:00:00 AM +00:00

Accept pipeline input? false

Accept wildcard characters? false



-name <string>

The "name" property, of type "Edm.String".



This property is on the "microsoft.graph.mobileAppContentFile" type.



the file name.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-size <long>

The "size" property, of type "Edm.Int64".



This property is on the "microsoft.graph.mobileAppContentFile" type.



The size of the file prior to encryption.



Required? false

Position? named

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-sizeEncrypted <long>

The "sizeEncrypted" property, of type "Edm.Int64".



This property is on the "microsoft.graph.mobileAppContentFile" type.



The size of the file after encryption.



Required? false

Position? named

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-azureStorageUriExpirationDateTime <DateTimeOffset>

The "azureStorageUriExpirationDateTime" property, of type "Edm.DateTimeOffset".



This property is on the "microsoft.graph.mobileAppContentFile" type.



The time the Azure storage Uri expires.



Required? false

Position? named

Default value 1/1/0001 12:00:00 AM +00:00

Accept pipeline input? false

Accept wildcard characters? false



-manifest <byte[]>

The "manifest" property, of type "Edm.Binary".



This property is on the "microsoft.graph.mobileAppContentFile" type.



The manifest information.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-uploadState <string>

The "uploadState" property, of type "microsoft.graph.mobileAppContentFileUploadState".



This property is on the "microsoft.graph.mobileAppContentFile" type.



The state of the current upload request.



Valid values: 'success', 'transientError', 'error', 'unknown', 'azureStorageUriRequestSuccess',

'azureStorageUriRequestPending', 'azureStorageUriRequestFailed', 'azureStorageUriRequestTimedOut',

'azureStorageUriRenewalSuccess', 'azureStorageUriRenewalPending', 'azureStorageUriRenewalFailed',

'azureStorageUriRenewalTimedOut', 'commitFileSuccess', 'commitFilePending', 'commitFileFailed',

'commitFileTimedOut'



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ODataType <string>

The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-@odata.type <string>

The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.



This is an alias of the ODataType parameter.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.String

The ID for a "microsoft.graph.mobileAppContentFile" object in the "files" collection.



System.String

A required ID for referencing a "microsoft.graph.mobileApp" object in the "mobileApps" collection.



System.String

A required type cast for referencing properties that exist only on certain types of

"microsoft.graph.mobileApp" objects.



Valid values: 'microsoft.graph.mobileApp', 'microsoft.graph.iosStoreApp', 'microsoft.graph.iosVppApp',

'microsoft.graph.androidStoreApp', 'microsoft.graph.webApp', 'microsoft.graph.microsoftStoreForBusinessApp',

'microsoft.graph.mobileLobApp', 'microsoft.graph.iosLobApp', 'microsoft.graph.androidLobApp',

'microsoft.graph.windowsUniversalAppX', 'microsoft.graph.windowsMobileMSI', 'microsoft.graph.managedApp',

'microsoft.graph.managedMobileLobApp', 'microsoft.graph.managedIOSLobApp',

'microsoft.graph.managedAndroidLobApp', 'microsoft.graph.managedIOSStoreApp',

'microsoft.graph.managedAndroidStoreApp', 'microsoft.graph.macOSOfficeSuiteApp'



System.String

A required ID for referencing a "microsoft.graph.mobileAppContent" object in the "contentVersions" collection.



System.String

The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.





OUTPUTS





RELATED LINKS

GitHub Repository https://github.com/Microsoft/Intune-PowerShell-SDK