Overriding defaults with custom disk types
                    Overriding defaults with custom disk types                
            
                                            When overridden, the default types will be replaced by operator provided sizes.
Operators can repeatedly update the list of available sizes,
and any jobs using no-longer-available-sizes will be returned to the default of automatic.
Request
            
                URI
                    
                                PUT                            
                            https://{opsmanager-installation}/api/v0/disk_types
                            COPY
                    Request Body
                        
                            
                                            
                                                                                            
                                                    PutDiskTypes                                                
                                            
                                                                                            of type(s)
                                            
                                            
                                                application/json                                            
                                        
                                                                                    Optional
                                        
                                    {
    "disk_types": [
        {
            "name": "string",
            "size_mb": "number",
            "additional_cloud_properties": {}
        }
    ]
}
                            
                                    array of 
                
            
            
                                    disk_types
                
                
            
        
        
                disk_types            
                            Optional
            
            
        disk_types
Responses
                        
                200            
            
        OK
Operation doesn't return any data structure
            
            
                    
                400            
            
        Setup is not completed or Bad Request
                Returns 
                
                                    
                        NestedErrorsResponseVariant                    
                
                of type(s)
                
                    application/json                
            
        
        {
    "errors": {
        "errors": [
            "string"
        ]
    }
}
            
            
                                    object
                
                
            
        
        
                errors            
                            Optional
            
            
        errors
                401            
            
        Unauthorized
                Returns 
                
                                    
                        UnauthorizedResponse                    
                
                of type(s)
                
                    application/json                
            
        
        {
    "errors": {
        "errors": [
            "string"
        ]
    }
}
                403            
            
        Forbidden
                Returns 
                
                                    
                        ForbiddenResponse                    
                
                of type(s)
                
                    application/json                
            
        
        {
    "errors": {
        "errors": [
            "string"
        ]
    }
}Code Samples
                    COPY
                                    curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/api/v0/disk_types
                
            