CoreService

<back to all web services

GetPatchingWindowAssignment

Patching - CRUD

Returns a single patching window assignment by its id

Requires Authentication
Requires the role:TenantReader
The following routes are available for this service:
GET/api/patching/windows/assignments/{Id}Returns a single patching window assignment by its id
GET/patching/windows/assignments/{Id}Returns a single patching window assignment by its id
namespace CoreService.ServiceModel.Dtos.Base.Responses

open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    type ObjectTypes =
        | None = 0
        | ConfigItem = 1
        | Tenant = 2
        | Collection = 3
        | Resource = 4
        | ComputeNode = 5
        | VirtualMachine = 6
        | PhysicalMachine = 7
        | Disk = 8
        | Subnet = 9
        | IPAddress = 10
        | Job = 11
        | JobEvent = 12
        | FreezePeriod = 13
        | ResourceGroup = 14
        | Deployment = 15
        | ResourceGroupTemplate = 16
        | DeploymentTemplate = 17
        | ResourceProvider = 18
        | GenericResource = 19
        | Role = 20
        | Permission = 21
        | User = 22
        | PatchingWindow = 23
        | Update = 24
        | ReportDefinition = 25
        | TimeSeries = 26
        | DataPoint = 27
        | Action = 28
        | ActionAssignment = 29
        | UserNote = 30

    [<AllowNullLiteral>]
    type TagDto() = 
        member val Name:String = null with get,set
        member val Value:String = null with get,set
        member val IsProtected:Boolean = new Boolean() with get,set

    [<AllowNullLiteral>]
    type PathItemDto() = 
        member val Label:String = null with get,set
        member val Link:String = null with get,set
        member val ObjectType:ObjectTypes = new ObjectTypes() with get,set
        member val ObjectId:Guid = new Guid() with get,set

    [<AllowNullLiteral>]
    type LinkDto() = 
        member val Caption:String = null with get,set
        member val Rel:String = null with get,set
        member val HRef:String = null with get,set
        member val Method:String = null with get,set

    [<AllowNullLiteral>]
    type ConfigItemDto() = 
        member val Id:Guid = new Guid() with get,set
        member val Name:String = null with get,set
        member val DisplayName:String = null with get,set
        member val Description:String = null with get,set
        member val ObjectType:ObjectTypes = new ObjectTypes() with get,set
        member val SelfLink:String = null with get,set
        member val Tags:IList<TagDto> = null with get,set
        member val Path:IList<PathItemDto> = null with get,set
        member val Created:DateTime = new DateTime() with get,set
        member val CreateUser:String = null with get,set
        member val CreateUserId:String = null with get,set
        member val Modified:DateTime = new DateTime() with get,set
        member val ModifyUser:String = null with get,set
        member val ModifyUserId:String = null with get,set
        member val IsDeleted:Boolean = new Boolean() with get,set
        member val Deleted:Nullable<DateTime> = new Nullable<DateTime>() with get,set
        member val DeleteUser:String = null with get,set
        member val DeleteUserId:String = null with get,set
        member val Links:IList<LinkDto> = null with get,set

    type OperationalStates =
        | None = 0
        | Starting = 1
        | Running = 2
        | Stopping = 3
        | Stopped = 4
        | Restarting = 5
        | Deleting = 6
        | Unknown = 7

    type LifecycleStates =
        | New = 0
        | Deploying = 1
        | Deployed = 2
        | Removing = 3
        | Removed = 4
        | Failure = 5
        | Imported = 6

    type Environments =
        | Lab = 0
        | Poc = 1
        | Dev = 2
        | Test = 3
        | Int = 4
        | Uat = 5
        | Prod = 6

    type ParameterValueType =
        | String = 0
        | Number = 1
        | Boolean = 2
        | SecureString = 3

    [<AllowNullLiteral>]
    type ParameterDto() = 
        member val Name:String = null with get,set
        member val Description:String = null with get,set
        ///<summary>
        ///Value in form of a json string (e.g. Number = 1234, String = "foo", Boolean = false). Note: string values need extra quotes
        ///</summary>
        member val Value:String = null with get,set

        ///<summary>
        ///Optional default value for the frontend. Needs to be in the same format as the value
        ///</summary>
        member val Default:String = null with get,set

        ///<summary>
        ///Optional parameters do not need to have a value. Default -> Optional=false
        ///</summary>
        member val Optional:Boolean = new Boolean() with get,set

        ///<summary>
        ///The data type of the value and default property
        ///</summary>
        member val Type:ParameterValueType = new ParameterValueType() with get,set

        member val Validation:String = null with get,set

    type ValueDataType =
        | String = 0
        | Number = 1
        | Boolean = 2
        | List = 3

    [<AllowNullLiteral>]
    type VariableDto() = 
        member val Name:String = null with get,set
        ///<summary>
        ///Value in form of a json string (e.g. Number = 1234, String = "foo", Boolean = false, List = [1,2,3,4]). Note: string values need extra quotes
        ///</summary>
        member val Value:String = null with get,set

        ///<summary>
        ///The data type of the value property
        ///</summary>
        member val Type:ValueDataType = new ValueDataType() with get,set

        member val Description:String = null with get,set
        member val IsInherited:Boolean = new Boolean() with get,set
        member val Environment:Nullable<Environments> = new Nullable<Environments>() with get,set

    type ResourceCompositions =
        | Native = 0
        | Foreign = 1
        | Mixed = 2

    [<AllowNullLiteral>]
    type DeploymentDto() = 
        inherit ConfigItemDto()
        ///<summary>
        ///The operational state of the deployment (Running, Stopped, None, Unknown)
        ///</summary>
        member val OperationalState:OperationalStates = new OperationalStates() with get,set

        ///<summary>
        ///How many start/stop-capable resources are currently running
        ///</summary>
        member val ResourcesRunning:Int32 = new Int32() with get,set

        ///<summary>
        ///Total number of start/stop-capable resources in this deployment
        ///</summary>
        member val ResourcesTotal:Int32 = new Int32() with get,set

        ///<summary>
        ///Shorter id than the guid which can be used for automation (tenant wide unique) prefixed with a 'd'. E.g. dr36x3
        ///</summary>
        member val ShortId:String = null with get,set

        ///<summary>
        ///The user defined part of the name property {userDefined}_{environment}
        ///</summary>
        member val NameUserDefinedPart:String = null with get,set

        ///<summary>
        ///The id of the tenant
        ///</summary>
        member val TenantId:Guid = new Guid() with get,set

        ///<summary>
        ///The state of the deployment
        ///</summary>
        member val State:LifecycleStates = new LifecycleStates() with get,set

        ///<summary>
        ///The environment the deployment is deployed in
        ///</summary>
        member val Environment:Environments = new Environments() with get,set

        ///<summary>
        ///The id of the template which was used to create the deployment
        ///</summary>
        member val TemplateId:Nullable<Guid> = new Nullable<Guid>() with get,set

        ///<summary>
        ///Shows if a deployment was rolled out through a dune template or not
        ///</summary>
        member val IsTemplateBased:Boolean = new Boolean() with get,set

        ///<summary>
        ///The parameters which were used to create this deployment
        ///</summary>
        member val Parameters:IList<ParameterDto> = null with get,set

        ///<summary>
        ///A deployment scoped list of variables used for deployment of resources
        ///</summary>
        member val Variables:IList<VariableDto> = null with get,set

        ///<summary>
        ///A snapshot of the varialbs used to create the deployment
        ///</summary>
        member val VariablesSnapshot:IList<VariableDto> = null with get,set

        ///<summary>
        ///The id of the parent (collection) of the deployment
        ///</summary>
        member val ParentId:Guid = new Guid() with get,set

        ///<summary>
        ///The parent (collection) of the deployment
        ///</summary>
        member val Parent:ConfigItemDto = null with get,set

        ///<summary>
        ///The Date when the resources got deployed
        ///</summary>
        member val ValidFrom:DateTime = new DateTime() with get,set

        ///<summary>
        ///The Date when the deployment expires and has to be reevaluated
        ///</summary>
        member val ValidUntil:Nullable<DateTime> = new Nullable<DateTime>() with get,set

        ///<summary>
        ///The deployment will never expire
        ///</summary>
        member val IsNeverExpiring:Boolean = new Boolean() with get,set

        ///<summary>
        ///The date, when the deployments resources will receive updates
        ///</summary>
        member val NextPatchDate:Nullable<DateTime> = new Nullable<DateTime>() with get,set

        ///<summary>
        ///The default resource provider where the resources are deployed
        ///</summary>
        member val DefaultResourceProviderId:Guid = new Guid() with get,set

        ///<summary>
        ///Deployments which have issues in Jobs are marked with NeedsAttention
        ///</summary>
        member val NeedsAttention:Boolean = new Boolean() with get,set

        ///<summary>
        ///Composition show if all resources in the deployment are dune native, dune foreign or a mix of both
        ///</summary>
        member val Composition:ResourceCompositions = new ResourceCompositions() with get,set

        ///<summary>
        ///The monthly cost budget for the whole collection
        ///</summary>
        member val MonthlyBudget:Nullable<Decimal> = new Nullable<Decimal>() with get,set

        ///<summary>
        ///Whether to send budget information mails to the collection owners
        ///</summary>
        member val SendBudgetNotificationMails:Nullable<Boolean> = new Nullable<Boolean>() with get,set

        ///<summary>
        ///A threshold, when to send the first budget warning mail
        ///</summary>
        member val BudgetWarningThresholdPercent:Nullable<Int32> = new Nullable<Int32>() with get,set

        member val Links:IList<LinkDto> = null with get,set

    [<AllowNullLiteral>]
    type TenantDto() = 
        inherit ConfigItemDto()
        ///<summary>
        ///Variables defined on tenant level
        ///</summary>
        member val Variables:IList<VariableDto> = null with get,set

        ///<summary>
        ///Allowed email domains used for authentication
        ///</summary>
        member val AllowedMailDomains:IList<String> = null with get,set

        ///<summary>
        ///List of licensed modules for this tenant
        ///</summary>
        member val LicensedModules:IList<String> = null with get,set

        ///<summary>
        ///Amount of days until a Deployment expires
        ///</summary>
        member val DefaultDeploymentLifetimeDays:Int16 = new Int16() with get,set

        ///<summary>
        ///Max amount of days until a Deployment expires
        ///</summary>
        member val MaxDeploymentLifetimeDays:Int16 = new Int16() with get,set

        ///<summary>
        ///Amount of days without patching until a unpatched warning is shown
        ///</summary>
        member val SystemUnpatchedWarningDays:Int16 = new Int16() with get,set

        ///<summary>
        ///Amount of hours without backup until a backup missing warning is shown
        ///</summary>
        member val SystemBackupMissingWarningHours:Int16 = new Int16() with get,set

        ///<summary>
        ///Amount of days until a vulnerable resource is getting stopped
        ///</summary>
        member val StopVulnerableResourceAfterDays:Int16 = new Int16() with get,set

        ///<summary>
        ///Amount of days before deployment expiration, which triggers the expiration warning
        ///</summary>
        member val DeploymentExpirationWarningDays:Int16 = new Int16() with get,set

        ///<summary>
        ///Amount of days the patch notification is sent out prior to the patch date
        ///</summary>
        member val PatchNotificationDays:Int16 = new Int16() with get,set

        ///<summary>
        ///Use a pool with your own hostnames (true) or let the hostname be auto generated (false)
        ///</summary>
        member val UseCustomHostnames:Boolean = new Boolean() with get,set

        ///<summary>
        ///After how many days inactive vulnerabilities will be purged from database
        ///</summary>
        member val RemoveInactiveVulnerabilitiesAfterDays:Int16 = new Int16() with get,set

        member val Links:IList<LinkDto> = null with get,set

    [<AllowNullLiteral>]
    type DeploymentCollectionDto() = 
        inherit ConfigItemDto()
        member val TenantId:Guid = new Guid() with get,set
        member val Tenant:TenantDto = null with get,set
        ///<summary>
        ///A collection scoped list of variables
        ///</summary>
        member val Variables:IList<VariableDto> = null with get,set

        ///<summary>
        ///Defines the collection where scanned but not deployed resources will be stored
        ///</summary>
        member val IsLostAndFound:Boolean = new Boolean() with get,set

        ///<summary>
        ///The monthly cost budget for the whole collection
        ///</summary>
        member val MonthlyBudget:Nullable<Decimal> = new Nullable<Decimal>() with get,set

        ///<summary>
        ///Whether to send budget information mails to the collection owners
        ///</summary>
        member val SendBudgetNotificationMails:Nullable<Boolean> = new Nullable<Boolean>() with get,set

        ///<summary>
        ///A threshold, when to send the first budget warning mail
        ///</summary>
        member val BudgetWarningThresholdPercent:Nullable<Int32> = new Nullable<Int32>() with get,set

        member val Links:IList<LinkDto> = null with get,set

    type ResourceProviderTypes =
        | Azure = 0
        | AmazonWebServices = 1
        | GoogleCloudPlatform = 2
        | ActiveDirectoryServices = 3
        | DomainNameSystem = 4
        | SwisscomESC = 5
        | AzureKeyVault = 6

    [<AllowNullLiteral>]
    type ProviderConfigEntryDto() = 
        member val Name:String = null with get,set
        member val Value:String = null with get,set
        member val isSecure:Boolean = new Boolean() with get,set

    [<AllowNullLiteral>]
    type ResourceProviderDto() = 
        inherit ConfigItemDto()
        member val TenantId:Guid = new Guid() with get,set
        ///<summary>
        ///If environment cannot be detected while scanning, default environment will be used
        ///</summary>
        member val DefaultEnvironment:Environments = new Environments() with get,set

        ///<summary>
        ///List off all allowed environments for this resource provider
        ///</summary>
        member val AllowedEnvironments:IList<Environments> = null with get,set

        ///<summary>
        ///Defines the provider type (e.g. Azure, Aws)
        ///</summary>
        member val Type:ResourceProviderTypes = new ResourceProviderTypes() with get,set

        ///<summary>
        ///Additional generic data which varies depending on ProviderType
        ///</summary>
        member val Config:IList<ProviderConfigEntryDto> = null with get,set

        ///<summary>
        ///Disabled ResourceProviders cannot be selected for new deployments
        ///</summary>
        member val IsDisabled:Boolean = new Boolean() with get,set

        ///<summary>
        ///Shows if a ResourceProvider has been initialized and can accept deployments (resources)
        ///</summary>
        member val IsReadyForDeployments:Boolean = new Boolean() with get,set

        ///<summary>
        ///The cost for the current month
        ///</summary>
        member val CostCurrentMonth:Decimal = new Decimal() with get,set

        ///<summary>
        ///The cost for the last month
        ///</summary>
        member val CostLastMonth:Decimal = new Decimal() with get,set

        ///<summary>
        ///The cost currency
        ///</summary>
        member val CostCurrency:String = null with get,set

    [<AllowNullLiteral>]
    type ResourceDto() = 
        inherit ConfigItemDto()
        ///<summary>
        ///Free text field to store an external resource id
        ///</summary>
        member val ExtId:String = null with get,set

        ///<summary>
        ///Free text field to store an external resource type
        ///</summary>
        member val ExtType:String = null with get,set

        ///<summary>
        ///Free text field to store an external resource name
        ///</summary>
        member val ExtName:String = null with get,set

        ///<summary>
        ///The id of the tenant
        ///</summary>
        member val TenantId:Guid = new Guid() with get,set

        ///<summary>
        ///The id of the parent (ResourceGroup)
        ///</summary>
        member val ParentId:Guid = new Guid() with get,set

        ///<summary>
        ///The parent (ResourceGroup
        ///</summary>
        member val Parent:ConfigItemDto = null with get,set

        ///<summary>
        ///The id of the parent (Deployment
        ///</summary>
        member val DeploymentId:Guid = new Guid() with get,set

        ///<summary>
        ///The parent (Deployement
        ///</summary>
        member val Deployment:DeploymentDto = null with get,set

        ///<summary>
        ///The id of the collection the resource belongs to
        ///</summary>
        member val CollectionId:Guid = new Guid() with get,set

        ///<summary>
        ///The collection the resource belongs to
        ///</summary>
        member val Collection:DeploymentCollectionDto = null with get,set

        ///<summary>
        ///The environment the resourcegroup is deployed in
        ///</summary>
        member val Environment:Environments = new Environments() with get,set

        ///<summary>
        ///The id of the provider of the resource (e.g. Azure, AWS, other DC provider
        ///</summary>
        member val ResourceProviderId:Guid = new Guid() with get,set

        ///<summary>
        ///The provider of the resource (e.g. Azure, AWS, other DC provider
        ///</summary>
        member val ResourceProvider:ResourceProviderDto = null with get,set

        ///<summary>
        ///State of the resource
        ///</summary>
        member val State:OperationalStates = new OperationalStates() with get,set

        member val Variables:IList<VariableDto> = null with get,set
        ///<summary>
        ///Can be used for dc location
        ///</summary>
        member val Location:String = null with get,set

        ///<summary>
        ///Last time the resource was seen/updated by a scan/cfgmgmt run etc.
        ///</summary>
        member val LastSeen:Nullable<DateTime> = new Nullable<DateTime>() with get,set

        ///<summary>
        ///Last time the resource has been patched successfully
        ///</summary>
        member val LastPatchDate:Nullable<DateTime> = new Nullable<DateTime>() with get,set

        ///<summary>
        ///Scheduled time for the next patching window
        ///</summary>
        member val NextPatchDate:Nullable<DateTime> = new Nullable<DateTime>() with get,set

        ///<summary>
        ///Time of the last successfull backup
        ///</summary>
        member val LastBackupDate:Nullable<DateTime> = new Nullable<DateTime>() with get,set

        ///<summary>
        ///True = scanned (not deployed from dune template), False = deployed from dune with template
        ///</summary>
        member val IsForeign:Boolean = new Boolean() with get,set

        ///<summary>
        ///Is alerting in external monitoring activated
        ///</summary>
        member val IsAlerting:Boolean = new Boolean() with get,set

        ///<summary>
        ///Used to identify external monitoring maintenance/downtime id
        ///</summary>
        member val AlertingDisabledId:String = null with get,set

        ///<summary>
        ///Reason why alerting is disabled
        ///</summary>
        member val AlertingDisabledReason:String = null with get,set

        ///<summary>
        ///Identifies the resource as vulnerable (security)
        ///</summary>
        member val IsVulnerable:Boolean = new Boolean() with get,set

        ///<summary>
        ///Reason why the resource is vulnerable
        ///</summary>
        member val VulnerabilityReason:String = null with get,set

        ///<summary>
        ///True if resource is in cmdb but missing on provider/infra
        ///</summary>
        member val IsMissingOnProvider:Boolean = new Boolean() with get,set

        ///<summary>
        ///Shows if a resource can be started/stopped
        ///</summary>
        member val SupportsStartStop:Boolean = new Boolean() with get,set

        ///<summary>
        ///The cost for the current month
        ///</summary>
        member val CostCurrentMonth:Decimal = new Decimal() with get,set

        ///<summary>
        ///The cost for the last month
        ///</summary>
        member val CostLastMonth:Decimal = new Decimal() with get,set

        ///<summary>
        ///The cost currency
        ///</summary>
        member val CostCurrency:String = null with get,set

        ///<summary>
        ///Additional generic configs
        ///</summary>
        member val Config:Dictionary<String, Object> = null with get,set

        member val Links:IList<LinkDto> = null with get,set

    type MonthlyDayOccurence =
        | First = 1
        | Second = 2
        | Third = 3
        | Fourth = 4

    [<AllowNullLiteral>]
    type PatchingWindowDto() = 
        member val Id:Guid = new Guid() with get,set
        member val Name:String = null with get,set
        member val DayOfWeek:DayOfWeek = new DayOfWeek() with get,set
        member val MonthlyOccurence:MonthlyDayOccurence = new MonthlyDayOccurence() with get,set
        member val TimeOfDay:TimeOnly = new TimeOnly() with get,set
        member val Duration:TimeSpan = new TimeSpan() with get,set
        member val IsDefault:Boolean = new Boolean() with get,set

    [<AllowNullLiteral>]
    type PatchingWindowAssignmentDto() = 
        member val Id:Guid = new Guid() with get,set
        member val ResourceId:Guid = new Guid() with get,set
        member val Resource:ResourceDto = null with get,set
        member val PatchingWindowId:Guid = new Guid() with get,set
        member val PatchingWindow:PatchingWindowDto = null with get,set

    ///<summary>
    ///Returns a single patching window assignment by its id
    ///</summary>
    [<Api(Description="Returns a single patching window assignment by its id")>]
    [<ApiResponse(Description="Success", IsDefaultResponse=true, ResponseType=typeof<PatchingWindowAssignmentDto>, StatusCode=200)>]
    [<AllowNullLiteral>]
    type GetPatchingWindowAssignment() = 
        interface IGet
        ///<summary>
        ///The primary key of every config item
        ///</summary>
        [<ApiMember(DataType="string", Description="The primary key of every config item", Format="guid", IsRequired=true, ParameterType="path")>]
        member val Id:Guid = new Guid() with get,set

        [<ApiMember(DataType="string", IsRequired=true, ParameterType="header")>]
        [<Validate(Validator="NotEmpty")>]
        member val TenantName:String = null with get,set

F# GetPatchingWindowAssignment DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /api/patching/windows/assignments/{Id} HTTP/1.1 
Host: core.starburst.svc 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"id":"00000000-0000-0000-0000-000000000000","resourceId":"00000000-0000-0000-0000-000000000000","resource":{"extId":"String","extType":"String","extName":"String","tenantId":"00000000-0000-0000-0000-000000000000","parentId":"00000000-0000-0000-0000-000000000000","parent":{"id":"00000000-0000-0000-0000-000000000000","name":"String","displayName":"String","description":"String","objectType":"None","selfLink":"String","tags":null,"path":null,"created":"0001-01-01T00:00:00.0000000Z","createUser":"String","createUserId":"String","modified":"0001-01-01T00:00:00.0000000Z","modifyUser":"String","modifyUserId":"String","isDeleted":false,"deleted":"0001-01-01T00:00:00.0000000Z","deleteUser":"String","deleteUserId":"String","links":null},"deploymentId":"00000000-0000-0000-0000-000000000000","deployment":{"operationalState":"None","resourcesRunning":0,"resourcesTotal":0,"shortId":"String","nameUserDefinedPart":"String","tenantId":"00000000-0000-0000-0000-000000000000","state":"New","environment":"Lab","templateId":"00000000-0000-0000-0000-000000000000","isTemplateBased":true,"parameters":null,"variables":null,"variablesSnapshot":null,"parentId":"00000000-0000-0000-0000-000000000000","parent":{"id":"00000000-0000-0000-0000-000000000000","name":"String","displayName":"String","description":"String","objectType":"None","selfLink":"String","tags":null,"path":null,"created":"0001-01-01T00:00:00.0000000Z","createUser":"String","createUserId":"String","modified":"0001-01-01T00:00:00.0000000Z","modifyUser":"String","modifyUserId":"String","isDeleted":false,"deleted":"0001-01-01T00:00:00.0000000Z","deleteUser":"String","deleteUserId":"String","links":null},"validFrom":"0001-01-01T00:00:00.0000000Z","validUntil":"0001-01-01T00:00:00.0000000Z","isNeverExpiring":false,"nextPatchDate":"0001-01-01T00:00:00.0000000Z","defaultResourceProviderId":"00000000-0000-0000-0000-000000000000","needsAttention":false,"composition":"Native","monthlyBudget":0,"sendBudgetNotificationMails":false,"budgetWarningThresholdPercent":0,"links":[{"caption":"Index","rel":"index","hRef":"/deployments/","method":"GET"},{"caption":"Collection","rel":"up","hRef":"/collections/00000000-0000-0000-0000-000000000000","method":"GET"},{"caption":"Resourcegroups","rel":"down","hRef":"/resourcegroups?parentId=00000000-0000-0000-0000-000000000000","method":"GET"}],"id":"00000000-0000-0000-0000-000000000000","name":"String","displayName":"String","description":"String","objectType":"None","selfLink":"String","tags":null,"path":null,"created":"0001-01-01T00:00:00.0000000Z","createUser":"String","createUserId":"String","modified":"0001-01-01T00:00:00.0000000Z","modifyUser":"String","modifyUserId":"String","isDeleted":false,"deleted":"0001-01-01T00:00:00.0000000Z","deleteUser":"String","deleteUserId":"String"},"collectionId":"00000000-0000-0000-0000-000000000000","collection":{"tenantId":"00000000-0000-0000-0000-000000000000","tenant":{"variables":null,"allowedMailDomains":null,"licensedModules":null,"defaultDeploymentLifetimeDays":0,"maxDeploymentLifetimeDays":0,"systemUnpatchedWarningDays":0,"systemBackupMissingWarningHours":0,"stopVulnerableResourceAfterDays":0,"deploymentExpirationWarningDays":0,"patchNotificationDays":0,"useCustomHostnames":false,"removeInactiveVulnerabilitiesAfterDays":0,"links":[{"caption":"Collections","rel":"down","hRef":"/collections/","method":"GET"}],"id":"00000000-0000-0000-0000-000000000000","name":"String","displayName":"String","description":"String","objectType":"None","selfLink":"String","tags":null,"path":null,"created":"0001-01-01T00:00:00.0000000Z","createUser":"String","createUserId":"String","modified":"0001-01-01T00:00:00.0000000Z","modifyUser":"String","modifyUserId":"String","isDeleted":false,"deleted":"0001-01-01T00:00:00.0000000Z","deleteUser":"String","deleteUserId":"String"},"variables":null,"isLostAndFound":false,"monthlyBudget":0,"sendBudgetNotificationMails":false,"budgetWarningThresholdPercent":0,"links":[{"caption":"Index","rel":"up","hRef":"/collections/","method":"GET"},{"caption":"Deployments","rel":"down","hRef":"/deployments?parentId=00000000-0000-0000-0000-000000000000","method":"GET"}],"id":"00000000-0000-0000-0000-000000000000","name":"String","displayName":"String","description":"String","objectType":"None","selfLink":"String","tags":null,"path":null,"created":"0001-01-01T00:00:00.0000000Z","createUser":"String","createUserId":"String","modified":"0001-01-01T00:00:00.0000000Z","modifyUser":"String","modifyUserId":"String","isDeleted":false,"deleted":"0001-01-01T00:00:00.0000000Z","deleteUser":"String","deleteUserId":"String"},"environment":"Lab","resourceProviderId":"00000000-0000-0000-0000-000000000000","resourceProvider":{"tenantId":"00000000-0000-0000-0000-000000000000","defaultEnvironment":"Lab","allowedEnvironments":null,"type":"Azure","config":null,"isDisabled":false,"isReadyForDeployments":false,"costCurrentMonth":0,"costLastMonth":0,"costCurrency":"String","id":"00000000-0000-0000-0000-000000000000","name":"String","displayName":"String","description":"String","objectType":"None","selfLink":"String","tags":null,"path":null,"created":"0001-01-01T00:00:00.0000000Z","createUser":"String","createUserId":"String","modified":"0001-01-01T00:00:00.0000000Z","modifyUser":"String","modifyUserId":"String","isDeleted":false,"deleted":"0001-01-01T00:00:00.0000000Z","deleteUser":"String","deleteUserId":"String","links":null},"state":"None","variables":null,"location":"String","lastSeen":"0001-01-01T00:00:00.0000000Z","lastPatchDate":"0001-01-01T00:00:00.0000000Z","nextPatchDate":"0001-01-01T00:00:00.0000000Z","lastBackupDate":"0001-01-01T00:00:00.0000000Z","isForeign":false,"isAlerting":false,"alertingDisabledId":"String","alertingDisabledReason":"String","isVulnerable":false,"vulnerabilityReason":"String","isMissingOnProvider":false,"supportsStartStop":false,"costCurrentMonth":0,"costLastMonth":0,"costCurrency":"String","config":{"String":{}},"links":[{"caption":"Index","rel":"index","hRef":"/resources/","method":"GET"},{"caption":"ResourceGroup","rel":"up","hRef":"/resourcegroups/00000000-0000-0000-0000-000000000000","method":"GET"},{"caption":"Deployment","rel":"up","hRef":"/deployments/00000000-0000-0000-0000-000000000000","method":"GET"}],"id":"00000000-0000-0000-0000-000000000000","name":"String","displayName":"String","description":"String","objectType":"None","selfLink":"String","tags":null,"path":null,"created":"0001-01-01T00:00:00.0000000Z","createUser":"String","createUserId":"String","modified":"0001-01-01T00:00:00.0000000Z","modifyUser":"String","modifyUserId":"String","isDeleted":false,"deleted":"0001-01-01T00:00:00.0000000Z","deleteUser":"String","deleteUserId":"String"},"patchingWindowId":"00000000-0000-0000-0000-000000000000","patchingWindow":{"id":"00000000-0000-0000-0000-000000000000","name":"String","dayOfWeek":"Sunday","monthlyOccurence":"First","timeOfDay":"00:00:00","duration":"00:00:00","isDefault":false}}