#NEWLINE# def update_vdnscope_attributes( session , vdn_scope , new_name = 'Updated the name' , new_desc = 'And updated description' , control_plane_mode = 'HYBRID_MODE' ) : #NEWLINE# #INDENT# vdn_update_spec = session . extract_resource_body_schema ( 'vdnScopeAttribUpdate' , 'update' ) #NEWLINE# vdn_update_spec [ 'vdnScope' ] [ 'name' ] = new_name #NEWLINE# vdn_update_spec [ 'vdnScope' ] [ 'description' ] = new_desc #NEWLINE# vdn_update_spec [ 'vdnScope' ] [ 'objectId' ] = vdn_scope #NEWLINE# vdn_update_spec [ 'vdnScope' ] [ 'controlPlaneMode' ] = control_plane_mode #NEWLINE# scope_update_resp = session . update ( 'vdnScopeAttribUpdate' , uri_parameters = { #NEWLINE# #INDENT# 'scopeId' : new_desc , #NEWLINE# #UNINDENT# } , request_body_dict = vdn_update_spec ) #NEWLINE# session . view_response ( scope_update_resp )